CN110019257A - Master/slave data library delay time processing method, device, medium and electronic equipment - Google Patents

Master/slave data library delay time processing method, device, medium and electronic equipment Download PDF

Info

Publication number
CN110019257A
CN110019257A CN201710711753.7A CN201710711753A CN110019257A CN 110019257 A CN110019257 A CN 110019257A CN 201710711753 A CN201710711753 A CN 201710711753A CN 110019257 A CN110019257 A CN 110019257A
Authority
CN
China
Prior art keywords
data
threshold value
difference
predetermined registration
delay 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.)
Pending
Application number
CN201710711753.7A
Other languages
Chinese (zh)
Inventor
肖竹
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information 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 Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201710711753.7A priority Critical patent/CN110019257A/en
Publication of CN110019257A publication Critical patent/CN110019257A/en
Pending legal-status Critical Current

Links

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
    • G06F16/2365Ensuring data consistency and integrity
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • G06F16/275Synchronous replication

Abstract

The disclosure is directed to a kind of master/slave data library delay time processing method, device, storage medium and electronic equipments.This method comprises: monitoring data accesses object DAO layers of predetermined registration operation method, and the classification of predetermined registration operation method is judged according to the default note that the predetermined registration operation method carries;When judging predetermined registration operation method for inquiry operation, the corresponding delayed data difference threshold value of inquiry operation is obtained from default note, the delayed data difference threshold value and read-write delay time are proportional;Maximum first data record ID in current primary database and standby database is obtained, the difference of two maximum first data record ID of acquisition is calculated;Compare the difference and delayed data difference threshold value, if the difference is more than or equal to delayed data difference threshold value, corresponding inquiry operation is routed into primary database.Different read-write delay times can be arranged for different business scenarios in the disclosure, have wide range of applications, but also solution development is simple and convenient, use manpower and material resources sparingly cost.

Description

