CN113821525B - Data updating system and method, storage medium and electronic device - Google Patents

Data updating system and method, storage medium and electronic device Download PDF

Info

Publication number
CN113821525B
CN113821525B CN202111398139.2A CN202111398139A CN113821525B CN 113821525 B CN113821525 B CN 113821525B CN 202111398139 A CN202111398139 A CN 202111398139A CN 113821525 B CN113821525 B CN 113821525B
Authority
CN
China
Prior art keywords
data
updating
database
preset
time
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.)
Active
Application number
CN202111398139.2A
Other languages
Chinese (zh)
Other versions
CN113821525A (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.)
Beijing Jindi Technology Co Ltd
Original Assignee
Beijing Jindi 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 Jindi Technology Co Ltd filed Critical Beijing Jindi Technology Co Ltd
Priority to CN202111398139.2A priority Critical patent/CN113821525B/en
Publication of CN113821525A publication Critical patent/CN113821525A/en
Application granted granted Critical
Publication of CN113821525B publication Critical patent/CN113821525B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/23Updating
    • 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/2358Change logging, detection, and notification
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides a data updating system and method, a storage medium and an electronic device, wherein the system comprises: the system comprises a client, a server and an FTP server, wherein the FTP server comprises a request confirmation module and a download database; the client is used for initiating data updating request information; the server is used for simultaneously verifying the user identity information and verifying whether the data in the client needs to be updated according to the data updating request information, and updating the data in the server to a downloading database; the request confirmation module is used for sending request verification information to the client after the server passes the verification so as to verify whether the data updating request information of the client is changed; and the download database is used for updating the data in the download database to the client after the request confirmation module passes the verification. The invention adopts the parallel double threads to simultaneously verify whether the user identity information and the data in the client need to be updated, thereby shortening the verification time and improving the verification efficiency.

Description

