摘要:
Embodiments of the present invention provide an open application programming interface selection method and device. The method includes: receiving an invocation request from a user, where the invocation request includes an OpenAPI function parameter; determining an OpenAPI equivalent set according to the OpenAPI function parameter; and selecting a target OpenAPI from multiple OpenAPIs according to a Qos attribute value that corresponds to each OpenAPI in the OpenAPI equivalent set. By adopting the embodiments of the present invention, an OpenAPI with better performance can be selected from numerous OpenAPIs with equivalent functions for a user, thereby improving the quality of service for the user.
摘要:
Embodiments of the present invention provide a user data annotation method, a terminal device, and a server. The method includes: receiving, by a server, location information of a first user corresponding to a first terminal device, behavior information of the first user, and sensor data of each sensor on the first terminal device, which are sent by the first terminal device in a process of a game; and annotating, by the server, the location information of the first user, the behavior information of the first user, and the sensor data to obtain annotation data of the first user. The technical solution of the present invention can increase the amount of annotation data and overcome the limitation on the application of user behavior recognition.