CN113254530A - Mobile terminal off-line processing method, system, electronic equipment and storage medium - Google Patents

Mobile terminal off-line processing method, system, electronic equipment and storage medium Download PDF

Info

Publication number
CN113254530A
CN113254530A CN202110524539.7A CN202110524539A CN113254530A CN 113254530 A CN113254530 A CN 113254530A CN 202110524539 A CN202110524539 A CN 202110524539A CN 113254530 A CN113254530 A CN 113254530A
Authority
CN
China
Prior art keywords
data
offline
equipment
unit
mobile terminal
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
CN202110524539.7A
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 Renke Interactive Network Technology Co Ltd
Original Assignee
Beijing Renke Interactive Network 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 Renke Interactive Network Technology Co Ltd filed Critical Beijing Renke Interactive Network Technology Co Ltd
Priority to CN202110524539.7A priority Critical patent/CN113254530A/en
Publication of CN113254530A publication Critical patent/CN113254530A/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/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • 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/22Indexing; Data structures therefor; Storage structures
    • G06F16/2282Tablespace storage structures; Management thereof
    • 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/23Updating
    • G06F16/2372Updates performed during offline database operations

Abstract

The invention provides a mobile terminal off-line processing method, a system, electronic equipment and a storage medium, wherein the mobile terminal off-line processing method comprises the following steps: polling the online state of the first equipment at regular time, downloading data offline if the first equipment is offline, and storing the data in different databases based on the type of the offline downloaded data; if the first equipment is on line, the data is synchronously updated and uploaded through the first equipment; and assembling the offline downloaded data stored in different databases based on the offline of the first equipment, and synchronously updating and uploading the assembled data after network signals are recovered. The first equipment service entity is updated and the mobile terminal offline download data is updated synchronously when the first equipment data is updated and uploaded synchronously, and the situation that the mobile terminal local database cannot be updated synchronously because the console cannot be started due to the offline state is avoided.

Description