Data updating system and method, storage medium and electronic device
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a data updating system and method, a storage medium, and an electronic device.
Background
A Database (english name: Database) is a warehouse that organizes, stores, and manages data according to a data structure. Databases are of many types, and from the simplest tables storing various data to large database systems capable of storing mass data, the databases are widely applied in various aspects, such as mysql, Oracle and the like.
In the information-oriented society, various information resources are managed and utilized sufficiently and effectively, which is a precondition for scientific research and decision management. The database technology is a core part of various information systems such as a management information system, an office automation system, a decision support system and the like, and is an important technical means for scientific research and decision management. Therefore, how to update the data in the database efficiently, quickly, and accurately so as to provide the latest data for each system becomes a problem to be solved urgently.
Disclosure of Invention
The technical problems to be solved by the invention are how to improve the data updating efficiency in the client and how to accurately acquire the newly added data and update the newly added data to the client so as to improve the data updating efficiency and reduce the operating pressure of the server.
In order to solve the above technical problems, embodiments of the present invention provide a data updating system and method, a storage medium, and an electronic device.
According to an aspect of an embodiment of the present invention, there is provided a data update system including: the system comprises a client, a server and an FTP server, wherein the FTP server comprises a request confirmation module and a download database;
the client is used for initiating data updating request information;
the server is used for simultaneously verifying user identity information and verifying whether the data in the client needs to be updated according to the data updating request information, and updating the data in the server to the downloading database;
the request confirmation module is used for sending request verification information to the client after the server passes the verification so as to verify whether the data updating request information of the client is changed;
and the download database is used for updating the data in the download database to the client after the request confirmation module passes the verification.
Optionally, the client further comprises: the system comprises a data updating request information generating module, a request change confirming module and a target database;
the data updating request information generating module is used for initiating data updating request information;
the request change confirmation module is used for sending data update request confirmation information to the request confirmation module according to the request verification information;
and the target database is used for storing the data sent by the download database.
Optionally, the server further includes: the system comprises a user identity information verification module and a data updating verification module;
the data update request information includes: user identity authentication information and data update authentication information;
the user identity information verification module is used for verifying whether the client has the authority of updating data from the download database according to the user identity verification information;
and the data updating verification module is used for verifying whether the data in the client needs to be updated or not according to the data updating verification information.
Optionally, the user identity information verification module verifies whether the client has the right to update data from the download database according to the user identity verification information, and the data update verification module verifies whether the data in the client needs to update a first thread and a second thread which are respectively corresponding and parallel according to the data update verification information;
when the first thread and the second thread pass the verification, controlling the request confirmation module to send request verification information to the client to verify whether the data updating request information of the client is changed;
and when any one of the first thread and the second thread fails to verify, stopping the verification of the other thread at the same time, and refusing to update the data in the client.
Optionally, the server further includes: a source database; the source database is used for storing source data and updating the data in the source database to the download database;
or, when the download database does not update data from the server, the system further includes: the system comprises a cloud big data platform, a cloud terminal and a cloud terminal, wherein the cloud big data platform comprises a source database; and the source database is used for storing source data and updating the data in the source database to the download database.
Optionally, the server further includes: a preset time acquisition module; the preset time obtaining module is configured to obtain preset time, control the source database to periodically update the data in the source database to the download database with the preset time as a time interval, or obtain a preset time, and control the source database to update the data in the source database to the download database according to the preset time.
Optionally, the server further includes: a newly added data extraction module; the newly added data extraction module is used for respectively acquiring a first preset updating data time table of the download database and a second preset updating data time table of the source database; respectively taking the time of the last updated data in the first preset updated data time table and the time of the last updated data in the second preset updated data time table as the starting time and the ending time, and extracting the data in the source database as the newly added data; and updating the newly added data to the download database.
Optionally, the server further includes: a source data update monitoring module; the source data updating and monitoring module is used for monitoring whether the data in the source database is updated or not; if the data in the source database is updated, updating the data in the source database to the download database, or updating the data in the source database to the download database when the source database is idle.
Optionally, the source data update monitoring module is specifically configured to: acquiring a second preset updating data time table of the source database, and monitoring whether the second preset updating data time table is updated or not; if the second preset update data schedule is updated, updating the data in the source database to the download database, or updating the data in the source database to the download database when the source database is idle.
Optionally, the server further includes: a data update module; the data updating module is used for respectively acquiring a first preset updating data time table of the downloading database and a second preset updating data time table of the source database, and comparing the first preset updating data time table with the second preset updating data time table; if the time of the last updated data in the first preset updated data time table is the same as the time of the last updated data in the second preset updated data time table, not updating the download database; and if the time for updating the data in the source database is not the same as the time for updating the data in the second preset updating data time table, updating the data in the source database to the downloading database.
Optionally, the data update module is further configured to: and when the time of updating the data last in the first preset updating data time table is different from the time of updating the data last in the second preset updating data time table, taking the time of updating the data last in the first preset updating data time table and the time of updating the data last in the second preset updating data time table as the starting time and the ending time respectively, extracting the data in the source database as new data, and updating the new data to the download database.
Optionally, the data update verification module is specifically configured to: acquiring a first preset updating data time table of the download database, acquiring a third preset updating data time table according to the data updating verification information, and comparing the first preset updating data time table with the third preset updating data time table; if the time of the last updated data in the first preset updated data time table is the same as the time of the last updated data in the third preset updated data time table, refusing to update the client; and if the time for updating the data in the first preset data updating time table is different from the time for updating the data in the third preset data updating time table, determining that the data in the client needs to be updated.
Optionally, the data update verification module is specifically configured to: acquiring a second preset updating data time table of the source database, acquiring a third preset updating data time table according to the data updating verification information, and comparing the second preset updating data time table with the third preset updating data time table; if the time of the last updated data in the second preset updated data time table is the same as the time of the last updated data in the third preset updated data time table, refusing to update the data in the client; and if the time for updating the data in the second preset data updating time table is different from the time for updating the data in the third preset data updating time table, determining that the data in the client needs to be updated.
Optionally, the download database is further configured to: and respectively taking the time of the last updated data in the first preset updated data time table and the time of the last updated data in the third preset updated data time table as the starting time and the ending time, extracting the data in the download database as new data, and updating the new data to the client.
According to another aspect of an embodiment of the present invention, there is provided a data updating method, including:
initiating data updating request information of a client;
updating the data in the source database to a download database of the FTP server;
the server side simultaneously verifies the user identity information and verifies whether the data in the target database of the client side needs to be updated according to the data updating request information;
after the FTP server passes the verification of the server side, sending request verification information to the client side so as to verify whether the data updating request information in a target database of the client side is changed;
and after the verification of the FTP server is passed, updating the data in the download database of the FTP server to a target database of the client.
According to yet another aspect of embodiments of the present invention, there is provided a computer-readable storage medium storing a computer program for executing the method according to any one of the above-mentioned embodiments of the present invention.
According to still another aspect of an embodiment of the present invention, there is provided an electronic apparatus including: a processor; a memory for storing processor-executable instructions; and the processor is used for reading the executable instructions from the memory and executing the instructions to realize the method of any one of the above embodiments of the invention.
Based on the data updating system and method, the storage medium and the electronic device provided by the embodiments of the present invention, the parallel double thread is adopted to simultaneously verify the user identity information and verify whether the data in the client needs to be updated, so that the verification time is shortened, the verification efficiency is improved, and the new data in the source database can be accurately updated to the download database by comparing the difference between the first preset update data time table and the second preset update data time table, so that the time for updating the download database is shortened, the efficiency is improved, the operating pressure for the source database during data downloading can be reduced, and the download speed is improved. In addition, after the server side passes the verification, the FTP server can adjust whether to update the target database according to the real-time data update request information of the client side, and a secondary confirmation process of the data update request information is provided, so that the flexibility of the FTP server is improved, the FTP server can better meet the requirements of users, the running load of the FTP server can be reduced, the running efficiency is improved, and redundant data update work is reduced.
The technical solution of the present invention is further described in detail by the accompanying drawings and embodiments.
Drawings
The above and other objects, features and advantages of the present invention will become more apparent by describing in more detail embodiments of the present invention with reference to the attached drawings. The accompanying drawings are included to provide a further understanding of the embodiments of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the drawings, like reference numbers generally represent like parts or steps.
Fig. 1 is a schematic block diagram of a data updating system according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of another module of the data updating system according to the embodiment of the present invention;
FIG. 3 is a schematic block diagram of a data update system according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of another module structure of the data update system according to the embodiment of the present invention;
fig. 5a is a schematic block diagram of a data updating system including a source database according to an embodiment of the present invention;
FIG. 5b is a block diagram of a data update system including a source database according to an embodiment of the present invention;
FIG. 6 is a flowchart illustrating a data update method according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
Hereinafter, example embodiments according to the present invention will be described in detail with reference to the accompanying drawings. It is to be understood that the described embodiments are merely a subset of embodiments of the invention and not all embodiments of the invention, with the understanding that the invention is not limited to the example embodiments described herein.
It should be noted that: the relative arrangement of the components and steps, the numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present invention unless specifically stated otherwise.
It will be understood by those of skill in the art that the terms "first," "second," and the like in the embodiments of the present invention are used merely to distinguish one element, step, device, module, or the like from another element, and do not denote any particular technical or logical order therebetween.
It should also be understood that in embodiments of the present invention, "a plurality" may refer to two or more and "at least one" may refer to one, two or more.
It is also to be understood that any reference to any component, data, or structure in the embodiments of the invention may be generally understood as one or more, unless explicitly defined otherwise or stated to the contrary hereinafter.
In addition, the term "and/or" in the present invention is only one kind of association relationship describing the associated object, and means that there may be three kinds of relationships, for example, a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. In the present invention, the character "/" generally indicates that the preceding and following related objects are in an "or" relationship.
It should also be understood that the description of the embodiments of the present invention emphasizes the differences between the embodiments, and the same or similar parts may be referred to each other, so that the descriptions thereof are omitted for brevity.
Meanwhile, it should be understood that the sizes of the respective portions shown in the drawings are not drawn in an actual proportional relationship for the convenience of description.
The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the invention, its application, or uses.
Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail, but are intended to be part of the specification where appropriate.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, further discussion thereof is not required in subsequent figures.
Embodiments of the invention are operational with numerous other general purpose or special purpose computing system environments or configurations, and with numerous other electronic devices, such as terminal devices, computer systems, servers, etc. Examples of well known terminal devices, computing systems, environments, and/or configurations that may be suitable for use with electronic devices, such as terminal devices, computer systems, servers, and the like, include, but are not limited to: personal computer systems, server computer systems, thin clients, thick clients, hand-held or laptop devices, microprocessor-based systems, set top boxes, programmable consumer electronics, network pcs, minicomputer systems, mainframe computer systems, distributed cloud computing environments that include any of the above systems, and the like.
Electronic devices such as terminal devices, computer systems, servers, etc. may be described in the general context of computer system-executable instructions, such as program modules, being executed by a computer system. Generally, program modules may include routines, programs, objects, components, logic, data structures, etc. that perform particular tasks or implement particular abstract data types. The computer system/server may be practiced in distributed cloud computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed cloud computing environment, program modules may be located in both local and remote computer system storage media including memory storage devices.
Exemplary System
Fig. 1 is a schematic structural diagram of a module of a data updating system according to an embodiment of the present invention, as shown in fig. 1, the system includes: the system comprises a client 10, a server 20 and an FTP server 30 comprising a request confirmation module 301 and a download database 302; a client 10, configured to initiate data update request information; the server 20 is configured to simultaneously verify user identity information and verify whether data in the client 10 needs to be updated according to the data update request information, and update the data in the server 20 to the download database 302; a request confirmation module 301, configured to send request verification information to the client 10 after the server 10 passes verification, so as to verify whether the data update request information of the client 10 is changed; and the download database 302 is used for updating the data in the download database 302 to the client 10 after the request confirmation module 301 passes the verification.
In this embodiment, the manner of initiating the data update request information by the client 10 may be that a user triggers a data update request information initiation command by operating an interface of the client 10, so as to generate corresponding data update request information; or after receiving the data update request information actively sent by the server 20, triggering the client 10 to generate corresponding data update request information, which is not limited herein.
In an optional implementation manner of this embodiment, as shown in fig. 2, the client 10 may further include: a data update request information generation module 101, a request change confirmation module 102 and a target database 103; the data updating request information generating module 101 is configured to initiate data updating request information; a request change confirmation module 102, configured to send data update request confirmation information to the request confirmation module 301 according to the request verification information; and the target database 103 is used for storing the data sent by the download database 302.
In another optional implementation manner of this embodiment, as shown in fig. 3, the server 20 further includes: a user identity information verification module 201 and a data update verification module 202; wherein the data update request information includes: user identity authentication information and data update authentication information; a user identity information verification module 201, configured to verify whether the client has the right to update data from the download database 302 according to the user identity verification information; and a data update verification module 202, configured to verify whether the data in the client 10 needs to be updated according to the data update verification information.
In this embodiment, the user identity information verifying module 201 verifies whether the client 10 has the right to update data from the download database 302 according to the user identity verification information, and the data updating verifying module 202 verifies whether the data in the client 10 needs to be updated by the first thread and the second thread which are respectively corresponding and parallel to each other according to the data updating verification information; when the first thread and the second thread pass the verification, the control request confirmation module 301 sends request verification information to the client 10 to verify whether the data update request information of the client 10 is changed; when either of the first thread and the second thread fails authentication, the authentication of the other thread is stopped at the same time, and the data in the client 10 is denied to be updated.
Because two parallel threads are adopted to simultaneously verify whether the client 10 has the authority of updating data from the download database 302 and verify whether the data in the client 10 needs to be updated, the time spent in the verification process can be shortened, and the verification efficiency is improved.
It should be understood that the two alternative embodiments shown in fig. 2 and 3 can be implemented not only on the basis of the data update system shown in fig. 1 alone, but also in combination. Specifically, as shown in fig. 4, the client 10 includes: the data update request information generation module 101, the request change confirmation module 102, and the target database 103, and the server 20 include: a user identity information verification module 201 and a data update verification module 202; the data updating request information generating module 101 is configured to initiate data updating request information; a request change confirmation module 102, configured to send data update request confirmation information to the request confirmation module 301 according to the request verification information; the target database 103 is used for storing the data sent by the download database 302; the data update request information includes: user identity authentication information and data update authentication information; a user identity information verification module 201, configured to verify whether the client has the right to update data from the download database 302 according to the user identity verification information; and a data update verification module 202, configured to verify whether the data in the client 10 needs to be updated according to the data update verification information.
In this embodiment, in order to ensure that the data in the download database 302 is the latest data, and to ensure that the data updated by the download database 302 to the target database 103 is the latest data, there are two update sources of the data in the download database 302: the first one from the server 20, as shown in fig. 1 to 4; the second is from a remote big data platform, which can be selected by those skilled in the art according to actual needs and is not limited herein.
Specifically, as shown in fig. 5a, the server 20 may further include: the source database 203 is used for storing source data and updating the data in the source database 203 to the download database 302; alternatively, as shown in fig. 5b, when the download database 302 does not update data from the server 20, the system of this embodiment may further include: the cloud big data platform 40, wherein the cloud big data platform 40 includes a source database (not shown in the figure) for storing the source data and updating the data in the cloud big data platform 40 to the download database 302.
There are three alternative ways to update the data in the download database 302, and those skilled in the art can select the update according to actual needs, which is not limited herein. The following three examples are specific:
as a first example, in this embodiment, the server 20 may further include: a preset time acquisition module (not shown in the figure); the method and the device are used for acquiring preset time and controlling the source database to periodically update the data in the source database to the download database with the preset time as a time interval, or used for acquiring preset time and controlling the source database to update the data in the source database to the download database according to the preset time.
Example two, the server 20 may further include: a new data extraction module (not shown in the figure); the method is used for respectively acquiring a first preset updating data time table of a downloading database and a second preset updating data time table of a source database, respectively taking the time of updating the data last in the first preset updating data time table and the time of updating the data last in the second preset updating data time table as the starting time and the ending time, extracting the data in the source database as the newly added data, and updating the newly added data to the downloading database.
Example three, the server 20 further includes: a source data update monitoring module (not shown in the figure); the method and the device are used for monitoring whether the data in the source database is updated or not, if the data in the source database is updated, the data in the source database is updated to the download database, or the data in the source database is updated to the download database when the source database is idle.
In example three, the source data update monitoring module may be specifically configured to: and acquiring a second preset updating data time table of the source database, monitoring whether the second preset updating data time table is updated or not, and if the second preset updating data time table is updated, updating the data in the source database to the downloading database, or updating the data in the source database to the downloading database when the source database is idle.
Optionally, the data in the source database refers to full data or newly added data; the full data refers to the full data in the source database, namely all data; newly added data is data different from the data in the downloaded database; those skilled in the art can select whether the data in the source database refers to the full amount of data or the new amount of data according to actual needs, which is not limited herein.
Specifically, if the data in the source database is the full data, updating the data in the source database to the download database means updating the full data in the source database to the download database, that is, updating all the data in the download database; if the data in the source database is the new data, updating the data in the source database to the download database means updating the new data in the source database to the download database, that is, updating the new data that is not included in the download database, and keeping the other data unchanged.
It should be understood that, in the above three examples, the data in the source database is updated to the download database automatically, and of course, a person skilled in the art may also update the data in the source database to the download database manually, which is not limited herein.
In an optional embodiment of the present invention, the server 20 further includes: a data update module (not shown in the figure); the system comprises a downloading database, a first preset updating data time table, a second preset updating data time table and a third preset updating data time table, wherein the downloading database is not updated if the time of the last updating data in the first preset updating data time table is the same as the time of the last updating data in the second preset updating data time table; and if the time for updating the data in the first preset data updating time table is different from the time for updating the data in the second preset data updating time table, updating the data in the source database to the downloading database.
Preferably, when the time of the last updated data in the first preset updated data schedule is different from the time of the last updated data in the second preset updated data schedule, in order to enable the data in the source database to be updated into the download database quickly, the data updating module is further configured to: and respectively taking the time of the last updated data in the first preset updated data time table and the time of the last updated data in the second preset updated data time table as the starting time and the ending time, extracting the data in the source database as the newly added data, and updating the newly added data to the download database.
In the above embodiments of the present invention, there are two ways for the data update verification module 202 to verify whether the data in the client 10 (i.e. the data in the target database 103) needs to be updated according to the data update verification information, and those skilled in the art can select the data according to actual needs, which is not limited herein.
Firstly, acquiring a first preset updating data time table for downloading the database, acquiring a third preset updating data time table according to data updating verification information, comparing the first preset updating data time table with the third preset updating data time table, and refusing to update the target database if the time of the last updating data in the first preset updating data time table is the same as the time of the last updating data in the third preset updating data time table; and if the time for updating the data in the first preset data updating time table is different from the time for updating the data in the third preset data updating time table, determining that the data in the target database needs to be updated.
In this manner, in order to quickly update only the new data in the download database 302 to the client 10, the download database 302 is further configured to: and respectively taking the time of the last updated data in the first preset updated data time table and the time of the last updated data in the third preset updated data time table as the starting time and the ending time, extracting the data in the downloaded database as the newly added data, and updating the newly added data to the target database.
Secondly, acquiring a second preset updating data time table of the source database, acquiring a third preset updating data time table according to the data updating verification information, and comparing the second preset updating data time table with the third preset updating data time table; if the time for updating the data in the second preset data updating time table is the same as the time for updating the data in the third preset data updating time table, refusing to update the data in the target database; and if the time for updating the data in the second preset data updating time table is different from the time for updating the data in the third preset data updating time table, determining that the data in the target database needs to be updated.
In the embodiment of the present invention, the first preset update data schedule is used to record the time for downloading the update data of the database, the second preset update data schedule is used to record the time for updating the data of the source database, the third preset update data schedule is used to record the time for updating the data of the target database, and three specific generation manners of the preset update data schedules are available for those skilled in the art, which is not limited herein.
Taking the downloaded database as the mysql database as an example, monitoring whether the mysql database has operations such as insert, update, delete, create and the like in real time; if yes, recording the current operation time, and recording the current operation time in a first preset updating data time table; if not, the first preset updating data time table is kept unchanged.
Similarly, if the source database is the mysql database, monitoring whether the operations such as insert, update, delete, create and the like exist in the mysql database in real time; if yes, recording the current operation time, and recording the current operation time in a second preset updating data time table; if not, the second preset updating data time table is kept unchanged.
Similarly, if the target database is the mysql database, monitoring whether the operations such as insert, update, delete and create exist in the mysql database in real time; if yes, recording the current operation time in a third preset updating data time table as data updating verification information, and sending the data updating verification information to the server side for verification; and if not, keeping the third preset updating data time table unchanged, and sending the third preset updating data time table to the server side for verification as data updating verification information.
It should be noted that the data update referred to in the embodiments of the present invention refers to any modification made to the data recorded in the database, and is not limited to the modification made to the data in the database by the insert, update, delete, create, etc. operations, and should not be construed as a limitation to the modification made to the data in the database by the update operation in mysql.
In addition, in order to quickly update the newly added data in the download database to the target database, when the data in the source database is updated to the download database, address (ID) fields for recording the newly added data may be respectively added in the first preset update data schedule and the second preset update data schedule, so that after the target database is determined to be updated by comparing the last updated time in the first preset update data schedule and the third preset update data schedule, the corresponding address field of the newly added data can be quickly found, and further, the target database can be quickly updated.
In the embodiment of the present invention, after the server 10 passes the verification, the request validation module 301 sends the request validation information to the client 10 to validate whether the data update request information of the client 10 is changed, and in this way, whether to update the data of the target database 102 can be adjusted according to the real-time data update request information of the client 10, that is, the data update system has a process of secondary validation of the data update request information, which increases the flexibility of the data update system of the embodiment of the present invention, so that the data update system better meets the requirements of users, and at the same time, the operating load of the data update system can be reduced, the operating efficiency can be improved, and the redundant data update work can be reduced.
Specifically, after the server 10 passes the verification, the request confirmation module 301 sends request verification information to the client 10, and if the data update request information in the client 10 is changed to that the data in the client 10 does not need to be updated, the request confirmation module 301 controls the download database 302 to stop updating the data into the client 10; if the data update request information in the client 10 is not changed, the request confirmation module 301 controls to download the updated data in the database 302 to the client 10.
In the embodiment of the invention, two parallel threads are adopted to simultaneously verify whether the user identity information and the data in the client need to be updated, so that the time spent in the verification process can be shortened, the verification efficiency is improved, the newly added data in the source database can be accurately updated to the download database by comparing the difference between the first preset update data time table and the second preset update data time table, the time for updating the download database is shortened, the efficiency is improved, the operating pressure brought to a data update system during data downloading can be reduced, and the download speed is improved. In addition, after the server side passes the verification, the FTP server can adjust whether to update the target database according to the real-time data update request information of the client side, and a secondary confirmation process of the data update request information is provided, so that the flexibility of the FTP server is improved, the FTP server can better meet the requirements of users, the running load of the FTP server can be reduced, the running efficiency is improved, and redundant data update work is reduced.
Exemplary method
Fig. 6 is a flowchart illustrating a data updating method according to an embodiment of the present invention. As shown in fig. 6, the data updating method specifically includes the following steps:
step S101: initiating data updating request information of a client;
step S102: updating the data in the source database to a download database of the FTP server;
step S103: the server side simultaneously verifies the user identity information and verifies whether the data in the target database of the client side needs to be updated according to the data updating request information;
step S104: after the FTP server passes the verification of the server side, sending request verification information to the client side so as to verify whether the data updating request information in the target database of the client side is changed;
step S105: and after the verification of the FTP server is passed, updating the data in the download database of the FTP server to a target database of the client.
In step S101, the manner of initiating the data update request information by the client may be that the user triggers a data update request information initiation command by operating the client interface, so as to generate corresponding data update request information; or after receiving the data update request information actively sent by the server, triggering the client to generate corresponding data update request information, which is not limited herein.
In an optional implementation manner, the client may actively send the data update request information to the server under a trigger operation of a user, so that the server obtains the data update request information, where the trigger operation of the user may be a trigger operation in the prior art, and is not limited herein; or, the client may preset a sending request time, and periodically send the data update request information to the server with the sending request time as a time interval, for example, 30 seconds as a time interval, so that the server obtains the data update request information; alternatively, the client may preset a sending request time, and send the data update request information to the server at the sending request time (for example, 20 th, eight nights), so that the server obtains the data update request information.
In another optional implementation, the server may preset an acquisition request time, and periodically send acquisition data update request information to the client with the acquisition request time as a time interval, for example, 30 seconds as a time interval, so as to trigger the client to generate corresponding data update request information; or, the server may preset an acquisition request time, and send the acquisition data update request information to the client at the acquisition request time (for example, 20 th, that is, eight nights) to trigger the client to generate corresponding data update request information; or, the server may monitor that the download database is idle, for example, when the download database does not update data, send the acquired data update request information to the client, so as to trigger the client to generate corresponding data update request information.
It should be understood that the obtaining request time and the sending request time may be a time period, i.e. a time interval, or may be a time point, i.e. a moment, and those skilled in the art may select the time period according to actual needs, which is not limited herein.
Optionally, the source database in step S102 may be a source database in a server or a source database in a cloud big data platform, and a person skilled in the art may select the source database according to actual needs, which is not limited herein.
Optionally, the data in the source database refers to full data or newly added data; the full data refers to the full data in the source database, namely all data; newly added data is data different from the data in the downloaded database; those skilled in the art can select whether the data in the source database refers to the full amount of data or the new amount of data according to actual needs, which is not limited herein.
Specifically, if the data in the source database is the full data, updating the data in the source database to the download database means updating the full data in the source database to the download database, that is, updating all the data in the download database; if the data in the source database is the new data, updating the data in the source database to the download database means updating the new data in the source database to the download database, that is, updating the new data that is not included in the download database, and keeping the other data unchanged.
Optionally, there are five ways to update the data in the source database to the download database:
first, a preset time is obtained, and data in a source database is periodically updated to a download database at a time interval of the preset time.
And secondly, acquiring a preset time, and updating the data in the source database to the download database according to the preset time.
Thirdly, monitoring whether the data in the source database is updated; and if the data in the source database is updated, updating the data in the source database to the download database.
Fourthly, monitoring whether the data in the source database is updated; and if the data in the source database is updated, updating the data in the source database to the download database when the source database is idle.
Fifthly, respectively acquiring a first preset updating data time table of the downloading database and a second preset updating data time table of the source database; comparing the first preset updating data time table with the second preset updating data time table; if the time of the last updated data in the first preset updated data time table is the same as the time of the last updated data in the second preset updated data time table, the download database is not updated; and if the time for updating the data in the first preset data updating time table is different from the time for updating the data in the second preset data updating time table, updating the data in the source database to the downloading database.
The first and second ways of updating the data in the source database to the download database may specifically include: respectively acquiring a first preset updating data time table of a downloading database and a second preset updating data time table of a source database; respectively taking the time of the last updated data in the first preset updated data time table and the time of the last updated data in the second preset updated data time table as the starting time and the ending time, and extracting the data in the source database as the newly added data; and updating the newly added data to the download database.
The third and fourth ways of updating the data in the source database to the download database may specifically include: acquiring a second preset updating data time table of the source database; monitoring whether the second preset updating data time table is updated or not; and if the second preset data updating schedule is updated, updating the data in the source database to the downloading database, or updating the data in the source database to the downloading database when the source database is idle.
In a fifth way of updating the data in the source database to the download database, after the time of updating the data last in the first preset update data schedule is different from the time of updating the data last in the second preset update data schedule, the method further includes: respectively taking the time of the last updated data in the first preset updated data time table and the time of the last updated data in the second preset updated data time table as the starting time and the ending time, and extracting the data in the source database as the newly added data; and updating the newly added data to the download database.
It should be understood that, the five ways of updating the data in the source database to the download database are to automatically update the data in the source database to the download database, and of course, those skilled in the art may also manually update the data in the source database to the download database, which is not limited herein.
In the embodiment of the present invention, steps S101 to S105 are not limited to the sequence of steps, so that the step of updating the data in the source database to the download database may be completed at any time before step S105, or may be completed after the FTP server in step S105 verifies the data, and a person skilled in the art may select the step according to actual needs, without limitation.
Preferably, step S103 is implemented by two parallel threads, specifically a first thread and a second thread; the first thread is used for verifying whether a target database of the client has the authority of updating data from the download database or not according to the user identity verification information; the second thread is used for verifying whether the data in the target database of the client needs to be updated or not according to the data updating verification information; wherein the data update verification information includes a third preset update data schedule.
Optionally, step S103 further includes: when the first thread and the second thread pass the verification, the FTP server sends verification request information to the client to verify whether the data updating request information of the client is changed; when any one of the first thread and the second thread fails to verify, the verification of the other thread is stopped at the same time, and the data in the target database of the client is refused to be updated.
In an optional embodiment, the second thread specifically includes: acquiring a first preset updating data time table of a downloading database; acquiring a third preset updating data time table according to the data updating verification information; comparing the first preset update data schedule with the third preset update data schedule; if the time of the last updated data in the first preset updated data time table is the same as the time of the last updated data in the third preset updated data time table, refusing to update the client; and if the time for updating the data in the first preset data updating time table is different from the time for updating the data in the third preset data updating time table, determining that the data in the target database needs to be updated.
In another optional embodiment, the second thread specifically includes: acquiring a second preset updating data time table of the source database; acquiring a third preset updating data time table according to the data updating verification information; comparing the second preset update data schedule with the third preset update data schedule; if the time for updating the data in the second preset data updating time table is the same as the time for updating the data in the third preset data updating time table, refusing to update the data in the target database; and if the time for updating the data in the second preset data updating time table is different from the time for updating the data in the third preset data updating time table, determining that the data in the target database needs to be updated.
The method adopts two parallel threads to simultaneously verify whether the client has the authority of updating data from the download database and whether the data in the target database of the client needs to be updated according to the data updating verification information, thereby shortening the time spent in the verification process and improving the verification efficiency.
Optionally, after the verification by the FTP server is passed, updating the data in the updated download database to the target database, including: respectively taking the time of the last updated data in the first preset updated data time table and the time of the last updated data in the third preset updated data time table as the starting time and the ending time, and extracting the data in the download database as the newly added data; and updating the newly added data to the target database.
In the embodiment of the present invention, the first preset update data schedule is used to record the time for downloading the update data of the database, the second preset update data schedule is used to record the time for updating the data of the source database, the third preset update data schedule is used to record the time for updating the data of the target database, and three specific generation manners of the preset update data schedules are available for those skilled in the art, which is not limited herein.
In addition, in order to quickly update the newly added data in the download database to the target database, when the data in the source database is updated to the download database, address (ID) fields for recording the newly added data may be respectively added in the first preset update data schedule and the second preset update data schedule, so that after the target database is determined to be updated by comparing the last updated time in the first preset update data schedule and the third preset update data schedule, the corresponding address field of the newly added data can be quickly found, and further, the target database can be quickly updated.
In the embodiment of the invention, after the server passes the verification, the FTP server sends the request verification information to the client to verify whether the data updating request information in the target database of the client is changed, and in this way, whether the data updating is carried out on the target database of the client can be adjusted according to the real-time data updating request information of the client, namely, the method has a process of secondary confirmation of the data updating request information, so that the flexibility of the data updating method of the embodiment of the invention is increased, the method can better meet the requirements of users, the running load of the method can be reduced, the running efficiency is improved, and redundant data updating work is reduced.
Specifically, after the server passes the verification, the request confirmation module sends request verification information to the client, and if the data update request information in the client is changed into data in the client which does not need to be updated, the FTP server controls the FTP server to download the database and stop updating the data to a target database of the client; if the data updating request information in the client is not changed, the FTP server controls the FTP server to download the database updating data to a target database of the client.
In the embodiment of the invention, two parallel threads are adopted to simultaneously verify whether the user identity information and the target database have the authority of updating data from the downloading database, so that the time spent in the verification process can be shortened, the verification efficiency is improved, the newly added data in the source database can be accurately updated into the downloading database by comparing the difference between the first preset updating data time table and the second preset updating data time table, the time for updating the downloading database is shortened, the efficiency is improved, the operating pressure brought to the source database when the data is downloaded can be reduced, and the downloading speed is improved. In addition, after the server side passes the verification, the FTP server can adjust whether to update the target database according to the real-time data update request information of the client side, and a secondary confirmation process of the data update request information is provided, so that the flexibility of the FTP server is improved, the FTP server can better meet the requirements of users, the running load of the FTP server can be reduced, the running efficiency is improved, and redundant data update work is reduced.
The data updating method provided by the embodiment of the present invention corresponds to the data updating system provided by the embodiment of the present invention, and other descriptions can refer to the description of the data updating system provided by the embodiment of the present invention, and are not described herein again.
Exemplary electronic device
Fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present invention. The electronic device may be either or both of the first device and the second device, or a stand-alone device separate from them that may communicate with the first device and the second device to receive the acquired input signals therefrom. FIG. 7 illustrates a block diagram of an electronic device in accordance with an embodiment of the disclosure. As shown in fig. 7, the electronic device 70 includes one or more processors 71 and a memory 72.
The processor 71 may be a Central Processing Unit (CPU) or other form of processing unit having data processing capabilities and/or instruction execution capabilities, and may control other components in the electronic device to perform desired functions.
Memory 72 may include one or more computer program products that may include various forms of computer-readable storage media, such as volatile memory and/or non-volatile memory. The volatile memory may include, for example, Random Access Memory (RAM), cache memory (cache), and/or the like. The non-volatile memory may include, for example, Read Only Memory (ROM), hard disk, flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium and executed by the processor 71 to implement the method of stress testing a server and/or other desired functions of the software program of the various embodiments of the present disclosure described above. In one example, the electronic device may further include: an input device 73 and an output device 74, which are interconnected by a bus system and/or other form of connection mechanism (not shown).
The input device 73 may also include, for example, a keyboard, a mouse, and the like.
The output device 74 may output various information to the outside. The output devices 74 may include, for example, a display, speakers, a printer, and a communication network and remote output devices connected thereto, among others.
Of course, for simplicity, only some of the components of the electronic device relevant to the present disclosure are shown in fig. 7, omitting components such as buses, input/output interfaces, and the like. In addition, the electronic device may include any other suitable components, depending on the particular application.
Exemplary computer program product and computer-readable storage Medium
In addition to the above-described methods and apparatus, embodiments of the present disclosure may also be a computer program product comprising computer program instructions that, when executed by a processor, cause the processor to perform the steps in the method of stress testing a server according to various embodiments of the present disclosure described in the "exemplary methods" section above of this specification.
The computer program product may write program code for carrying out operations for embodiments of the present disclosure in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server.
Furthermore, embodiments of the present disclosure may also be a computer-readable storage medium having stored thereon computer program instructions that, when executed by a processor, cause the processor to perform the steps in the method of stress testing a server according to various embodiments of the present disclosure described in the "exemplary methods" section above in this specification.
The computer-readable storage medium may take any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may include, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The foregoing describes the general principles of the present disclosure in conjunction with specific embodiments, however, it is noted that the advantages, effects, etc. mentioned in the present disclosure are merely examples and are not limiting, and they should not be considered essential to the various embodiments of the present disclosure. Furthermore, the foregoing disclosure of specific details is for the purpose of illustration and description and is not intended to be limiting, since the disclosure is not intended to be limited to the specific details so described.
In the present specification, the embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts in the embodiments are referred to each other. For the system embodiment, since it basically corresponds to the method embodiment, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The block diagrams of devices, apparatuses, systems referred to in this disclosure are only given as illustrative examples and are not intended to require or imply that the connections, arrangements, configurations, etc. must be made in the manner shown in the block diagrams. These devices, apparatuses, devices, systems may be connected, arranged, configured in any manner, as will be appreciated by those skilled in the art. Words such as "including," "comprising," "having," and the like are open-ended words that mean "including, but not limited to," and are used interchangeably therewith. The words "or" and "as used herein mean, and are used interchangeably with, the word" and/or, "unless the context clearly dictates otherwise. The word "such as" is used herein to mean, and is used interchangeably with, the phrase "such as but not limited to".
The methods and apparatus of the present disclosure may be implemented in a number of ways. For example, the methods and apparatus of the present disclosure may be implemented by software, hardware, firmware, or any combination of software, hardware, and firmware. The above-described order for the steps of the method is for illustration only, and the steps of the method of the present disclosure are not limited to the order specifically described above unless specifically stated otherwise. Further, in some embodiments, the present disclosure may also be embodied as programs recorded in a recording medium, the programs including machine-readable instructions for implementing the methods according to the present disclosure. Thus, the present disclosure also covers a recording medium storing a program for executing the method according to the present disclosure.
It is also noted that in the devices, apparatuses, and methods of the present disclosure, each component or step can be decomposed and/or recombined. These decompositions and/or recombinations are to be considered equivalents of the present disclosure. The previous description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present disclosure. Various modifications to these aspects will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other aspects without departing from the scope of the disclosure. Thus, the present disclosure is not intended to be limited to the aspects shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
The foregoing description has been presented for purposes of illustration and description. Furthermore, this description is not intended to limit embodiments of the disclosure to the form disclosed herein. While a number of example aspects and embodiments have been discussed above, those of skill in the art will recognize certain variations, modifications, alterations, additions and sub-combinations thereof.

