IP Library Granted Patent US 11,831,735
Granted Patent B2
US 11,831,735 · App. 17/203,580 · Granted Nov 28, 2023

Method and device for processing mini program data

Inventors: Du Chen (Beijing, CN); Yuzhen Chen (Beijing, CN); Jiaxing Fu (Beijing, CN); Rensong Chen (Beijing, CN)
Assignee: BAIDU ONLINE NETWORK TECHNOLOGY (BEIJING) CO., LTD.
H04L67/5651H04L41/0681H04L67/1095H04L67/34H04L67/63
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,831,735
App. No.
17/203,580
Granted
Nov 28, 2023
Kind
B2
Abstract

The present application discloses a method and a device for processing mini program data, which relates to the technical field of data processing and cloud computing. The method for processing mini program data is applied to a proxy server, and the specific implementation scheme is: obtaining a user data request of a developer server of a mini program, where the user data request is generated by the developer server according to a user request of a user terminal of the mini program; determining returned data according to the user data request, where the returned data of the proxy server is obtained through data synchronization between the proxy server and the developer server; and sending the returned data to the user terminal. In addition, the present application also discloses a proxy server and a developer server.

Claims (54)

1. A method for processing mini program data, the method being applied to a proxy server, and the method comprising:

obtaining a user data request of a developer server of a mini program, wherein the user data request is generated by the developer server according to a user request of a user terminal of the mini program;

determining returned data according to the user data request, wherein the returned data of the proxy server is obtained through data synchronization between the proxy server and the developer server; and

sending the returned data to the user terminal;

wherein the method further comprising:

requesting synchronization data from the developer server at a set data request interval; and

evaluating stability of the developer server according to returned information of the synchronization data;

correspondingly, the obtaining a user data request of a developer server of a mini program comprises:

obtaining the user data request of the developer server of the mini program when the stability of the developer server meets a preset stability condition.

2. The method according to claim 1 , wherein the proxy server is one or more servers in a proxy server cluster, and the determining returned data according to the user data request comprises:

determining the proxy server of the user terminal from the proxy server cluster according to the user data request; and

determining the returned data via the proxy server according to the user data request.

3. The method according to claim 1 , wherein after the determining returned data according to the user data request, the method further comprises:

judging whether the returned data is valid data;

correspondingly, the sending the returned data to the user terminal comprises:

sending the returned data to the user terminal when the returned data is valid data.

4. The method according to claim 3 , further comprising:

when the user data is invalid data, sending a data update request to the developer server, to update the returned data according to the data update request;

correspondingly, the sending the returned data to the user terminal comprises:

sending the updated returned data to the user terminal.

5. A method for processing mini program data, which is applied to a developer server, wherein the method comprises:

obtaining a user request of a user terminal of a mini program,

generating a user data request of the mini program according to the user request; and

sending the user data request to a proxy server, so that the proxy server determines returned data according to the user data request and sends the returned data to the user terminal, wherein the returned data of the proxy server is obtained through data synchronization between the proxy server and the developer server;

wherein the method further comprising:

obtaining a stability evaluation result of the developer server from the proxy server, wherein the stability evaluation result is determined by the proxy server according to returned information of synchronization data, and the synchronization data is obtained by a proxy server cluster through initiating a data synchronization request to the developer server at a set data request interval; and

performing a stability warning of the developer server according to the stability evaluation result.

6. The method according to claim 5 , wherein the user data request comprises a returned data request and a proxy server startup request, and the sending the user data request to a proxy server, so that the proxy server determines returned data according to the user data request and sends the returned data to the user terminal, comprises:

when the proxy server startup request is to start the proxy server, sending the returned data request to the proxy server, so that the proxy server determines the returned data according to the returned data request and sends the returned data to the user terminal.

7. The method according to claim 6 , further comprising:

when the proxy server startup request is not to start the proxy server, determining the returned data via the developer server according to the returned data request, and sending the returned data to the user terminal via the developer server.

8. The method according to claim 5 , further comprising:

obtaining a data update request of the proxy server; and

updating the returned data according to the data update request, and sending the updated returned data to the proxy server, to send the updated returned data to the user terminal via the proxy server.

9. A device for processing mini program data, comprising a processor and a memory storing instructions thereon, the processor when executing the instructions, being configured to:

obtain a user data request of a developer server of a mini program, wherein the user data request is generated by the developer server according to a user request of a user terminal of the mini program; and

determine returned data via a proxy server according to the user data request, wherein the returned data of the proxy server is obtained through data synchronization between the proxy server and the developer server; and

send the returned data to the user terminal;

wherein the processor is further configured to:

request synchronization data from the developer server at a set data request interval; and

evaluate stability of the developer server according to returned information of the synchronization data;

correspondingly, the obtaining a user data request of a developer server of a mini program comprises:

obtaining the user data request of the developer server of the mini program when the stability of the developer server meets a preset stability condition.

10. The device for processing mini program data according to claim 9 , wherein the proxy server is one or more servers in a proxy server cluster, and the processor is configured to:

determine the proxy server of the user terminal from the proxy server cluster according to the user data request; and

determine the returned data via the proxy server according to the user data request.

11. The device for processing mini program data according to claim 9 , wherein after the returned data is determined via the proxy server according to the user data request, the processor is further configured to:

judge whether the returned data is valid data;

correspondingly, the sending the returned data to the user terminal comprises:

sending the returned data to the user terminal when the returned data is valid data.

12. The device for processing mini program data according to claim 11 , the processor is further configured to:

when the user data is invalid data, send a data update request to the developer server, to update the returned data according to the data update request;

correspondingly, the sending the returned data to the user terminal comprises:

sending the updated returned data to the user terminal.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 16, 2021
From: CHEN, DU; CHEN, YUZHEN; FU, JIAXING; CHEN, RENSONG
To: BAIDU ONLINE NETWORK TECHNOLOGY (BEIJING) CO., LTD.
Reel/Frame 055612/0707 →
Continuity (1)
Related Publication 20210218824A1 · Jul 15, 2021