Mobile terminal off-line processing method, system, electronic equipment and storage medium
Technical Field
The present invention relates to the field of mobile terminal application technologies, and in particular, to a mobile terminal offline processing method, system, electronic device, and storage medium.
Background
Field Service (Field Service) generally refers to a Service that requires delivery to be completed on-site by a Service team, unlike a remote Service like the Call center. On-site services exist within many industries, such as service scenarios for installation, maintenance, repair, etc. of equipment manufacturing enterprises, and some business scenarios requiring after-market services. The field service has a large demand for the mobile terminal, and engineers in home service often need to carry mobile portable devices, such as smart phones and pads, to go to clients for field processing, installation, maintenance, repair and other matters. However, in remote mountain areas or areas with poor or extremely poor communication signals, such as basements, the devices of many clients are prone to have problems that work orders cannot be inquired and reported.
Currently, the mainstream mobile terminal offline scheme is mainly to cache data accessed by a user. In the on-line state of the user, the system automatically downloads the accessed data of the client, the work order and the like to a database of the mobile terminal; and in the off-line state of the user, the system accesses the off-line database and displays the off-line database.
In order to realize query and report of service data under an offline condition, the mobile terminal offline scheme usually constructs a local relational database, which is generally a mirror image of a server database, and the table structures of the databases are completely consistent, and if a service requirement changes, the structure of the corresponding server database is changed, so that the mobile terminal local database cannot be synchronously changed due to the fact that a control console cannot be started, and further data display and report cannot be performed. In addition, the mobile terminal offline scheme requires that a user manually accesses related resources in advance to perform offline downloading, so that the dependence on personnel is high, and if the user does not manually perform offline downloading or offline selection data is not complete, the subsequent operation cannot be performed.
Disclosure of Invention
The invention provides a mobile terminal offline processing method, a mobile terminal offline processing system, electronic equipment and a storage medium, which are used for solving the defect that business entity change and local storage cannot be synchronized due to business requirement change in the prior art, realizing data display and report under an offline condition, avoiding the condition of untimely manual downloading and maximally improving human efficiency.
The invention provides a mobile terminal off-line processing method, which comprises the following steps: polling the online state of the first equipment at regular time, downloading data offline if the first equipment is offline, and storing the data in different databases based on the type of the offline downloaded data; if the first equipment is on line, the data is synchronously updated and uploaded through the first equipment; and assembling the offline downloaded data stored in different databases based on the offline of the first equipment, and synchronously updating and uploading the assembled data after network signals are recovered.
According to the mobile terminal off-line processing method provided by the invention, the type of the off-line downloaded data comprises metadata used for describing a business entity and form data used for describing a business data value, and the database comprises a relational database and a document database; the storing the offline download data in different databases based on the type of the offline download data comprises: based on the type of the off-line downloaded data, metadata for describing the business entities is stored in the relational database, and form data for describing the business data values is stored in the document database.
According to the offline processing method of the mobile terminal provided by the invention, the assembling of the data stored in different databases comprises the following steps: forming a data list according to the metadata; and writing the form data into the data list based on the metadata to form the assembled data.
According to the offline processing method of the mobile terminal provided by the present invention, after the assembling the data stored in the different databases, the method further comprises: displaying the assembled data; judging whether the assembled data needs to be changed, and if so, changing the assembled data; otherwise, storing the data as the subsequently updated and uploaded data.
According to the off-line processing method of the mobile terminal provided by the invention, when the assembled data is synchronously updated and uploaded, the method comprises the following steps: if the writing fails, prompting the synchronization failure information, and carrying out synchronization updating and uploading again; otherwise, the synchronous updating and uploading are successful.
The invention also provides a mobile terminal off-line processing system, which comprises a synchronous management module, an interface module and a local storage database, wherein: the synchronous management module polls the online state of the first equipment at regular time and controls the interface module and the local storage module based on the online state of the first equipment; the interface module is used for controlling offline downloading data based on the synchronous management module and storing the offline downloading data into different databases in the local storage module according to the type of the offline downloading data; the local storage module stores the offline download data, assembles the data stored in the different databases, and synchronously updates and uploads the assembled data based on the control of the synchronous management module.
According to an offline processing system of a mobile terminal provided by the present invention, the synchronization management module comprises: the network state polling unit is used for polling the online state of the first equipment at regular time; the state management unit controls the interface module to download data offline according to the offline state of the first device polled by the network state unit, or controls the local storage module to synchronously update and upload the offline download data according to the online state of the first device polled by the network state unit;
the local storage module includes: the relational database stores the type of the off-line downloading data as metadata for describing a business entity; the document database stores the offline download data type as form data for describing a service data value; the modeling script unit is used for assembling the metadata stored in the relational database and the form data stored in the document database, and synchronously updating and uploading the assembled data based on the control of the synchronous management module;
the interface module comprises an interface unit and a data packing unit, wherein: the interface unit is used for realizing data transmission between the first equipment and the local storage module; and the data packaging unit downloads data offline based on the control of the synchronous management module.
The mobile terminal offline processing system provided by the invention further comprises an offline page module, wherein the offline page module comprises a data display list unit, a form detail display unit and a form editing unit, and the offline page module comprises a data display list unit, a form detail display unit and a form editing unit, wherein: the data display list unit is used for displaying the assembled data set; the form detail display unit is used for displaying a single record in the assembled data set; and the form editing unit is used for carrying out data change on the assembled data.
The invention further provides an electronic device, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor executes the program to realize the steps of any one of the mobile terminal offline processing methods.
The present invention also provides a non-transitory computer readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the steps of the mobile-side offline processing method according to any one of the above.
According to the mobile terminal offline processing method, the mobile terminal offline processing system, the electronic equipment and the storage medium, the first equipment data are respectively stored in different databases according to the type of the offline downloaded data, so that when the first equipment data are synchronously updated and uploaded, the synchronous updating of the first equipment service entity change and the mobile terminal offline downloaded data is realized, the situation that the mobile terminal local database cannot be synchronously changed due to the fact that a control console cannot be started under the offline state is avoided, and the situation that form data cannot be reported in the reporting process is further avoided; in addition, the online state of the first equipment is polled to automatically download data offline, so that the problems of untimely and incomplete manual downloading and the like are solved, and the efficiency is improved to the maximum extent.
Drawings
In order to more clearly illustrate the technical solutions of the present invention or the prior art, the drawings needed for the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
Fig. 1 is a schematic flow chart of an offline processing method of a mobile terminal according to the present invention;
FIG. 2 is a schematic diagram of a mobile-side offline processing system according to the present invention;
fig. 3 is a second schematic structural diagram of an offline processing system of a mobile terminal according to the present invention;
fig. 4 is a schematic structural diagram of an electronic device provided in the present invention.
Reference numerals:
1: a synchronization management module; 2: an interface module; 3: a local storage module;
41: a processor; 42: a communication interface; 43: a memory;
44: a communication bus.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The following describes an offline processing method of a mobile terminal according to the present invention with reference to fig. 1, including:
s01, polling the online state of the first device regularly, if the first device is offline, downloading data offline, and storing the data in different databases based on the type of the offline downloaded data; if the first equipment is on line, the data is synchronously updated and uploaded through the first equipment;
and S02, assembling the offline downloaded data stored in different databases based on the offline of the first device, and synchronously updating and uploading the assembled data after the network signal is recovered.
It should be noted that S0N in this specification does not represent the sequence of the mobile terminal offline processing method, and the mobile terminal offline processing method of the present invention is described in detail below.
Step S01, polling the online state of the first device regularly, if the first device is offline, downloading data offline, and storing the data in different databases based on the type of the offline downloaded data; and if the first equipment is online, synchronously updating and uploading the data through the first equipment.
In this embodiment, when the first device is online, the data is updated and uploaded to the second device directly and synchronously by the first device; when the first device is off-line, the data of the first device is automatically downloaded off-line through the mobile terminal, and after the mobile terminal is connected with the network, the data is synchronously updated and uploaded to the second device.
It should be noted that the first device may be a server or a client, and when the first device is the server, the second device is the client; and when the first equipment is the client, the second equipment is the server. When the first device is a server, the processes of off-line data downloading, synchronous updating and uploading are that the server data is downloaded to the client through the mobile terminal; when the first device is a client, the processes of off-line data downloading, synchronous updating and uploading are that the client data is uploaded to the server through the mobile terminal. If the first device is always in the online state, the first device interface is directly called to synchronously update and upload the first device data to the client online, or synchronously update and upload the client data to the server online.
When the local area network signal of the first device is unstable, the first device is very easy to be in an off-line state, so that the state of the first device needs to be polled at regular time through the mobile terminal in order to facilitate synchronous updating and uploading of data, the required data is automatically downloaded when the first device is off-line, and the mobile terminal is connected with the network and then synchronously updated and uploaded to the device, so that automatic synchronous updating and data uploading are realized, and the problems of untimely manual downloading and the like are avoided.
It should be noted that, in the offline state, when the data of the first device is updated and uploaded to the second device synchronously, the data in the first device needs to be downloaded to the mobile terminal offline, and is stored in different databases in the mobile terminal according to the types of the data, so as to implement the synchronous change of the local storage of the mobile terminal after the service entity of the first device is changed, avoid the situation that the local database of the mobile terminal cannot be changed synchronously due to the fact that the console cannot be started, and further facilitate the display and report of the data in the subsequent offline situation. Specifically, the type of offline download data includes metadata for describing business entities and form data for describing business data values, the databases include relational databases and document databases, and the offline download data is stored in different databases based on the type thereof, including: based on the type of the offline download data, metadata describing the business entities is stored in a relational database, and form data describing the business data values is stored in a document database.
It should be noted that the metadata is structured data, and is used for describing business entities, and includes client data, fields, types, option fields for enumerating fields, check rules, duplication checking rules, and the like. The form data is unstructured data and marked as a service data numerical value, and the specific numerical value can be determined according to data reported by engineers and offline download data.
And step S02, assembling the off-line downloaded data stored in different databases based on the off-line of the first device, and after the network signal is recovered, synchronously updating and uploading the assembled data.
Firstly, assembling offline download data stored in different databases of a mobile terminal in an offline state of a first device, including: forming a data list according to the metadata; and writing the form data into the data list based on the metadata to form the assembled data.
Secondly, after assembling the data stored in different databases of the mobile terminal, the method further comprises the following steps: displaying the assembled data; judging whether the assembled data needs to be changed, and if so, changing the data of the assembled data; otherwise, storing the data as the subsequently updated and uploaded data. It should be noted that, when displaying the assembled data, the data set may be displayed in pages, and a single record in the data set may also be displayed, so as to determine whether the assembled data is consistent with the data in the first device, and if not, the assembled data may be changed to ensure the accuracy of synchronous update and upload of the data. It should be noted that, in the process of descending the server data to the client, if the display is abnormal, the client user is subjected to synchronous prompt failure information, and unstructured data is displayed, so as to ensure that the client user can basically use the basic functions of the client.
And finally, after the first equipment is recovered to be on-line, synchronously updating and uploading the data assembled in the mobile terminal to the second equipment. It should be noted that when the assembled data is synchronously uploaded and updated, if the writing fails, synchronization failure information is prompted, and the synchronous updating and uploading are performed again; otherwise, the synchronous updating and uploading are successful.
In summary, the embodiments of the present invention respectively store the offline download data in different databases according to the type of the offline download data, so as to implement the synchronous update of the first device service entity change and the offline download data of the mobile terminal when the first device data is synchronously updated and uploaded, thereby avoiding a situation that the local database of the mobile terminal cannot be synchronously changed due to the fact that the console cannot be enabled in an offline state, and further avoiding a situation that the form data cannot be reported in the reporting process; in addition, the online state of the first equipment is polled to automatically download data offline, so that the problems of untimely and incomplete manual downloading and the like are solved, and the efficiency is improved to the maximum extent.
The mobile-side offline processing system provided by the present invention is described below, and the mobile-side offline processing system described below and the mobile-side offline processing method described above may be referred to correspondingly.
Referring to fig. 2 to fig. 3, fig. 2 and fig. 3 are schematic structural diagrams of an offline processing system of a mobile terminal, respectively, the system including a synchronization management module, an interface module and a local storage database, wherein: the synchronous management module 1 polls the online state of the first equipment at regular time and controls the interface module and the local storage module based on the online state of the first equipment; the interface module 2 is used for controlling the offline download data based on the synchronous management module 1 and storing the offline download data in different databases in the local storage module 3 according to the type of the offline download data; and the local storage module 3 is used for storing offline downloaded data, assembling the data stored in different databases, and synchronously updating and uploading the assembled data based on the control of the synchronous management module 1.
In the practical application process, when the first equipment is on line, the data is directly updated and uploaded to the second equipment synchronously through the first equipment; when the first device is off-line, the data of the first device is automatically downloaded off-line through the mobile terminal, and after the mobile terminal is connected with the network, the data is synchronously updated and uploaded to the second device. In this embodiment, the first device may be a server or a client, and when the first device is the server, the second device is the client; and when the first equipment is the client, the second equipment is the server. When the first device is a server, the processes of off-line data downloading, synchronous updating and uploading are that the server data is downloaded to the client through the mobile terminal; when the first device is a client, the processes of off-line data downloading, synchronous updating and uploading are that the client data is uploaded to the server through the mobile terminal.
Specifically, the synchronization management module 1 includes: the network state polling unit is used for polling the online state of the first equipment at regular time; and the state management unit controls the interface module 2 to download data offline according to the offline state of the first device polled by the network state unit, or controls the local storage module 3 to update and upload the downloaded data offline according to the online state of the first device polled by the network state unit, so that the data can be automatically downloaded offline in time when the network of the first device is disconnected, and after the network is recovered, the data can be updated and uploaded synchronously, thereby avoiding the influence on the synchronous update and upload of the data caused by the untimely data download, and further avoiding the influence on partial function use.
In addition, the synchronization management module 1 further includes an exception management unit, and the exception management unit is configured to prompt synchronization information. Furthermore, when the data of the first device is updated and uploaded to the second device synchronously through the mobile terminal, for example, in the process of uploading the client data to the server terminal through the mobile terminal, if a write failure occurs, the exception management unit locally prompts synchronization failure information according to the situation of the write failure; for another example, in the process of downloading the server data to the client through the mobile terminal, if the display abnormality occurs, the abnormality management unit performs friendly prompt on the client according to the display abnormality and displays the unstructured data to ensure basic use of the user. It should be noted that, in this embodiment, most of the business data are structured data, such as metadata for describing the business entity, while the structured data depend on the field, type and authority setting of the business entity, and the unstructured data include form data for describing the business data value.
In order to store the offline downloaded data in different databases respectively according to the types of the offline downloaded data, and assemble the data stored in the different databases, the local storage module 3 includes: the relational database stores the offline download data type as metadata for describing the business entity; the document database stores offline download data of which the type is form data used for describing a business data value; and the modeling script unit is used for assembling the metadata stored in the relational database and the form data stored in the document database, and synchronously updating and uploading the assembled data based on the control of the synchronous management module 3. It should be noted that the document database has the characteristics of document-oriented, light weight and flexible expansion, and can meet the requirements of low power consumption and variable service data for mobile terminal offline storage, and the form data and the metadata are respectively stored through the document database and the relational database, so as to realize synchronous update of the first device service entity change and the mobile terminal offline download data, and further avoid the situation that the mobile terminal local data cannot be synchronously changed due to the console which cannot be started.
In order to facilitate the data transmission between the mobile terminal and the first device, the interface module 2 includes an interface unit and a data packing unit, wherein: the interface unit is used for realizing data transmission between the first equipment and the local storage module 3; the data packing unit downloads data offline based on the control of the synchronization management module 1. It should be noted that, in order to facilitate operations such as adding, deleting, modifying, querying and the like on data in the subsequent presentation process, the interface unit includes a call interface, and in this embodiment, the call interface may be an API interface.
In order to facilitate the assembling of metadata stored in a relational database and form data stored in a document database by a modeling script unit and confirm the assembled data according to the data of first equipment, so as to ensure the accuracy of synchronous updating and uploading of offline downloaded data, the mobile terminal offline processing system further comprises an offline page module, wherein the offline page module comprises a data display list unit, a form detail display unit and a form editing unit, and the data display list unit comprises a data display list unit, a form detail display unit and a form editing unit, wherein: the data display list unit is used for displaying the assembled data set; the form detail display unit is used for displaying a single record in the assembled data set; and the form editing unit is used for carrying out data change on the assembled data. It should be noted that the form detail display unit may perform data query on the local database through the API interface, and the form editing unit may perform operations such as adding, deleting, and modifying on data of the local database through the API interface.
Fig. 4 illustrates a physical structure diagram of an electronic device, which may include, as shown in fig. 4: a processor (processor)41, a communication Interface (communication Interface)42, a memory (memory)43 and a communication bus 44, wherein the processor 41, the communication Interface 42 and the memory 43 complete communication with each other through the communication bus 44. Processor 41 may call logic instructions in memory 43 to perform a mobile-side offline processing method, the method comprising: polling the online state of the first equipment at regular time, downloading data offline if the first equipment is offline, and storing the data in different databases based on the type of the offline downloaded data; if the first equipment is on line, the data is synchronously updated and uploaded through the first equipment; and assembling the offline downloaded data stored in different databases based on the offline of the first equipment, and synchronously updating and uploading the assembled data after network signals are recovered.
Furthermore, the logic instructions in the memory 43 may be implemented in the form of software functional units and stored in a computer readable storage medium when sold or used as a stand-alone product. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In another aspect, the present invention also provides a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium, the computer program including program instructions, when the program instructions are executed by a computer, the computer being capable of executing the mobile-side offline processing method provided by the above methods, the method including: polling the online state of the first equipment at regular time, downloading data offline if the first equipment is offline, and storing the data in different databases based on the type of the offline downloaded data; if the first equipment is on line, the data is synchronously updated and uploaded through the first equipment; and assembling the offline downloaded data stored in different databases based on the offline of the first equipment, and synchronously updating and uploading the assembled data after network signals are recovered.
In still another aspect, the present invention also provides a non-transitory computer-readable storage medium, on which a computer program is stored, the computer program being implemented by a processor to perform the mobile-side offline processing method provided in the foregoing aspects, the method including: polling the online state of the first equipment at regular time, downloading data offline if the first equipment is offline, and storing the data in different databases based on the type of the offline downloaded data; if the first equipment is on line, the data is synchronously updated and uploaded through the first equipment; and assembling the offline downloaded data stored in different databases based on the offline of the first equipment, and synchronously updating and uploading the assembled data after network signals are recovered.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A mobile terminal offline processing method is characterized by comprising the following steps:
polling the online state of the first equipment at regular time, downloading data offline if the first equipment is offline, and storing the data in different databases based on the type of the offline downloaded data; if the first equipment is on line, the data is synchronously updated and uploaded through the first equipment;
and assembling the offline downloaded data stored in different databases based on the offline of the first equipment, and synchronously updating and uploading the assembled data after network signals are recovered.
2. The mobile-side offline processing method according to claim 1, wherein the types of the offline download data include metadata for describing business entities and table data for describing business data values, and the database includes a relational database and a document database;
the storing the offline download data in different databases based on the type of the offline download data comprises: based on the type of the off-line downloaded data, metadata for describing the business entities is stored in the relational database, and form data for describing the business data values is stored in the document database.
3. The mobile-side offline processing method according to claim 2, wherein said assembling the data stored in the different databases comprises:
forming a data list according to the metadata;
and writing the form data into the data list based on the metadata to form the assembled data.
4. The mobile-side offline processing method according to claim 1, further comprising, after said assembling the data stored in the different databases:
displaying the assembled data;
judging whether the assembled data needs to be changed, and if so, changing the assembled data; otherwise, storing the data as the subsequently updated and uploaded data.
5. The mobile-side offline processing method according to claim 4, wherein, when synchronously updating and uploading the assembled data, the method comprises:
if the writing fails, prompting the synchronization failure information, and carrying out synchronization updating and uploading again; otherwise, the synchronous updating and uploading are successful.
6. The utility model provides a mobile terminal off-line processing system which characterized in that, includes synchronous management module, interface module and local storage database, wherein:
the synchronous management module polls the online state of the first equipment at regular time and controls the interface module and the local storage module based on the online state of the first equipment;
the interface module is used for controlling offline downloading data based on the synchronous management module and storing the offline downloading data into different databases in the local storage module according to the type of the offline downloading data;
the local storage module stores the offline download data, assembles the data stored in the different databases, and synchronously updates and uploads the assembled data based on the control of the synchronous management module.
7. The mobile-side offline processing system according to claim 6, wherein the synchronization management module comprises:
the network state polling unit is used for polling the online state of the first equipment at regular time;
the state management unit controls the interface module to download data offline according to the offline state of the first device polled by the network state unit, or controls the local storage module to synchronously update and upload the offline download data according to the online state of the first device polled by the network state unit;
the local storage module includes:
the relational database stores the type of the off-line downloading data as metadata for describing a business entity;
the document database stores the offline download data type as form data for describing a service data value;
the modeling script unit is used for assembling the metadata stored in the relational database and the form data stored in the document database, and synchronously updating and uploading the assembled data based on the control of the synchronous management module;
the interface module comprises an interface unit and a data packing unit, wherein:
the interface unit is used for realizing data transmission between the first equipment and the local storage module;
and the data packaging unit downloads data offline based on the control of the synchronous management module.
8. The mobile-side offline processing system according to claim 6, further comprising an offline page module, said offline page module comprising a data presentation list unit, a form detail presentation unit and a form editing unit, wherein:
the data display list unit is used for displaying the assembled data set;
the form detail display unit is used for displaying a single record in the assembled data set;
and the form editing unit is used for carrying out data change on the assembled data.
9. An electronic device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the mobile-side offline processing method according to any one of claims 1 to 5 when executing the program.
10. A non-transitory computer-readable storage medium, on which a computer program is stored, wherein the computer program, when executed by a processor, implements the steps of the mobile-side offline processing method according to any one of claims 1 to 5.
CN202110524539.7A 2021-05-13 2021-05-13 Mobile terminal off-line processing method, system, electronic equipment and storage medium Pending CN113254530A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110524539.7A CN113254530A (en) 2021-05-13 2021-05-13 Mobile terminal off-line processing method, system, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110524539.7A CN113254530A (en) 2021-05-13 2021-05-13 Mobile terminal off-line processing method, system, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113254530A true CN113254530A (en) 2021-08-13