Claims (16)

1. A data update system, comprising: the system comprises a client, a server and an FTP server, wherein the FTP server comprises a request confirmation module and a download database;
the client is used for initiating data updating request information;
the server is used for simultaneously verifying user identity information and verifying whether the data in the client needs to be updated according to the data updating request information, and updating the data in the server to the downloading database;
the request confirmation module is used for sending request verification information to the client after the server passes the verification so as to verify whether the data updating request information of the client is changed;
the download database is used for updating the data in the download database to the client after the request confirmation module passes the verification;
the server side further comprises: a source database; the source database is used for storing source data and updating the data in the source database to the download database, and includes: respectively acquiring a first preset updating data time table of the downloading database and a second preset updating data time table of the source database; when data in a source database is updated to a download database, address fields for recording newly-added data are respectively added in a first preset update data time table and a second preset update data time table;
the server side further comprises: the system comprises a user identity information verification module and a data updating verification module;
the data update request information includes: user identity authentication information and data update authentication information;
the user identity information verification module is used for verifying whether the client has the authority of updating data from the download database according to the user identity verification information;
and the data updating verification module is used for verifying whether the data in the client needs to be updated or not according to the data updating verification information.
2. The system of claim 1, wherein the client further comprises: the system comprises a data updating request information generating module, a request change confirming module and a target database;
the data updating request information generating module is used for initiating data updating request information;
the request change confirmation module is used for sending data update request confirmation information to the request confirmation module according to the request verification information;
and the target database is used for storing the data sent by the download database.
3. The system according to claim 2, wherein the user identity information verification module verifies whether the client has the right to update data from the download database according to the user identity verification information, and the data update verification module verifies whether the data in the client needs to be updated corresponding to the first thread and the second thread respectively in parallel according to the data update verification information;
when the first thread and the second thread pass the verification, controlling the request confirmation module to send request verification information to the client to verify whether the data updating request information of the client is changed;
and when any one of the first thread and the second thread fails to verify, stopping the verification of the other thread at the same time, and refusing to update the data in the client.
4. The system of claim 1,
when the download database does not update data from the server, the system further comprises: the system comprises a cloud big data platform, a cloud terminal and a cloud terminal, wherein the cloud big data platform comprises a source database; and the source database is used for storing source data and updating the data in the source database to the download database.
5. The system of claim 4, wherein the server further comprises: a preset time acquisition module; the preset time obtaining module is configured to obtain preset time, control the source database to periodically update the data in the source database to the download database with the preset time as a time interval, or obtain a preset time, and control the source database to update the data in the source database to the download database according to the preset time.
6. The system of claim 4, wherein the server further comprises: a newly added data extraction module; the newly added data extraction module is used for respectively taking the time of the last updated data in the first preset updated data time table and the time of the last updated data in the second preset updated data time table as the starting time and the ending time, and extracting the data in the source database as the newly added data; and updating the newly added data to the download database.
7. The system of claim 4, wherein the server further comprises: a source data update monitoring module; the source data updating and monitoring module is used for monitoring whether the data in the source database is updated or not; if the data in the source database is updated, updating the data in the source database to the download database, or updating the data in the source database to the download database when the source database is idle.
8. The system of claim 7, wherein the source data update monitoring module is specifically configured to: acquiring a second preset updating data time table of the source database, and monitoring whether the second preset updating data time table is updated or not; if the second preset update data schedule is updated, updating the data in the source database to the download database, or updating the data in the source database to the download database when the source database is idle.
9. The system of claim 4, wherein the server further comprises: a data update module; the data updating module is used for comparing the first preset updating data time table with the second preset updating data time table; if the time of the last updated data in the first preset updated data time table is the same as the time of the last updated data in the second preset updated data time table, not updating the download database; and if the time for updating the data in the source database is not the same as the time for updating the data in the second preset updating data time table, updating the data in the source database to the downloading database.
10. The system of claim 9, wherein the data update module is further configured to: and when the time of updating the data last in the first preset updating data time table is different from the time of updating the data last in the second preset updating data time table, taking the time of updating the data last in the first preset updating data time table and the time of updating the data last in the second preset updating data time table as the starting time and the ending time respectively, extracting the data in the source database as new data, and updating the new data to the download database.
11. The system of claim 1, wherein the data update validation module is specifically configured to: acquiring a first preset updating data time table of the download database, acquiring a third preset updating data time table according to the data updating verification information, and comparing the first preset updating data time table with the third preset updating data time table; if the time of the last updated data in the first preset updated data time table is the same as the time of the last updated data in the third preset updated data time table, refusing to update the client; and if the time for updating the data in the first preset data updating time table is different from the time for updating the data in the third preset data updating time table, determining that the data in the client needs to be updated.
12. The system of claim 4, wherein the data update validation module is specifically configured to: acquiring a second preset updating data time table of the source database, acquiring a third preset updating data time table according to the data updating verification information, and comparing the second preset updating data time table with the third preset updating data time table; if the time of the last updated data in the second preset updated data time table is the same as the time of the last updated data in the third preset updated data time table, refusing to update the data in the client; and if the time for updating the data in the second preset data updating time table is different from the time for updating the data in the third preset data updating time table, determining that the data in the client needs to be updated.
13. The system of claim 12, wherein the download database is further configured to: and respectively taking the time of the last updated data in the first preset updated data time table and the time of the last updated data in the third preset updated data time table as the starting time and the ending time, extracting the data in the download database as new data, and updating the new data to the client.
14. A method for updating data, the method comprising:
initiating data updating request information of a client;
updating the data in the source database to a download database of the FTP server; the server side simultaneously verifies the user identity information and verifies whether the data in the target database of the client side needs to be updated according to the data updating request information;
after the FTP server passes the verification of the server side, sending request verification information to the client side so as to verify whether the data updating request information in a target database of the client side is changed;
after the verification of the FTP server is passed, updating data in a download database of the FTP server to a target database of the client;
wherein, updating the data in the source database to the download database of the FTP server comprises: respectively acquiring a first preset updating data time table of the downloading database and a second preset updating data time table of the source database; when data in a source database is updated to a download database, address fields for recording newly-added data are respectively added in a first preset update data time table and a second preset update data time table;
the data update request information includes: the user identity authentication information and the data update authentication information, and the simultaneously verifying the user identity information and verifying whether the data in the target database of the client needs to be updated comprises: and verifying whether the client has the authority of updating data from the download database according to the user identity verification information, and simultaneously verifying whether the data in the client needs to be updated according to the data updating verification information.
15. A computer-readable storage medium, characterized in that the storage medium stores a computer program for executing the method of claim 14.
16. An electronic device, characterized in that the electronic device comprises: a processor; a memory for storing the processor-executable instructions; the processor is configured to read the executable instructions from the memory and execute the instructions to implement the method of claim 14.
CN202111398139.2A 2021-11-24 2021-11-24 Data updating system and method, storage medium and electronic device Active CN113821525B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111398139.2A CN113821525B (en) 2021-11-24 2021-11-24 Data updating system and method, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111398139.2A CN113821525B (en) 2021-11-24 2021-11-24 Data updating system and method, storage medium and electronic device

