CN112256677A - Information storage method and device, electronic equipment and computer readable storage medium - Google Patents

Information storage method and device, electronic equipment and computer readable storage medium Download PDF

Info

Publication number
CN112256677A
CN112256677A CN202011294488.5A CN202011294488A CN112256677A CN 112256677 A CN112256677 A CN 112256677A CN 202011294488 A CN202011294488 A CN 202011294488A CN 112256677 A CN112256677 A CN 112256677A
Authority
CN
China
Prior art keywords
data
back end
user
historical data
information
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
CN202011294488.5A
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 Mininglamp Software System Co ltd
Original Assignee
Beijing Mininglamp Software System 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 Mininglamp Software System Co ltd filed Critical Beijing Mininglamp Software System Co ltd
Priority to CN202011294488.5A priority Critical patent/CN112256677A/en
Publication of CN112256677A publication Critical patent/CN112256677A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases
    • G06F16/219Managing data history or versioning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • G06F9/5038Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering the execution order of a plurality of tasks, e.g. taking priority or time dependency constraints into consideration

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses an information storage method, an information storage device, electronic equipment and a computer readable storage medium. The method comprises the following steps: the user opens an application form page, checks a local cache and accesses the back end, and obtains the last stored historical data of the user for the current type of form at the back end; creating a local storage, generating a daemon process, and monitoring form changes; and after the user submits the form, clearing the local storage, and informing the back end of setting the form operation to be finished. The invention realizes a system for storing the input information when the enterprise wechat application interface operates on the basis of the enterprise wechat infrastructure. In the use process of enterprise WeChat, how to recover original data after data entry is interrupted due to uncertain burst problems is solved, data are guaranteed not to be lost, and repeated input of users is avoided.

Description

