CN109471865A - A kind of off-line data management method, system, server and storage medium - Google Patents

A kind of off-line data management method, system, server and storage medium Download PDF

Info

Publication number
CN109471865A
CN109471865A CN201811315401.0A CN201811315401A CN109471865A CN 109471865 A CN109471865 A CN 109471865A CN 201811315401 A CN201811315401 A CN 201811315401A CN 109471865 A CN109471865 A CN 109471865A
Authority
CN
China
Prior art keywords
message
data
log
offline
business
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.)
Granted
Application number
CN201811315401.0A
Other languages
Chinese (zh)
Other versions
CN109471865B (en
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.)
Yonyou Network Technology Co Ltd
Original Assignee
Yonyou 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 Yonyou Network Technology Co Ltd filed Critical Yonyou Network Technology Co Ltd
Priority to CN201811315401.0A priority Critical patent/CN109471865B/en
Publication of CN109471865A publication Critical patent/CN109471865A/en
Application granted granted Critical
Publication of CN109471865B publication Critical patent/CN109471865B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management

Abstract

The present invention provides a kind of off-line data management method, a kind of data off-line system, a kind of server and a kind of computer readable storage mediums.Wherein off-line data management method includes: the online log-on message for receiving terminal and sending, and online log-on message is encrypted and is stored;It receives terminal and is in the offline log-on message sent under off-line state, verify whether offline log-on message matches with encrypted online log-on message, when check results are matching, license terminal enters offline business scene;The logging request that terminal is online lower transmission is received and verified, after verifying successfully, the business operation data that terminal records in offline business scene is received, business operation data is synchronized into update.The application can effectively extend the scope of business of mobile application, while provide more wide in range operation scenario and safer data management for user, improve the usage experience of user.

Description