Publications (2)

Publication Number Publication Date
CN113821525A CN113821525A (en) 2021-12-21
CN113821525B true CN113821525B (en) 2022-02-25

Family

ID=78919773

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111398139.2A Active CN113821525B (en) 2021-11-24 2021-11-24 Data updating system and method, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN113821525B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115884108A (en) * 2022-11-29 2023-03-31 杭州雅赫网络科技有限公司 Method for improving big data transmission stability

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9454543B1 (en) * 2011-05-05 2016-09-27 Jason Bryan Rollag Systems and methods for database records management
CN106502883A (en) * 2016-10-09 2017-03-15 武汉斗鱼网络科技有限公司 The database synchronization method and system of client and service end during automatic test

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101212336A (en) * 2006-12-28 2008-07-02 上海广电Nec液晶显示器有限公司 Automatic software update method for client, auxiliary method and related device
CN101931647B (en) * 2010-08-09 2013-02-06 福州星网视易信息***有限公司 Three-tier architecture based method for optimizing incremental update of system data
US8429124B2 (en) * 2010-12-21 2013-04-23 Neustar Information Services, Inc. On demand multi-location large database synchronization system
CN102043865A (en) * 2011-01-17 2011-05-04 博视联(苏州)信息科技有限公司 Malicious webpage filtration system based on C/S framework and filtration method thereof
CN105550288B (en) * 2015-12-10 2019-07-02 百度在线网络技术(北京)有限公司 The update method and management system of Database Systems
CN107453953B (en) * 2017-08-30 2020-09-15 苏州朗动网络科技有限公司 Httpclient-based data updating system and method
CN108182075A (en) * 2017-12-29 2018-06-19 成都三零凯天通信实业有限公司 A kind of program by the automatic escalation target software of socket communication modes
CN109271351A (en) * 2018-11-12 2019-01-25 珠海格力电器股份有限公司 Database synchronization method and system
CN110737920B (en) * 2019-09-25 2021-11-09 哈尔滨哈工智慧嘉利通科技股份有限公司 Digital certificate management and control method, device and registration and audit server

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9454543B1 (en) * 2011-05-05 2016-09-27 Jason Bryan Rollag Systems and methods for database records management
CN106502883A (en) * 2016-10-09 2017-03-15 武汉斗鱼网络科技有限公司 The database synchronization method and system of client and service end during automatic test