Information storage method and device, electronic equipment and computer readable storage medium
Technical Field
The invention relates to the technical field of internet information, in particular to an information storage method and device based on enterprise WeChat, electronic equipment and a computer readable storage medium.
Background
The WeChat as an efficient social tool in the mobile internet era has the following advantages:
1) and the function is simple. The WeChat interface is concise, clear, standard and uniform, contains rich interpersonal relationships, and provides convenience for information transfer among merchants, users, colleagues and friends. Meanwhile, with the assistance of functions of LBS (location based service), shaking-shaking, drifting bottles, friend circles, shopping, voice talkback, two-dimensional identity recognition, dynamic expressions, mini games and the like, the WeChat integrates various modes such as characters, photos, sounds and videos, helps a user to effectively integrate and manage a relationship chain, meets the communication requirements of the user on depth and multiple levels, and enriches the user experience.
2) Multidimensional social interaction. The WeChat platform supports the connection and interaction among different interpersonal relationships, and creates and manages a new and multidimensional social relationship circle among acquaintances, acquaintances and strangers, strangers and buyers and sellers. The emergence of internet applications such as comment, reply, LBS, shake-shake, drift bottle, etc. allows users to obtain more communication and communication modes. The WeChat platform provides a convenient way for interaction between people with different relationships.
3) And creating a lifestyle. The WeChat applications such as comment, reply, LBS, shake-shake, drift bottle and the like create a light and interesting handheld social life. The wechat is based on a human-centered interactive design concept, a simple, limitless and distinctive communication mode is brought, mass information can be shared in a large area through a social means, and the experience range of users is expanded. With the group transformation of communication and social mode, WeChat will promote a new life style, bringing more convenience and rapidness to people's work and life.
The enterprise WeChat is an enterprise communication and office tool created by Tencent WeChat team, has communication experience consistent with WeChat, abundant OA application and capability of connecting the ecology of the WeChat, and can help enterprises to connect the interior, connect ecological partners and connect consumers. Professional collaboration, security management, people-as-a-service. At present, enterprise WeChat covers more than 50 industries such as retail, education, finance, manufacturing industry, Internet, medical treatment and the like, and intelligent solutions are continuously output to various industries.
With the increasing development of enterprise WeChat, the functions available on the enterprise WeChat are more and more abundant. When enterprise employees log data in an application interface of enterprise WeChat, when users need to check other applications or enter chatting and other emergency situations, the input data of the employees is interrupted, and the current input content of the employees is likely to be lost, so that the employees repeatedly input the data, and the time and the labor are consumed.
With the heavy use of enterprise wechat, more applications are integrated into enterprise wechat. In the application use process, how to face the emergency situations such as temporary chatting or other application switching, the data security of the previous application input is ensured, the repeated input of the staff is avoided, and the problem which needs to be solved urgently between the enterprise WeChat application and the staff is solved.
Disclosure of Invention
The invention provides an information storage method and device based on enterprise WeChat, electronic equipment and a computer readable storage medium, aiming at the technical problem of data recovery in enterprise WeChat.
In a first aspect, an embodiment of the present application provides an information storage method based on enterprise WeChat, including:
a historical data obtaining step: the method comprises the steps that a user opens an application form page, looks up local cache and accesses a back end, and historical data of the user, which is stored at the back end for the last time by aiming at a form of a current type, is obtained;
a monitoring step: creating a local storage, generating a daemon process, and monitoring form changes;
a submitting step: and after the user submits the form, clearing the local storage, and informing the back end of setting the form operation to be finished.
The information storage method based on the enterprise WeChat, wherein the historical data obtaining step comprises the following steps:
if the historical data exists, comparing the time priority of local cache data with the time priority of the historical data, analyzing the stored data with high priority, and then putting the analyzed stored data into a position corresponding to the form for displaying;
and if the historical data does not exist, generating a unique key and storing the application form page data.
According to the information storage method based on the enterprise WeChat, the time priority is judged according to the data acquisition sequence, and the later acquired data has high priority.
The information storage method based on the enterprise WeChat comprises the following monitoring steps:
if the form is not changed, no operation is performed;
and if the form is changed, the daemon process calls the back end at regular time and sends the changed data of the form to the back end for storage.
In a second aspect, an embodiment of the present application provides an information saving apparatus based on enterprise WeChat, including:
a historical data obtaining module: the method comprises the steps that a user opens an application form page, looks up local cache and accesses a back end, and historical data of the user, which is stored at the back end for the last time by aiming at a form of a current type, is obtained;
a monitoring module: creating a local storage, generating a daemon process, and monitoring form changes;
a submission module: and after the user submits the form, clearing the local storage, and informing the back end of setting the form operation to be finished.
The above information storage apparatus based on enterprise WeChat, wherein the historical data obtaining module includes:
if the historical data exists, comparing the time priority of local cache data with the time priority of the historical data, analyzing the stored data with high priority, and then putting the analyzed stored data into a position corresponding to the form for displaying;
and if the historical data does not exist, generating a unique key and storing the application form page data.
According to the information storage device based on the enterprise WeChat, the time priority in the historical data acquisition module is judged according to the data acquisition sequence, and the later acquired data has high priority.
Above-mentioned information storage device based on enterprise's WeChat, wherein, the monitoring module includes:
if the form is not changed, no operation is performed;
and if the form is changed, the daemon process calls the back end at regular time and sends the changed data of the form to the back end for storage.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, and when the processor executes the computer program, the information saving method according to the first aspect is implemented.
In a fourth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the computer program implements the information saving method according to the first aspect.
Compared with the prior art, the invention has the advantages and positive effects that:
1. when the application is awakened by a user, the application can automatically acquire the historical behavior data of the current user, and when the historical data exists, the original data of the user can be automatically recovered.
2. When the user operates, the application automatically stores the change data to the client. Meanwhile, a daemon process of the application is started, and the daemon process sends the form data to a background to be stored at regular time. When the application needs to be re-opened due to the fact that the problem cannot be detected, the user only needs to re-open the application, and the application can automatically recover historical data of the user.
3. In the process that the user submits by using the form, if an accident occurs, the form data filled by the user does not need to be filled again, and the time for repeatedly inputting the form data is saved.
Drawings
FIG. 1 is a schematic diagram illustrating steps of an enterprise WeChat-based information preservation method provided by the present invention;
FIG. 2 is a schematic flow chart illustrating an embodiment of an information saving method based on enterprise WeChat according to the present invention;
FIG. 3 is a block diagram of an enterprise WeChat-based information keeping apparatus according to the present invention;
fig. 4 is a block diagram of a computer device according to an embodiment of the present application.
Wherein the reference numerals are:
11. a historical data obtaining module; 12. a monitoring module; 13. a submission module; 81. a processor; 82. a memory; 83. a communication interface; 80. a bus.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be described and illustrated 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. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments provided in the present application without any inventive step are within the scope of protection of the present application.
It is obvious that the drawings in the following description are only examples or embodiments of the present application, and that it is also possible for a person skilled in the art to apply the present application to other similar contexts on the basis of these drawings without inventive effort. Moreover, it should be appreciated that in the development of any such actual implementation, as in any engineering or design project, numerous implementation-specific decisions must be made to achieve the developers' specific goals, such as compliance with system-related and business-related constraints, which may vary from one implementation to another.
Reference in the specification to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the specification. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of ordinary skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments without conflict.
Unless defined otherwise, technical or scientific terms referred to herein shall have the ordinary meaning as understood by those of ordinary skill in the art to which this application belongs. Reference to "a," "an," "the," and similar words throughout this application are not to be construed as limiting in number, and may refer to the singular or the plural. The present application is directed to the use of the terms "including," "comprising," "having," and any variations thereof, which are intended to cover non-exclusive inclusions; for example, a process, method, system, article, or apparatus that comprises a list of steps or modules (elements) is not limited to the listed steps or elements, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus. Reference to "connected," "coupled," and the like in this application is not intended to be limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The term "plurality" as referred to herein means two or more. "and/or" describes an association relationship of associated objects, meaning that three relationships may exist, for example, "A and/or B" may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. Reference herein to the terms "first," "second," "third," and the like, are merely to distinguish similar objects and do not denote a particular ordering for the objects.
The present invention is described in detail with reference to the embodiments shown in the drawings, but it should be understood that these embodiments are not intended to limit the present invention, and those skilled in the art should understand that functional, methodological, or structural equivalents or substitutions made by these embodiments are within the scope of the present invention.
Before describing in detail the various embodiments of the present invention, the core inventive concepts of the present invention are summarized and described in detail by the following several embodiments.
The invention realizes a system for storing the input information when the enterprise wechat application interface operates on the basis of the enterprise wechat infrastructure. In the use process of enterprise WeChat, how to recover original data after data entry is interrupted due to uncertain burst problems is solved, data are guaranteed not to be lost, and repeated input of users is avoided.
The first embodiment is as follows:
referring to fig. 1 to 2, the present embodiment discloses a specific implementation of an information saving method (hereinafter referred to as "method").
Specifically, as shown in fig. 1, the method disclosed in this embodiment mainly includes the following steps:
step S1: and opening an application form page by a user, checking a local cache, accessing a back end, and acquiring the last stored historical data of the user at the back end for the form of the current type.
Specifically, if the historical data exists, comparing the time priorities of the local cache data and the historical data, wherein the time priorities are judged according to the data acquisition sequence, the priority of the data acquired firstly is low, the priority of the data acquired later is high, and then the stored data with high priority is analyzed and then is placed in a position corresponding to the form for display; and if the historical data does not exist, generating a unique key and storing the application form page data.
In particular, backend refers to a backend system, i.e., a server-side program deployed on a server. The form is primarily responsible for data collection functions. A form has three basic components: form label: included herein are URLs of CGI programs used to process form data and methods of submitting data to a server. Form field: including text boxes, password boxes, hidden fields, multi-line text boxes, check boxes, radio boxes, drop-down selection boxes, file upload boxes, and the like. Form button: comprises a submit button, a reset button and a general button; the CGI script used to transfer data to the server or cancel the input, and the form button can also be used to control other processing tasks that define the processing script.
Then, step S2 is executed: and creating a local storage, generating a daemon process and monitoring form changes.
In particular, a daemon process, also called a daemon process, is a process that runs in the background and is not controlled by any terminal. The Unix operating system has many typical daemons, the number of which varies from 20-50 as needed, which run in the background and perform different management tasks. The user makes the daemon independent of all terminals because, in case the daemon is started from one terminal, this same terminal may be used by other users. For example, a user logs out from a terminal after starting a daemon process, and then another person also logs in to the terminal. The user does not want the latter to receive any error information of the daemon in the course of using the terminal. Likewise, any signal (e.g., interrupt signal) entered by the terminal should not affect the operation of any daemon previously launched at the terminal. While it is easy to have the server running in the background (as long as the shell command line goes & ends), the user should do something that allows the program itself to enter the background automatically and without relying on any terminal.
The daemon has no control terminal, so that when some condition occurs, whether general reporting information or emergency information to be handled by an administrator, needs to be output in some way. The Syslog function is the standard method of exporting this information and sends the information to the Syslog daemon.
Specifically, after the local storage is created, the change of the form is monitored, and if the form is not changed, no operation is performed; and creating a daemon process when a user opens the form, if the form is changed, regularly calling the back end by the daemon process, and sending the changed data of the form to the back end for storage.
Then, step S3 is executed: and after the user submits the form, clearing the local storage, and informing the back end of setting the form operation to be finished.
Specifically, after the user finishes data entry, the form is submitted, and in the process of submitting, if an accident occurs, the form filled by the user does not need to be refilled, so that the time for repeatedly entering the form data is saved.
Example two:
in combination with the method for storing information based on enterprise WeChat disclosed in the first embodiment, this embodiment discloses a specific implementation example of an information storage device (hereinafter referred to as "device") based on enterprise WeChat.
Referring to fig. 3, the apparatus includes:
the history data obtaining module 11: the method comprises the steps that a user opens an application form page, looks up local cache and accesses a back end, and historical data of the user, which is stored at the back end for the last time by aiming at a form of a current type, is obtained;
the monitoring module 12: creating a local storage, generating a daemon process, and monitoring form changes;
the submission module 13: and after the user submits the form, clearing the local storage, and informing the back end of setting the form operation to be finished.
Specifically, in the historical data obtaining module 11, if the historical data exists, comparing the time priorities of the local cache data and the historical data, where the time priorities are determined according to the data obtaining sequence, the priority of the data obtained first is low, the priority of the data obtained later is high, and then the stored data with high priority is analyzed and then is placed in a position corresponding to the form for display; and if the historical data does not exist, generating a unique key and storing the application form page data.
Backend refers to a backend system, i.e., a server-side program deployed on a server. The form is primarily responsible for data collection functions. A form has three basic components: form label: included herein are URLs of CGI programs used to process form data and methods of submitting data to a server. Form field: including text boxes, password boxes, hidden fields, multi-line text boxes, check boxes, radio boxes, drop-down selection boxes, file upload boxes, and the like. Form button: comprises a submit button, a reset button and a general button; the CGI script used to transfer data to the server or cancel the input, and the form button can also be used to control other processing tasks that define the processing script.
Specifically, in the monitoring module 12, after the local storage is created, the change of the form is monitored, and if the form is not changed, no operation is performed; and creating a daemon process when a user opens the form, if the form is changed, regularly calling the back end by the daemon process, and sending the changed data of the form to the back end for storage.
A daemon, also called a daemon, is a process that runs in the background and is not controlled by any terminal. The Unix operating system has many typical daemons, the number of which varies from 20-50 as needed, which run in the background and perform different management tasks. The user makes the daemon independent of all terminals because, in case the daemon is started from one terminal, this same terminal may be used by other users. For example, a user logs out from a terminal after starting a daemon process, and then another person also logs in to the terminal. The user does not want the latter to receive any error information of the daemon in the course of using the terminal. Likewise, any signal (e.g., interrupt signal) entered by the terminal should not affect the operation of any daemon previously launched at the terminal. While it is easy to have the server running in the background (as long as the shell command line goes & ends), the user should do something that allows the program itself to enter the background automatically and without relying on any terminal.
The daemon has no control terminal, so that when some condition occurs, whether general reporting information or emergency information to be handled by an administrator, needs to be output in some way. The Syslog function is the standard method of exporting this information and sends the information to the Syslog daemon.
Specifically, in the submission module 13, the form is submitted after the user completes data entry, and in the process of submitting, if an accident occurs, the form filled by the user does not need to be refilled, so that the time for repeatedly entering the form data is saved.
Please refer to the description of the first embodiment, which is not repeated herein, for the technical solutions of the rest of the same parts in the information storage apparatus and the information storage method disclosed in the first embodiment.
Example three:
referring to FIG. 4, the embodiment discloses an embodiment of a computer device. The computer device may comprise a processor 81 and a memory 82 in which computer program instructions are stored.
Specifically, the processor 81 may include a Central Processing Unit (CPU), or A Specific Integrated Circuit (ASIC), or may be configured to implement one or more Integrated circuits of the embodiments of the present Application.
Memory 82 may include, among other things, mass storage for data or instructions. By way of example, and not limitation, memory 82 may include a Hard Disk Drive (Hard Disk Drive, abbreviated to HDD), a floppy Disk Drive, a Solid State Drive (SSD), flash memory, an optical Disk, a magneto-optical Disk, tape, or a Universal Serial Bus (USB) Drive or a combination of two or more of these. Memory 82 may include removable or non-removable (or fixed) media, where appropriate. The memory 82 may be internal or external to the data processing apparatus, where appropriate. In a particular embodiment, the memory 82 is a Non-Volatile (Non-Volatile) memory. In particular embodiments, Memory 82 includes Read-Only Memory (ROM) and Random Access Memory (RAM). The ROM may be mask-programmed ROM, Programmable ROM (PROM), Erasable PROM (EPROM), Electrically Erasable PROM (EEPROM), Electrically rewritable ROM (EAROM), or FLASH Memory (FLASH), or a combination of two or more of these, where appropriate. The RAM may be a Static Random-Access Memory (SRAM) or a Dynamic Random-Access Memory (DRAM), where the DRAM may be a Fast Page Mode Dynamic Random-Access Memory (FPMDRAM), an Extended data output Dynamic Random-Access Memory (EDODRAM), a Synchronous Dynamic Random-Access Memory (SDRAM), and the like.
The memory 82 may be used to store or cache various data files for processing and/or communication use, as well as possible computer program instructions executed by the processor 81.
The processor 81 realizes any one of the information saving methods in the above embodiments by reading and executing computer program instructions stored in the memory 82.
In some of these embodiments, the computer device may also include a communication interface 83 and a bus 80. As shown in fig. 4, the processor 81, the memory 82, and the communication interface 83 are connected via the bus 80 to complete communication therebetween.
The communication interface 83 is used for implementing communication between modules, devices, units and/or equipment in the embodiment of the present application. The communication port 83 may also be implemented with other components such as: the data communication is carried out among external equipment, image/data acquisition equipment, a database, external storage, an image/data processing workstation and the like.
Bus 80 includes hardware, software, or both to couple the components of the computer device to each other. Bus 80 includes, but is not limited to, at least one of the following: data Bus (Data Bus), Address Bus (Address Bus), Control Bus (Control Bus), Expansion Bus (Expansion Bus), and Local Bus (Local Bus). By way of example, and not limitation, Bus 80 may include an Accelerated Graphics Port (AGP) or other Graphics Bus, an Enhanced Industry Standard Architecture (EISA) Bus, a Front-Side Bus (Front Side Bus), an FSB (FSB), a Hyper Transport (HT) Interconnect, an ISA (ISA) Bus, an Infini Band Interconnect, a Low Pin Count (LPC) Bus, a memory Bus, a microchannel Architecture (MCA) Bus, a PCI (Peripheral Component Interconnect) Bus, a PCI-Express (PCI-X) Bus, a Serial Advanced Technology Attachment (SATA) Bus, a Video Electronics Bus (audio Electronics Association), abbreviated VLB) bus or other suitable bus or a combination of two or more of these. Bus 80 may include one or more buses, where appropriate. Although specific buses are described and shown in the embodiments of the application, any suitable buses or interconnects are contemplated by the application.
In addition, in combination with the information saving method in the foregoing embodiments, the embodiments of the present application may provide a computer-readable storage medium to implement. The computer readable storage medium having stored thereon computer program instructions; the computer program instructions, when executed by a processor, implement any of the information holding methods of the above embodiments.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
In summary, the invention has the beneficial effects that a set of system for storing the input information when the enterprise wechat application interface operates is realized on the basis of the enterprise wechat infrastructure. In the use process of enterprise WeChat, how to recover original data after data entry is interrupted due to uncertain burst problems is solved, data are guaranteed not to be lost, and repeated input of users is avoided. When the application is awakened by a user, the application can automatically acquire the historical behavior data of the current user, and when the historical data exists, the original data of the user can be automatically recovered. When the user operates, the application automatically stores the change data to the client. Meanwhile, a daemon process of the application is started, and the daemon process sends the form data to a background to be stored at regular time. When the application needs to be re-opened due to the fact that the problem cannot be detected, the user only needs to re-open the application, and the application can automatically recover historical data of the user.
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. An information storage method is characterized in that based on an enterprise WeChat platform, the method comprises the following steps:
a historical data obtaining step: the method comprises the steps that a user opens an application form page, looks up local cache and accesses a back end, and historical data of the user, which is stored at the back end for the last time by aiming at a form of a current type, is obtained;
a monitoring step: creating a local storage, generating a daemon process, and monitoring form changes;
a submitting step: and after the user submits the form, clearing the local storage, and informing the back end of setting the form operation to be finished.
2. The information holding method according to claim 1, wherein the history data obtaining step includes:
if the historical data exists, comparing the time priority of local cache data with the time priority of the historical data, analyzing the stored data with high priority, and then putting the analyzed stored data into a position corresponding to the form for displaying;
and if the historical data does not exist, generating a unique key and storing the application form page data.
3. The information storage method according to claim 2, wherein the time priority is determined according to a data acquisition order, and a later-acquired data priority is high.
4. The information holding method according to claim 1, wherein the monitoring step includes:
if the form is not changed, no operation is performed;
and if the form is changed, the daemon process calls the back end at regular time and sends the changed data of the form to the back end for storage.
5. An information holding apparatus, based on an enterprise WeChat platform, comprising:
a historical data obtaining module: the method comprises the steps that a user opens an application form page, looks up local cache and accesses a back end, and historical data of the user, which is stored at the back end for the last time by aiming at a form of a current type, is obtained;
a monitoring module: creating a local storage, generating a daemon process, and monitoring form changes;
a submission module: and after the user submits the form, clearing the local storage, and informing the back end of setting the form operation to be finished.
6. The information holding apparatus according to claim 5, wherein the history data obtaining module includes:
if the historical data exists, comparing the time priority of local cache data with the time priority of the historical data, analyzing the stored data with high priority, and then putting the analyzed stored data into a position corresponding to the form for displaying;
and if the historical data does not exist, generating a unique key and storing the application form page data.
7. The information holding apparatus according to claim 6, wherein the time priority in the history data obtaining module is determined according to the data obtaining order, and the later obtained data has a higher priority.
8. The information preservation method according to claim 5, wherein said monitoring module comprises:
if the form is not changed, no operation is performed;
and if the form is changed, the daemon process calls the back end at regular time and sends the changed data of the form to the back end for storage.
9. An electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor implements the information holding method according to any one of claims 1 to 4 when executing the computer program.
10. A computer-readable storage medium on which a computer program is stored, the program, when being executed by a processor, implementing the information holding method according to any one of claims 1 to 4.
CN202011294488.5A 2020-11-18 2020-11-18 Information storage method and device, electronic equipment and computer readable storage medium Pending CN112256677A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011294488.5A CN112256677A (en) 2020-11-18 2020-11-18 Information storage method and device, electronic equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011294488.5A CN112256677A (en) 2020-11-18 2020-11-18 Information storage method and device, electronic equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN112256677A true CN112256677A (en) 2021-01-22