A kind of off-line data management method, system, server and storage medium
Technical field
The present invention relates to data management fields, more particularly, to a kind of off-line data management method, system, server And storage medium.
Background technique
The introducing of ERP (Enterprise Resource Plan, Enterprise Resources Plan) management software mobile application, very The convenience and normalization that enterprise commences business are improved in big degree.Under normal conditions, ERP management software be all by The mode of line carries out business operation, and part off-line operation, which is also strict with, to be entered back into after being logged under line scene Offline scenario.Realization general at present has following common characteristic:
(1) most of traditional ERP management softwares are higher to the dependence of network, it is necessary to there are the scenes of cable network Lower operation, only support section data are checked when offline scenario, do not support business processing.
(2) application of off-line operation can be carried out for part, it is also necessary to be grasped offline again after logging under line scene Make, and the moment is needed to keep the logging state applied.
Although the above the relevant technologies realize scheduled function to a certain extent, some shortcomings are remained, Such as: for some pairs of higher applications of network requirement, user can not carry out business operation in offline scenario, can thus shield The user demand of some special operations and Safety Industry, for the expansion in market, there are limitations;It can be stepped on offline for some The application of record supports automatic connection, the directly scenes such as upload data still to there are some safety issues.
Summary of the invention
The present invention is directed at least solve one of technical problem present in prior art problem
For this purpose, it is an aspect of the invention to propose a kind of off-line data management method.
Another aspect of the present invention is to propose a kind of data off-line system.
An additional aspect of the present invention is to propose a kind of server.
Another aspect of the invention is to propose a kind of computer readable storage medium.
One aspect of the present invention proposes a kind of off-line data management method, comprising: receives the online login that terminal is sent Information is encrypted and stores to online log-on message;It receives terminal and is under off-line state the offline login letter sent Breath, verifies whether offline log-on message matches with encrypted online log-on message, when check results are matching, permits terminal Into offline business scene;The logging request that terminal is online lower transmission is received and verified, after verifying successfully, is received Business operation data are synchronized update by the business operation data that terminal records in offline business scene.
Off-line data management method provided by the invention receives the online log-on message of terminal transmission under online scene Afterwards, soon encrypt and store this online log-on message, wherein when repeatedly receive terminal transmission after line log-on message, It can only encrypt and store the last online log-on message;The offline login letter that terminal in the case where receiving off-line state is sent After breath, this offline log-on message is matched with encrypted online log-on message, successful match then permit terminal enter from Line service scene supports terminal and is able to carry out the business logged in offline while guaranteeing that log-on message is safe;It is receiving After the log-on message that terminal under being online is sent, this log-on message is verified, after verifying successfully, receives record Get off in offline scenario when terminal related service operation data, and synchronized update these business operation data, in school While the business operation data of user's using terminal generation under offline scenario have been tested to guarantee business operation data correctness, The synchronized update operation to business operation data is realized, to improve the usage experience of user.
In addition, the off-line data management method in above-mentioned technical proposal provided by the invention, can also have following additional Technical characteristic:
In the above-mentioned technical solutions, it is preferable that before the step of business operation data are synchronized update, further includes: Extract business operation data in main business operation data, by main business operation data and for main business operation data whether be The confirmation prompt information of user's off-line operation is shown to terminal;The feedback information in response to confirming prompt information is received, feedback is worked as The content of information be it is yes, then execute by business operation data synchronization updating the step of;It wherein, include master in main business operation data The operating time of business operation data.
In the technical scheme, by extracting and judging whether the main business operation data in business operation data is user Data when off-line operation determine whether the step of executing business operation data synchronization updating, to ensure that offline login It is that legitimate user also verified to the correctness of the business operation data of user while business operation under scene, it is main Business operation data include the operating time, so as to remind user according to the operating time recall whether be user business Operation data prevents in order to modify in time to log-on message after determination is not my business operation data because non- Method user is logged in and the various losses of bring again using previous log-on message.
In any of the above-described technical solution, it is preferable that when the content of feedback information be it is no, then to business operation data carry out Data rewind.
It in the technical scheme, then can be to the industry when receiving from the feedback information that the content of user terminal is no Operation data of being engaged in carries out data rewind, to avoid business operation data of the non-present operation user under offline scenario are synchronous more Newly into the business operation data of current operation user and caused by data corruption the problem of.
In any of the above-described technical solution, it is preferable that include user name and first password in online log-on message, verify from The step of whether line log-on message matches with encrypted online log-on message, specifically includes: parsing in offline log-on message User name and the second password search corresponding online log-on message according to user name, to online log-on message in the database It is decrypted to obtain first password;Judge whether first password is consistent with the second password, when the judgment result is yes, confirmation is offline Log-on message is matched with online log-on message.
In the technical scheme, it first passes through the offline log-on message of parsing and obtains user name and the second password, and according to this use Name in an account book searches corresponding online log-on message in database, then is decrypted to obtain first password to online log-on message, Then it is whether consistent with the second password to judge first password, if unanimously, confirming offline log-on message and online log-on message Match, and enters offline login scene.Whether the above-mentioned offline log-on message of verification and encrypted online log-on message are matched Step also avoids while guaranteeing the safety of data because not having to need to use using the online log-on message of database purchase The troublesome operation of family Input Online log-on message again, to improve the usage experience of user to a certain extent.
In any of the above-described technical solution, it is preferable that binding has offline log-on message, off-line data in business operation data Management method further include: offline log-on message is parsed to obtain user name, searches customer data base corresponding with user name, it will Business operation data synchronization updating is to customer data base.
In the technical scheme, user name is obtained by the offline log-on message bound in parsing business operation data, and Corresponding customer data base is searched, by the user name in order to which the business operation data under offline scenario are synchronous more Newly into the customer data base found, avoiding due to offline log-on message unbound in business operation data can only be according to The low problem of search efficiency caused by user data user is searched according to business operation data content.Suitable for multiple users In usage scenario using same terminal, i.e., the information off-line of multi-user may be stored in same terminal, to business operation data When synchronizing, it is ensured that be synchronized to the business operation data that the different user in same terminal carries out off-line operation generation Database corresponding with the offline user ensure that the synchronous correctness of data.
Another aspect of the present invention is to propose a kind of data off-line system, comprising: encryption unit, for receiving The online log-on message that terminal is sent, is encrypted and stores to online log-on message;Licence units, for receiving terminal The offline log-on message sent under off-line state, verify offline log-on message and encrypted online log-on message whether Match, when check results are matching, license terminal enters offline business scene;Synchronization check unit, for receiving and verifying end End is online the logging request of lower transmission, after verifying successfully, receives the industry that terminal records in offline business scene Business operation data are synchronized update by business operation data.
Data off-line system provided by the invention, encryption unit receive the online of terminal transmission under online scene It after log-on message, soon encrypts and stores this online log-on message, wherein when encryption unit repeatedly receives terminal transmission After line log-on message, it can only encrypt and store the last online log-on message;Off-line state is received in licence units Under terminal send offline log-on message after, this offline log-on message is matched with encrypted online log-on message, Successful match then permits terminal to enter offline business scene, and while guaranteeing that log-on message is safe, supporting terminal can be into The business that row logs in offline;It is right after the log-on message that synchronization check unit receives the transmission of the terminal under being online This log-on message is verified, and after verifying successfully, the related service for receiving terminal when being in offline scenario recorded is grasped Make data, and synchronized update these business operation data, the business behaviour that user's using terminal generates in the case where having verified offline scenario It counts while guarantee business operation data correctness accordingly, also achieves to the operation of the synchronized updates of business operation data, from And improve the usage experience of user.
In addition, the print control system in above-mentioned technical proposal provided by the invention, can also have following supplementary technology Feature:
In the above-mentioned technical solutions, it is preferable that system further include: display unit, for extracting in business operation data Main business data, by main business data and for main business data whether be user's off-line operation confirmation prompt information show to Terminal;Receiving unit, for receive in response to confirm prompt information feedback information, as the content of feedback information be it is yes, then hold The step of being about to business operation data synchronization updating;It wherein, include the operating time of main business data in main business operation data.
In the technical scheme, the main business operation data in business operation data is extracted by display unit, and will The main business operation data and whether be that the confirmation prompt information of user's off-line operation is shown to user for main business data In terminal, further determined in order to allow user to issue by receiving unit corresponding to the feedback information of prompt information is confirmed The step of whether executing business operation data synchronization updating, to ensure that offline log under scene is that legitimate user carries out industry Also the correctness of the business operation data of user is verified while business operation, the main business behaviour that display unit is shown Make in data include the operating time, so as to remind user according to the operating time recall whether be user business operation Data prevent from using because illegal in order in time modify to log-on message after determination is not my business operation data Family is logged in and the various losses of bring again using previous log-on message.
In any of the above-described technical solution, it is preferable that system further include: rollback unit, for working as the content of feedback information Be it is no, then to business operation data carry out data rewind.
In the technical scheme, when the content of receiving unit feedback information is no, rollback unit can then be grasped the business Make data and carry out data rewind, operates business operation data synchronization updating of the user under offline scenario extremely to avoid by non-present The problem of data corruption caused by the business operation data of current operation user.
In any of the above-described technical solution, it is preferable that include user name and first password, synchronous school in online log-on message Verification certificate member further include: resolution unit, for parsing user name and the second password in offline log-on message, according to user name in number According to corresponding online log-on message is searched in library, online log-on message is decrypted to obtain first password;Judging unit is used In judging whether first password is consistent with the second password, when the judgment result is yes, offline log-on message and online login are confirmed Information matches.
In the technical scheme, it first passes through resolution unit and obtains user name and the second password to parse offline log-on message, And corresponding online log-on message in database is searched according to this user name, then be decrypted to obtain to online log-on message Then first password judges whether first password is consistent with the second password by judging unit, if unanimously, confirmation is stepped on offline Record information is matched with online log-on message, and enters offline login scene.The above-mentioned offline log-on message of verification with it is encrypted The step of whether online log-on message matches also avoids while guaranteeing the safety of data because without using data inventory It stores up online log-on message and needs the troublesome operation of user's Input Online log-on message again, to improve to a certain extent The usage experience of user.
In any of the above-described technical solution, it is preferable that system further include: searching unit, for parsing offline log-on message To obtain user name, customer data base corresponding with user name is searched, by business operation data synchronization updating to user data Library.
In the technical scheme, searching unit is used by the offline log-on message bound in parsing business operation data Name in an account book, and corresponding customer data base is searched by the user name, in order to by the business operation number under offline scenario According to synchronized update into the customer data base found, avoid because of offline log-on message unbound in business operation data And the low problem of search efficiency caused by user data user can only be searched according to business operation data content.It is suitable for Multiple users may store the information off-line of multi-user, to business using in the usage scenario of same terminal in that is, same terminal When operation data synchronizes, it is ensured that the different user in same terminal is carried out to the business operation number of off-line operation generation According to database corresponding with the offline user is synchronized to, the synchronous correctness of data ensure that.
According to a further aspect of the invention, a kind of server, including memory, processor are proposed, memory can match It is set to storage executable instruction, processor can be configured to execute the instruction of storage to realize the off-line data pipe such as any of the above-described The step of reason method.
Server according to the present invention, the processor for being included are used to execute as offline in any of the above-described technical solution The step of data managing method, thus the server can be realized whole beneficial effects of the off-line data management method, this Place no longer repeats one by one.
Another aspect of the invention proposes a kind of computer readable storage medium, is stored thereon with computer program, meter The step of off-line data management method such as any of the above-described is realized when calculation machine program is executed by processor.
Computer readable storage medium according to the present invention, the realization when computer program stored thereon is executed by processor Such as the step of off-line data management method in any of the above-described technical solution, thus the computer readable storage medium can be real The now beneficial effect of the off-line data management method whole, no longer repeats one by one herein.
Additional aspect and advantage of the invention will become obviously in following description section, or practice through the invention Recognize.
Detailed description of the invention
Fig. 1 shows the flow diagram of the off-line data management method of one embodiment of the present of invention;
Fig. 2 shows the flow diagrams of the off-line data management method of another embodiment of the invention;
Fig. 3 shows the flow diagram of the off-line data management method of yet another embodiment of the present invention;
Fig. 4 shows the flow diagram of the off-line data management method of another embodiment of the invention;
Fig. 5 shows the flow diagram of the off-line data management method of another embodiment of the invention;
Fig. 6 shows the schematic diagram of middle off-line data management method of the invention between different piece;
Fig. 7 shows the flow diagram of middle log-on message encrypted component work of the invention;
Fig. 8 shows the flow diagram of middle synchronous safety verification component operation of the invention;
What the off-line data management method that Fig. 9 shows another embodiment of the invention was run in ERP management software Overall schematic;
Figure 10 shows the schematic block diagram of the data off-line system of one embodiment of the present of invention;
Figure 11 shows the schematic block diagram of the data off-line system of another embodiment of the invention;
Figure 12 shows the signal that of the invention one applies the server of embodiment in enterprise-level ERP application software Block diagram.
Specific embodiment
To better understand the objects, features and advantages of the present invention, with reference to the accompanying drawing and specific real Applying mode, the present invention is further described in detail.It should be noted that in the absence of conflict, the implementation of the application Feature in example and embodiment can be combined with each other.
In the following description, numerous specific details are set forth in order to facilitate a full understanding of the present invention, still, the present invention may be used also To be implemented using other than the one described here other modes, therefore, protection scope of the present invention is not by described below Specific embodiment limitation.
The embodiment of first aspect present invention proposes a kind of off-line data management method, is used for ERP management software.Fig. 1 shows The flow diagram of the off-line data management method of one embodiment of the present of invention is gone out.Wherein, the off-line data management method Include:
S102 receives the online log-on message that terminal is sent, online log-on message is encrypted and is stored;
S104 receives terminal and is in the offline log-on message sent under off-line state, verifies offline log-on message and encryption Whether online log-on message afterwards matches, and when check results are matching, the terminal is permitted to enter offline business scene;
S106 receives and verifies the logging request that terminal is online lower transmission, after verifying successfully, receives terminal Business operation data are synchronized update by the business operation data recorded in offline business scene.
In this embodiment, received under line scene terminal transmission after line log-on message, soon encrypt simultaneously Store this online log-on message, wherein when repeatedly receive terminal transmission after line log-on message, only can encrypt and store most Nearly primary online log-on message, and encrypted online log-on message can be stored in the form of key assignments;It is receiving After the offline log-on message that terminal under off-line state is sent, by this offline log-on message and encrypted online log-on message into Row matching, successful match then permit terminal to enter offline business scene, while guaranteeing that log-on message is safe, support terminal It is able to carry out the business logged in offline;After receiving the log-on message that the terminal under being online is sent, to this login Information is verified, after verifying successfully, receive record in offline scenario when terminal related service operation data, And synchronized update these business operation data.In the case where having verified offline scenario user's using terminal generate business operation data with While guaranteeing business operation data correctness, the synchronized update operation to business operation data is also achieved, to improve The usage experience of user.
Fig. 2 shows the flow diagrams of the off-line data management method of another embodiment of the invention.It wherein, should be from Line data managing method includes:
S202 receives the online log-on message that terminal is sent, online log-on message is encrypted and is stored;
S204 receives terminal and is in the offline log-on message sent under off-line state, verifies offline log-on message and encryption Whether online log-on message afterwards matches, and when check results are matching, the terminal is permitted to enter offline business scene;
S206 receives and verifies the logging request that terminal is online lower transmission, after verifying successfully, receives terminal The business operation data recorded in offline business scene;
S208 extracts the main business operation data in business operation data, by main business operation data and is directed to main business Whether operation data is that the confirmation prompt information of user's off-line operation is shown to terminal;
S210 receives the feedback information in response to confirming prompt information and grasps business when the content of feedback information, which is, is Make data synchronization updating.
It wherein, include the operating time of main business operation data in main business operation data.
In this embodiment, by extract and judge the main business operation data in business operation data whether be user from Data when line operates determine whether the step of executing business operation data synchronization updating, offline log in field to ensure that It is that legitimate user also verified to the correctness of the business operation data of user while business operation under scape, main business Be engaged in operation data include the operating time, so as to remind user according to the operating time recall whether be user business grasp Make data, in order to modify in time to log-on message after determination is not my business operation data, prevents because illegal User is logged in and the various losses of bring again using previous log-on message.
Fig. 3 shows the flow diagram of the off-line data management method of yet another embodiment of the present invention.It wherein, should be from Line data managing method includes:
S302 receives the online log-on message that terminal is sent, online log-on message is encrypted and is stored;
S304 receives terminal and is in the offline log-on message sent under off-line state, verifies offline log-on message and encryption Whether online log-on message afterwards matches, and when check results are matching, the terminal is permitted to enter offline business scene;
S306 receives and verifies the logging request that terminal is online lower transmission, after verifying successfully, receives terminal The business operation data recorded in offline business scene;
S308 extracts the main business operation data in business operation data, by main business operation data and is directed to main business Whether operation data is that the confirmation prompt information of user's off-line operation is shown to terminal;
S310 receives the feedback information in response to confirming prompt information and grasps business when the content of feedback information, which is, is Make data synchronization updating, when the content of feedback information is no, data rewind is carried out to business operation data.
It wherein, include the operating time of main business operation data in main business operation data.
It in this embodiment, then can be to the business when receiving from the feedback information that the content of user terminal is no Operation data carries out data rewind, to avoid the business operation data synchronization updating by non-present operation user under offline scenario The problem of data corruption caused by into the business operation data of current operation user.
Fig. 4 shows the flow diagram of the off-line data management method of another embodiment of the invention.It wherein, should be from Line data managing method includes:
S402 receives the online log-on message that terminal is sent, online log-on message is encrypted and is stored, online It include user name and first password in log-on message;
S404 receives terminal and is in the offline log-on message sent under off-line state, parses the use in offline log-on message Name in an account book and the second password search corresponding online log-on message according to user name in the database, to online log-on message into Row decryption obtains first password;
S406 judges whether first password is consistent with the second password, when the judgment result is yes, confirms offline log-on message It is matched with online log-on message, when check results are matching, the terminal is permitted to enter offline business scene;
S408 receives and verifies the logging request that terminal is online lower transmission, after verifying successfully, receives terminal The business operation data recorded in offline business scene;
S410 extracts the main business operation data in business operation data, by main business operation data and is directed to main business Whether operation data is that the confirmation prompt information of user's off-line operation is shown to terminal;
S412 receives the feedback information in response to confirming prompt information and grasps business when the content of feedback information, which is, is Make data synchronization updating, when the content of feedback information is no, data rewind is carried out to business operation data.
It wherein, include the operating time of main business operation data in main business operation data.
In this embodiment, it first passes through the offline log-on message of parsing and obtains user name and the second password, and according to this user Name searches corresponding online log-on message in database, then online log-on message is decrypted to obtain first password, so It is whether consistent with the second password that first password is judged afterwards, if unanimously, confirming that offline log-on message is matched with online log-on message, And enter offline login scene.The step of whether above-mentioned offline log-on message of verification matches with encrypted online log-on message While guaranteeing the safety of data, also avoid because not having to need user again using the online log-on message of database purchase The troublesome operation of secondary Input Online log-on message, to improve the usage experience of user to a certain extent.
Fig. 5 shows the flow diagram of the off-line data management method of another embodiment of the invention.It wherein, should be from Line data managing method includes:
S502 receives the online log-on message that terminal is sent, online log-on message is encrypted and is stored, online It include user name and first password in log-on message;
S504 receives terminal and is in the offline log-on message sent under off-line state, parses the use in offline log-on message Name in an account book and the second password search corresponding online log-on message according to user name in the database, to online log-on message into Row decryption obtains first password;
S506 judges whether first password is consistent with the second password, when the judgment result is yes, confirms offline log-on message It is matched with online log-on message, when check results are matching, the terminal is permitted to enter offline business scene;
S508 receives and verifies the logging request that terminal is online lower transmission, after verifying successfully, receives terminal The business operation data recorded in offline business scene, wherein binding has offline log-on message in business operation data;
S510 extracts the main business operation data in business operation data, by main business operation data and is directed to main business Whether operation data is that the confirmation prompt information of user's off-line operation is shown to terminal;
S512 receives the feedback information in response to confirming prompt information, and when the content of feedback information, which is, is, parsing is offline Log-on message searches customer data base corresponding with user name, extremely by business operation data synchronization updating to obtain user name Customer data base carries out data rewind to business operation data when the content of feedback information is no;
It wherein, include the operating time of main business operation data in main business operation data.
In this embodiment, user name is obtained by the offline log-on message bound in parsing business operation data, and led to The user name is crossed to search corresponding customer data base, in order to by the business operation data synchronization updating under offline scenario Into the customer data base found, avoid because offline log-on message unbound in business operation data can only foundation Business operation data content searches the low problem of search efficiency caused by user data user.Make suitable for multiple users In usage scenario with same terminal, i.e., the information off-line of multi-user may be stored in same terminal, to business operation data into When row is synchronous, it is ensured that by the business operation data that the different user in same terminal carries out off-line operation generation be synchronized to The corresponding database of the offline user ensure that the synchronous correctness of data.
In one embodiment of the invention, off-line data management method runs in ERP management software and specifically includes three A part: log-on message encrypted component, core-log record component and synchronous safety verify component.
Fig. 6 shows the schematic diagram of middle off-line data management method of the invention between different piece, and Fig. 7 shows this The flow diagram of the middle log-on message encrypted component work of invention, specifically includes:
S702, user log in;
S704 from the background verifies log-on message;
S706, when verification passes through, user name stores and carries out encryption storage to user password.
Specifically, user needs preferentially to carry out legal login under network coverage scene, and system can be by user after login User name and password are encrypted, and are stored in the form of key-value pair.After user repeatedly logs in, only user can be recorded most Encrypted message when new login.In offline scenario, system can carry out password match after user's typing password, after successful match It will login successfully.
After user logins successfully offline, user enters offline business scene, core-log record component for currently from The landing time of line user and exit time record.When user carries out effective traffic operation, system will be directed to core industry Business is recorded.Different business operations can be set according to different business, when all emphasis business are operated, operated Between and image capturing range record, while these being recorded to the binding for carrying out user names and password, remember log after binding success Property it is unified store, synchronized for follow-up data and do prompt and prepare.
Fig. 8 shows the flow diagram of middle synchronous safety verification component operation of the invention, specifically includes:
S802 submits user password verification;
S804, in cryptographic check success, offline period log information is extracted and is prompted;
S806, after user's confirmation, data are synchronous.
Offline scenario can not carry out data and synchronize, and all mobile applications and the background synchronization of ERP management software data are necessary It is carried out under online scene.Based on the data preparation in Fig. 8, when data are synchronous, it will the verifying of user identity is carried out, if Identity, which goes wrong, to prompt user to be logged in again, if the verification passes, the number that user will be carried out during offline Information displaying, including main business and concrete operations time are carried out according to operation log, so that user judges whether that legitimate user carries out Operation, if non-present user operates, user will for existing log carry out data rewind, when user verification at After function, then the synchronization of valid data can be carried out.
What the off-line data management method that Fig. 9 shows another embodiment of the invention was run in ERP management software Overall schematic.Specifically, the log-on message encrypted component judgement after user inputs username and password, in ERP management software It is current that whether software is in network coverage status, i.e. presence, when the judgment result is No, verification active user's input Password and last login password it is whether consistent, when judge consistent, execution offline business, core-log record component starts Business diary record, switch current ERP management software be online scene when, and user be given at line service data submit instruction When, judge whether active user's password is consistent with system password, when judging that active user's password and system password are inconsistent, mentions Show that user logs in again, until prompting the offline logs extracted and core business when active user's password is consistent with system password Information executes the submission of offline business data after the confirmation instruction for receiving user.
The embodiment of second aspect of the present invention proposes a kind of data off-line system, is used for ERP management software.Figure 10 Show the schematic block diagram of the data off-line system 1000 of one embodiment of the present of invention.Wherein data off-line system 1000 include: encryption unit 1002, for receiving the online log-on message of terminal transmission, is carried out at encryption to online log-on message It manages and stores;Licence units 1004 are in the offline log-on message sent under off-line state for receiving terminal, and verification is stepped on offline Whether record information matches with encrypted online log-on message, and when check results are matching, license terminal enters offline business Scene;Synchronization check unit 1006, the logging request for being online lower transmission for receiving and verifying terminal, when verification at After function, the business operation data that terminal records in offline business scene are received, business operation data are synchronized into update.
Data off-line system 1000 provided by the invention includes encryption unit 1002, licence units 1004 and synchronous school Verification certificate member 1006, wherein encryption unit 1002 received under line scene terminal transmission after line log-on message, soon It encrypts and stores this online log-on message, wherein receive the online log-on message of terminal transmission when encryption unit more than 1002 times Afterwards, it can only encrypt and store the last online log-on message;The terminal under off-line state is received in licence units 1004 After the offline log-on message sent, this offline log-on message is matched with encrypted online log-on message, successful match Then permit terminal to enter offline business scene, while guaranteeing that log-on message is safe, supports terminal and be able to carry out and step on offline The business of record;After the log-on message that synchronization check unit 1006 receives the transmission of the terminal under being online, this is stepped on Record information verified, after verify successfully, receive record be in offline scenario when terminal related service operand According to, and synchronized update these business operation data, the business operation number that user's using terminal generates in the case where having verified offline scenario While guaranteeing business operation data correctness accordingly, the synchronized update operation to business operation data is also achieved, to mention The usage experience of user is risen.
Figure 11 shows the schematic block diagram of the data off-line system 1100 of another embodiment of the invention.Wherein from Line data management system 1100 includes: encryption unit 1102, for receiving the online log-on message of terminal transmission, is logged in online Information is encrypted and stores;Licence units 1104 are in the offline login sent under off-line state for receiving terminal Information, verifies whether offline log-on message matches with encrypted online log-on message, and when check results are matching, license is eventually End enters offline business scene;Synchronization check unit 1106 is online stepping on for lower transmission for receiving and verifying terminal Record request receives the business operation data that terminal records in offline business scene, by business operation data after verifying successfully Synchronize update;Display unit 1108, for extracting the main business data in business operation data, by main business data and needle It whether is that the confirmation prompt information of user's off-line operation is shown to terminal to main business data;Receiving unit 1110, for receiving In response to confirm prompt information feedback information, as the content of feedback information be it is yes, then execute by business operation data synchronization more New step;It wherein, include the operating time of main business data in main business operation data.
In this embodiment, the main business operation data in business operation data is extracted by display unit 1108, and It whether is that the confirmation prompt information of user's off-line operation is shown to use by the main business operation data and for main business data In the terminal of family, in order to allow user to issue the feedback information corresponding to confirmation prompt information by receiving unit 1110 come further Ground determines whether the step of executing business operation data synchronization updating, to ensure that offline log under scene is legitimate user Also verify the correctness of the business operation data of user while business operation, display unit 1108 is shown Main business operation data in include the operating time, so as to remind user according to the operating time recall whether be user Business operation data, in order to modify in time to log-on message after determination is not my business operation data, prevent Only because illegal user is logged in due to the various losses of bring again using previous log-on message.
In one embodiment of the invention, data off-line system 1100 further include: rollback unit 1112, for working as The content of feedback information be it is no, then to business operation data carry out data rewind.
In this embodiment, when the content of 1110 feedback information of receiving unit is no, rollback unit 1112 then can be to this Business operation data carry out data rewind, to avoid business operation data of the non-present operation user under offline scenario are synchronous Be updated in the business operation data of current operation user and caused by data corruption the problem of.
It in one embodiment of the invention, include user name and first password, synchronization check list in online log-on message Member further include: resolution unit 1114, for parsing user name and the second password in offline log-on message, according to user name in number According to corresponding online log-on message is searched in library, online log-on message is decrypted to obtain first password;Judging unit 1116, for judging whether first password consistent with the second password, when the judgment result is yes, confirm offline log-on message with The matching of line log-on message.
In this embodiment, resolution unit 1114 is first passed through to parse offline log-on message and obtain user name and second close Code, and corresponding online log-on message in database is searched according to this user name, then online log-on message is decrypted First password is obtained, then judges whether first password is consistent with the second password by judging unit 1116, if unanimously, really Recognize offline log-on message to match with online log-on message, and enters offline login scene.The above-mentioned offline log-on message of verification with The step of whether encrypted online log-on message matches also avoids while guaranteeing the safety of data because not using The online log-on message of database purchase and the troublesome operation for needing user's Input Online log-on message again, thus to a certain degree On improve the usage experience of user.
In one embodiment of the invention, data off-line system 1100 further include: searching unit 1118, for solving Line log-on message isolate to obtain user name, searches customer data base corresponding with user name, business operation data are synchronous It is updated to customer data base.
In this embodiment, searching unit 1118 is obtained by the offline log-on message bound in parsing business operation data User name, and corresponding customer data base is searched by the user name, in order to by the business operation under offline scenario Data synchronization updating is avoided into the customer data base found because of offline login letter unbound in business operation data It ceases and the low problem of search efficiency caused by user data user can only be searched according to business operation data content.It is applicable in In usage scenario of multiple users using same terminal, i.e., the information off-line of multi-user may be stored in same terminal, to industry When business operation data synchronizes, it is ensured that the different user in same terminal is carried out to the business operation of off-line operation generation Data are synchronized to database corresponding with the offline user, ensure that the synchronous correctness of data.
The third aspect of the present invention is to propose a kind of server, and Figure 12 shows of the invention one and applies in enterprise The schematic block diagram of the server 1200 of embodiment in grade ERP application software.Wherein, which includes: including storage Device 1202, processor 1204, memory 1202 can be configured to storage executable instruction, and processor 1204 can be configured to execute storage Instruction to realize the off-line data management method such as any of the above-described the step of.
Server 1200 provided by the invention, the processor 1204 for being included is for executing such as any of the above-described technical solution In off-line data management method the step of, thus the server can be realized the whole beneficial of the off-line data management method Effect no longer repeats one by one herein.
Fourth aspect present invention is to propose a kind of computer readable storage medium, can specifically apply in enterprise-level In this embodiment of ERP application software, computer program is stored on computer readable storage medium, computer program is located It manages when device executes and realizes such as the step of any of the above-described off-line data management method.
In this embodiment, computer readable storage medium of the invention, the computer program stored thereon is by processor It is realized when execution such as the step of off-line data management method in any of the above-described technical solution, thus the computer-readable storage Medium can be realized the beneficial effect of the off-line data management method whole, no longer repeat one by one herein.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, made any to repair Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.

