CN113961393A - Real-time database measuring point deletion recovery method, system, storage medium and server - Google Patents

Real-time database measuring point deletion recovery method, system, storage medium and server Download PDF

Info

Publication number
CN113961393A
CN113961393A CN202111189067.0A CN202111189067A CN113961393A CN 113961393 A CN113961393 A CN 113961393A CN 202111189067 A CN202111189067 A CN 202111189067A CN 113961393 A CN113961393 A CN 113961393A
Authority
CN
China
Prior art keywords
measuring point
information
deleted
deleting
measuring
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
CN202111189067.0A
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.)
Xian Thermal Power Research Institute Co Ltd
Xian TPRI Power Station Information Technology Co Ltd
Original Assignee
Xian Thermal Power Research Institute Co Ltd
Xian TPRI Power Station 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 Xian Thermal Power Research Institute Co Ltd, Xian TPRI Power Station Information Technology Co Ltd filed Critical Xian Thermal Power Research Institute Co Ltd
Priority to CN202111189067.0A priority Critical patent/CN113961393A/en
Publication of CN113961393A publication Critical patent/CN113961393A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • G06F11/1469Backup restoration techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • G06F11/1464Management of the backup or restore process for networked environments
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/13File access structures, e.g. distributed indices
    • G06F16/137Hash-based
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/14Details of searching files based on file metadata
    • G06F16/148File search processing
    • G06F16/152File search processing using file content signatures, e.g. hash values
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/162Delete operations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/178Techniques for file synchronisation in file systems
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Quality & Reliability (AREA)
  • Library & Information Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Security & Cryptography (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

A real-time database measuring point deleting and recycling method, a system, a storage medium and a server are provided, the method comprises the following steps: sending a request for deleting a measuring point and measuring point data needing to be deleted from a client to a network service; the network service receives the request for deleting the measuring points and the measuring point data needing to be deleted and then forwards the request to the measuring point service; the point measuring service carries out deleting operation processing and searches the deleted point information; if the deleted measuring point information can be found, backing up the deleted measuring point information to a recovery station, if the deleted measuring point information cannot be found, returning that the deleted measuring point does not exist, and stopping deleting operation; after the deleted measuring point information is backed up to the recycle bin, the measuring point service returns measuring point deletion success information, synchronizes the recycle bin information to the storage device, updates the information in the recycle bin into a storage file, and simultaneously informs other services of deleting the measuring point; and the network service returns the information of successful or failed point deletion to the client after receiving the information. The invention can prevent the user from deleting the measuring point by mistake and ensure the integrity of the data.

Description

Real-time database measuring point deletion recovery method, system, storage medium and server
Technical Field
The invention belongs to the technical field of data processing, and particularly relates to a method, a system, a storage medium and a server for deleting and recycling a real-time database measuring point.
Background
The real-time database is mostly oriented to the fields of industrial production, monitoring and the like, the data quantity borne by the real-time database is continuously increased along with the continuous expansion of the production scale of enterprise factories, and the scale of a measuring point is from tens of thousands to hundreds of thousands or even reaches the million level. The station information also needs long-term maintenance along with the upgrade and change of production equipment, and particularly, a large amount of station adding, modifying and deleting operations are often performed at the beginning of the establishment of production scale. In particular, site delete operations, unlike new creation and modification, are often accompanied by a risk of data loss. In the prior art, a prompt is generally given before the deletion operation takes effect, and after the confirmation, the real-time database clears the information and data of the deleted measuring point and performs information synchronization at the disk level, and the operation is irreversible.
Under the condition of huge measuring point information amount and higher measuring point updating frequency, the phenomenon of mistaken deletion still often occurs in batch deletion operation, certain hidden dangers exist, and sometimes important information loss may bring certain production economic loss.
Disclosure of Invention
The invention aims to solve the problems in the prior art, and provides a method, a system, a storage medium and a server for deleting and recycling a real-time database measuring point.
In order to achieve the purpose, the invention has the following technical scheme:
in a first aspect, an embodiment of the present invention provides a method for deleting and recovering a real-time database measurement point, including the following steps:
sending a request for deleting a measuring point and measuring point data needing to be deleted from a client to a network service;
the network service receives the request for deleting the measuring points and the measuring point data needing to be deleted and then forwards the request to the measuring point service;
the point measuring service carries out deleting operation processing and searches the deleted point information; if the deleted measuring point information can be found, backing up the deleted measuring point information to a recovery station, if the deleted measuring point information cannot be found, returning that the deleted measuring point does not exist, and stopping deleting operation;
after the deleted measuring point information is backed up to the recycle bin, the measuring point service returns measuring point deletion success information, synchronizes the recycle bin information to the storage device, updates the information in the recycle bin into a storage file, and simultaneously informs other services of deleting the measuring point;
and the network service returns the information of successful or failed point deletion to the client after receiving the information.
As a preferred scheme of the real-time database measuring point deleting and recovering method, the deleted measuring point information backed up in the recovery station can be recovered, and the recovering method comprises the following steps:
the client sends a recovery recycle bin measuring point request to a measuring point service through the network service;
after receiving a recovery station measurement point request, the measurement point service firstly detects whether the transmission information exists in the recovery station, if not, returns a search error to the client side, and stops recovery; and if so, recovering the measuring point information, immediately synchronizing the information to the storage device, updating the measuring point information into the storage file, and returning to the recovery.
As a preferred scheme of the real-time database measuring point deleting and recycling method, the deleted measuring point information backed up in the recycling station can be cleared, and the clearing method comprises the following steps:
the client sends a request for clearing the measuring point of the recycle bin to the recycle bin through the network service;
and after receiving the request for clearing the measuring point of the recycle bin, the recycle bin clears the corresponding measuring point or clears the measuring point, and returns clearing information.
As a preferable scheme of the method for deleting and recycling the measuring points of the real-time database, the information of the measuring points to be deleted, which is backed up in the recycling station, can position the measuring points by transmitting the names or the description information of the measuring points.
As a preferable scheme of the method for deleting and recycling the measuring points of the real-time database, when the information of the measuring points to be deleted is searched, the positions of the measuring points are calculated and positioned through a complementation hash table, the ID of the measuring points to be deleted is set to be 0, and when the information is recovered, the ID of the measuring points to be deleted is added into the complementation hash table again.
As a preferable scheme of the real-time database measuring point deleting and recycling method, deleted measuring point information is backed up to a recycling station or the deleted measuring point information backed up in the recycling station is restored and the data is verified and requested before being cleared, the deleted measuring point is searched after verification is successful, and if verification fails, verification failure information is returned, and deletion is stopped.
In a second aspect, an embodiment of the present invention further provides a real-time database measurement point deleting and recycling system, including:
the request sending module is used for sending a request for deleting the measuring point and the measuring point data needing to be deleted from the client to the network service;
the service forwarding module is used for forwarding the request for deleting the measuring point and the measuring point data needing to be deleted to the measuring point service after the network service receives the request for deleting the measuring point and the measuring point data needing to be deleted;
the deleting backup module is used for deleting operation processing of the measuring point service and searching deleted measuring point information; if the deleted measuring point information can be found, backing up the deleted measuring point information to a recovery station, if the deleted measuring point information cannot be found, returning that the deleted measuring point does not exist, and stopping deleting operation;
the measuring point updating module is used for returning measuring point deleting success information to the storage device after the deleted measuring point information is backed up to the recycle bin, synchronizing the recycle bin information to the storage device, updating the information in the recycle bin to a storage file and simultaneously informing other services of deleting the measuring point;
and the information feedback module is used for returning the information of successful or failed detection point deletion received by the network service to the client.
In a third aspect, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the method for deleting and recycling a measure point of a real-time database is implemented.
In a fourth aspect, an embodiment of the present invention further provides a server, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the real-time database measure point deletion and recovery method when executing the computer program.
Compared with the prior art, the invention has the following beneficial effects:
when a measuring point is deleted, in order to prevent a user from deleting the measuring point by mistake, a recycle bin function is added, data is backed up into the measuring point recycle bin, the backed-up data is synchronized to storage equipment such as a physical disk, and then measuring point information is deleted, so that the fault tolerance of real-time database data processing is improved, a clearing operation can be performed after the measuring point is deleted for the second time, and the integrity of the data is ensured.
Furthermore, the invention adds verification operation to the measuring point service, backs up the deleted measuring point information to the recycle bin or recovers and clears the backed-up deleted measuring point information in the recycle bin, firstly verifies the request data before verification, searches for the deleted measuring point after verification is successful, and stops deletion if verification fails and returns verification failure information. The invention firstly verifies the request data when deleting, recovering and clearing the measuring point information, thereby preventing service errors caused by errors of the request data in the transmission process, further influencing the processing result and improving the safety of the real-time database.
It is understood that the beneficial effects of the second to fourth aspects can be seen from the description of the first aspect, and are not described herein again.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
FIG. 1 is a flowchart of a real-time database measurement point deletion recovery method according to an embodiment of the present invention;
FIG. 2 is a flowchart of a site restore process according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating a site cleanup process according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer and clearer, the present invention is further described in detail below with reference to the following detailed description and the accompanying drawings. The invention is capable of other and different embodiments and of being practiced or of being carried out in various ways, and its several details are capable of modification in various respects, all without departing from the spirit and scope of the present invention. It is to be noted that the features in the following embodiments and examples may be combined with each other without conflict.
Referring to fig. 1, an embodiment of the method for deleting and recycling the measurement points of the real-time database of the present invention includes the following steps:
step 11: sending a request for deleting a measuring point and measuring point data needing to be deleted from a client to a network service;
the request for deleting the measuring points can position the measuring points by transmitting information such as name or description of the measuring points, and the request for deleting is sent to the network service together with the data of the measuring points to be deleted.
Step 12: the network service receives the measuring point deleting request and the data and then forwards the request and the data to the measuring point service;
step 13: the point measurement service carries out deletion operation processing after receiving the request data, and if the information of the deleted point is found, the point measurement is backed up to the recycle bin; if the deletion point is not found, returning that the deletion point does not exist, and stopping deletion;
the deleting, recovering and clearing operation processing firstly verifies the request data before searching the deleting point, the deleting measuring point searching is carried out after the verification is successful, and the deleting is stopped if the verification fails and verification failure information is returned. The failure may result from a network service forwarding error, and the verification may further ensure the correctness of the delete operation.
And searching for the deleted point information, calculating and positioning the position of the measured point in the shared memory through the complementary hash table, and setting the ID of the searched measured point to be 0.
Step 14: after the deleted point information is moved to the recycle bin, the point measuring service returns deleted success information, and immediately synchronizes information to the physical disk, updates the recycled information into a storage file, and simultaneously informs other services of deleting the measured point;
step 15: and the network service returns the information of successful or failed point deletion to the client after receiving the information.
After receiving the information returned by the point measurement service, the network service immediately forwards the information to the client result, failure information is returned when verification fails and no point measurement exists, and the subsequent operation of the point measurement service is stopped.
Referring to fig. 2, the deleted measurement point information backed up in the recycle bin can be restored, and the measurement point restoring method of the embodiment of the present invention includes the following steps:
step 21: sending a recovery station measuring point request and measuring point data needing to be recovered to network service from a client;
step 22: the network service receives the measuring point deleting request and the data and then forwards the request and the data to the measuring point service;
step 23: after receiving the request data, the station measuring service carries out recovery operation processing, firstly, whether the transmission information exists in the recycle bin or not is detected, the station measuring information is recovered, and a recovery station measuring ID is added into the surplus hash table; if not, returning to the condition that the recovery point does not exist, and stopping recovery;
step 24: after the recovery is finished, the point measuring service returns recovery success information, and immediately synchronizes information to the physical disk, updates the recovery information into a storage file, and simultaneously informs other services of recovering the point measuring;
step 25: and the network service returns the information of successful or failed test point recovery to the client after receiving the information.
Referring to fig. 3, the deleted measurement point information backed up in the recycle bin can be cleared, and the measurement point clearing method of the embodiment of the present invention includes the following steps:
step 31: sending a request for clearing a measuring point of a recycle bin and measuring point data needing clearing from a client to a network service;
step 32: the network service receives the measuring point clearing request and the data and then forwards the measuring point clearing request and the data to the recycle bin;
step 33: the recycle bin carries out clearing operation after receiving the request data;
step 34: after the clearing is finished, the recycle bin returns the clearing success information, and immediately clears and stores the physical disk synchronization information;
step 35: and the network service returns the measurement point clearing information to the client after receiving the measurement point clearing information.
The method for deleting and recycling the measuring points of the real-time database is applied to a Ruiteng real-time database system, serves around the measuring points, adds a recycling mechanism after the measuring points are deleted, and is provided with a recycling station. In practical application, the operation fault tolerance rate is greatly improved, for the measuring points deleted by mistake, the loss of the configuration of the measuring points and the disk information cannot be caused after the recovery is executed, and the integrity of the function of the database is ensured.
Another embodiment of the present invention further provides a real-time database point deletion and recovery system, including:
the request sending module is used for sending a request for deleting the measuring point and the measuring point data needing to be deleted from the client to the network service;
the service forwarding module is used for forwarding the request for deleting the measuring point and the measuring point data needing to be deleted to the measuring point service after the network service receives the request for deleting the measuring point and the measuring point data needing to be deleted;
the deleting backup module is used for deleting operation processing of the measuring point service and searching deleted measuring point information; if the deleted measuring point information can be found, backing up the deleted measuring point information to a recovery station, if the deleted measuring point information cannot be found, returning that the deleted measuring point does not exist, and stopping deleting operation;
the measuring point updating module is used for returning measuring point deleting success information to the storage device after the deleted measuring point information is backed up to the recycle bin, synchronizing the recycle bin information to the storage device, updating the information in the recycle bin to a storage file and simultaneously informing other services of deleting the measuring point;
and the information feedback module is used for returning the information of successful or failed detection point deletion received by the network service to the client.
The invention further provides a computer readable storage medium, which stores a computer program, and the computer program realizes the steps of the real-time database measuring point deleting and recycling method when being executed by a processor.
The invention further provides a server, which comprises a memory, a processor and a computer program stored in the memory and capable of running on the processor, wherein the processor implements the steps of the real-time database measure point deletion recycling method when executing the computer program.
Illustratively, the computer program may be divided into one or more modules/units, which are stored in a computer-readable storage medium and executed by the processor to perform the steps of the real-time database site deletion reclamation method described herein. The one or more modules/units may be a series of computer-readable instruction segments capable of performing certain functions, which are used to describe the execution of the computer program in the server.
The server can be a notebook computer, a desktop computer, a cloud server and other computing devices. The server may include, but is not limited to, a processor, a memory. Those skilled in the art will appreciate that the server may also include more or fewer components, or some components in combination, or different components, e.g., the server may also include input output devices, network access devices, buses, etc.
The Processor may be a CentraL Processing Unit (CPU), other general purpose Processor, a DigitaL SignaL Processor (DSP), an AppLication Specific Integrated Circuit (ASIC), an off-the-shelf ProgrammabLe Gate Array (FPGA) or other ProgrammabLe logic device, discrete Gate or transistor logic device, discrete hardware component, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The storage may be an internal storage unit of the server, such as a hard disk or a memory of the server. The memory may also be an external storage device of the server, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure DigitaL (SD) Card, a FLash memory Card (FLash Card), or the like provided on the server. Further, the memory may also include both an internal storage unit of the server and an external storage device. The memory is used to store the computer readable instructions and other programs and data needed by the server. The memory may also be used to temporarily store data that has been output or is to be output.
It should be noted that, for the information interaction, execution process, and other contents between the above-mentioned devices/units, the specific functions and technical effects thereof are based on the same concept as those of the method embodiment, and specific reference may be made to the part of the method embodiment, which is not described herein again.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the processes in the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium and can implement the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer readable medium may include at least: any entity or device capable of carrying computer program code to a photographing apparatus/terminal apparatus, a recording medium, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), an electrical carrier signal, a telecommunications signal, and a software distribution medium. Such as a usb-disk, a removable hard disk, a magnetic or optical disk, etc.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (9)

