CN112416410A - Data management method and device for small program, computer equipment and storage medium - Google Patents

Data management method and device for small program, computer equipment and storage medium Download PDF

Info

Publication number
CN112416410A
CN112416410A CN202011431704.6A CN202011431704A CN112416410A CN 112416410 A CN112416410 A CN 112416410A CN 202011431704 A CN202011431704 A CN 202011431704A CN 112416410 A CN112416410 A CN 112416410A
Authority
CN
China
Prior art keywords
data
page
small program
updating
module
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
CN202011431704.6A
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.)
Beijing Shunda Technology Co ltd
Original Assignee
Beijing Shunda Technology 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 Beijing Shunda Technology Co ltd filed Critical Beijing Shunda Technology Co ltd
Priority to CN202011431704.6A priority Critical patent/CN112416410A/en
Publication of CN112416410A publication Critical patent/CN112416410A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Abstract

The application relates to a data management method and device of an applet, a computer device and a storage medium. The method comprises the following steps: respectively carrying out page monitoring on each small program page of the small program; each small program page comprises a corresponding data module, and each data module is obtained by performing data modularization based on Redox; when the data updating of the small program page is determined by monitoring, the data updating processing is carried out in the data module corresponding to the small program page with the data updating.

Description

Data management method and device for small program, computer equipment and storage medium
Technical Field
The present application relates to the field of applet technologies, and in particular, to a method and an apparatus for data management of an applet, a computer device, and a storage medium.
Background
With the development of computer technology, applets have emerged. An applet is an application that can be used without downloading an installation, such as a WeChat applet. Since applets have only one APP (Application) instance and are shared by all pages. Existing data management for applets typically stores global data by a global field.
However, the way of storing global data in the global field is not only high in data complexity, but also easily causes uncontrollable concurrency problem when multiple pages acquire and operate instances simultaneously.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a data management method, apparatus, computer device, and storage medium for a small program that can reduce data complexity and avoid the problem of uncontrollable concurrency.
A method of data management of an applet, the method comprising:
respectively carrying out page monitoring on each small program page of the small program; each small program page comprises a corresponding data module, and each data module is obtained by performing data modularization based on Redox;
and when the data updating of the small program page is determined by monitoring, performing data updating processing in a data module corresponding to the small program page with the data updating.
In one embodiment, when it is determined by monitoring that the data update occurs in the applet page, performing data update processing in a data module corresponding to the applet page where the data update occurs includes:
when the data updating of the small program page is determined through monitoring, acquiring a module identifier of a data module corresponding to the small program page with the data updating;
and according to the module identification, performing data updating processing in a data module corresponding to the applet page in which data updating occurs.
In one embodiment, the performing, according to the module identifier, data update processing in a data module corresponding to the applet page in which data update occurs includes:
calling a data updating method;
and transferring the module identification as an object into the called data updating method, and finishing data updating in the data module corresponding to the applet page with data updating through the data updating method.
In one embodiment, after performing data update processing in a data module corresponding to the applet page in which data update occurs, the method further includes:
determining other small program pages related to the data with the data update except the small program page with the data update to obtain a related small program page;
and synchronously updating data in the data module corresponding to the associated small program page.
In one embodiment, after performing the data update process, the method further includes:
acquiring the data of the updated applet page from the data module subjected to data updating;
removing pure field data in the small program page data to obtain data to be rendered;
and performing interface rendering according to the data to be rendered to display the small program page, and completing page updating on the small program page with the updated data.
In one embodiment, the removing pure field data in the applet page data to obtain data to be rendered includes:
querying data carrying pure data identification in the small program page data by using a pure data regular expression; the pure data regular expression is specified in an applet page constructor;
and removing the data carrying the pure data identification from the small program page data to obtain the data to be rendered.
In one embodiment, the data updating method comprises an overlay type data updating method and a fusion type data updating method;
when the data is updated to be data coverage, calling the coverage type data updating method;
and when the data update is data fusion, calling the fusion type data update method.
An apparatus for data management of an applet, the apparatus comprising:
the monitoring module is used for respectively monitoring each small program page of the small program; each small program page comprises a corresponding data module, and each data module is obtained by performing data modularization based on Redox;
and the data updating module is used for performing data updating processing in the data module corresponding to the small program page with data updating when the small program page is monitored and determined to have data updating.
A computer device comprising a memory storing a computer program and a processor implementing the steps of the data management method of any of the applets when the computer program is executed.
A computer-readable storage medium, having stored thereon a computer program which, when executed by a processor, carries out the steps of the data management method of any of the applets described above.
The data management method, the device, the computer equipment and the storage medium of the small program respectively monitor pages of each small program page of the small program, because each small program page respectively comprises the corresponding data module based on the redux data modularization, when the data of the small program page is monitored to be updated, the data updating processing is carried out in the data module corresponding to the updated small program page, thereby realizing the purpose of respectively managing the data of each small program page in different data modules, not only reducing the complexity of the data, but also respectively processing the data modules when multiple pages are simultaneously acquired and operated, thereby avoiding the simultaneous calling of global fields and avoiding the problem of uncontrollable concurrency.
Drawings
FIG. 1 is a diagram of an application environment of a data management method of an applet in one embodiment;
FIG. 2 is a flow diagram that illustrates a method for data management of an applet, in accordance with one embodiment;
FIG. 3 is a flowchart illustrating a data management method of an applet in another embodiment;
FIG. 4 is a flowchart of an applet page update method in one embodiment;
FIG. 5 is a block diagram showing the structure of a data management apparatus of an applet in one embodiment;
FIG. 6 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The data management method of the small program can be applied to the application environment shown in fig. 1. Wherein the terminal 102 communicates with the server 104 via a network. The server 104 monitors each applet page of the applet on the terminal 102, wherein each applet page comprises a corresponding data module, and each data module is obtained by performing data modularization based on reduce; when the server 104 monitors and determines that the data update occurs to the applet page, the data update processing is performed in the data module corresponding to the applet page where the data update occurs. The terminal 102 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices, and the server 104 may be implemented by an independent server or a server cluster formed by a plurality of servers.
In one embodiment, as shown in fig. 2, a data management method for an applet is provided, which is described by taking the method as an example applied to the server in fig. 1, and includes the following steps:
step S202, page monitoring is respectively carried out on each small program page of the small program; each small program page comprises a corresponding data module, and each data module is obtained by performing data modularization based on Redox.
The data module is a module which is corresponding to the small program page one by one and is used for managing the small program data. Redux is a predictable state container for JS (JavaScript), a lightweight, interpreted or just-in-time, high-level programming language with function precedence).
Specifically, the applet is secondarily developed in advance through Redux, so that each applet page includes a corresponding data module. Redux's createStore (object) method receives and combines a plurality of modules, each containing a respective attribute (state) and method (action). Therefore, the createstore (object) method of built-in Redux creates respective data modules for managing the applet page data by the createstore (object) method. When the small program is used, page monitoring is carried out on each small program page in the small program, and updating of page data is sensed in real time through the page monitoring.
Step S204, when the data updating of the small program page is determined by monitoring, the data updating processing is carried out in the data module corresponding to the small program page with the data updating.
The data updating refers to that data changes, and includes data creation, data updating and the like.
Specifically, when the data update of the applet page is determined through page monitoring, the data update processing is completed in the data module corresponding to the applet page where the data update occurs. For example, when the applet page a changes, the data update process is performed in the data module a corresponding to the applet page a.
According to the data management method of the small program, page monitoring is carried out on each small program page of the small program, each small program page comprises the corresponding data module based on redux in a data modularization mode, when the data of the small program page is monitored to be updated, data updating processing is carried out in the data module corresponding to the updated small program page, and therefore the data of each small program page is managed in different data modules respectively.
In one embodiment, step S204 includes: when the fact that data updating occurs in the small program page is monitored and determined, module identification of a data module corresponding to the small program page with the data updating is obtained; and according to the module identification, performing data updating processing in a data module corresponding to the applet page in which data updating occurs.
The module identifier is an identifier for uniquely representing the data module, and the module identifier may be a name, a number, or the like specified for the data module when the data module is created.
Specifically, when data update processing needs to be performed on the applet page with the data update, the module identifier of the data module corresponding to the applet page with the data update is obtained. And then, according to the module identification of the corresponding data module, performing data updating processing in the data module corresponding to the small program page. In this embodiment, data update processing is performed through the module identifier, so that data update processing is accurately performed in the data module corresponding to the applet page where data update occurs.
In one embodiment, according to the module identifier, performing data update processing in a data module corresponding to an applet page in which data update occurs includes: calling a data updating method; and taking the module identification as an object to be transmitted into the called data updating method, and finishing data updating in the data module corresponding to the small program page with the data updating through the data updating method.
The Data updating method is a built-in method for updating Data, and comprises an overlay type Data updating method set [ name ] Data and a fusion type Data updating method Update [ name ] Data. The distinction between Update [ name ] Data and set [ name ] Data is that for the treatment of objects, the set method will be completely covered and the Update method will fuse.
Specifically, when data update processing is performed, a corresponding data update method is called. And then, the acquired module identification is taken as an object and is transmitted into a data updating method, and data updating is completed in a data module corresponding to the applet page in which the data updating occurs through the data updating method. That is, when the Data representation of the Data module is represented by name A, the Data Update methods after the module identification is passed in are set [ A ] Data and Update [ A ] Data. In this embodiment, the data of the corresponding data module is updated by a built-in data updating method.
In one embodiment, the data update method invoked may be invoked based on the actual state in which the applet page data is updated. And when the data of the applet page is updated to the data coverage type data update, calling the coverage type data update method. When the data is updated to the data fusion type, the fusion type data updating method is called. The actual state of the applet page data being updated can be determined by page listening. In the embodiment, the updating accuracy is ensured by calling different built-in data updating methods.
In one embodiment, as shown in fig. 3, after step S204, the following steps are further included:
step S206, besides the small program page with the data updating, other small program pages related to the data with the data updating are determined, and a related small program page is obtained.
And step S208, synchronously updating data in the data module corresponding to the associated applet page.
Specifically, since many pieces of data are shared by a plurality of pieces of data, in order to ensure data unification, after data is updated on a certain applet page, data update processing should be performed on other applet pages related to the updated data in a unified manner. Therefore, after the data of a certain applet page is updated, other applet pages related to the data with the data update are determined except the applet page with the data update, and a related applet page is obtained. That is, other applet pages related to the update data are queried to obtain associated applet pages. And then, performing data updating processing in a data module corresponding to the associated applet page in the same way. That is, the module identifier of the data module corresponding to the associated applet page is obtained, the data update method of the same type is called, the module identifier corresponding to the associated applet page is used as an object and is transmitted to the data update method, and the data update method executes the data update processing in the data module of the associated applet page.
In this embodiment, data uniformity can be ensured by updating the associated applet page and the step data.
In one embodiment, as shown in fig. 4, after the data updating process, an applet page update is further included, and the applet page update includes the following steps
Step S402, acquiring the data of the updated applet from the data module subjected to the data updating processing.
And S404, removing the pure field data in the small program page data to obtain the data to be rendered.
And S406, performing interface rendering according to the data to be rendered to display the small program page, and completing page updating on the small program page with the updated data.
Specifically, after the data updating process, for the purpose of accuracy of page display, the data of the applet page after the data updating process is acquired from the data module where the data updating process occurs, and the applet page after the data updating process is rendered and displayed. Among other things, because Redux is compatible with pure data fields, pure data fields are typically some data that is not used for interface rendering. Therefore, in order to realize rapid interface rendering, the pure field data in the applet page data can be removed, and the rest data is the data to be rendered which needs to be rendered. And then, performing interface rendering on the data to be rendered. And after the interface rendering is finished, displaying the rendered applet page on the terminal, thereby synchronously finishing the page updating of the applet page. In the embodiment, after the data updating process is completed, the interface rendering display is performed through the updated data, so that the consistency of the small program page display can be ensured.
In one embodiment, step S404 includes: querying data carrying pure data identification in the small program page data by using a pure data regular expression; the pure data regular expression is specified in an applet page constructor; and removing the data carrying the pure data identification from the small program page data to obtain the data to be rendered.
The pure data regular expression is a regular expression which is configured in advance and used for inquiring the pure data identifier, and can be specified in the applet page constructor Component. That is, pureDataPattern (pure data identity) is specified as a regular expression in options of the constructor Component. The pure data identification is an identification which is configured in advance and used for representing that the data is pure data, and the pure data identification of the prefix/suffix is added to the field name of each data in a configuration mode, so that the field accords with the pure data field rule.
Specifically, the acquired applet page data is queried by using a specified pure data regular expression, and the query field name conforms to the field of the pure data regular expression, namely the query field name carries data of a pure data identifier. And then, determining that the data carrying the pure data identification is a pure data field, removing the data from the applet page data without rendering, and taking the residual data as the obtained data to be rendered. In the embodiment, the interface rendering is performed after the pure data which does not need to be rendered is removed through the pure data identifier, so that the updating performance of the page can be improved.
It should be understood that although the various steps in the flow charts of fig. 2-4 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-4 may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed in turn or alternately with other steps or at least some of the other steps.
In one embodiment, as shown in fig. 5, there is provided a data management apparatus of an applet, including: a listening module 502 and a data update module 504, wherein:
a monitoring module 502, configured to perform page monitoring on each applet page of the applet respectively; each small program page comprises a corresponding data module, and each data module is obtained by performing data modularization based on Redox.
And the data updating module 504 is configured to, when it is determined that the data update occurs in the applet page through monitoring, perform data updating processing in a data module corresponding to the applet page where the data update occurs.
In one embodiment, the data update module 504 is further configured to, when it is determined that the data update occurs in the applet page through monitoring, obtain a module identifier of a data module corresponding to the applet page where the data update occurs; and according to the module identification, performing data updating processing in a data module corresponding to the applet page in which data updating occurs.
In one embodiment, the data update module 504 is further configured to invoke a data update method; and taking the module identification as an object to be transmitted into the called data updating method, and finishing data updating in the data module corresponding to the small program page with the data updating through the data updating method.
In one embodiment, the data update module 504 is further configured to determine other applet pages associated with the data with which the data update occurs, in addition to the applet page with which the data update currently occurs, to obtain an associated applet page; and synchronously updating data in the data module corresponding to the associated applet page.
In one embodiment, the data management device of the applet further comprises a rendering module, which is used for acquiring the data of the applet after the data update from the data module in which the data update processing occurs; removing pure field data in the small program page data to obtain data to be rendered; and performing interface rendering according to the data to be rendered to display the small program page, and completing page updating on the small program page with the updated data.
In one embodiment, the rendering module is further configured to query, by using a pure data regular expression, data carrying a pure data identifier in the applet page data; the pure data regular expression is specified in an applet page constructor; and removing the data carrying the pure data identification from the small program page data to obtain the data to be rendered.
In one embodiment, the data update module 504 is further configured to invoke an overlay-type data update method when the data of the applet page is updated to the data overlay; and when the data is updated to be data fusion, calling a fusion type data updating method.
For specific limitations of the data management device of the applet, reference may be made to the above limitations of the data management method of the applet, which are not described herein again. The respective modules in the data management apparatus of the above applet may be wholly or partially implemented by software, hardware, and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as shown in fig. 6. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing applet related data. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a data management method for an applet.
Those skilled in the art will appreciate that the architecture shown in fig. 6 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program:
respectively carrying out page monitoring on each small program page of the small program; each small program page comprises a corresponding data module, and each data module is obtained by performing data modularization based on Redox;
and when the data updating of the small program page is determined by monitoring, performing data updating processing in a data module corresponding to the small program page with the data updating.
In one embodiment, the processor, when executing the computer program, further performs the steps of: when the fact that data updating occurs in the small program page is monitored and determined, module identification of a data module corresponding to the small program page with the data updating is obtained; and according to the module identification, performing data updating processing in a data module corresponding to the applet page in which data updating occurs.
In one embodiment, the processor, when executing the computer program, further performs the steps of: calling a data updating method; and taking the module identification as an object to be transmitted into the called data updating method, and finishing data updating in the data module corresponding to the small program page with the data updating through the data updating method.
In one embodiment, the processor, when executing the computer program, further performs the steps of: determining other small program pages related to the data with the data update except the small program page with the data update to obtain a related small program page; and synchronously updating data in the data module corresponding to the associated applet page.
In one embodiment, the processor, when executing the computer program, further performs the steps of: acquiring the data of the updated applet page from the data module subjected to data updating; removing pure field data in the small program page data to obtain data to be rendered; and performing interface rendering according to the data to be rendered to display the small program page, and completing page updating on the small program page with the updated data.
In one embodiment, the processor, when executing the computer program, further performs the steps of: querying data carrying pure data identification in the small program page data by using a pure data regular expression; the pure data regular expression is specified in an applet page constructor; and removing the data carrying the pure data identification from the small program page data to obtain the data to be rendered.
In one embodiment, the processor, when executing the computer program, further performs the steps of: when the data of the small program page is updated to be data coverage, calling an overlay type data updating method; and when the data is updated to be data fusion, calling a fusion type data updating method.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
respectively carrying out page monitoring on each small program page of the small program; each small program page comprises a corresponding data module, and each data module is obtained by performing data modularization based on Redox;
and when the data updating of the small program page is determined by monitoring, performing data updating processing in a data module corresponding to the small program page with the data updating.
In one embodiment, the computer program when executed by the processor further performs the steps of: when the fact that data updating occurs in the small program page is monitored and determined, module identification of a data module corresponding to the small program page with the data updating is obtained; and according to the module identification, performing data updating processing in a data module corresponding to the applet page in which data updating occurs.
In one embodiment, the computer program when executed by the processor further performs the steps of: calling a data updating method; and taking the module identification as an object to be transmitted into the called data updating method, and finishing data updating in the data module corresponding to the small program page with the data updating through the data updating method.
In one embodiment, the computer program when executed by the processor further performs the steps of: determining other small program pages related to the data with the data update except the small program page with the data update to obtain a related small program page; and synchronously updating data in the data module corresponding to the associated applet page.
In one embodiment, the computer program when executed by the processor further performs the steps of: acquiring the data of the updated applet page from the data module subjected to data updating; removing pure field data in the small program page data to obtain data to be rendered; and performing interface rendering according to the data to be rendered to display the small program page, and completing page updating on the small program page with the updated data.
In one embodiment, the computer program when executed by the processor further performs the steps of: querying data carrying pure data identification in the small program page data by using a pure data regular expression; the pure data regular expression is specified in an applet page constructor; and removing the data carrying the pure data identification from the small program page data to obtain the data to be rendered.
In one embodiment, the computer program when executed by the processor further performs the steps of: when the data of the small program page is updated to be data coverage, calling an overlay type data updating method; and when the data is updated to be data fusion, calling a fusion type data updating method.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A method for data management of an applet, the method comprising:
respectively carrying out page monitoring on each small program page of the small program; each small program page comprises a corresponding data module, and each data module is obtained by performing data modularization based on Redox;
and when the data updating of the small program page is determined by monitoring, performing data updating processing in a data module corresponding to the small program page with the data updating.
2. The method according to claim 1, wherein when it is determined by the monitoring that the data update occurs to the applet page, performing data update processing in a data module corresponding to the applet page where the data update occurs includes:
when the data updating of the small program page is determined through monitoring, acquiring a module identifier of a data module corresponding to the small program page with the data updating;
and according to the module identification, performing data updating processing in a data module corresponding to the applet page in which data updating occurs.
3. The method according to claim 2, wherein performing data update processing in a data module corresponding to the applet page in which data update occurs according to the module identifier comprises:
calling a data updating method;
and transferring the module identification as an object into the called data updating method, and finishing data updating in the data module corresponding to the applet page with data updating through the data updating method.
4. The method according to claim 1, wherein after performing data update processing in a data module corresponding to the applet page in which data update occurs, the method further comprises:
determining other small program pages related to the data with the data update except the small program page with the data update to obtain a related small program page;
and synchronously updating data in the data module corresponding to the associated small program page.
5. The method of claim 1, wherein after performing the data update process, the method further comprises:
acquiring the data of the updated applet page from the data module subjected to data updating;
removing pure field data in the small program page data to obtain data to be rendered;
and performing interface rendering according to the data to be rendered to display the small program page, and completing page updating on the small program page with the updated data.
6. The method according to claim 5, wherein the removing of the pure field data in the applet page data to obtain data to be rendered comprises:
querying data carrying pure data identification in the small program page data by using a pure data regular expression; the pure data regular expression is specified in an applet page constructor;
and removing the data carrying the pure data identification from the small program page data to obtain the data to be rendered.
7. The method of claim 3, wherein the data update method comprises an overlay type data update method and a fusion type data update method;
when the data is updated to be data coverage, calling the coverage type data updating method;
and when the data update is data fusion, calling the fusion type data update method.
8. An apparatus for data management of an applet, the apparatus comprising:
the monitoring module is used for respectively monitoring each small program page of the small program; each small program page comprises a corresponding data module, and each data module is obtained by performing data modularization based on Redox;
and the data updating module is used for performing data updating processing in the data module corresponding to the small program page with data updating when the small program page is monitored and determined to have data updating.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
CN202011431704.6A 2020-12-09 2020-12-09 Data management method and device for small program, computer equipment and storage medium Pending CN112416410A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011431704.6A CN112416410A (en) 2020-12-09 2020-12-09 Data management method and device for small program, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011431704.6A CN112416410A (en) 2020-12-09 2020-12-09 Data management method and device for small program, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112416410A true CN112416410A (en) 2021-02-26