Claims (12)

1. a kind of off-line data management method characterized by comprising
The online log-on message that terminal is sent is received, the online log-on message is encrypted and is stored;
It receives the terminal and is in the offline log-on message sent under off-line state, after verifying the offline log-on message and encryption The online log-on message whether match, when check results be matching when, permit the terminal to enter offline business scene;
The logging request that the terminal is online lower transmission is received and verified, after verifying successfully, receives the terminal The business operation data are synchronized update by the business operation data recorded in offline business scene.
2. off-line data management method according to claim 1, which is characterized in that it is described by the business operation data into Before the step of row synchronized update, further includes:
The main business data in the business operation data are extracted, are by the main business data and for the main business data The no confirmation prompt information for user's off-line operation is shown to the terminal;
Receive the feedback information in response to confirming prompt information, when the content of the feedback information be it is yes, then execution is by the industry The step of business operation data synchronized update;It wherein, include the operating time of main business data in the main business operation data.
3. off-line data management method according to claim 2, which is characterized in that the method also includes:
When the content of the feedback information be it is no, then to the business operation data carry out data rewind.
4. off-line data management method according to any one of claim 1 to 3, which is characterized in that the online login It is described to verify the offline log-on message and the encrypted online log-on message including user name and first password in information The step of whether matching, specifically includes:
The user name and the second password in the offline log-on message are parsed, is searched in the database according to the user name opposite The online log-on message answered, is decrypted to obtain the first password to the online log-on message;
Judge whether the first password and second password are consistent, when the judgment result is yes, confirms the offline login Information is matched with the online log-on message.
5. off-line data management method according to any one of claim 1 to 3, which is characterized in that the business operation Binding has the offline log-on message in data, the method also includes:
The offline log-on message is parsed to obtain user name, customer data base corresponding with the user name is searched, by institute Business operation data synchronization updating is stated to the customer data base.
6. a kind of data off-line system characterized by comprising
Encryption unit is encrypted simultaneously the online log-on message for receiving the online log-on message of terminal transmission Storage;
Licence units are in the offline log-on message sent under off-line state for receiving the terminal, and verification is described to step on offline Whether record information matches with the encrypted online log-on message, when check results are matching, the terminal is permitted to enter Offline business scene;
Synchronization check unit, the logging request for being online lower transmission for receiving and verifying the terminal, when verification at After function, the business operation data that the terminal records in offline business scene are received, the business operation data are carried out same Step updates.
7. data off-line system according to claim 6, which is characterized in that the system also includes:
Display unit by the main business data and is directed to institute for extracting the main business data in the business operation data State whether main business data are that the confirmation prompt information of user's off-line operation is shown to the terminal;
Receiving unit, for receive in response to confirm prompt information feedback information, such as the feedback information content be it is yes, then The step of executing the business operation data synchronization updating;It wherein, include main business data in the main business operation data Operating time.
8. data off-line system according to claim 7, which is characterized in that the system also includes:
Rollback unit, for when the feedback information content be it is no, then to the business operation data progress data rewind.
9. the data off-line system according to any one of claim 6 to 8, which is characterized in that the online login It include user name and first password, the synchronization check unit in information further include:
Resolution unit, for parsing user name and the second password in the offline log-on message, according to the user name in number According to searching the corresponding online log-on message in library, the online log-on message is decrypted to obtain described first close Code;
Judging unit, for judging whether the first password and second password are consistent, when the judgment result is yes, confirmation The offline log-on message is matched with the online log-on message.
10. the data off-line system according to any one of claim 6 to 8, which is characterized in that the system is also wrapped It includes:
Searching unit searches use corresponding with the user name for parsing the offline log-on message to obtain user name User data library, by the business operation data synchronization updating to the customer data base.
11. a kind of server characterized by comprising
Memory is configured to storage executable instruction;
Processor is configured to execute the instruction of storage to realize such as the step of any one of claims 1 to 5 the method.
12. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program It realizes when being executed by processor such as the step of any one of claims 1 to 5 the method.
CN201811315401.0A 2018-11-06 2018-11-06 Offline data management method, system, server and storage medium Active CN109471865B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811315401.0A CN109471865B (en) 2018-11-06 2018-11-06 Offline data management method, system, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811315401.0A CN109471865B (en) 2018-11-06 2018-11-06 Offline data management method, system, server and storage medium