1. A real-time database measuring point deleting and recycling method is characterized by comprising the following steps:
sending a request for deleting a measuring point and measuring point data needing to be deleted from a client to a network service;
the network service receives the request for deleting the measuring points and the measuring point data needing to be deleted and then forwards the request to the measuring point service;
the point measuring service carries out deleting operation processing and searches the deleted point information; if the deleted measuring point information can be found, backing up the deleted measuring point information to a recovery station, if the deleted measuring point information cannot be found, returning that the deleted measuring point does not exist, and stopping deleting operation;
after the deleted measuring point information is backed up to the recycle bin, the measuring point service returns measuring point deletion success information, synchronizes the recycle bin information to the storage device, updates the information in the recycle bin into a storage file, and simultaneously informs other services of deleting the measuring point;
and the network service returns the information of successful or failed point deletion to the client after receiving the information.
2. The real-time database measure point deleting and recycling method of claim 1, wherein the deleted measure point information backed up in the recycle bin can be restored, and the restoring method comprises the following steps:
the client sends a recovery recycle bin measuring point request to a measuring point service through the network service;
after receiving a recovery station measurement point request, the measurement point service firstly detects whether the transmission information exists in the recovery station, if not, returns a search error to the client side, and stops recovery; and if so, recovering the measuring point information, immediately synchronizing the information to the storage device, updating the measuring point information into the storage file, and returning to the recovery.
3. The real-time database measure point deleting and recycling method of claim 1, wherein the deleted measure point information backed up in the recycle bin can be cleared, and the clearing method comprises the following steps:
the client sends a request for clearing the measuring point of the recycle bin to the recycle bin through the network service;
and after receiving the request for clearing the measuring point of the recycle bin, the recycle bin clears the corresponding measuring point or clears the measuring point, and returns clearing information.
4. The method for deleting and recycling the measure points of the real-time database according to claim 1, wherein the deleted measure point information backed up in the recycle bin can locate the measure points by transmitting the name or description information of the measure points.
5. The method for deleting and recycling the measuring points of the real-time database according to claim 1, wherein the positions of the measuring points are calculated and positioned through a complementary hash table when the information of the measuring points to be deleted is searched, the ID of the measuring points to be deleted is set to be 0, and the ID of the measuring points to be deleted is added into the complementary hash table again when the information of the measuring points to be deleted is recovered.
6. The method for deleting and recovering the measuring points of the real-time database according to claim 1, wherein the deleted measuring point information is backed up to the recovery station or the data of the verification request is verified before the deleted measuring point information backed up in the recovery station is recovered and cleared, the deleted measuring point is searched after the verification is successful, and the deletion is stopped if the verification fails and the verification failure information is returned.
7. A real-time database measurement point deletion recovery system is characterized by comprising:
the request sending module is used for sending a request for deleting the measuring point and the measuring point data needing to be deleted from the client to the network service;
the service forwarding module is used for forwarding the request for deleting the measuring point and the measuring point data needing to be deleted to the measuring point service after the network service receives the request for deleting the measuring point and the measuring point data needing to be deleted;
the deleting backup module is used for deleting operation processing of the measuring point service and searching deleted measuring point information; if the deleted measuring point information can be found, backing up the deleted measuring point information to a recovery station, if the deleted measuring point information cannot be found, returning that the deleted measuring point does not exist, and stopping deleting operation;
the measuring point updating module is used for returning measuring point deleting success information to the storage device after the deleted measuring point information is backed up to the recycle bin, synchronizing the recycle bin information to the storage device, updating the information in the recycle bin to a storage file and simultaneously informing other services of deleting the measuring point;
and the information feedback module is used for returning the information of successful or failed detection point deletion received by the network service to the client.
8. A computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the steps of the real-time database site deletion reclamation method as recited in any one of claims 1 to 6.
9. A server comprising a memory, a processor and a computer program stored in said memory and executable on said processor, wherein said processor when executing said computer program performs the steps of a real-time database site deletion reclamation method as recited in any one of claims 1 to 6.
CN202111189067.0A 2021-10-12 2021-10-12 Real-time database measuring point deletion recovery method, system, storage medium and server Pending CN113961393A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111189067.0A CN113961393A (en) 2021-10-12 2021-10-12 Real-time database measuring point deletion recovery method, system, storage medium and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111189067.0A CN113961393A (en) 2021-10-12 2021-10-12 Real-time database measuring point deletion recovery method, system, storage medium and server

