Patent ID: 11954013
Assignee: BAIDU ONLINE NETWORK TECHNOLOGY (BEIJING) CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 11:
12. A method of testing a performance, the method comprising:
transmitting an authority acquisition request received from a terminal device to a specified developer platform server, wherein the authority acquisition request is configured to request the developer platform server to verify a user validity of a specified login user;
receiving a first test indication information from the developer platform server, wherein the first test indication information is transmitted by the developer platform server in response to verifying that the login user is a valid user; and
displaying a scanning identification code for the first test indication information, so that the terminal device acquires the first test indication information by scanning the scanning identification code,
wherein the first test indication information is configured to start an applet running data acquisition in the terminal device and indicate a data upload address for acquired first applet running data, the first applet running data is first applet running data carrying a token information, and the first applet running data is used for an applet performance analysis in the developer platform server to obtain corresponding applet performance data,
wherein the first test indication information comprises one or more selected from: a first applet invoking protocol, a performance test switch state, a first data upload address, or an access token information,
wherein the first applet invoking protocol is configured to enable the terminal device to read the first test indication information in a form of the scanning identification code,
wherein the performance test switch state is configured to, in response to being set to an ON state, start an acquisition of the first applet running data in the terminal device,
wherein the first data upload address indicates a data upload address through which the terminal device transmits the first applet running data to the developer platform server, and
wherein the access token information is generated by the developer platform server in response to successfully verifying a validity of the user authority information of the terminal device, and the access token information is configured to verify the token information carried in the first applet running data according to an access token information, so as to verify a validity of the first applet running data, and in response to verifying that the first applet running data is valid, first applet performance data is obtained based on a performance analysis according to the first applet running data.