Family

ID=77181789

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110524539.7A Pending CN113254530A (en) 2021-05-13 2021-05-13 Mobile terminal off-line processing method, system, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113254530A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117093652A (en) * 2023-10-17 2023-11-21 杭银消费金融股份有限公司 Offline data synchronization method and system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050268213A1 (en) * 2004-05-06 2005-12-01 Peiya Liu System and method for automating job management in mobile data collection
US20180063666A1 (en) * 2016-08-29 2018-03-01 International Business Machines Corporation Parallel user interaction with physical and modeled system
US20180114197A1 (en) * 2016-10-21 2018-04-26 Johnson Controls Technology Company Systems and methods for monetizing building management system software deployment
US20190149619A1 (en) * 2017-11-16 2019-05-16 Servicenow, Inc. Field service management mobile offline synchronization
CN111010364A (en) * 2018-10-04 2020-04-14 甲骨文国际公司 System for offline object-based storage and simulation of REST responses

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050268213A1 (en) * 2004-05-06 2005-12-01 Peiya Liu System and method for automating job management in mobile data collection
US20180063666A1 (en) * 2016-08-29 2018-03-01 International Business Machines Corporation Parallel user interaction with physical and modeled system
US20180114197A1 (en) * 2016-10-21 2018-04-26 Johnson Controls Technology Company Systems and methods for monetizing building management system software deployment
US20190149619A1 (en) * 2017-11-16 2019-05-16 Servicenow, Inc. Field service management mobile offline synchronization
CN111010364A (en) * 2018-10-04 2020-04-14 甲骨文国际公司 System for offline object-based storage and simulation of REST responses

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李传伟 等: ""一种基于移动服务的系统模型"", 《微计算机信息》, vol. 26, no. 06, pages 127 - 128 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117093652A (en) * 2023-10-17 2023-11-21 杭银消费金融股份有限公司 Offline data synchronization method and system
CN117093652B (en) * 2023-10-17 2024-01-16 杭银消费金融股份有限公司 Offline data synchronization method and system

