Abstract:
Application discloses a picture encoding method and a terminal. In the method, a terminal divides the plurality of pictures into N groups, wherein the dividing is based on reference information of each of a plurality of pictures. The terminal encodes the N groups of pictures, where the following steps are performed on each one of the N groups of pictures: selecting a first picture from a target group according to a preset rule, and encoding the first picture, where the first picture is a picture first encoded in the target group, and the target group is any one of the N groups of pictures; selecting a reference picture for a second picture from the target group, where the second picture is a picture in the target group other than the first picture; and performing motion estimation on the second picture by using the reference picture, to encode the second picture.
Abstract:
A resource scheduling method implemented by a device, where the resource scheduling method includes determining a load characteristic of a frame drawing thread, where the frame drawing thread draws an image frame determining a target resource scheduling manner based on the load characteristic, and scheduling a resource for the frame drawing thread in the target resource scheduling manner.
Abstract:
A security control method and a computer system are provided. A first domain and a second domain are deployed in the computer system, the second domain is more secure than the first domain, a program is deployed in the first domain, and a control flow management module and an audit module are deployed in the second domain. The second domain is more secure than the first domain. When the program in the first domain is executed, the control flow management module obtains control flow information by using a tracer. The audit module audits the to-be-audited information according to an audit rule, and when the to-be-audited information matches the audit rule, determines that the audit succeeds and then allows the first domain to perform a subsequent operation, for example, to access a secure program in the second domain.
Abstract:
A multimedia file transmission method, which relates to the fields of data transmission and image processing, includes acquiring network information; determining a transmission version of a multimedia file according to the network information, where different transmission versions are corresponding to different multimedia file quality; and transmitting the multimedia file according to the transmission version. The network information is automatically acquired, and the transmission version of the multimedia file is automatically determined according to the network information, which not only saves an operation of manually selecting, by a user, a transmission version and reduces operation complexity, but also improves appropriateness of determining a transmission version.
Abstract:
The present invention discloses a positioning method, including: acquiring, by a mobile terminal, a location of the mobile terminal in open space; determining, by the mobile terminal according to the location of the mobile terminal in the open space, first closed space that corresponds to the location of the mobile terminal in the open space and in which a closed positioning service is provided; and performing, by the mobile terminal after determining the first closed space, closed positioning for the mobile terminal by using a closed positioning program and map data. The method of the present invention enables a mobile terminal to automatically perform closed positioning without the need to artificially identify closed space in which the mobile terminal is located and search for a corresponding closed positioning program, and therefore provides convenience for a user and can improve accuracy of closed positioning.
Abstract:
Embodiments of the present invention disclose an application convergence method and apparatus. Multiple convergence parameter interfaces are provided, and multiple convergence parameters registered by an application by using the convergence parameter interfaces are received. Therefore, when a convergence operation request of a user or an apparatus for multiple applications is received, multiple convergence parameters of the multiple applications can be obtained from the multiple convergence parameter interfaces; and the multiple convergence parameters of the multiple applications are separately converged, so as to implement convergence of the multiple applications.
Abstract:
An information security verification method comprises obtaining, by a terminal, abstract information of to-be-verified information and an identification code, where the identification code is used to identify a sender that sends the to-be-verified information to the terminal, then sending an information security verification request to the sender of the to-be-verified information based on the identification code, where the information security verification request includes the abstract information of the to-be-verified information, and finally receiving a verification result from the sender, where the verification result indicates whether the sender has ever sent information same as the to-be-verified information.
Abstract:
The present invention discloses a positioning method, including: acquiring, by a mobile terminal, a location of the mobile terminal in open space; determining, by the mobile terminal according to the location of the mobile terminal in the open space, first closed space that corresponds to the location of the mobile terminal in the open space and in which a closed positioning service is provided; and performing, by the mobile terminal after determining the first closed space, closed positioning for the mobile terminal by using a closed positioning program and map data. The method of the present invention enables a mobile terminal to automatically perform closed positioning without the need to artificially identify closed space in which the mobile terminal is located and search for a corresponding closed positioning program, and therefore provides convenience for a user and can improve accuracy of closed positioning.
Abstract:
A method for searching for a parking space includes obtaining a first signal indicating a behavior of a vehicle driver, predicting, based on the first signal indicating the behavior of the vehicle driver, use status information, within a subsequent time, of a parking space used by the vehicle driver, and controlling, based on the use status information, within the subsequent time, of the parking space used by the vehicle driver, a status indication of the parking space, where the status indication of the parking space indicates that the parking space is available, occupied, or to be available. Therefore efficiency of searching for the parking space by a user when parking spaces are inadequate is improved.
Abstract:
A method and device for processing files of distributed file system are disclosed, in which the method involves dividing the file into at least one data group according to the size of the file, and determining first mapping information from the file to the at least one data group, in which each of the at least one data group includes content blocks and verification block of file, and determining second mapping information from each of the at least one data group to data storage servers storing the each of the at least one data group (102), and providing the first mapping information and the second mapping information to a client for executing a writing operation of files (103). The technical solution can improve availability of memory space and decrease costs of constructing a distributed file system.