Family

ID=74266219

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011294488.5A Pending CN112256677A (en) 2020-11-18 2020-11-18 Information storage method and device, electronic equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112256677A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113821423A (en) * 2021-09-27 2021-12-21 杭州网易云音乐科技有限公司 Data acquisition method and device, storage medium and computing equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06149504A (en) * 1992-11-06 1994-05-27 Fuji Xerox Co Ltd Electronic form managing system
CN103051692A (en) * 2012-12-11 2013-04-17 中国能源建设集团广东省电力设计研究院 Mobile operation system working platform supporting extreme network environment
CN108345578A (en) * 2018-01-16 2018-07-31 广东电网有限责任公司信息中心 A method of intelligence record list is filled in
CN110704752A (en) * 2019-10-30 2020-01-17 武汉绿安健膳方科技有限公司 Questionnaire input method and system based on dynamic form

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06149504A (en) * 1992-11-06 1994-05-27 Fuji Xerox Co Ltd Electronic form managing system
CN103051692A (en) * 2012-12-11 2013-04-17 中国能源建设集团广东省电力设计研究院 Mobile operation system working platform supporting extreme network environment
CN108345578A (en) * 2018-01-16 2018-07-31 广东电网有限责任公司信息中心 A method of intelligence record list is filled in
CN110704752A (en) * 2019-10-30 2020-01-17 武汉绿安健膳方科技有限公司 Questionnaire input method and system based on dynamic form

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113821423A (en) * 2021-09-27 2021-12-21 杭州网易云音乐科技有限公司 Data acquisition method and device, storage medium and computing equipment
CN113821423B (en) * 2021-09-27 2023-08-11 杭州网易云音乐科技有限公司 Data acquisition method, device, storage medium and computing equipment