Similar Documents

Publication Publication Date Title
CN110109686B (en) Application operation and maintenance method and system based on container management engine
CN107920112A (en) Support configuration file method for pushing, central server and the storage medium of grayscale mode
CN101741830A (en) Method, system, client and server for realizing multi-client data synchronization
CN111737227B (en) Data modification method and system
WO2023245985A1 (en) Smart-gateway adaptation system based on thing model, and operation method therefor
CN104954482A (en) Configuration management system and method
CN112416957A (en) Data increment updating method and device based on data model layer and computer equipment
CN102236707A (en) Method, device and system for obtaining update data of database
CN113254530A (en) Mobile terminal off-line processing method, system, electronic equipment and storage medium
CN112597123B (en) Data multi-version dynamic switching method and device
CN102594874A (en) Synchronization processing method and device
CN115129574A (en) Code testing method and device
CN112131177A (en) Data migration method and device, storage medium and electronic equipment
CN117575488A (en) Production formula management method, system and device
CN111984723A (en) Data synchronization method and device and terminal equipment
CN112734404B (en) Iterative man-hour statistical method and device in research and development process and computer equipment
CN114553859A (en) BMC configuration management method and device, electronic equipment and storage medium
CN114968823A (en) Automatic testing method, device, equipment and storage medium
CN114564925A (en) Report generation method and device, electronic equipment and readable storage medium
CN112600713A (en) Data monitoring method and system
CN112862399A (en) Method, device and equipment for changing material list table and storage medium
CN112579189A (en) Configuration file updating method and device
CN109814911A (en) Method, apparatus, computer equipment and storage medium for Manage Scripts program
US11108862B2 (en) Bi-directional data sync between a client device and an application server
CN117389843B (en) Intelligent operation and maintenance system, method, electronic equipment and storage medium

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