Family

ID=74774992

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011431704.6A Pending CN112416410A (en) 2020-12-09 2020-12-09 Data management method and device for small program, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112416410A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080126567A1 (en) * 2006-09-19 2008-05-29 Joseph Wilson System and method for preserving consumer choice
CN109144503A (en) * 2018-08-29 2019-01-04 北京城市网邻信息技术有限公司 Pass through the method, apparatus, equipment and readable storage medium storing program for executing of Redux storing data
CN109710328A (en) * 2018-08-20 2019-05-03 深圳壹账通智能科技有限公司 Page configuration method, apparatus, equipment and readable storage medium storing program for executing
CN109857486A (en) * 2019-02-02 2019-06-07 北京字节跳动网络技术有限公司 A kind of processing method, device, equipment and the medium of program page data
CN109901893A (en) * 2017-12-07 2019-06-18 腾讯科技(武汉)有限公司 The method for managing data flow of applet
CN110263277A (en) * 2019-06-18 2019-09-20 广州虎牙科技有限公司 Display methods, update method, device, equipment and the storage medium of page data
CN110659098A (en) * 2019-09-23 2020-01-07 北京城市网邻信息技术有限公司 Data updating method and device, terminal equipment and storage medium
CN111177616A (en) * 2019-12-11 2020-05-19 未鲲(上海)科技服务有限公司 Page restoration display method and device, computer equipment and storage medium
CN111638870A (en) * 2020-05-14 2020-09-08 民生科技有限责任公司 Front-end development base platform based on acts and reduce

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080126567A1 (en) * 2006-09-19 2008-05-29 Joseph Wilson System and method for preserving consumer choice
CN109901893A (en) * 2017-12-07 2019-06-18 腾讯科技(武汉)有限公司 The method for managing data flow of applet
CN109710328A (en) * 2018-08-20 2019-05-03 深圳壹账通智能科技有限公司 Page configuration method, apparatus, equipment and readable storage medium storing program for executing
CN109144503A (en) * 2018-08-29 2019-01-04 北京城市网邻信息技术有限公司 Pass through the method, apparatus, equipment and readable storage medium storing program for executing of Redux storing data
CN109857486A (en) * 2019-02-02 2019-06-07 北京字节跳动网络技术有限公司 A kind of processing method, device, equipment and the medium of program page data
CN110263277A (en) * 2019-06-18 2019-09-20 广州虎牙科技有限公司 Display methods, update method, device, equipment and the storage medium of page data
CN110659098A (en) * 2019-09-23 2020-01-07 北京城市网邻信息技术有限公司 Data updating method and device, terminal equipment and storage medium
CN111177616A (en) * 2019-12-11 2020-05-19 未鲲(上海)科技服务有限公司 Page restoration display method and device, computer equipment and storage medium
CN111638870A (en) * 2020-05-14 2020-09-08 民生科技有限责任公司 Front-end development base platform based on acts and reduce

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
图雀社区: "Taro小程序开发大型实战(四):使用Hooks版的Redux实现应用状态管理(上篇)", pages 1 - 6, Retrieved from the Internet <URL:《https://blog.csdn.net/huan1043269994/article/details/107539588》> *