Publications (1)

Publication Number Publication Date
CN113961393A true CN113961393A (en) 2022-01-21

Family

ID=79463695

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111189067.0A Pending CN113961393A (en) 2021-10-12 2021-10-12 Real-time database measuring point deletion recovery method, system, storage medium and server

Country Status (1)

Country Link
CN (1) CN113961393A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114547018A (en) * 2022-04-24 2022-05-27 西安热工研究院有限公司 Method and system for automatically cleaning waste points of SIS real-time database
CN114579408A (en) * 2022-05-05 2022-06-03 西安热工研究院有限公司 System and method for analyzing real-time equation of real-time database
CN117119053A (en) * 2023-01-28 2023-11-24 荣耀终端有限公司 Terminal cloud collaborative data management method, terminal, system and readable storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114547018A (en) * 2022-04-24 2022-05-27 西安热工研究院有限公司 Method and system for automatically cleaning waste points of SIS real-time database
CN114547018B (en) * 2022-04-24 2022-08-16 西安热工研究院有限公司 Method and system for automatically cleaning waste points of SIS real-time database
CN114579408A (en) * 2022-05-05 2022-06-03 西安热工研究院有限公司 System and method for analyzing real-time equation of real-time database
CN117119053A (en) * 2023-01-28 2023-11-24 荣耀终端有限公司 Terminal cloud collaborative data management method, terminal, system and readable storage medium

