Data processing method for mini app, apparatus, device and medium

US11615159B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-11615159-B2
Application numberUS-202117215752-A
CountryUS
Kind codeB2
Filing dateMar 29, 2021
Priority dateJul 21, 2020
Publication dateMar 28, 2023
Grant dateMar 28, 2023

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

A data processing method and apparatus for a mini app, a device and a medium are provided. An implementation of the method may include: intercepting a request message of the mini app, and sending the request message to a target server, where the request message comes from a technology stack; acquiring returned data targeting at the request message and returned from the target server, where the returned data includes cookie content, field information for indicating storage of the cookie content, and a data set corresponding to the request message; and storing the cookie content into a cookie storage database of the mini app according to the field information, and returning the returned data to the technology stack issuing the request message.

First claim

Opening claim text (preview).

What is claimed is: 1. A data processing method for a mini app, comprising: intercepting a request message issued by a technology stack comprising a logic layer of the mini app, a web view layer of the mini app, or a native capability side of the mini app, and sending the request message to a target server; acquiring returned data targeting at the request message and returned from the target server, wherein the returned data comprises cookie content, field information for indicating storage of the cookie content, and a data set corresponding to the request message; and storing the cookie content into a cookie storage database of the mini app according to the field information, and returning the returned data to the technology stack issuing the request message, such that the technology stack, issuing the request message, of the mini app manages a cookie session based on the returned cookie content. 2. The method according to claim 1 , further comprising: for a new request message of the mini app intercepted again, in response to there being a cookie content stored in the cookie storage database, adding the currently stored cookie content to the new request message, and sending the added new request message to the target server. 3. The method according to claim 1 , wherein the field information for indicating storage of the cookie content refers to field information defined by a pre-provided cookie storage interface. 4. The method according to claim 2 , wherein the adding the currently stored cookie content to the new request message comprises: adding the currently stored cookie content to the new request message through a pre-provided cookie acquisition interface. 5. The method according to claim 1 , wherein the intercepting the request message of the mini app comprises: intercepting the request message of the mini app through a network interface of a host client of the mini app. 6. The method according to claim 1 , before sending the request message to the target server, the method further comprises: checking whether a domain name of a URL included in the request message is a registered domain name; and in response to the domain name of the URL being a registered domain name, executing the operation of sending the request message to the target server. 7. The method according to claim 1 , wherein the cookie storage database is created in advance according to an ID of the mini app. 8. The method according to claim 1 , wherein the storing the cookie content in the cookie storage database of the mini app according to the field information comprises: determining a domain name of a URL included in the request message; and storing, according to the field information, the cookie content under the domain name of the URL in the cookie storage database of the mini app. 9. The method according to claim 1 , before intercepting the request message of the mini app, the method further comprises: parsing a configuration file in a development kit of the mini app to obtain a cookie configuration item, wherein the cookie configuration item is used to describe whether to enable local cookie storage setting of the mini app; and in response to confirming that, according to the cookie configuration item, the local cookie storage setting of the mini app is to be enabled, executing the operation of intercepting the request message for the mini app. 10. The method according to claim 1 , wherein the mini app comprises at least a payment function. 11. An electronic device, comprising: at least one processor; and a memory communicatively connected with the at least one processor; wherein, the memory stores instructions executable by the at least one processor, and the instructions, when executed by the at least one processor, cause the at least one processor to execute operations comprising: intercepting a request message issued by a technology stack comprising a logic layer of the mini app, a web view layer of the mini app, or a native capability side of the mini app, and sending the request message to a target server; acquiring returned data targeting at the request message and returned from the target server, wherein the returned data comprises cookie content, field information for indicating storage of the cookie content, and a data set corresponding to the request message; and storing the cookie content into a cookie storage database of the mini app according to the field information, and returning the returned data to the technology stack issuing the request message, such that the technology stack, issuing the request message, of the mini app manages a cookie session based on the returned cookie content. 12. The electronic device according to claim 11 , wherein the operations further comprise: for a new request message of the mini app intercepted again, in response to there being a cookie content stored in the cookie storage database, adding the currently stored cookie content to the new request message, and sending the added new request message to the target server. 13. The electronic device according to claim 11 , wherein the field information for indicating storage of the cookie content refers to field information defined by a pre-provided cookie storage interface. 14. The electronic device according to claim 12 , wherein the adding the currently stored cookie content to the new request message comprises: adding the currently stored cookie content to the new request message through a pre-provided cookie acquisition interface. 15. The electronic device according to claim 11 , wherein the intercepting the request message of the mini app comprises: intercepting the request message of the mini app through a network interface of a host client of the mini app. 16. The electronic device according to claim 11 , before sending the request message to the target server, the operations further comprise: checking whether a domain name of a URL included in the request message is a registered domain name; and in response to the domain name of the URL being a registered domain name, executing the operation of sending the request message to the target server. 17. The electronic device according to claim 11 , wherein the cookie storage database is created in advance according to an ID of the mini app. 18. The electronic device according to claim 11 , wherein the storing the cookie content in the cookie storage database of the mini app according to the field information comprises: determining a domain name of a URL included in the request message; and storing, according to the field information, the cookie content under the domain name of the URL in the cookie storage database of the mini app. 19. A non-transitory computer-readable storage medium, storing computer instructions thereon, wherein the computer instructions, when executed by a processor, cause the processor to perform operations comprising: intercepting a request message issued by a technology stack comprising a logic layer of the mini app, a web view layer of the mini app, or a native capability side of the mini app, and sending the request message to a target server; acquiring returned data targeting at the request message and returned from the target server, wherein the returned data comprises cookie content, field information for indicating storage of the cookie content, and a data set corresponding to the request message; and storing the cookie content into a cookie storage database of the mini app according to the field information, and returning the returned dat

Assignees

Inventors

Classifications

  • Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding · CPC title

  • based on web technology, e.g. hypertext transfer protocol [HTTP] · CPC title

  • URL specific, e.g. using aliases, detecting broken or misspelled links · CPC title

  • Tracking the activity of the user (network monitoring arrangements H04L43/00; recording of computer activity G06F11/34) · CPC title

  • H04L67/34Primary

    involving the movement of software or configuration parameters  (network booting or remote initial program loading [RIPL] G06F9/4416) · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US11615159B2 cover?
A data processing method and apparatus for a mini app, a device and a medium are provided. An implementation of the method may include: intercepting a request message of the mini app, and sending the request message to a target server, where the request message comes from a technology stack; acquiring returned data targeting at the request message and returned from the target server, where the …
Who is the assignee on this patent?
Beijing Baidu Netcom Sci & Tech Co Ltd
What technology area does this patent fall under?
Primary CPC classification G06F16/9566. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Mar 28 2023 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 5 related publications on this page (citations in our corpus or others sharing the same primary CPC).