Also Published As

Publication number Publication date
CN113821525A (en) 2021-12-21

Similar Documents

Publication Publication Date Title
US9038059B2 (en) Automatically targeting application modules to individual machines and application framework runtimes instances
CN105808778B (en) A kind of mass data extracts, conversion, loading method and device
US9830248B2 (en) System for automated code validation and deployment
CN108614690B (en) Software development method, system and storage medium based on component and cloud oriented
US9940115B2 (en) Mobile application deployment for distributed computing environments
EP3306904A1 (en) Automatic recharging system, method and server
CN111104652B (en) Authority management method and device, computer readable storage medium and electronic equipment
CN113821525B (en) Data updating system and method, storage medium and electronic device
WO2021008576A1 (en) Context information management method, device, and system, and computer-readable storage medium
CN114064155A (en) Container-based algorithm calling method, device, equipment and storage medium
CN110704025A (en) Method and device for generating coding specification tool, storage medium and electronic equipment
CN117076096A (en) Task flow execution method and device, computer readable medium and electronic equipment
US10129328B2 (en) Centralized management of webservice resources in an enterprise
CN113779000B (en) Database updating method and system, storage medium and electronic device
US10452675B1 (en) Source detection and indexing for managed search
US10725993B1 (en) Indexing data sources using a highly available ETL for managed search
US20170316219A1 (en) Share token issuance for declarative document authoring
US10761817B2 (en) System and method for facilitating an instance-specific user interface
CN112882812B (en) Method, device, equipment, medium and system for scheduling and storing time-delay tasks
CN112732367A (en) Event flow processing method, device and equipment and readable storage medium
CN113138772B (en) Construction method and device of data processing platform, electronic equipment and storage medium
US10698749B1 (en) System and a method for automated resolution of configuration item issues
JP2011258078A (en) Resource management system, resource management method, and resource management program
CN115357548B (en) Block chain-based electronic contract query method, device, equipment and medium
US20100318849A1 (en) Runtime behavior alteration using behavior injection harness

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