Similar Documents

Publication Publication Date Title
CN113961393A (en) Real-time database measuring point deletion recovery method, system, storage medium and server
US10031692B2 (en) Synchronization for initialization of a remote mirror storage facility
CN108153784B (en) Synchronous data processing method and device
US11921748B1 (en) Method and apparatus for using representations of blocks of data when continuously comparing two databases which are actively being kept synchronized
CN111753013A (en) Distributed transaction processing method and device
CN112286728A (en) Data backup method, device, equipment and computer storage medium
CN110263095B (en) Data backup and recovery method and device, computer equipment and storage medium
CN106708657A (en) Metadata management method and apparatus, and distributed file system
CN111290961A (en) Interface test management method and device and terminal equipment
US9015116B2 (en) Consistent replication of transactional updates
US10635636B1 (en) Hyper-V virtual machine synthetic full backup where user and recovery snapshots coexist
CN116089394A (en) Data rollback method, storage medium and device of database
CN110795259A (en) Method and device for analyzing application collapse
CN114297003A (en) Database node fault recovery method, device, equipment and storage medium
CN114385188A (en) Code workload statistical method and device and electronic equipment
US11157367B1 (en) Promotional logic during database differential backup
CN112596867A (en) Suspension transaction processing method and distributed database system
CN112860376A (en) Snapshot chain making method and device, electronic equipment and storage medium
CN112165512B (en) File release method and device, terminal equipment and storage medium
US11599428B2 (en) Protecting databases in a distributed availability group
CN114442947B (en) Cross-domain bucket deleting method, system, terminal and storage medium
CN118210782A (en) Data migration method, apparatus, device, computer storage medium, and program product
CN114201337A (en) Backup method and related device
CN117215838A (en) Data processing method, device, equipment and medium of database
CN116226079A (en) Method for processing data operation errors of database, storage medium and equipment

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