Publications (2)

Publication Number Publication Date
CN109471865A true CN109471865A (en) 2019-03-15
CN109471865B CN109471865B (en) 2020-12-08

Family

ID=65666978

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811315401.0A Active CN109471865B (en) 2018-11-06 2018-11-06 Offline data management method, system, server and storage medium

Country Status (1)

Country Link
CN (1) CN109471865B (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110177077A (en) * 2019-04-16 2019-08-27 平安普惠企业管理有限公司 System of account processed offline method, apparatus, equipment and storage medium
CN110598466A (en) * 2019-07-30 2019-12-20 百度时代网络技术(北京)有限公司 Offline field checking method, device and equipment and computer readable storage medium
CN110765174A (en) * 2019-09-23 2020-02-07 南京泰治自动化技术有限公司 SPC data acquisition method and system based on offline
CN110958142A (en) * 2019-11-26 2020-04-03 华为技术有限公司 Device maintenance method, maintenance device, storage medium, and computer program product
CN111314346A (en) * 2020-02-19 2020-06-19 中国第一汽车股份有限公司 Account login method and device and vehicle
CN112395574A (en) * 2020-12-04 2021-02-23 航天信息股份有限公司 Safety login management method
CN112486955A (en) * 2020-12-04 2021-03-12 高慧军 Data maintenance method based on big data and artificial intelligence and big data platform
CN112613029A (en) * 2021-01-06 2021-04-06 深信服科技股份有限公司 Weak password detection method and device, computer storage medium and equipment
CN112632523A (en) * 2020-12-11 2021-04-09 航天信息股份有限公司 Offline login and working method and system of mobile terminal
CN112835531A (en) * 2021-02-25 2021-05-25 平安银行股份有限公司 Data pushing method, device, equipment and storage medium
CN113342852A (en) * 2021-06-09 2021-09-03 上海万物新生环保科技集团有限公司 Method and equipment for realizing distributed configuration
CN113378188A (en) * 2021-05-27 2021-09-10 深圳丹皓电子科技有限公司 Processing method with dual-mode data operation in ERP system
CN114611079A (en) * 2022-02-18 2022-06-10 广州市玄武无线科技股份有限公司 Mobile terminal login method, device, equipment and storage medium
CN116827965A (en) * 2023-08-25 2023-09-29 苔花科迈(西安)信息技术有限公司 Coal mine underground offline scene data storage and synchronization method based on cloud platform

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103023901A (en) * 2012-12-07 2013-04-03 北京网秦天下科技有限公司 Login method and login system of mobile terminal
CN103812902A (en) * 2012-11-13 2014-05-21 中国电信股份有限公司 Mobile terminal and offline working method and system by using same
CN105049407A (en) * 2015-05-28 2015-11-11 深圳市永兴元科技有限公司 Login method and login device
CN106355358A (en) * 2016-10-21 2017-01-25 用友网络科技股份有限公司 Data manipulation method with double modes in mobile ERP system and ERP system
US9922072B1 (en) * 2010-12-31 2018-03-20 United Services Automobile Association (Usaa) Extract, transform, and load application complexity management framework
US20180129723A1 (en) * 2013-09-18 2018-05-10 Facebook, Inc. Generating offline content

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9922072B1 (en) * 2010-12-31 2018-03-20 United Services Automobile Association (Usaa) Extract, transform, and load application complexity management framework
CN103812902A (en) * 2012-11-13 2014-05-21 中国电信股份有限公司 Mobile terminal and offline working method and system by using same
CN103023901A (en) * 2012-12-07 2013-04-03 北京网秦天下科技有限公司 Login method and login system of mobile terminal
US20180129723A1 (en) * 2013-09-18 2018-05-10 Facebook, Inc. Generating offline content
CN105049407A (en) * 2015-05-28 2015-11-11 深圳市永兴元科技有限公司 Login method and login device
CN106355358A (en) * 2016-10-21 2017-01-25 用友网络科技股份有限公司 Data manipulation method with double modes in mobile ERP system and ERP system

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110177077B (en) * 2019-04-16 2023-05-02 平安普惠企业管理有限公司 Account system offline processing method, device, equipment and storage medium
CN110177077A (en) * 2019-04-16 2019-08-27 平安普惠企业管理有限公司 System of account processed offline method, apparatus, equipment and storage medium
CN110598466A (en) * 2019-07-30 2019-12-20 百度时代网络技术(北京)有限公司 Offline field checking method, device and equipment and computer readable storage medium
CN110765174A (en) * 2019-09-23 2020-02-07 南京泰治自动化技术有限公司 SPC data acquisition method and system based on offline
CN110958142A (en) * 2019-11-26 2020-04-03 华为技术有限公司 Device maintenance method, maintenance device, storage medium, and computer program product
CN111314346A (en) * 2020-02-19 2020-06-19 中国第一汽车股份有限公司 Account login method and device and vehicle
CN112395574A (en) * 2020-12-04 2021-02-23 航天信息股份有限公司 Safety login management method
CN112486955A (en) * 2020-12-04 2021-03-12 高慧军 Data maintenance method based on big data and artificial intelligence and big data platform
CN112395574B (en) * 2020-12-04 2024-02-23 航天信息股份有限公司 Safe login management method
CN112632523A (en) * 2020-12-11 2021-04-09 航天信息股份有限公司 Offline login and working method and system of mobile terminal
CN112632523B (en) * 2020-12-11 2024-02-09 航天信息股份有限公司 Offline login and working method and system of mobile terminal
CN112613029A (en) * 2021-01-06 2021-04-06 深信服科技股份有限公司 Weak password detection method and device, computer storage medium and equipment
CN112835531A (en) * 2021-02-25 2021-05-25 平安银行股份有限公司 Data pushing method, device, equipment and storage medium
CN113378188A (en) * 2021-05-27 2021-09-10 深圳丹皓电子科技有限公司 Processing method with dual-mode data operation in ERP system
CN113342852A (en) * 2021-06-09 2021-09-03 上海万物新生环保科技集团有限公司 Method and equipment for realizing distributed configuration
CN114611079A (en) * 2022-02-18 2022-06-10 广州市玄武无线科技股份有限公司 Mobile terminal login method, device, equipment and storage medium
CN116827965A (en) * 2023-08-25 2023-09-29 苔花科迈(西安)信息技术有限公司 Coal mine underground offline scene data storage and synchronization method based on cloud platform
CN116827965B (en) * 2023-08-25 2024-01-23 苔花科迈(西安)信息技术有限公司 Coal mine underground offline scene data storage and synchronization method based on cloud platform

Also Published As

Publication number Publication date
CN109471865B (en) 2020-12-08

Similar Documents

Publication Publication Date Title
CN109471865A (en) A kind of off-line data management method, system, server and storage medium
CN110535660B (en) Evidence obtaining service system based on block chain
CN106850699B (en) A kind of mobile terminal login authentication method and system
CN105516948B (en) A kind of apparatus control method and device
CN110808840B (en) Service processing method and device, electronic equipment and storage medium
CN110930147B (en) Offline payment method and device, electronic equipment and computer-readable storage medium
CN106302606B (en) Across the application access method and device of one kind
KR102080156B1 (en) Auto Recharge System, Method and Server
CN105871838A (en) Third party account login control method and user center platform
CN109194651B (en) Identity authentication method, device, equipment and storage medium
CN104464117A (en) Automatic tell machine money withdrawing method and system based on dynamic two-dimensional code
CN105262588A (en) Log-in method based on dynamic password, account number management server and mobile terminal
CN111753014B (en) Identity authentication method and device based on block chain
CN102098162A (en) Method for performing safety management of operation and maintenance based on security token
CN106331042B (en) Single sign-on method and device for heterogeneous user system
US20220327536A1 (en) Account binding method and apparatus, computer device, and storage medium
CN111835514A (en) Method and system for realizing safe interaction of front-end and back-end separated data
CN108111486B (en) Method and device for avoiding repeated login
CN110417724B (en) Method, system, server and terminal for combined authentication of login states of application programs
CN113129008B (en) Data processing method, device, computer readable medium and electronic equipment
CN102811210A (en) Information card authenticating method and system based on WS protocol
CN109670289A (en) A kind of method and system identifying background server legitimacy
CN103559430B (en) application account management method and device based on Android system
CN105471920A (en) Identifying code processing method and device
CN102833214A (en) Webpage login system and method based on credential

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
GR01 Patent grant
GR01 Patent grant