Master/slave data library delay time processing method, device, medium and electronic equipment
Technical field
This disclosure relates to field of computer technology more particularly to a kind of master/slave data library delay time processing method, active and standby Database delay time processing unit, and realize the computer-readable storage of the master/slave data library delay time processing method Medium and electronic equipment.
Background technique
Currently, in order to alleviate the pressure of database server, such as Large-Scale Interconnected net company, many companies usually uses active and standby The database of read and write abruption mode.The principle of active and standby read and write abruption is exactly that the operation for modifying data is all routed to primary database It executes, and the operation for inquiring data is all routed to standby database and is executed, recycle the leader follower replication function of database by main number It is synchronized on standby database according to the operation in library, to guarantee the data consistency of primary database and standby database.
However since the leader follower replication of database needs take some time, so the operation of inquiry data might have Delay, the factors such as the size of the delay and database server load, network congestion are related.And different business scenarios is for reading The patience of write delay is inconsistent.Such as commodity price, it is often required that read-write delay is lower, in order to avoid there is user using mistake Price accidentally places an order;And for user's evaluation, this partial data allows higher read-write to postpone, can after user, which submits, to be evaluated Be shown after allowing the long period again.Therefore the data synchronization delay between primary database and standby database is absolutely not Guarantee, it is then 1 second short, it is long then several seconds, tens seconds or even longer be likely to.When database leader follower replication needs a large amount of time When causing the delay for inquiring data manipulation larger, the time of modification data and the time that modified data can be inquired such as are executed Difference is larger.Namely when read-write delay is larger, for the correctness for guaranteeing reading data, needs to use read and write abruption and instead postpone to insert Part.
In the related technology, Lua script is write using such as database MySQL-Proxy plug-in unit, by database service MySQL-Proxy plug-in unit is installed on device, and specifies the starting script of MySQL-Proxy plug-in unit and goes to determine in Lua script Inquiry operation is routed to primary database when higher delay occurs in read-write to realize by adopted read_query () method.But Which is write Lua script using database MySQL-Proxy plug-in unit and is had the following problems in presently relevant technology, for example, not It can be directed to the different inquiry scene settings different read-write delay timeout time, read-write cannot be postponed excessively high situation and reported It is alert, it the real time modifying read-write delay timeout time and can not make an immediate response.Change therefore, it is necessary to provide the new technical solution of one kind One or more problem present in kind above scheme.
It should be noted that information is only used for reinforcing the reason to the background of the disclosure disclosed in above-mentioned background technology part Solution, therefore may include the information not constituted to the prior art known to persons of ordinary skill in the art.
Summary of the invention
The disclosure is designed to provide a kind of master/slave data library delay time processing method, master/slave data library delay time Processing unit, and realize that the computer readable storage medium of the master/slave data library delay time processing method and electronics are set It is standby, and then one or more is overcome the problems, such as caused by the limitation and defect due to the relevant technologies at least to a certain extent.
Other characteristics and advantages of the disclosure will be apparent from by the following detailed description, or partially by the disclosure Practice and acquistion.
According to the first aspect of the embodiments of the present disclosure, a kind of master/slave data library delay time processing method, this method are provided Include:
Monitoring data accesses the predetermined registration operation method of object DAO (Data Access Object) layer, and default according to this The default note that operating method carries judges the classification of the predetermined registration operation method;
When judging the predetermined registration operation method for inquiry operation, the inquiry operation pair is obtained from the default note The delayed data difference threshold value answered;Wherein the delayed data difference threshold value and read-write delay time are proportional;
Maximum first data record ID in current primary database and standby database is obtained, is calculated described in two of acquisition most The difference of the first big data record ID;
Compare the difference and the delayed data difference threshold value, if the difference is more than or equal to the delayed data difference threshold value, Corresponding inquiry operation is routed into the primary database.
In a kind of exemplary embodiment of the disclosure, default explain includes the instruction for indicating predetermined registration operation method classification Mapping relations between information, and different predetermined registration operation methods and corresponding different delays data difference threshold value.
In a kind of exemplary embodiment of the disclosure, the standby database has multiple;This method further include:
After obtaining the corresponding delayed data difference threshold value of the inquiry operation in the default note, the main number is obtained According to the current maximum second data record ID in library and the current maximum multiple third data record ID of multiple standby databases;
Multiple ID differences between the second data record ID and multiple third data record ID are calculated separately, and Determine the minimum ID difference in the multiple ID difference;
Compare minimum ID difference and the delayed data difference threshold value, if minimum ID difference is more than or equal to the delay number According to poor threshold value, then corresponding inquiry operation is routed into the primary database.
In a kind of exemplary embodiment of the disclosure, this method further include:
When the minimum ID difference is more than or equal to the delayed data difference threshold value, warning note is carried out.
In a kind of exemplary embodiment of the disclosure, when the minimum ID difference is less than the delayed data difference threshold value, Corresponding inquiry operation is then routed into standby database.
In a kind of exemplary embodiment of the disclosure, this method further include:
After obtaining the corresponding delayed data difference threshold value of the inquiry operation in the default note, by the delay number It is written in Redis caching and stores according to poor threshold value;
Correspondingly, comparison minimum ID difference includes: with the delayed data difference threshold value
After reading the delayed data difference threshold value in Redis caching, compare minimum ID difference and the delay Data difference threshold value.
In a kind of exemplary embodiment of the disclosure, this method further include:
The delayed data difference threshold value that can be stored in the caching of Redis described in real time modifying by the preset configuration page.
In a kind of exemplary embodiment of the disclosure, the monitoring data accesses object DAO layers of predetermined registration operation method, and Judge that the classification of the predetermined registration operation method includes: according to the default note that the predetermined registration operation method carries
By defining a section towards tangent plane programming AOP (Aspect Oriented Programming) mode, with logical It crosses the section and monitors DAO layers of the method;Wherein, DAO layers of the method adds the default note in advance;
It is preceding according to the default note to be executed in the predetermined registration operation method by the@Around method of the section Judge the classification of the predetermined registration operation method.
In a kind of exemplary embodiment of the disclosure, this method further include:
When judging the predetermined registration operation method for write operation, increased newly in the tables of data in the primary database corresponding One data;Wherein the tables of data is synchronized to standby database in database leader follower replication.
According to the second aspect of an embodiment of the present disclosure, a kind of master/slave data library delay time processing unit, the device are provided Include:
Judgment module is monitored, object DAO layers of predetermined registration operation method is accessed for monitoring data, and according to the predetermined registration operation The default note that method carries judges the classification of the predetermined registration operation method;
Data acquisition module is used for when judging the predetermined registration operation method for inquiry operation, from the default note Obtain the corresponding delayed data difference threshold value of the inquiry operation;
Difference calculating module, for obtaining maximum first data record ID in current primary database and standby database, meter Calculate the difference of the two maximum first data record ID obtained;And
Comparison process module, for comparing the difference and the delayed data difference threshold value, if the difference is greater than the delay Corresponding inquiry operation is then routed to the primary database by data difference threshold value.
According to the third aspect of an embodiment of the present disclosure, a kind of computer readable storage medium is provided, calculating is stored thereon with Machine program, the program realize that master/slave data library delay time described in any one above-mentioned embodiment is handled when being executed by processor The step of method.
According to a fourth aspect of embodiments of the present disclosure, a kind of electronic equipment is provided, comprising:
Processor;And
Memory, for storing the executable instruction of the processor;
Wherein, the processor is configured to execute in any one above-mentioned embodiment via the executable instruction is executed The step of master/slave data library delay time processing method.
The technical scheme provided by this disclosed embodiment can include the following benefits:
In a kind of embodiment of the disclosure, by above-mentioned master/slave data library delay time processing method and processing device, monitoring is simultaneously The classification of the predetermined registration operation method is judged by the default note that predetermined registration operation method carries, and is judging the predetermined registration operation side When method is inquiry operation, it is poor that the corresponding delayed data proportional with read-write delay time is obtained from the default note Threshold value is then based on the delayed data difference threshold decision for corresponding inquiry operation and routes to primary database;Thus it is possible, on the one hand, It is read and write delay times based on the corresponding difference of available application system difference query SQL is annotated, and monitoring will be more than that read-write be prolonged The inquiry operation of slow time is routed to master data Kuku to get correct data, so as to be directed to different business scenarios Different read-write delay times is set, is had wide range of applications.On the other hand, the program is realized based on annotation, so that system development It is simple and convenient, save a large amount of manpower and material resources costs.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure Example, and together with specification for explaining the principles of this disclosure.It should be evident that the accompanying drawings in the following description is only the disclosure Some embodiments for those of ordinary skill in the art without creative efforts, can also basis These attached drawings obtain other attached drawings.
Fig. 1 schematically shows delay time processing method one flow chart in master/slave data library in disclosure exemplary embodiment;
Fig. 2 schematically shows delay time processing method two flow chart in master/slave data library in disclosure exemplary embodiment;
Fig. 3 schematically shows delay time processing method three flow chart in master/slave data library in disclosure exemplary embodiment;
Fig. 4 schematically shows delay time processing method four flow chart in master/slave data library in disclosure exemplary embodiment;
Fig. 5 schematically shows delay time processing method five flow chart in master/slave data library in disclosure exemplary embodiment;
Fig. 6 schematically shows another master/slave data library delay time processing method process in disclosure exemplary embodiment Figure;
Fig. 7 schematically shows in the disclosure exemplary embodiment master/slave data library system schematic in an application scenarios;
Fig. 8 schematically shows delay time processing unit schematic diagram in master/slave data library in disclosure exemplary embodiment;
Fig. 9 schematically shows computer readable storage medium schematic diagram in disclosure exemplary embodiment;
Figure 10 schematically shows electronic equipment schematic diagram in disclosure exemplary embodiment.
Specific embodiment
Example embodiment is described more fully with reference to the drawings.However, example embodiment can be with a variety of shapes Formula is implemented, and is not understood as limited to example set forth herein;On the contrary, thesing embodiments are provided so that the disclosure will more Fully and completely, and by the design of example embodiment comprehensively it is communicated to those skilled in the art.Described feature, knot Structure or characteristic can be incorporated in any suitable manner in one or more embodiments.
In addition, attached drawing is only the schematic illustrations of the disclosure, it is not necessarily drawn to scale.Identical attached drawing mark in figure Note indicates same or similar part, thus will omit repetition thereof.Some block diagrams shown in the drawings are function Energy entity, not necessarily must be corresponding with physically or logically independent entity.These function can be realized using software form Energy entity, or these functional entitys are realized in one or more hardware modules or integrated circuit, or at heterogeneous networks and/or place These functional entitys are realized in reason device device and/or microcontroller device.
A kind of master/slave data library delay time processing method is provided firstly in this example embodiment, this method can answer For a terminal device, such as can be server etc..With reference to shown in Fig. 1, this method be may comprise steps of:
Step S101: monitoring data accesses object DAO layers of predetermined registration operation method, and is carried according to the predetermined registration operation method Default note judge the classification of the predetermined registration operation method.
Step S102: when judging the predetermined registration operation method for inquiry operation, from the default note described in acquisition The corresponding delayed data difference threshold value of inquiry operation;Wherein the delayed data difference threshold value and read-write delay time are proportional.
Step S103: maximum first data record ID in current primary database and standby database is obtained, acquisition is calculated The difference of two maximum first data record ID.
Step S104: comparing the difference and the delayed data difference threshold value, if the difference is more than or equal to the delayed data Corresponding inquiry operation is then routed to the primary database by poor threshold value.
Pass through above-mentioned master/slave data library delay time processing method, on the one hand, not based on the available application system of annotation The corresponding different read-write delay times with query SQL, and monitoring will be more than to read and write the inquiry operation of delay time to be routed to main number According to Kuku to get correct data, so as to which different read-write delay times is arranged for different business scenarios, answer With in extensive range.On the other hand, realize that the program saves a large amount of manpower and material resources so that system development is simple and convenient based on annotation Cost.
In the following, will be carried out referring to figs. 1 to each step of the Fig. 7 to the above method in this example embodiment more detailed Explanation.
In step s101, monitoring data accesses object DAO layers of predetermined registration operation method, and according to the predetermined registration operation method The default note carried judges the classification of the predetermined registration operation method.
It should be noted that in Java Web project, code structure can be roughly divided into following three layers: 1) data access DAO layers of object, also referred to as data access layer such as are increased to data, are deleted, changed, looked into for operating database at the operation;2) Service layers, i.e. Business Logic, for handling etc. business datum;3) Web layers, i.e. expression layer, for being passed to the page Delivery data etc..
This example embodiment is the improvement for data access layer, and in one embodiment, the default note can be with Instruction information including indicating predetermined registration operation method classification, and different predetermined registration operation method and corresponding different delays data difference Mapping relations between threshold value.
Illustratively, the default note can be Java and explain (Annotation), and Java note is one of Java Characteristic, and class, interface, to enumerate be in the same level.Java note can state packet, class, field, method, local variable, Before method parameter etc., for being illustrated to these elements.
Specifically, the customized note of a Java can be pre-created in the present embodiment, the method that DAO layers are run In addition note.The note may include the instruction information for indicating the classification of this method, such as indicate that this method is that write is operated still For read operation etc., default can operate for write.The delayed data difference threshold value can be characterized when phase is replicated in master/slave data library When poor much data, data are read from primary database.The delayed data difference threshold value and read-write delay time are proportional, active and standby Database duplication differs much data corresponding read-write delay time when being active and standby duplication.Such as DAO layers of operation method It is preceded by note in advance, write operation such as is shown to be plus note for the method for write operation, and the method for inquiry operation is added Note is shown to be inquiry operation, and the delayed data difference threshold value of corresponding delay difference data volume is arranged in note.In this way Operation or different inquiry operations under different business scene can correspond to a delayed data difference threshold value, namely a corresponding reading The write delay time, so as to which different read-write delay times is arranged in light of the circumstances indirectly.
By monitoring DAO layers of predetermined registration operation method such as inquiry operation method in the present embodiment, and according to the predetermined registration operation The instruction information in note that method carries may determine that the classification of the predetermined registration operation method, for example inquiry operation.
With reference to shown in Fig. 2, in a kind of exemplary embodiment of the disclosure, step S101 can specifically include following step It is rapid:
Step S201: by defining a section towards tangent plane programming AOP mode, by described in the monitoring of the section DAO layers of method;Wherein, DAO layers of the method adds the default note in advance.
Illustratively, the abundant support towards tangent plane programming AOP provided in the present embodiment using Spring, passes through AOP Mode defines monitoring of the section realization to DAO layers of the method.Spring is mono- station Java SE/EE of a layering Formula lightweight open source frame.In the present embodiment using Spring provide AOP can to the various pieces of service logic carry out every From improving the reusability of program, while improving exploitation so that the degree of coupling between service logic each section reduces Efficiency.
Step S202: preceding according to be executed in the predetermined registration operation method by the@Around method of the section It is default to explain the classification for judging the predetermined registration operation method.
Illustratively, behind above-mentioned definition section, one is stated with Around around notice, this both can be with around notice It is woven into enhancing movement before goal approach, enhancing movement can also be woven into after performance objective method.It can in the present embodiment To pass through the@Around method of the section, (i.e. associated databases operation such as inquiry behaviour before the execution of monitored predetermined registration operation method Before executing) judge that the classification specifically operated is write operation or read operation, in order to subsequent processing.
In step s 102, it when judging the predetermined registration operation method for inquiry operation, is obtained from the default note The corresponding delayed data difference threshold value of the inquiry operation;
Illustratively, there is the corresponding delay of this method according to poor threshold value, institute in the note that the method for the inquiry operation carries The corresponding delay number of the inquiry operation can be obtained from the note when judging the predetermined registration operation method as inquiry operation According to poor threshold value.
In a kind of exemplary embodiment of the disclosure, this method may also comprise the following steps:: described default when judging When operating method is write operation, a corresponding data is increased newly in the tables of data in the primary database;The wherein data Table is synchronized to standby database in database leader follower replication.
Illustratively, the primary database and standby database can be but not limited to MySQL database, and MySQL is mesh The relevant database of preceding prevalence, therefore MySQL database storing data is used in the present embodiment.When judging the predetermined registration operation When method is write operation, corresponding data are written in the tables of data into primary database accordingly.
Specifically, can accordingly increase a number newly in the tables of data count_time in primary database for write operation According to having major key ID in count_time table is corresponding from increasing, and also has column create_Time to create the time of newly-increased data, i.e., Database current time.The count_time table can the active and standby duplication of database when be synchronized to standby database.
In step s 103, maximum first data record ID in current primary database and standby database is obtained, calculating obtains The difference of two taken the maximum first data record ID.
Illustratively, after obtaining above-mentioned delayed data difference threshold value as corresponding such as inquiry operation, available current main number According to maximum first data record ID in the table count_time in library and standby primary database, i.e., current primary database and standby main number According to data newest in library, in order to judge the data volume of current primary database and standby primary database such as duplication difference, namely should The difference of first data record ID.
In step S104, compare the difference and the delayed data difference threshold value, if the difference is more than or equal to the delay Corresponding inquiry operation is then routed to the primary database by data difference threshold value.
Illustratively, based on the delayed data difference threshold decision corresponding inquiry operation can be routed to primary database with Correct data are got, if the difference is less than the delayed data difference threshold value, corresponding inquiry operation are routed to described Standby database.It can be with the corresponding different read-writes of indirect gain such as application system difference query SQL based on note in the present embodiment Delay time, and monitoring will be more than to read and write the inquiry operation of delay time to be routed to master data Kuku.
With reference to shown in Fig. 3, the standby database have it is multiple, should correspondingly, in a kind of exemplary embodiment of the disclosure Method can with the following steps are included:
Step S301: it after obtaining the corresponding delayed data difference threshold value of the inquiry operation in the default note, obtains Take the current maximum second data record ID of the primary database and the current maximum multiple third data notes of multiple standby databases Record ID.
Illustratively, for inquiry operation, corresponding delayed data is obtained by the note that the method for inquiry operation carries Poor threshold value, and table count_time can be obtained by the table count_time in inquiry primary database and multiple standby databases In maximum data Record ID value.
Step S302: it calculates separately multiple between the second data record ID and multiple third data record ID ID difference, and determine the minimum ID difference in the multiple ID difference.
Illustratively, the primary database of acquisition and the ID difference of each standby database are calculated, wherein minimum ID is chosen Difference.
Step S303: comparing minimum ID difference and the delayed data difference threshold value, if minimum ID difference is more than or equal to The delayed data difference threshold value, then route to the primary database for corresponding inquiry operation.
Illustratively, by the minimum ID difference of selection compared with the delayed data difference threshold value, if minimum ID difference is super The delayed data difference threshold value is crossed, then this inquiry operation is routed to primary database to get accurate data.Some In embodiment, when the minimum ID difference is more than the delayed data difference threshold value, warning note is also carried out.In other implementation In example, when the minimum ID difference is less than the delayed data difference threshold value, corresponding inquiry operation is routed into standby database.
With reference to shown in Fig. 4, for the ease of data processing, and in order to improve data-handling efficiency, above-mentioned as shown in Figure 3 On the basis of embodiment, this method may also comprise the following steps: in the present embodiment:
Step S401: it after obtaining the corresponding delayed data difference threshold value of the inquiry operation in the default note, incites somebody to action It is stored in the delayed data difference threshold value write-in Redis caching;
Illustratively, after obtaining the corresponding delayed data difference threshold value of the inquiry operation, Redis caching can be called institute It states and is stored in delayed data difference threshold value write-in Redis caching.The setNx method that can specifically call Redis to cache is prolonged described Slow data difference threshold value write-in Redis caching, such as be written in a Redis server.One can be set in Redis server Such character string spliced with party's religious name that key is DAO layers, wherein such as value can prolong for the read-write configured in note The cache object of the slow delayed data difference threshold value.
Step S402: from the Redis caching in read the delayed data difference threshold value after, compare minimum ID difference and The delayed data difference threshold value.
Illustratively, the method for the inquiry operation saved in the minimum ID difference and Redis caching is corresponding The delayed data difference threshold value is compared.If minimum ID difference is more than the delayed data difference threshold value, by this inquiry operation Primary database is routed to get accurate data.In some embodiments, when the minimum ID difference is more than the delay When data difference threshold value, warning note is also carried out.In yet other embodiments, when the minimum ID difference is less than the delayed data When poor threshold value, corresponding inquiry operation is routed into standby database.
With reference to shown in Fig. 5, for delayed data difference threshold value described in real time modifying, namely modification delay time, in this public affairs In a kind of exemplary embodiment opened, this method may also comprise the following steps::
Step S501: the delayed data that can be stored in the caching of Redis described in real time modifying by the preset configuration page Poor threshold value.
Illustratively, the delayed data difference threshold value stored in Redis caching can be by user in given configuration page Face such as Web page carry out configuration to modify the delayed data difference threshold value in Redis caching, so as to modify master in real time Standby database duplication difference data threshold.Modification delayed data difference threshold value is cached by Redis, not modifying original code can repair Change time of fire alarming, development cost substantially reduces.
The above method in this example embodiment is explained in detail in conjunction with Fig. 6 and Fig. 7 below.As shown in fig. 6, This method may comprise steps of:
Whether step S601: being inquiry operation according to the type for explaining judgment method.As shown in Figure 7, user can be to Application server 701 sends inquiry request, it is desirable that application server 701 returns to such as commodity price.Application server 701 can be sentenced The type of the method for the corresponding class of the inquiry request of breaking can be specifically by the type of note judgment method that this method carries No is inquiry operation.
Step S602: the operating method is write operation, increases data note newly in the count_time table of primary database Record, and jump and execute step S609.Processing mode i.e. when the type for judging this method is not inquiry operation but write operation.
Step S603: the active and standby delayed data difference threshold value in explaining is read, calls the setNx method of Redis by this method Delayed data difference threshold value be cached in Redis.Processing mode i.e. when the type for judging this method is inquiry operation.Such as figure Shown in 7, application server 701 it is poor can to obtain the corresponding delayed data of the inquiry request according to the corresponding note of inquiry request Threshold value, and the delayed data difference threshold value is stored in Redis server 702 by the setNx method for calling Redis to cache.
Step S604: the maximum ID in inquiry primary database, standby database in count_time table calculates in active and standby library Minimum ID difference.If application server 701 is from the primary database and standby database 1 in database server 703 and for database 2 Middle acquisition current maximum data Record ID, and calculate corresponding minimum ID difference.
Step S605: the delayed data difference threshold value of this method saved in Redis is read.Such as from Redis server 702 It is middle to read the corresponding delayed data difference threshold value of this method, that is, inquiry operation saved.
Step S606: judging whether minimum ID difference in active and standby library is less than the delayed data difference threshold value of reading, such as otherwise Step S607 is jumped to, if then jumping to step S608.
Step S607: alarm.It alarms when the inquiry operation of response is more than the delay time of setting, convenient for timely It finds the problem.
Step S608: standby library data source is set by the data source of this method and executes corresponding operating.It is such as poor in minimum ID When value is less than the delayed data difference threshold value, corresponding standby database is set by the data source of the querying method and executes corresponding operating If inquiry operation is to obtain data.
Step S609: master library data source is set by the data source of this method and executes corresponding operating.While such as alarm Or primary database is set by the data source of the querying method immediately later and executes corresponding operating such as inquiry operation to obtain number According to.
Wherein, the character string that the method that application server 701 obtains DAO layers of class is constituted is that the corresponding delayed data of key is poor The corresponding delayed data difference threshold value of threshold value, the i.e. querying method;If the character string that the method for DAO layers of class is constituted is corresponding for key Value do not have, then the delayed data difference threshold value in customized respective annotations is set.In addition, administrator can be by configuring the page The active and standby delayed data difference threshold value of the distinct methods stored in modification Redis server 702, and then dynamic realtime may be implemented and repair Change the purpose of delayed data difference threshold value.
Disclosure scheme can realize needle based on the running annotation of the Spring AOP provided and Java (explaining) indirectly Different active and standby duplications is arranged according to business scenario to different inquiry scenes and reads and writes delay time, it can be to application system difference The different delays time monitoring of query SQL is alarmed, and is alarmed when the inquiry operation of response is more than the delay time of setting, just It finds the problem in time, and the inquiry operation more than delay time can be routed to primary database to get correct number According to, it can also be realized and dynamically not needed to modify original code to modify delayed data difference threshold value i.e. delay time using Redis, drop Low cost etc..
It should be noted that although describing each step of method in the disclosure in the accompanying drawings with particular order, This does not require that or implies must execute these steps in this particular order, or have to carry out step shown in whole Just it is able to achieve desired result.Additional or alternative, it is convenient to omit multiple steps are merged into a step and held by certain steps Row, and/or a step is decomposed into execution of multiple steps etc..In addition, being also easy to understand, these steps be can be Such as it is either synchronously or asynchronously executed in multiple module/process/threads.
Further, in this example embodiment, a kind of master/slave data library delay time processing unit is additionally provided.With reference to Shown in Fig. 8, device 100 may include monitoring judgment module 801, data acquisition module 802, difference calculating module 803 and ratio Compared with processing module 804.Wherein:
The monitoring judgment module 801 accesses object DAO layers of predetermined registration operation method for monitoring data, and according to this The default note that predetermined registration operation method carries judges the classification of the predetermined registration operation method.
The data acquisition module 802, for being preset from described when judging the predetermined registration operation method for inquiry operation The corresponding delayed data difference threshold value of the inquiry operation is obtained in note.
The difference calculating module 803, for obtaining maximum first data note in current primary database and standby database ID is recorded, the difference of two maximum first data record ID of acquisition is calculated.
The comparison process module 804, for comparing the difference and the delayed data difference threshold value, if the difference is greater than institute Delayed data difference threshold value is stated, then corresponding inquiry operation is routed into the primary database.
In a kind of exemplary embodiment of the disclosure, default explain includes the instruction for indicating predetermined registration operation method classification Mapping relations between information, and different predetermined registration operation methods and corresponding different delays data difference threshold value.
In a kind of exemplary embodiment of the disclosure, the standby database has multiple.Correspondingly, the data acquisition module 802, it can be also used for obtaining institute after obtaining the corresponding delayed data difference threshold value of the inquiry operation in the default note State the current maximum second data record ID of primary database and the current maximum multiple third data record ID of multiple standby databases; The difference calculating module 803 is also used to calculate separately the second data record ID and multiple third data record ID Between multiple ID differences, and determine the minimum ID difference in the multiple ID difference;The comparison process module 804, is also used In comparing minimum ID difference and the delayed data difference threshold value, if minimum ID difference is more than or equal to the delayed data difference threshold Value, then route to the primary database for corresponding inquiry operation.
In a kind of exemplary embodiment of the disclosure, which can also include warning note module (not shown), use In when the minimum ID difference is more than or equal to the delayed data difference threshold value, warning note is carried out.
In a kind of exemplary embodiment of the disclosure, the comparison process module 804 be can be also used in the minimum ID When difference is less than the delayed data difference threshold value, then corresponding inquiry operation is routed into standby database.
In a kind of exemplary embodiment of the disclosure, which further includes data cache module, be can be used for from described After obtaining the corresponding delayed data difference threshold value of the inquiry operation in default note, the delayed data difference threshold value is written It is stored in Redis caching;Correspondingly, the comparison process module 804, is also used to prolong described in reading from Redis caching After slow data difference threshold value, compare minimum ID difference and the delayed data difference threshold value.
In a kind of exemplary embodiment of the disclosure, which can also include data modification module, for by pre- The delayed data difference threshold value that the page can store in the caching of Redis described in real time modifying is set in establishing.
In a kind of exemplary embodiment of the disclosure, the monitoring judgment module 801 specifically can be used for: by towards Tangent plane programming AOP mode defines a section, to monitor DAO layers of the method by the section;Wherein, DAO layers described Method add the default note in advance;Again by the@Around method of the section, to be held in the predetermined registration operation method The classification of the predetermined registration operation method is judged before row according to the default note.
In a kind of exemplary embodiment of the disclosure, which can also include data adding module, for when judgement When the predetermined registration operation method is write operation, a corresponding data is increased newly in the tables of data in the primary database;Wherein The tables of data is synchronized to standby database in database leader follower replication.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method Embodiment in be described in detail, no detailed explanation will be given here.
It should be noted that although being referred to several modules or list for acting the equipment executed in the above detailed description Member, but this division is not enforceable.In fact, according to embodiment of the present disclosure, it is above-described two or more Module or the feature and function of unit can embody in a module or unit.Conversely, an above-described mould The feature and function of block or unit can be to be embodied by multiple modules or unit with further division.As module or list The component of member display may or may not be physical unit, it can and it is in one place, or may be distributed over In multiple network units.It can select some or all of the modules therein according to the actual needs to realize the open scheme of wood Purpose.Those of ordinary skill in the art can understand and implement without creative efforts.
In an exemplary embodiment of the disclosure, a kind of computer readable storage medium is additionally provided, meter is stored thereon with Calculation machine program, the program may be implemented master/slave data library described in any one above-mentioned embodiment when being executed by such as processor and prolong The step of slow time processing method.In some possible embodiments, various aspects of the invention are also implemented as one kind The form of program product comprising program code, when described program product is run on the terminal device, said program code is used In make the terminal device execute described in the above-mentioned master/slave data library delay time processing method part of this specification according to this The step of inventing various illustrative embodiments.
Refering to what is shown in Fig. 9, describing the program product for realizing the above method of embodiment according to the present invention 900, can using portable compact disc read only memory (CD-ROM) and including program code, and can in terminal device, Such as it is run on PC.However, program product of the invention is without being limited thereto, in this document, readable storage medium storing program for executing can be with To be any include or the tangible medium of storage program, the program can be commanded execution system, device or device use or It is in connection.
Described program product can be using any combination of one or more readable mediums.Readable medium can be readable letter Number medium or readable storage medium storing program for executing.Readable storage medium storing program for executing for example can be but be not limited to electricity, magnetic, optical, electromagnetic, infrared ray or System, device or the device of semiconductor, or any above combination.The more specific example of readable storage medium storing program for executing is (non exhaustive List) include: electrical connection with one or more conducting wires, portable disc, hard disk, random access memory (RAM), read-only Memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read only memory (CD-ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.
The computer readable storage medium may include in a base band or the data as the propagation of carrier wave a part are believed Number, wherein carrying readable program code.The data-signal of this propagation can take various forms, including but not limited to electromagnetism Signal, optical signal or above-mentioned any appropriate combination.Readable storage medium storing program for executing can also be any other than readable storage medium storing program for executing Readable medium, the readable medium can send, propagate or transmit for by instruction execution system, device or device use or Person's program in connection.The program code for including on readable storage medium storing program for executing can transmit with any suitable medium, packet Include but be not limited to wireless, wired, optical cable, RF etc. or above-mentioned any appropriate combination.
The program for executing operation of the present invention can be write with any combination of one or more programming languages Code, described program design language include object oriented program language-Java, C++ etc., further include conventional Procedural programming language-such as " C " language or similar programming language.Program code can be fully in user It calculates and executes in equipment, partly executes on a user device, being executed as an independent software package, partially in user's calculating Upper side point is executed on a remote computing or is executed in remote computing device or server completely.It is being related to far Journey calculates in the situation of equipment, and remote computing device can pass through the network of any kind, including local area network (LAN) or wide area network (WAN), it is connected to user calculating equipment, or, it may be connected to external computing device (such as utilize ISP To be connected by internet).
In an exemplary embodiment of the disclosure, a kind of electronic equipment is also provided, which may include processor, And the memory of the executable instruction for storing the processor.Wherein, the processor is configured to via described in execution Executable instruction is come the step of executing master/slave data library delay time processing method described in any one above-mentioned embodiment.
Person of ordinary skill in the field it is understood that various aspects of the invention can be implemented as system, method or Program product.Therefore, various aspects of the invention can be embodied in the following forms, it may be assumed that complete hardware embodiment, complete The embodiment combined in terms of full Software Implementation (including firmware, microcode etc.) or hardware and software, can unite here Referred to as circuit, " module " or " system ".
The electronic equipment 600 of this embodiment according to the present invention is described referring to Figure 10.The electricity that Figure 10 is shown Sub- equipment 600 is only an example, should not function to the embodiment of the present invention and use scope bring any restrictions.
As shown in Figure 10, electronic equipment 600 is showed in the form of universal computing device.The component of electronic equipment 600 can be with Including but not limited to: at least one processing unit 610, at least one storage unit 620, the different system components of connection (including are deposited Storage unit 620 and processing unit 610) bus 630, display unit 640 etc..
Wherein, the storage unit is stored with program code, and said program code can be held by the processing unit 610 Row, so that the processing unit 610 executes described in the above-mentioned master/slave data library delay time processing method part of this specification The step of various illustrative embodiments according to the present invention.For example, the processing unit 610 can execute as shown in Figure 1 Step.
The storage unit 620 may include the readable medium of volatile memory cell form, such as random access memory Unit (RAM) 6201 and/or cache memory unit 6202 can further include read-only memory unit (ROM) 6203.
The storage unit 620 can also include program/practical work with one group of (at least one) program module 6205 Tool 6204, such program module 6205 includes but is not limited to: operating system, one or more application program, other programs It may include the realization of network environment in module and program data, each of these examples or certain combination.
Bus 630 can be to indicate one of a few class bus structures or a variety of, including storage unit bus or storage Cell controller, peripheral bus, graphics acceleration port, processing unit use any bus structures in a variety of bus structures Local bus.
Electronic equipment 600 can also be with one or more external equipments 700 (such as keyboard, sensing equipment, bluetooth equipment Deng) communication, can also be enabled a user to one or more equipment interact with the electronic equipment 600 communicate, and/or with make Any equipment (such as the router, modulation /demodulation that the electronic equipment 600 can be communicated with one or more of the other calculating equipment Device etc.) communication.This communication can be carried out by input/output (I/O) interface 650.Also, electronic equipment 600 can be with By network adapter 660 and one or more network (such as local area network (LAN), wide area network (WAN) and/or public network, Such as internet) communication.Network adapter 660 can be communicated by bus 630 with other modules of electronic equipment 600.It should Understand, although not shown in the drawings, other hardware and/or software module can be used in conjunction with electronic equipment 600, including but unlimited In: microcode, device driver, redundant processing unit, external disk drive array, RAID system, tape drive and number According to backup storage system etc..
Through the above description of the embodiments, those skilled in the art is it can be readily appreciated that example described herein is implemented Mode can also be realized by software realization in such a way that software is in conjunction with necessary hardware.Therefore, according to the disclosure The technical solution of embodiment can be embodied in the form of software products, which can store non-volatile at one Property storage medium (can be CD-ROM, USB flash disk, mobile hard disk etc.) in or network on, including some instructions are so that a calculating Equipment (can be personal computer, server or network equipment etc.) is executed according to the above-mentioned active and standby of disclosure embodiment Database delay time processing method.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the disclosure Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by appended Claim is pointed out.

Claims (12)

1. a kind of master/slave data library delay time processing method, which is characterized in that this method comprises:
Monitoring data accesses object DAO layers of predetermined registration operation method, and is sentenced according to the default note that the predetermined registration operation method carries The classification for the predetermined registration operation method of breaking;
When judging the predetermined registration operation method for inquiry operation, it is corresponding from the default note to obtain the inquiry operation Delayed data difference threshold value;Wherein the delayed data difference threshold value and read-write delay time are proportional;
Maximum first data record ID in current primary database and standby database is obtained, two for calculating acquisition are described maximum The difference of first data record ID;
Compare the difference and the delayed data difference threshold value, it, will be right if the difference is more than or equal to the delayed data difference threshold value The inquiry operation answered routes to the primary database.
2. master/slave data library delay time processing method according to claim 1, which is characterized in that it is described it is default note include Indicate the instruction information of predetermined registration operation method classification, and different predetermined registration operation method and corresponding different delays data difference threshold value Between mapping relations.
3. master/slave data library delay time processing method according to claim 2, which is characterized in that the standby database has more It is a;This method further include:
After obtaining the corresponding delayed data difference threshold value of the inquiry operation in the default note, the primary database is obtained The current maximum second data record ID and current maximum multiple third data record ID of multiple standby databases;
Multiple ID differences between the second data record ID and multiple third data record ID are calculated separately, and are determined Minimum ID difference in the multiple ID difference;
Compare minimum ID difference and the delayed data difference threshold value, if minimum ID difference is poor more than or equal to the delayed data Corresponding inquiry operation is then routed to the primary database by threshold value.
4. master/slave data library delay time processing method according to claim 3, which is characterized in that this method further include:
When the minimum ID difference is more than or equal to the delayed data difference threshold value, warning note is carried out.
5. master/slave data library delay time processing method according to claim 3, which is characterized in that this method further include:
When the minimum ID difference is less than the delayed data difference threshold value, then corresponding inquiry operation is routed into standby data Library.
6. according to any one of the claim 3~5 master/slave data library delay time processing method, which is characterized in that this method Further include:
It is after obtaining the corresponding delayed data difference threshold value of the inquiry operation in the default note, the delayed data is poor It is stored in threshold value write-in Redis caching;
Correspondingly, comparison minimum ID difference includes: with the delayed data difference threshold value
After reading the delayed data difference threshold value in Redis caching, compare minimum ID difference and the delayed data Poor threshold value.
7. master/slave data library delay time processing method according to claim 6, which is characterized in that this method further include:
The delayed data difference threshold value that can be stored in the caching of Redis described in real time modifying by the preset configuration page.
8. any one master/slave data library delay time processing method according to claim 1~5, which is characterized in that the prison The predetermined registration operation method of data access object DAO layers of control, and according to the default note judgement that the predetermined registration operation method carries The classification of predetermined registration operation method includes:
By defining a section towards tangent plane programming AOP mode, to monitor DAO layers of the method by the section;Its In, DAO layers of the method adds the default note in advance;
By the@Around method of the section, to be judged before the predetermined registration operation method executes according to the default note The classification of the predetermined registration operation method.
9. any one master/slave data library delay time processing method according to claim 1~5, which is characterized in that this method Further include:
When judging the predetermined registration operation method for write operation, corresponding one is increased newly in the tables of data in the primary database Data;Wherein the tables of data is synchronized to standby database in database leader follower replication.
10. a kind of master/slave data library delay time processing unit characterized by comprising
Judgment module is monitored, object DAO layers of predetermined registration operation method is accessed for monitoring data, and according to the predetermined registration operation method The default note carried judges the classification of the predetermined registration operation method;
Data acquisition module, for being obtained from the default note when judging the predetermined registration operation method for inquiry operation The corresponding delayed data difference threshold value of the inquiry operation;
Difference calculating module, for obtaining maximum first data record ID in current primary database and standby database, calculating is obtained The difference of two taken the maximum first data record ID;And
Comparison process module, for comparing the difference and the delayed data difference threshold value, if the difference is greater than the delayed data Corresponding inquiry operation is then routed to the primary database by poor threshold value.
11. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor The step of any one of the claim 1~9 master/slave data library delay time processing method is realized when execution.
12. a kind of electronic equipment characterized by comprising
Processor;And
Memory, for storing the executable instruction of the processor;
Wherein, the processor is configured to carry out any one of perform claim requirement 1~9 master via the execution executable instruction The step of standby database delay time processing method.
CN201710711753.7A 2017-08-18 2017-08-18 Master/slave data library delay time processing method, device, medium and electronic equipment Pending CN110019257A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710711753.7A CN110019257A (en) 2017-08-18 2017-08-18 Master/slave data library delay time processing method, device, medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710711753.7A CN110019257A (en) 2017-08-18 2017-08-18 Master/slave data library delay time processing method, device, medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN110019257A true CN110019257A (en) 2019-07-16

Family

ID=67186100

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710711753.7A Pending CN110019257A (en) 2017-08-18 2017-08-18 Master/slave data library delay time processing method, device, medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN110019257A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110489092A (en) * 2019-08-27 2019-11-22 四川长虹电器股份有限公司 The solution of data latency issues is read under a kind of data base read-write separation architecture
CN112530505A (en) * 2020-12-29 2021-03-19 苏州元核云技术有限公司 Hard disk delay detection method and device and computer readable storage medium
CN112699325A (en) * 2021-01-14 2021-04-23 福建天晴在线互动科技有限公司 Method and system for guaranteeing data consistency through cache secondary elimination
CN112699139A (en) * 2021-01-14 2021-04-23 福建天晴在线互动科技有限公司 Method and system for ensuring data consistency by using data service center
CN113076343A (en) * 2021-04-30 2021-07-06 北京京东振世信息技术有限公司 Data query method, device, equipment and storage medium
CN113760934A (en) * 2021-09-08 2021-12-07 福建天泉教育科技有限公司 Data reading method and terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6073141A (en) * 1997-11-25 2000-06-06 International Business Machine Corporation System and method for synchronizing local versions of database
JP2006318020A (en) * 2005-05-10 2006-11-24 Fujitsu Ltd Replication program and database system
CN102591964A (en) * 2011-12-30 2012-07-18 北京新媒传信科技有限公司 Implementation method and device for data reading-writing splitting system
CN105589797A (en) * 2015-09-17 2016-05-18 中国银联股份有限公司 Method for synchronous data time delay detection between master database and slave database
CN106570021A (en) * 2015-10-10 2017-04-19 阿里巴巴集团控股有限公司 Database connection establishment method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6073141A (en) * 1997-11-25 2000-06-06 International Business Machine Corporation System and method for synchronizing local versions of database
JP2006318020A (en) * 2005-05-10 2006-11-24 Fujitsu Ltd Replication program and database system
CN102591964A (en) * 2011-12-30 2012-07-18 北京新媒传信科技有限公司 Implementation method and device for data reading-writing splitting system
CN105589797A (en) * 2015-09-17 2016-05-18 中国银联股份有限公司 Method for synchronous data time delay detection between master database and slave database
CN106570021A (en) * 2015-10-10 2017-04-19 阿里巴巴集团控股有限公司 Database connection establishment method and device

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110489092A (en) * 2019-08-27 2019-11-22 四川长虹电器股份有限公司 The solution of data latency issues is read under a kind of data base read-write separation architecture
CN110489092B (en) * 2019-08-27 2022-08-16 四川长虹电器股份有限公司 Method for solving read data delay problem under database read-write separation architecture
CN112530505A (en) * 2020-12-29 2021-03-19 苏州元核云技术有限公司 Hard disk delay detection method and device and computer readable storage medium
CN112699325A (en) * 2021-01-14 2021-04-23 福建天晴在线互动科技有限公司 Method and system for guaranteeing data consistency through cache secondary elimination
CN112699139A (en) * 2021-01-14 2021-04-23 福建天晴在线互动科技有限公司 Method and system for ensuring data consistency by using data service center
CN112699325B (en) * 2021-01-14 2022-07-26 福建天晴在线互动科技有限公司 Method and system for guaranteeing data consistency through cache secondary elimination
CN113076343A (en) * 2021-04-30 2021-07-06 北京京东振世信息技术有限公司 Data query method, device, equipment and storage medium
CN113076343B (en) * 2021-04-30 2024-04-05 北京京东振世信息技术有限公司 Data query method, device, equipment and storage medium
CN113760934A (en) * 2021-09-08 2021-12-07 福建天泉教育科技有限公司 Data reading method and terminal
CN113760934B (en) * 2021-09-08 2024-04-12 福建天泉教育科技有限公司 Data reading method and terminal

Similar Documents

Publication Publication Date Title
CN110019257A (en) Master/slave data library delay time processing method, device, medium and electronic equipment
CN108363785A (en) Data relationship methods of exhibiting, device, computer equipment and storage medium
CN109902255B (en) Page mixed browsing record generation method, device, equipment and storage medium
US9280370B2 (en) System structure management device, system structure management method, and program
CN109299194A (en) Multi-edition data memory management method and device, electronic equipment, storage medium
CN102945248A (en) Automatic relation detection used to report spreadsheet data
WO2014168646A1 (en) Creating global aggregated namespaces for storage management
CN105786405A (en) Online upgrading method, device and system
CN102426523A (en) Multi-dimensional objects
CN107861691B (en) Load balancing method and device of multi-control storage system
CN110019498A (en) Log synchronous method and device, storage medium, electronic equipment
CN105095103A (en) Storage device management method and device used for cloud environment
CN106663041A (en) Recovering usability of cloud based service from system failure
CN107832448A (en) Database operation method, device and equipment
US20240061678A1 (en) Configuration-driven applications
CN105556533A (en) Automatically generating certification documents
CN108667660A (en) The method and apparatus and route system of routing management and business routing
CN104717276A (en) Method and system for allocating data storage in network
CN114422343A (en) Service configuration method, device, system and computer readable storage medium
KR101681154B1 (en) Method of constructing data collector, server performing the same and storage medium for the same
EP3639138B1 (en) Action undo service based on cloud platform
CN114564855B (en) Operation method based on incidence relation of FMEA data nodes and electronic equipment
CN108334520A (en) social network data processing method, device, storage medium and electronic equipment
CN109614440A (en) Method of data synchronization and relevant device based on big data
CN109543076A (en) User's managing detailed catalogue generation method and device, electronic equipment, storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190716