CN109933367A - Cookie implementation method, device and the computer equipment of small routine - Google Patents

Cookie implementation method, device and the computer equipment of small routine Download PDF

Info

Publication number
CN109933367A
CN109933367A CN201910108772.XA CN201910108772A CN109933367A CN 109933367 A CN109933367 A CN 109933367A CN 201910108772 A CN201910108772 A CN 201910108772A CN 109933367 A CN109933367 A CN 109933367A
Authority
CN
China
Prior art keywords
cookie
small routine
value
access request
data access
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910108772.XA
Other languages
Chinese (zh)
Inventor
郑阿民
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Shiyuan Electronics Thecnology Co Ltd, Guangzhou Shirui Electronics Co Ltd filed Critical Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to CN201910108772.XA priority Critical patent/CN109933367A/en
Publication of CN109933367A publication Critical patent/CN109933367A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

This application involves Cookie implementation method, device, computer equipment and the storage mediums of a kind of small routine.Wherein method includes: to obtain data access request by small routine;The Cookie acquisition methods in the Cookie object encapsulated in small routine are called, inquiring by Cookie acquisition methods whether there is the corresponding Cookie of data access request in small routine memory, and if it exists, corresponding Cookie value is then obtained from Cookie;The judgment method of exceeding the time limit in Cookie object is called, judges whether the storage time of Cookie value has exceeded validity period by judgment method of exceeding the time limit;If the storage time of Cookie value handles data access request without departing from validity period, according to Cookie value.Cookie is realized in small routine using this method, can with need the server program interface seamless interfacing using the backstage of Cookie, greatly reduce development cost.

Description

