Method and apparatus for instruction prefetching with alternating buffers and sequential instruction address matching

    公开(公告)号:US11327762B2

    公开(公告)日:2022-05-10

    申请号:US17036596

    申请日:2020-09-29

    Abstract: An instruction prefetching method, a device and a medium are provided. The method includes the following: instructions in a target buffer are precompiled before a processor core fetches a required instruction from the target buffer corresponding to the processor core; if it is determined that a jump instruction exists in the target buffer and a jump target instruction corresponding to the jump instruction is not cached in the target buffer according to a precompiled result, the jump target instruction is prefetched from an icache into a candidate buffer corresponding to the processor core to wait for the processor core to fetch the jump target instruction from the candidate buffer; the target buffer and the candidate buffer are alternately reused during instruction prefetching.

    Text translation method, device, and storage medium

    公开(公告)号:US11314946B2

    公开(公告)日:2022-04-26

    申请号:US16701382

    申请日:2019-12-03

    Abstract: Embodiments of the present disclosure disclose a text translation method, a text translation apparatus, a device and a storage medium. The method includes: obtaining a source language text; and translating the source language text with a modified translation model to obtain a target language text corresponding to the source language text, the modified translation model being obtained by modifying an original translation model based on a text evaluation result of one or more translated texts for training, the translated text for training being an output result after translating through the original translation model, and the text evaluation result for evaluating a contextual semantic relation in the translated text for training.

    Method for reporting traffic event, electronic device and storage medium

    公开(公告)号:US11308798B2

    公开(公告)日:2022-04-19

    申请号:US17331838

    申请日:2021-05-27

    Inventor: Bo Liu

    Abstract: The application discloses a method and an apparatus for reporting a traffic event, an electronic device and a storage medium. The detailed implementation scheme is: obtaining a surveillance video and an object in a surveillance video; obtaining location information and/or speed information of the object; determining whether the object occurs a traffic event based on the location information and/or the speed information of the object; in response to determining that the traffic event is occurred, reporting starting information of the traffic event and generating state information of the traffic event, in which the state information of the traffic event is updated with the location information and/or the speed information of the object; supervising the state information of the traffic event; reporting ending information of the traffic event in response to determining that the traffic event ends based on the state information of the traffic event.

    Method, apparatus, device and storage medium for processing access request

    公开(公告)号:US11307801B2

    公开(公告)日:2022-04-19

    申请号:US16707465

    申请日:2019-12-09

    Inventor: Lin Li Yu Zhang

    Abstract: Embodiments of the present disclosure provide a method, apparatus, device, and storage medium for processing an access request, and relate to the field of cloud computing. The method includes: acquiring a plurality of to-be-distributed access requests for a storage device, the access requests at least including a group of read requests and a group of write requests; distributing read requests of the group of read requests to a drive device of the storage device without distributing a write request of the group of write requests, until a number of distributed read requests reaches a total number of read requests of the group of read requests or a first threshold number, the drive device being configured to execute the distributed requests on the storage device; and distributing at least one write request of the group of write requests to the drive device.

    Method and apparatus for controlling cruise of vehicle, electronic device, and storage medium

    公开(公告)号:US11305771B2

    公开(公告)日:2022-04-19

    申请号:US17337857

    申请日:2021-06-03

    Inventor: Lianchuan Zhang

    Abstract: The present application discloses a method for controlling cruise of a vehicle. The method includes: acquiring a pre-established three-dimensional trajectory map of the vehicle from a starting point to a destination; acquiring current positioning information of the vehicle; intercepting a target trajectory at a preset distance currently ahead of the vehicle from the three-dimensional trajectory map according to the current positioning information; acquiring a target point from the target trajectory according to the current positioning information; acquiring a wheelbase and a current speed of the vehicle, and calculating an angle that front wheels of the vehicle are required to rotate, according to the target point, the current positioning information, the wheelbase, and the current speed; controlling a movement of the vehicle according to the angle.

    Method, apparatus, device and storage medium for upgrading application

    公开(公告)号:US11281445B2

    公开(公告)日:2022-03-22

    申请号:US16710511

    申请日:2019-12-11

    Abstract: Embodiments of the present disclosure relate to the field of cloud computing, and specifically to a method, apparatus, device, and computer storage medium for upgrading an application. The method may include: determining, for a first thread executed by a first process of a first application, a first function invoked by the first thread; determining a second function corresponding to the first function in a second application, the first application to be upgraded to the second application, and the first function to be upgraded to the second function; replacing a first dynamic link library of the first application comprising the first function based on a second dynamic link library of the second application comprising the second function; and updating the first process based on the second dynamic link library, such that the updated first process runs the second function in the second application.

    Search method and device based on artificial intelligence

    公开(公告)号:US11275898B2

    公开(公告)日:2022-03-15

    申请号:US16157204

    申请日:2018-10-11

    Abstract: The present disclosure provides a search method and device based on artificial intelligence and an electronic device. The search method based on artificial intelligence includes: obtaining a query; performing a word segmentation on the query to obtain a term sequence containing a plurality of terms; performing a structured analysis on the term sequence to generate a semantic pattern; performing a knowledge-based analysis on the term sequence based on the semantic pattern to generate a semantic analysis result; determining an understanding result corresponding to the query based on the semantic pattern and the semantic analysis result; and performing a search based on the understanding result corresponding to the query.

    METHOD AND APPARATUS FOR DETERMINING RECOMMENDED EXPRESSIONS, DEVICE AND COMPUTER STORAGE MEDIUM

    公开(公告)号:US20220075952A1

    公开(公告)日:2022-03-10

    申请号:US17210169

    申请日:2021-03-23

    Abstract: The present application discloses a method and apparatus for recommending expression to user, a device and a computer storage medium, which relates to the field of deep learning and big data technologies. An implementation includes: acquiring an input message; in response to the input message triggering expression recommendation, determining the occurrence probability of each candidate expression in the input message based on the expression triggering probability of a similar history message of the input message and the probability of each candidate expression input along with the similar history message; and determining an expression recommended to a user from the candidate expressions according to the occurrence probabilities. With the present application, the expression input efficiency of a user may be improved, and network traffic may be saved.

    Method and apparatus for outputting information

    公开(公告)号:US11269705B2

    公开(公告)日:2022-03-08

    申请号:US16505296

    申请日:2019-07-08

    Inventor: Guowei Zeng

    Abstract: Embodiments of the present disclosure disclose a method and apparatus for outputting information. A specific embodiment of the method comprises: connecting a database, in response to receiving a request for detecting the database; performing a write operation on a heartbeat table in the database, in response to detecting the connection with the database being normal; performing a read operation on the heartbeat table in the database, in response to detecting the write operation for the heartbeat table being abnormal; performing on the database an operation of writing a file to a hard disk, in response to detecting the read operation on the heartbeat table being normal; and outputting first information for representing a cause of a database failure, in response to detecting the operation of writing the file to the hard disk being abnormal. This embodiment improves the accuracy of the detection on the database failure.

    Neural network data processing apparatus, method and electronic device

    公开(公告)号:US11269529B2

    公开(公告)日:2022-03-08

    申请号:US16893044

    申请日:2020-06-04

    Abstract: A neural network data processing apparatus includes: an instruction parsing module, configured to split a DMA task into multiple subtasks and acquire configuration information of a data sub-block corresponding to each subtask, where the subtasks are in a one-to-one correspondence with data sub-blocks of transported neural network data; a data reading module, configured to read a first data sub-block according to the configuration information, where the first data sub-block is a data sub-block among data sub-blocks corresponding to multiple subtasks; a data processing module, configured to compress the first data sub-block; a data write-out module, configured to output compressed data resulting from the compression of the first data sub-block.

Patent Agency Ranking