Similar Documents

Publication Publication Date Title
CN109542529B (en) Function name-based point burying method and device, computer equipment and storage medium
CN111143462A (en) Data export method and device, computer equipment and storage medium
CN110334126B (en) Timing task processing method and device based on Spring MVC and computer equipment
CN110750267A (en) Service information updating method and device, computer equipment and storage medium
CN110213392B (en) Data distribution method and device, computer equipment and storage medium
CN114531477B (en) Method and device for configuring functional components, computer equipment and storage medium
CN111414379A (en) Serial number generation method, device, equipment and computer readable storage medium
CN109389299B (en) Workflow process deployment method, workflow process deployment device, computer equipment and storage medium
CN113010224A (en) Front-end micro-service method, device, computer equipment and storage medium
CN112035114A (en) Page rollback method, device, equipment and medium
CN111552535A (en) Interface picture replacing method and device, computer equipment and storage medium
US20220039001A1 (en) Network search method and apparatus, device and storage medium
CN109542962B (en) Data processing method, data processing device, computer equipment and storage medium
CN112416410A (en) Data management method and device for small program, computer equipment and storage medium
CN112181423B (en) Project construction method and device based on configuration file, computer equipment and medium
CN115237467A (en) Page view configuration method and device, computer equipment and storage medium
CN110866011B (en) Data table synchronization method and device, computer equipment and storage medium
CN112783866A (en) Data reading method and device, computer equipment and storage medium
CN112149951A (en) Risk control method and device, computer equipment and storage medium
CN112231377A (en) Data mapping method, system, device, server and storage medium
CN110928607A (en) Service implementation method, device, computer equipment and storage medium
CN113645064B (en) Task issuing method and device, electronic equipment and storage medium
CN113051157B (en) Interface testing method and device, computer equipment and storage medium
CN115190362B (en) Data processing method and device, electronic equipment and storage medium
CN114265997B (en) Page information output method, device, storage medium and terminal

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