Cookie implementation method, device and the computer equipment of small routine
Technical field
This application involves applets technology fields, more particularly to a kind of Cookie implementation method of small routine, device, meter Calculate machine equipment and storage medium.
Background technique
Small routine (Mini Program) is that one kind does not need downloading installation to the i.e. workable application of user terminal.With Small routine is opened in the main program interface of user terminal in family, it can specific merchant or mechanism etc. are accessed by small routine The server on backstage obtains the information on services of businessman or mechanism etc..
Cookie refer to browser in order to distinguish user identity or conversate (session) tracking and be stored in user end Text file on end.When user accesses server for the first time by browser, server returns to the number of responses for carrying Cookie According to the Cookie is stored on local user terminal by browser, accesses the service again subsequently through browser in user When device, the Cookie that the access request of transmission will be locally stored in carrying, what server can be carried according to access request Cookie quickly knows relevant user information, to respond more quickly, such as inputs login account again without user Password is the register being automatically performed to user account.
However in existing small routine, the concept of Cookie, it is clear not developed good docking tradition in businessman or mechanism Device of looking at is opened if necessary in the case where needing the server program using the backstage of Cookie progress user's checking etc. function When hair small routine and the server on backstage interact, the server program on existing backstage can not be joined seamlessly to small routine, The interface interacted to the server on backstage with small routine is then needed to carry out development process again, so that the interface newly developed come out It does not use Cookie and carries out information exchange and docked to realize with small routine, cause the development cost to be obviously improved.
Summary of the invention
Based on this, it is necessary in view of the above technical problems, provide a kind of server development cost that can reduce backstage Cookie implementation method, device, computer equipment and the storage medium of small routine.
A kind of Cookie implementation method of small routine, includes the following steps:
Data access request is obtained by small routine;The Cookie in the Cookie object encapsulated in small routine is called to obtain Method, being inquired by Cookie acquisition methods whether there is the corresponding Cookie of data access request in small routine memory, if depositing Corresponding Cookie value is then being obtained from Cookie;The judgment method of exceeding the time limit in Cookie object is called, is judged by exceeding the time limit Method judges whether the storage time of Cookie value has exceeded validity period;If the storage time of Cookie value is without departing from effective Phase then handles data access request according to Cookie value.
In one embodiment, after whether the storage time for judging Cookie value has exceeded validity period, further includes: If the storage time of Cookie value exceeds validity period, data access request is sent to server, and in server returning response When data, Cookie value is read from response data;The Cookie setting method in Cookie object is called, is set by Cookie Method is set to be written to Cookie value in the Cookie of small routine memory.
In one embodiment, if the storage time of Cookie value is without departing from validity period, according in small routine memory Cookie value handles data access request, comprising: if the storage time of Cookie value writes Cookie value without departing from validity period Enter in the request header of data access request, sends data access request to server.
In one embodiment, after whether the storage time for judging Cookie value has exceeded validity period, further includes: If the storage time of Cookie value exceeds validity period, sends and do not carry the data access request of Cookie value to server, and In server returning response data, Cookie value and corresponding validity period are read from the head response of response data;It calls Cookie setting method in Cookie object, by Cookie setting method by the Cookie value of reading and corresponding validity period It is written in the Cookie of small routine memory.
In one embodiment, if the storage time of Cookie value is without departing from validity period, according in small routine memory Cookie value handles data access request, comprising: if the storage time of Cookie value makees Cookie value without departing from validity period The response data obtained for data access request.
In one embodiment, after whether the storage time for judging Cookie value has exceeded validity period, further includes: If the storage time of Cookie value exceeds validity period, data access request is sent to server, and in server returning response When data, Cookie value is read from the web response body Web of response data;The Cookie setting method in Cookie object is called, is led to Cookie setting method setting Cookie value corresponding validity period is spent, the Cookie value of reading and corresponding validity period are written to In the Cookie of small routine memory.
In one embodiment, the Cookie acquisition methods in the Cookie object encapsulated in small routine are called, are passed through Cookie acquisition methods are inquired in small routine memory with the presence or absence of after the corresponding Cookie of data access request, further includes: if It is not present, then sends data access request to server, and in server returning response data, read from response data Cookie value;A Cookie corresponding with data access request is created in small routine memory;It is encapsulated in calling small routine Cookie value and corresponding validity period are written to by the Cookie setting method in Cookie object by Cookie setting method In the newly-built Cookie of small routine memory.
In one embodiment, the Cookie implementation method of small routine further include:
When initializing small routine, the data volume of small routine Cookie stored in memory is obtained;If data volume is beyond number According to amount threshold value, then the judgment method of exceeding the time limit in Cookie object is called, judgment method obtains in small routine memory by exceeding the time limit The storage time of Cookie value successively deletes the Cookie value of storage time in Cookie at most, until the data of Cookie Until amount is without departing from data-quantity threshold.
In one embodiment, the Cookie implementation method of small routine further include: when hiding small routine, call Cookie Cookie delet method in object is traversed in small routine Cookie stored in memory by Cookie delet method Cookie value deletes the Cookie value that storage time in Cookie exceeds validity period.
In one embodiment, further include the steps that data access request being sent to server;By data access request The step of being sent to server includes: the number of requests obtained in current request queue;If the number of request in current request queue Data access request is then included in the tail of the queue of request queue without departing from amount threshold by amount;The data of the head of the queue of request queue are visited It asks that request is sent to server, and when receiving the response data of server return, deletes data from the head of the queue of request queue Access request.
In one embodiment, data access request is sent to server further include: if asking in current request queue It asks quantity beyond amount threshold, then data access request is included in the tail of the queue of waiting list;When detecting in current request queue Number of requests without departing from amount threshold when, then the data access request of the head of the queue of waiting list is included in the team of waiting list Tail, and data access request is deleted from the head of the queue of waiting list.
A kind of Cookie realization device of small routine, device include:
Access request obtains module, for obtaining data access request by small routine;
Cookie enquiry module leads to for calling the Cookie acquisition methods in the Cookie object encapsulated in small routine Cross in Cookie acquisition methods inquiry small routine memory with the presence or absence of the corresponding Cookie of data access request, and if it exists, then from Corresponding Cookie value is obtained in Cookie;
Exceed the time limit judgment module, for calling the judgment method of exceeding the time limit in Cookie object, passes through judgment method judgement of exceeding the time limit Whether the storage time of Cookie value has exceeded validity period;
Request processing module, if the storage time for Cookie value is handled without departing from validity period according to Cookie value Data access request.
A kind of computer equipment, including memory and processor, memory are stored with computer program, and processor executes meter It is performed the steps of when calculation machine program
Data access request is obtained by small routine;The Cookie in the Cookie object encapsulated in small routine is called to obtain Method, being inquired by Cookie acquisition methods whether there is the corresponding Cookie of data access request in small routine memory, if depositing Corresponding Cookie value is then being obtained from Cookie;The judgment method of exceeding the time limit in Cookie object is called, is judged by exceeding the time limit Method judges whether the storage time of Cookie value has exceeded validity period;If the storage time of Cookie value is without departing from effective Phase then handles data access request according to Cookie value.
A kind of computer readable storage medium is stored thereon with computer program, when computer program is executed by processor It performs the steps of
Data access request is obtained by small routine;The Cookie in the Cookie object encapsulated in small routine is called to obtain Method, being inquired by Cookie acquisition methods whether there is the corresponding Cookie of data access request in small routine memory, if depositing Corresponding Cookie value is then being obtained from Cookie;The judgment method of exceeding the time limit in Cookie object is called, is judged by exceeding the time limit Method judges whether the storage time of Cookie value has exceeded validity period;If the storage time of Cookie value is without departing from effective Phase then handles data access request according to Cookie value.
Cookie implementation method, device, computer equipment and the storage medium of above-mentioned small routine, by pre- in small routine The Cookie object first encapsulated includes Cookie acquisition methods and judgment method of exceeding the time limit in Cookie object, identifies small routine Whether corresponding Cookie value stored in memory exceeds the time limit, and is asked when without departing from validity period using Cookie value processing data access Ask, original small routine internal storage data overcome to permanently store, the Cookie value of storage can expired the problem of not being available, then utilize The function of the Cookie simulation browser Cookie of small routine memory isolation is realized and needs to carry out user's checking using Cookie Etc. the server program interface on the backstage of function seamless interfacing, interacted in exploitation small routine and the server on backstage When, it no longer needs to the interface interacted to the server on backstage with small routine and carries out development process again, greatly reduce development cost.
Detailed description of the invention
Fig. 1 is the applied environment figure of the Cookie implementation method of small routine in one embodiment;
Fig. 2 is the flow diagram of the Cookie implementation method of small routine in one embodiment;
Fig. 3 is the flow diagram of the Cookie implementation method of small routine in another embodiment;
Fig. 4 is the flow diagram of the Cookie implementation method of small routine in another embodiment;
Fig. 5 is the structural block diagram of the Cookie realization device of small routine in one embodiment;
Fig. 6 is the internal structure chart of computer equipment in one embodiment.
Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understood The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, not For limiting the application.
The Cookie implementation method of small routine provided by the present application, can be applied in application environment as shown in Figure 1.Its In, terminal 102 is communicated with server 104 by network by network.Main program is mounted in terminal 102, terminal 102 is logical It crosses main program to interact with server 104, loads corresponding small routine.Terminal 102 executes the small routine of the embodiment of the present application Cookie implementation method, so that the small routine of load can be realized the related application of Cookie.Wherein, main program can be installation In the application program of terminal.Terminal 102 can be, but not limited to be various personal computers, laptop, smart phone, plate Computer and portable wearable device, server 104 can use the service of the either multiple server compositions of independent server Device cluster is realized.
In one embodiment, a kind of Cookie implementation method of small routine is provided, is applied in Fig. 1 in this way It is illustrated for terminal, in the present embodiment, is packaged in advance in the memory of small routine for realizing Cookie function Cookie object includes one or more methods in the Cookie object, and each method is for realizing specific function, in little Cheng Ordered pair connects the server on backstage, when interacting with server, by calling the method in the Cookie object, realization pair The processing of cookie.
In the present embodiment, a Cookie object can be encapsulated in advance in the memory of small routine, increase such as lower section to it One or more of method: Cookie acquisition methods getCookie (obtains cookie value according to key assignments), Cookie setting method SetCookie (setting Cookie value), Cookie (is driven by Cookie request header wiring method setCookieInHeader In request header), Cookie delet method removeCookie (delete Cookie value), Cookie exceed the time limit judgment method IsExpired, using these methods, small routine can need not pay close attention to the inside realization principle of Cookie, it is only necessary to more than calling Several methods, so that it may so that small routine realize to functions such as the readings, setting, removing of Cookie, it is existing with server Interface seamless interfacing with Cookie related application function.As illustratively, Cookie object can be real by following code It is existing:
Let cookie=(function ()
return wx.getStorageSync(‘cookies');
}())
Const Cooke=
GetCookie () { }, // cookie is obtained from memory
SetCookie () { }, // setting cookie
SetCookieInHeader () { }, // cookie is driven into request header
RemoveCookie () { }, // delete cookie
IsExpired () { }, // judge whether it is expired
In one embodiment, it as shown in Fig. 2, providing a kind of Cookie implementation method of small routine, answers in this way For being illustrated for the terminal in Fig. 1, comprising the following steps:
S202 obtains data access request by small routine;
Wherein, data access request can the input according to user at terminal small routine interface operate and generate, such as can be with It is the specific resources that user needs to access backstage by small routine, then terminal generates corresponding data according to the access operation of user Access request can recorde the relevant information for needing the access data obtained in the data access request.
In this step, terminal generates corresponding data access request in the input of small routine according to user.
S204 calls the Cookie acquisition methods in the Cookie object encapsulated in small routine, passes through the acquisition side Cookie Method, which is inquired, whether there is the corresponding Cookie of data access request in small routine memory, and if it exists, phase is then obtained from Cookie The Cookie value answered;
Wherein, Cookie object can be packaged in small routine in advance, which includes Cookie acquisition methods (getCookie).One or more Cookie value is can store in Cookie, each Cookie value may include a key Value is used to record the Property Name of the Cookie value to<cookie-name>=<cookie-value>, cookie-name, Cookie-value is for recording corresponding value.
In this step, terminal transfers the Cookie acquisition methods in the Cookie object for calling and encapsulating in small routine, leads to It crosses in Cookie acquisition methods inquiry small routine memory with the presence or absence of the corresponding Cookie of data access request, if small routine memory In there are the corresponding Cookie of data access request, then corresponding Cookie value is obtained from Cookie;
S206 calls the judgment method of exceeding the time limit in Cookie object, judges depositing for Cookie value by judgment method of exceeding the time limit Whether has the storage time exceeded validity period? if the storage time of Cookie value executes S208 without departing from validity period;
Wherein, Cookie object can be packaged in small routine in advance, which includes judgment method of exceeding the time limit (isExpired).Validity period, (expire) indicated the effective storage life of the Cookie value, deposited in each new Cookie value When entering in Cookie, the corresponding validity period for being stored with the Cookie value, the validity period be can recorde as a moment value, if Current time exceeds the moment value, it may be considered that the Cookie value has exceeded validity period, such as Cookie value can be with It include<cookie-name>=<cookie-value>;The information of expire, if expire value is on 08 08th, 2018 It is whole when 12, then it can be judged as beyond this time Cookie value out of date.
In this step, terminal calls the judgment method of exceeding the time limit in Cookie object, passes through judgment method judgement of exceeding the time limit Whether the storage time of Cookie value has exceeded validity period;
S208 handles data access request according to Cookie value.
In this step, data access request is handled according to Cookie value, is needed with completing the data access request The related data to be requested.
The Cookie implementation method of above-mentioned small routine passes through the Cookie object encapsulated in advance in small routine, Cookie It include Cookie acquisition methods and judgment method of exceeding the time limit in object, identification small routine corresponding Cookie value stored in memory is It is no to exceed the time limit, data access request is handled using the Cookie value when without departing from validity period, overcomes original small routine internal storage data Permanently store, the Cookie value of storage can expired the problem of not being available, then utilize the Cookie mould of small routine memory isolation The server journey on the backstage using Cookie progress user's checking etc. function is realized and needed to the function of quasi- browser Cookie The seamless interfacing of sequence interface, when the server for developing small routine and backstage interacts, no longer need to the server on backstage with The interface of small routine interaction carries out development process again, greatly reduces development cost.
In one embodiment, as shown in figure 3, judging whether the storage time of Cookie value has exceeded effectively in S206 After phase, further includes:
If the storage time of Cookie value exceeds validity period, S210 is executed;
S210, transmission data access request to server, and in server returning response data, it is read from response data Cookie value is taken, the Cookie setting method in Cookie object is called, Cookie value is written by Cookie setting method Into the Cookie of small routine memory.
In the present embodiment, exceed validity period in small routine Cookie value corresponding with data access request stored in memory When, then Cookie value processing data access request is not used, but sends data access request to server, and servicing When device returning response data, new Cookie value is read from response data, and using the new Cookie value in small routine The Cookie deposited is updated, to guarantee the Cookie timeliness in small routine memory.
In the embodiment of the present application, the Cookie value in small routine Cookie stored in memory, can be divided into two types Type, a seed type are that each data access request that sends needs to carry in the data access request to server, such as can To be the user information of user login validation account etc;Another seed type is not need to carry be sent to server data visit It asks in request, such as can be the session information such as shopping cart items list etc.It can be only stored in one Cookie The Cookie value of above-mentioned one of which type, can also exist simultaneously two distinct types of Cookie value.For two kinds of differences The Cookie value of type, above-mentioned steps S208 and S210 should can mutually have different processing modes.
For needing to carry the Cookie value in the data access request for being sent to server, in one embodiment In, S208 handles data access request according to the Cookie value in small routine memory, comprising: calls in Cookie object The request of data access request is written by Cookie request header wiring method by Cookie request header wiring method for Cookie value In head, data access request is sent to server.It is to need to carry in the data for being sent to server in corresponding Cookie value When Cookie value in access request, when sending data access request by the request of Cookie value write-in data access request It is sent to server in head, in order to which server knows the user information of present terminal, is responded more quickly.
Further, for needing to carry the Cookie value in the data access request for being sent to server, In one embodiment, if S210 may include: the storage time of Cookie value beyond validity period, sends and do not carry Cookie value Data access request to server, and in server returning response data, read from the head response of response data Cookie value and corresponding validity period;The Cookie setting method in Cookie object is called, it will by Cookie setting method The Cookie value of reading and corresponding validity period are written in the Cookie of small routine memory.
In the present embodiment, it is super that the Cookie value in the data access request for being sent to server is carried in the needs of storage Out when validity period, the Cookie of Cookie value generation is no longer carried when sending data access request, server is receiving When not carrying the data access request of Cookie, will default the terminal is the terminal logged in for the first time, carries out phase to the terminal from newly Verifying is closed, and carries newly-generated Cookie in the response data of return, terminal reads newest from the response data of return Cookie value and corresponding validity period, the Cookie in small routine memory is updated.
For not needing to carry the Cookie value in the data access request for being sent to server, implement at one In example, S208 handles data access request according to the Cookie value in small routine memory, comprising: if the storage time of Cookie value Without departing from validity period, then the response data that obtains Cookie value as data access request.In the present embodiment, in Cookie Storage Cookie value be exactly need to server access obtain session information when, if the Cookie being read into memory It is worth the validity period without departing from the Cookie value, then directly reads the number of responses that the Cookie value is obtained as data access request According to the data that please be look for novelty without retransmiting data access request to server, so as to effectively reduce data access request Traffic volume, reduce resource occupation, promoted request response efficiency.
Further, for not needing to carry the Cookie value in the data access request for being sent to server, In one embodiment, if S210 may include: the storage time of Cookie value beyond validity period, data access request is sent To server, and in server returning response data, Cookie value is read from the web response body Web of response data;It calls Cookie setting method in Cookie object is arranged Cookie value corresponding validity period by Cookie setting method, will read The Cookie value and corresponding validity period taken is written in the Cookie of small routine memory.
In the present embodiment, the Cookie value of the storage in Cookie is exactly the session letter for needing to obtain server access When breath, if the Cookie value being read into memory has exceeded the validity period of the Cookie value, data access request is sent The Cookie of small routine memory is updated to server, and according to Cookie value is read in server returning response data, Guarantee the timeliness of Cookie value in small routine memory.
In one embodiment, the Cookie acquisition methods in the Cookie object encapsulated in small routine are called, are passed through Cookie acquisition methods are inquired in small routine memory with the presence or absence of after the corresponding Cookie of data access request, further includes: if The corresponding Cookie of data access request is not present in small routine memory, then sends data access request to server, and taking When device returning response data of being engaged in, Cookie value is read from response data;One and data access are created in small routine memory Request corresponding Cookie;The Cookie setting method in the Cookie object encapsulated in small routine is called, is set by Cookie It sets method Cookie value and corresponding validity period are written in the newly-built Cookie of small routine memory.
In the present embodiment, in small routine memory when Cookie corresponding there is no data access request, sends data and visit Request is asked to server, since the data access request of transmission does not carry Cookie, server returning response data can be taken New Cookie is taken, when terminal carries Cookie in the response data that server returns, then one is created and is visited with data Ask request corresponding Cookie, and the Cookie value that data carry according to response updates the Cookie in small routine memory, realizes Foundation to Cookie in terminal small routine.
In one embodiment, it is visited if being existed simultaneously in a Cookie and needing to carry in the data for being sent to server It asks the Cookie value (referred to as the first Cookie value) in request and does not need to carry the data access request being sent to server In Cookie value (referred to as the 2nd Cookie value) when, then as shown in figure 4, the in summary small routine of each embodiment The Cookie implementation method of Cookie implementation method, the small routine of the present embodiment may include steps of:
S402 obtains data access request by small routine;
S404 calls the Cookie acquisition methods in the Cookie object encapsulated in small routine, passes through the acquisition side Cookie Method, which is inquired, whether there is the corresponding Cookie of data access request in small routine memory? if it does not exist, then S406 is executed;If depositing Then executing S408;
S406, transmission data access request to server, and in server returning response data, from the sound of response data The validity period for reading the first Cookie value and the first Cookie value in head is answered, and reads second from the web response body Web of response data Cookie value;A Cookie corresponding with the data access request is created in small routine memory;It calls and is encapsulated in small routine Cookie object in Cookie setting method, by Cookie setting method by the first Cookie value and the first Cookie value Validity period be written in the newly-built Cookie of small routine memory, and by Cookie setting method be arranged the 2nd Cookie value Validity period, the validity period of the 2nd Cookie value and the 2nd Cookie value is written to the newly-built Cookie of small routine memory In.
S408 obtains corresponding first Cookie value and the 2nd Cookie by Cookie acquisition methods from Cookie Value;
In this step, corresponding 2nd Cookie value can also be only obtained, has judged the 2nd Cookie value in S410 After validity period, before executing S414, then passes through Cookie acquisition methods and obtain corresponding first from Cookie Cookie value.
S410 calls the judgment method of exceeding the time limit in Cookie object, judges the 2nd Cookie value by judgment method of exceeding the time limit Storage time whether exceeded validity period? if without departing from S412 is executed;If exceeding, S414 is executed;
S412, the response data that the 2nd Cookie value is obtained as data access request.
S414 calls the judgment method of exceeding the time limit in Cookie object, judges the first Cookie value by judgment method of exceeding the time limit Storage time whether exceeded validity period? if without departing from S416 is executed;If exceeding, S418 is executed;
S416 the first Cookie value is written in the request header of data access request, sends data access request to service Device, and in server returning response data, the 2nd Cookie value is read from the web response body Web of response data;Call Cookie Cookie setting method in object is arranged the 2nd Cookie value corresponding validity period by Cookie setting method, will read The 2nd Cookie value and corresponding validity period be written in the Cookie of small routine memory.
S418 sends and does not carry the data access request of the first Cookie value to server, and in server returning response When data, the first Cookie value and corresponding validity period are read from the head response of response data, from the response master of response data The 2nd Cookie value is read in body;The Cookie setting method in Cookie object is called, will be read by Cookie setting method The first Cookie value taken and corresponding validity period are written in the Cookie of small routine memory, are set by Cookie setting method The validity period for setting the 2nd Cookie value of reading, the 2nd Cookie value of reading and corresponding validity period are written in small routine In the Cookie deposited.
Above-mentioned technical proposal through this embodiment may be implemented be sent to server to while comprising needs carrying Cookie value in data access request and the Cookie value in the data access request for being sent to server is not needed to carry The efficient operation of the Cookie of small routine.
In one embodiment, before S202 obtains data access request by small routine, rank is initialized in small routine Duan Shi, the Cookie implementation method of small routine further include:
When initializing small routine, the data volume of small routine Cookie stored in memory is obtained;If data volume is beyond number According to amount threshold value, then the judgment method of exceeding the time limit in Cookie object is called, judgment method obtains in small routine memory by exceeding the time limit The storage time of Cookie value successively deletes the Cookie value of storage time in Cookie at most, until the data of Cookie Until amount is without departing from data-quantity threshold.Wherein, onLaunch method is triggered when small routine initializes.
It further, can also be when initializing small routine before the above-mentioned deletion Cookie value according to data-quantity threshold The Cookie delet method in Cookie object is first called, storage time in Cookie is deleted by Cookie delet method and is exceeded The Cookie value of validity period.
The data of small routine memory storage permanently store, small routine Cookie value stored in memory can't be It is automatically cleared when exceeding the time limit.In the present embodiment, in small routine initialization, according to the number of small routine Cookie stored in memory The Cookie value in small routine memory is cleared up according to amount, the Cookie value of storage time in Cookie at most is successively deleted Remove, until Cookie data volume without departing from data-quantity threshold until, can to avoid because in small routine Cookie value caching accumulation It is excessive to reduce small routine operational efficiency.
In one embodiment, after S208 handles data access request according to the Cookie value in small routine memory, When small routine hides the stage, the Cookie implementation method of small routine further include:
When hiding small routine, the Cookie delet method in Cookie object is called, Cookie delet method time is passed through The Cookie value in small routine Cookie stored in memory is gone through, the Cookie that storage time in Cookie exceeds validity period is deleted Value.Wherein, onHide method is triggered when small routine is hidden into backstage.
In the present embodiment, call the Cookie delet method in Cookie object to small routine memory when small routine is hidden The Cookie value exceeded the time limit in the Cookie of middle storage is purged, can be while saving small routine memory headroom, under saving To the invalid read access time of Cookie value when small routine data access request.
In one embodiment, the Cookie implementation method of small routine further includes that data access request is sent to server The step of, the step of data access request is sent to server includes:
Obtain the number of requests in current request queue;Judge whether the number of requests in current request queue exceeds quantity Threshold value;If data access request is included in request queue without departing from amount threshold by the number of requests in current request queue Tail of the queue;The data access request of the head of the queue of request queue is sent to server, and in the number of responses for receiving server return According to when, from the head of the queue of request queue delete data access request.
Small routine has the control of interface concurrent request, if terminal small routine is to the concurrent request of server interface beyond limit Value, then be easy to appear small routine operation troubles.In the present embodiment, asked using the data access that request queue management terminal issues It asks, effectively terminal concurrence number of requests can be controlled, reduce the generation of operation troubles.
In one embodiment, judge whether the number of requests in current request queue exceeds after amount threshold, also wrap It includes: if data access request is included in the tail of the queue of waiting list beyond amount threshold by the number of requests in current request queue; When detecting the number of requests in current request queue without departing from amount threshold, then by the data access of the head of the queue of waiting list Request is included in the tail of the queue of waiting list, and deletes data access request from the head of the queue of waiting list.
In the present embodiment, when number of requests is excessive in request queue, data access request can also be first included in waiting In queue, data access request is called in request queue again after the number of requests in request queue reduces, passes through two teams Column are managed data access request, can further strengthen the robustness of terminal parallel data access request processing.
It should be understood that although each step in the flow chart of Fig. 2-4 is successively shown according to the instruction of arrow, These steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly stating otherwise herein, these steps Execution there is no stringent sequences to limit, these steps can execute in other order.Moreover, at least one in Fig. 2-4 Part steps may include that perhaps these sub-steps of multiple stages or stage are not necessarily in synchronization to multiple sub-steps Completion is executed, but can be executed at different times, the execution sequence in these sub-steps or stage is also not necessarily successively It carries out, but can be at least part of the sub-step or stage of other steps or other steps in turn or alternately It executes.
In one embodiment, as shown in figure 5, providing a kind of Cookie realization device 500 of small routine, comprising: visit Ask request module 502, Cookie enquiry module 504, exceed the time limit judgment module 506 and request processing module 508, in which:
Access request obtains module 502, for obtaining data access request by small routine;
Cookie enquiry module 504, for calling the Cookie acquisition methods in the Cookie object encapsulated in small routine, Being inquired by Cookie acquisition methods whether there is the corresponding Cookie of data access request in small routine memory, and if it exists, then Corresponding Cookie value is obtained from Cookie;
Exceed the time limit judgment module 506, and for calling the judgment method of exceeding the time limit in Cookie object, by exceeding the time limit, judgment method is sentenced Whether the storage time of disconnected Cookie value has exceeded validity period;
Request processing module 508, if the storage time for Cookie value without departing from validity period, at Cookie value Manage data access request.
In one embodiment, the Cookie realization device 500 of small routine further include:
Cookie value update module sends data access and asks if the storage time for Cookie value exceeds validity period It asks to server, and in server returning response data, Cookie value is read from response data;It calls in Cookie object Cookie setting method, Cookie value is written in the Cookie of small routine memory by Cookie setting method.
In one embodiment, request processing module 508 is used for: if the storage time of Cookie value without departing from validity period, Then by the request header of Cookie value write-in data access request, data access request is sent to server.
In one embodiment, Cookie value update module is used for: if the storage time of Cookie value exceeds validity period, It sends and does not carry the data access request of Cookie value to server, and in server returning response data, from response data Head response in read Cookie value and corresponding validity period;The Cookie setting method in Cookie object is called, is passed through The Cookie value of reading and corresponding validity period are written in the Cookie of small routine memory by Cookie setting method.
In one embodiment, request processing module 508 is used for: if the storage time of Cookie value without departing from validity period, The response data that then Cookie value is obtained as data access request.
In one embodiment, Cookie value update module is used for: if the storage time of Cookie value exceeds validity period, Data access request is sent to server, and in server returning response data, is read from the web response body Web of response data Cookie value;The Cookie setting method in Cookie object is called, it is corresponding that Cookie value is arranged by Cookie setting method Validity period, the Cookie value of reading and corresponding validity period are written in the Cookie of small routine memory.
In one embodiment, the Cookie realization device 500 of small routine further include:
Cookie creates module, if for whether there is the corresponding Cookie of data access request in small routine memory, Data access request is sent to server, and in server returning response data, Cookie value is read from response data;? A Cookie corresponding with data access request is created in small routine memory;It calls in the Cookie object encapsulated in small routine Cookie setting method, Cookie value and corresponding validity period are written to by small routine memory by Cookie setting method In newly-built Cookie.
In one embodiment, the Cookie realization device of small routine further include:
First Cookie value removes module, for it is stored in memory to obtain small routine when initializing small routine The data volume of Cookie;If data volume exceeds data-quantity threshold, the judgment method of exceeding the time limit in Cookie object is called, by super Phase judgment method obtains the storage time of Cookie value in small routine memory, by the Cookie value of storage time in Cookie at most Successively delete, until Cookie data volume without departing from data-quantity threshold until.
In one embodiment, the Cookie realization device of small routine further include:
2nd Cookie value removes module, for when hiding small routine, calling the Cookie in Cookie object to delete Method traverses the Cookie value in small routine Cookie stored in memory by Cookie delet method, deletes in Cookie Storage time exceeds the Cookie value of validity period.
In one embodiment, the Cookie realization device of small routine further include:
Data access request sending module, is used for: obtaining the number of requests in current request queue;If current request queue In number of requests without departing from amount threshold, then data access request is included in the tail of the queue of request queue;By the team of request queue First data access request is sent to server, and when receiving the response data of server return, from the team of request queue Head deletes data access request.
In one embodiment, data access request sending module is also used to: if the number of requests in current request queue Beyond amount threshold, then data access request is included in the tail of the queue of waiting list;When detecting the request in current request queue When quantity is without departing from amount threshold, then the data access request of the head of the queue of waiting list is included in the tail of the queue of waiting list, and from The head of the queue of waiting list deletes data access request.
The specific of Cookie realization device about small routine limits the Cookie that may refer to above for small routine The restriction of implementation method, details are not described herein.Modules in the Cookie realization device of above-mentioned small routine can whole or portion Divide and is realized by software, hardware and combinations thereof.Above-mentioned each module can be embedded in the form of hardware or independently of computer equipment In processor in, can also be stored in a software form in the memory in computer equipment, in order to processor calling hold The corresponding operation of the above modules of row.
In one embodiment, a kind of computer equipment is provided, which can be terminal, internal structure Figure can be as shown in Figure 6.The computer equipment includes processor, the memory, network interface, display connected by system bus Screen and input unit.Wherein, the processor of the computer equipment is for providing calculating and control ability.The computer equipment is deposited Reservoir includes non-volatile memory medium, built-in storage.The non-volatile memory medium is stored with operating system and computer journey Sequence.The built-in storage provides environment for the operation of operating system and computer program in non-volatile memory medium.The calculating The network interface of machine equipment is used to communicate with external terminal by network connection.When the computer program is executed by processor with Realize a kind of Cookie implementation method of small routine.The display screen of the computer equipment can be liquid crystal display or electronic ink Water display screen, the input unit of the computer equipment can be the touch layer covered on display screen, be also possible to computer equipment Key, trace ball or the Trackpad being arranged on shell can also be external keyboard, Trackpad or mouse etc..
It will be understood by those skilled in the art that structure shown in Fig. 6, only part relevant to application scheme is tied The block diagram of structure does not constitute the restriction for the computer equipment being applied thereon to application scheme, specific computer equipment It may include perhaps combining certain components or with different component layouts than more or fewer components as shown in the figure.
In one embodiment, a kind of computer equipment, including memory and processor are provided, is stored in memory Computer program, the processor perform the steps of when executing computer program
Data access request is obtained by small routine;The Cookie in the Cookie object encapsulated in small routine is called to obtain Method, being inquired by Cookie acquisition methods whether there is the corresponding Cookie of data access request in small routine memory, if depositing Corresponding Cookie value is then being obtained from Cookie;The judgment method of exceeding the time limit in Cookie object is called, is judged by exceeding the time limit Method judges whether the storage time of Cookie value has exceeded validity period;If the storage time of Cookie value is without departing from effective Phase then handles data access request according to Cookie value.
In other embodiments, the small routine of as above any one embodiment is also realized when processor executes computer program Cookie implementation method the step of.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated Machine program performs the steps of when being executed by processor
Data access request is obtained by small routine;The Cookie in the Cookie object encapsulated in small routine is called to obtain Method, being inquired by Cookie acquisition methods whether there is the corresponding Cookie of data access request in small routine memory, if depositing Corresponding Cookie value is then being obtained from Cookie;The judgment method of exceeding the time limit in Cookie object is called, is judged by exceeding the time limit Method judges whether the storage time of Cookie value has exceeded validity period;If the storage time of Cookie value is without departing from effective Phase then handles data access request according to Cookie value.
In other embodiments, the little Cheng of as above any one embodiment is also realized when computer program is executed by processor The step of Cookie implementation method of sequence.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computer In read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, To any reference of memory, storage, database or other media used in each embodiment provided herein, Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM (PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms, Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of above embodiments can be combined arbitrarily, for simplicity of description, not to above-described embodiment In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance Shield all should be considered as described in this specification.
The several embodiments of the application above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art It says, without departing from the concept of this application, various modifications and improvements can be made, these belong to the protection of the application Range.Therefore, the scope of protection shall be subject to the appended claims for the application patent.

Claims (14)

1. a kind of Cookie implementation method of small routine, which comprises
Data access request is obtained by small routine;
The Cookie acquisition methods in the Cookie object encapsulated in small routine are called, are inquired by the Cookie acquisition methods It whether there is the corresponding Cookie of the data access request in the small routine memory, and if it exists, then from the Cookie Obtain corresponding Cookie value;
The judgment method of exceeding the time limit in Cookie object is called, the storage of the Cookie value is judged by the judgment method of exceeding the time limit Whether the time has exceeded validity period;
If the storage time of the Cookie value handles the data access according to the Cookie value and asks without departing from validity period It asks.
2. the method according to claim 1, wherein whether to judge the storage time of the Cookie value After validity period, further includes:
If the storage time of the Cookie value exceeds validity period, data access request is sent to server, and in the clothes When device returning response data of being engaged in, Cookie value is read from the response data;
The Cookie setting method in Cookie object is called, the Cookie value is written by the Cookie setting method Into the Cookie of the small routine memory.
3. the method according to claim 1, wherein if the storage time of the Cookie value is without departing from effective Phase then handles the data access request according to the Cookie value in the small routine memory, comprising:
If the storage time of the Cookie value is without departing from validity period, by asking for Cookie value write-in data access request It asks in head, sends the data access request to server.
4. according to the method described in claim 3, it is characterized in that, whether to judge the storage time of the Cookie value After validity period, further includes:
If the storage time of the Cookie value exceeds validity period, the data access request for not carrying the Cookie value is sent To server, and in the server returning response data, read from the head response of the response data Cookie value and Corresponding validity period;
The Cookie setting method in Cookie object is called, by the Cookie setting method by the Cookie of reading Value and corresponding validity period are written in the Cookie of the small routine memory.
5. the method according to claim 1, wherein if the storage time of the Cookie value is without departing from effective Phase then handles the data access request according to the Cookie value in the small routine memory, comprising:
If the storage time of the Cookie value is without departing from validity period, using the Cookie value as the data access request Obtained response data.
6. according to the method described in claim 5, it is characterized in that, whether to judge the storage time of the Cookie value After validity period, further includes:
If the storage time of the Cookie value exceeds validity period, data access request is sent to server, and in the clothes When device returning response data of being engaged in, Cookie value is read from the web response body Web of the response data;
The Cookie setting method in Cookie object is called, the Cookie value pair is arranged by the Cookie setting method The Cookie value of reading and corresponding validity period are written in the Cookie of the small routine memory by the validity period answered.
7. the method according to claim 1, wherein calling in the Cookie object encapsulated in small routine Cookie acquisition methods, being inquired by the Cookie acquisition methods whether there is the data access in the small routine memory After requesting corresponding Cookie, further includes:
If it does not exist, then data access request is sent to server, and in the server returning response data, from the sound Answer reading Cookie value in data;
A Cookie corresponding with the data access request is created in small routine memory;
The Cookie setting method in small routine in the Cookie object that encapsulates is called, by the Cookie setting method by institute It states Cookie value and corresponding validity period is written in the newly-built Cookie of small routine memory.
8. according to claim 1 to method described in 7 any one, which is characterized in that further include:
When initializing small routine, the data volume of small routine Cookie stored in memory is obtained;
If the data volume exceeds data-quantity threshold, the judgment method of exceeding the time limit in Cookie object is called, is exceeded the time limit by described Judgment method obtains the storage time of Cookie value in small routine memory, by the Cookie of storage time at most in the Cookie Value is successively deleted, until the Cookie data volume without departing from data-quantity threshold until.
9. according to claim 1 to method described in 7 any one, which is characterized in that further include:
When hiding small routine, the Cookie delet method in Cookie object is called, the Cookie delet method time is passed through The Cookie value in small routine Cookie stored in memory is gone through, storage time in the Cookie is deleted and exceeds validity period Cookie value.
10. the method according to claim 1, wherein further including that data access request is sent to server Step;
Described the step of data access request is sent to server includes:
Obtain the number of requests in current request queue;
If data access request is included in the team of request queue without departing from amount threshold by the number of requests in current request queue Tail;
The data access request of the head of the queue of the request queue is sent to server, and in the response for receiving server return When data, the data access request is deleted from the head of the queue of request queue.
11. according to the method described in claim 10, it is characterized in that, described be sent to server for data access request and also wrap It includes:
If the number of requests in current request queue exceeds amount threshold, data access request is included in the team of waiting list Tail;
When detecting the number of requests in current request queue without departing from amount threshold, then by the data of the head of the queue of waiting list Access request is included in the tail of the queue of waiting list, and deletes the data access request from the head of the queue of waiting list.
12. a kind of Cookie realization device of small routine, which is characterized in that described device includes:
Access request obtains module, for obtaining data access request by small routine;
Cookie enquiry module passes through institute for calling the Cookie acquisition methods in the Cookie object encapsulated in small routine Cookie acquisition methods are stated to inquire with the presence or absence of the corresponding Cookie of the data access request in the small routine memory, if depositing Corresponding Cookie value is then being obtained from the Cookie;
Exceed the time limit judgment module, for calling the judgment method of exceeding the time limit in Cookie object, passes through the judgment method judgement of exceeding the time limit Whether the storage time of the Cookie value has exceeded validity period;
Request processing module, if the storage time for the Cookie value without departing from validity period, according to the Cookie value Handle the data access request.
13. a kind of computer equipment, including memory and processor, the memory are stored with computer program, feature exists In the step of processor realizes any one of claims 1 to 11 the method when executing the computer program.
14. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program The step of method described in any one of claims 1 to 11 is realized when being executed by processor.
CN201910108772.XA 2019-02-03 2019-02-03 Cookie implementation method, device and the computer equipment of small routine Pending CN109933367A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910108772.XA CN109933367A (en) 2019-02-03 2019-02-03 Cookie implementation method, device and the computer equipment of small routine

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910108772.XA CN109933367A (en) 2019-02-03 2019-02-03 Cookie implementation method, device and the computer equipment of small routine

Publications (1)

Publication Number Publication Date
CN109933367A true CN109933367A (en) 2019-06-25

Family

ID=66985397

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910108772.XA Pending CN109933367A (en) 2019-02-03 2019-02-03 Cookie implementation method, device and the computer equipment of small routine

Country Status (1)

Country Link
CN (1) CN109933367A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111181908A (en) * 2019-08-05 2020-05-19 腾讯科技(深圳)有限公司 Login method, device and storage medium
CN111881387A (en) * 2020-07-21 2020-11-03 北京百度网讯科技有限公司 Data processing method, device, equipment and medium for small program
CN112104703A (en) * 2020-08-18 2020-12-18 厦门网宿有限公司 Cookie management method, intermediate node and webvpn system
CN113704080A (en) * 2020-05-22 2021-11-26 北京沃东天骏信息技术有限公司 Automatic testing method and device
CN114510296A (en) * 2022-02-25 2022-05-17 支付宝(杭州)信息技术有限公司 Applet storage and calling method, device and equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101035123A (en) * 2006-01-27 2007-09-12 国际商业机器公司 Method and system for forming cookie
CN101505247A (en) * 2009-03-09 2009-08-12 成都市华为赛门铁克科技有限公司 Detection method and apparatus for number of shared access hosts

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101035123A (en) * 2006-01-27 2007-09-12 国际商业机器公司 Method and system for forming cookie
CN101505247A (en) * 2009-03-09 2009-08-12 成都市华为赛门铁克科技有限公司 Detection method and apparatus for number of shared access hosts

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
XUEXIXUEXIEN: "小程序 使用cookie保存登录态", 《HTTPS://BLOG.CSDN.NET/XUEXIXUEXIEN/ARTICLE/DETAILS/79281395》 *
XUEXIXUEXIEN: "小程序使用cookie保存登录态", 《HTTPS://WEB.ARCHIVE.ORG/WEB/20180801000000*/HTTPS://BLOG.CSDN.NET/XUEXIXUEXIEN/ARTICLE/DETAILS/79281395》 *
XUEXIXUEXIEN: "小程序使用cookie保存登录态", 《HTTPS://WEB.ARCHIVE.ORG》 *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111181908A (en) * 2019-08-05 2020-05-19 腾讯科技(深圳)有限公司 Login method, device and storage medium
CN111181908B (en) * 2019-08-05 2021-11-26 腾讯科技(深圳)有限公司 Applet login method, device and storage medium
CN113704080A (en) * 2020-05-22 2021-11-26 北京沃东天骏信息技术有限公司 Automatic testing method and device
CN111881387A (en) * 2020-07-21 2020-11-03 北京百度网讯科技有限公司 Data processing method, device, equipment and medium for small program
CN111881387B (en) * 2020-07-21 2024-04-26 北京百度网讯科技有限公司 Data processing method, device, equipment and medium for small program
CN112104703A (en) * 2020-08-18 2020-12-18 厦门网宿有限公司 Cookie management method, intermediate node and webvpn system
CN114510296A (en) * 2022-02-25 2022-05-17 支付宝(杭州)信息技术有限公司 Applet storage and calling method, device and equipment
WO2023160289A1 (en) * 2022-02-25 2023-08-31 支付宝(杭州)信息技术有限公司 Mini-program storage call
CN114510296B (en) * 2022-02-25 2024-02-02 支付宝(杭州)信息技术有限公司 Applet storage calling method, device and equipment

Similar Documents

Publication Publication Date Title
CN109933367A (en) Cookie implementation method, device and the computer equipment of small routine
US20210019849A1 (en) Method for External Data-Based Constructing Various Triggering Mechanisms to Execute Smart Contract in Blockchain Network and System Thereof
CN108965468A (en) Block chain network service platform and its chain code installation method, storage medium
CN108737325A (en) A kind of multi-tenant data partition method, apparatus and system
CN115002156B (en) Resource security protection method and system for vehicle-mounted meta-universe virtual avatar service migration
CN102135895B (en) System upgrading method and system
CN109740083A (en) A kind of method and device of page jump
CN107958018A (en) Data-updating method, device and computer-readable medium in caching
CN113535335B (en) Virtual resource allocation method and device based on block chain and electronic equipment
CN112232883A (en) Service behavior incentive method and device based on block chain and storage medium
CN107391272A (en) The method and terminal of multi-process data interaction
CN110413918A (en) Data transmission method for uplink, device, equipment and storage medium
CN109769243A (en) SIM card register method, device, computer equipment and storage medium
CN108846741A (en) Payment processing method, examination &amp; approval bill processing method
CN112507323A (en) Model training method and device based on unidirectional network and computing equipment
CN105100001B (en) Online interaction platform dynamic control method, management backstage and interaction platform
CN107544751A (en) A kind of method and apparatus for remotely accessing disk
US11385924B1 (en) Method and system for collecting user information according to providing virtual desktop infrastructure service
CN114239035A (en) Block chain-based collaborative flow execution system and data access control method thereof
CN101517540A (en) Resource-based event typing in a rules system
CN113918651A (en) Business data and capital flow processing method, device, equipment and medium
CN111061558B (en) Method, apparatus, computer device and storage medium for processing virtual resource data
CN114244905A (en) Data forwarding method and device, computer equipment and storage medium
CN108153796A (en) A kind of data processing method, the device and system of electronics red packet
CN106940660A (en) The method and apparatus of the realization of caching

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20190625

RJ01 Rejection of invention patent application after publication