Similar Documents

Publication Publication Date Title
EP3957035B1 (en) Sensitive data detection in communication data
US11971942B2 (en) System and method for sharing information using a machine-readable code on a mobile device
CN112162965B (en) Log data processing method, device, computer equipment and storage medium
CN104601641A (en) Application link sharing method, device and system
CN108572970B (en) Structured data processing method and distributed processing system
WO2016070718A1 (en) Method, device, and browser for file downloading
EP3557437B1 (en) Systems and methods for search template generation
WO2014139302A1 (en) Information sharing method and system
CN111400378A (en) Real-time log display method and device based on ElasticSearch, computer equipment and medium
CN112819617B (en) Data uplink method and device, electronic equipment and storage medium
CN112015806A (en) Method and device for storing data by block chain
CN112256677A (en) Information storage method and device, electronic equipment and computer readable storage medium
CN112738249B (en) File uploading method, device, equipment and storage medium based on quantitative transaction
CN111641554B (en) Message processing method and device and computer readable storage medium
CN116055067B (en) Weak password detection method, device, electronic equipment and medium
CN110442439B (en) Task process processing method and device and computer equipment
CN108427599A (en) Method, apparatus and storage medium is uniformly processed in asynchronous task
CN111427917A (en) Search data processing method and related product
US11146571B2 (en) Data transmission method, apparatus, terminal device, and medium
CN112948138A (en) Method and device for processing message
JP2014513351A (en) Authentication information processing
US20150106899A1 (en) System and method for cross-cloud identity matching
CN115361450A (en) Request information processing method, apparatus, electronic device, medium, and program product
CN105847216A (en) Identity authentication method and device
CN111538481A (en) Application program customization method and system

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