CN109491836A - Data reconstruction method, device and base station - Google Patents

Data reconstruction method, device and base station Download PDF

Info

Publication number
CN109491836A
CN109491836A CN201811275946.3A CN201811275946A CN109491836A CN 109491836 A CN109491836 A CN 109491836A CN 201811275946 A CN201811275946 A CN 201811275946A CN 109491836 A CN109491836 A CN 109491836A
Authority
CN
China
Prior art keywords
data
target
data management
management process
database
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811275946.3A
Other languages
Chinese (zh)
Other versions
CN109491836B (en
Inventor
崔磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Comba Network Systems Co Ltd
Original Assignee
Comba Telecom Technology Guangzhou Ltd
Comba Telecom Systems China Ltd
Comba Telecom Systems Guangzhou Co Ltd
Tianjin Comba Telecom Systems 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 Comba Telecom Technology Guangzhou Ltd, Comba Telecom Systems China Ltd, Comba Telecom Systems Guangzhou Co Ltd, Tianjin Comba Telecom Systems Co Ltd filed Critical Comba Telecom Technology Guangzhou Ltd
Priority to CN201811275946.3A priority Critical patent/CN109491836B/en
Publication of CN109491836A publication Critical patent/CN109491836A/en
Application granted granted Critical
Publication of CN109491836B publication Critical patent/CN109491836B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/1464Management of the backup or restore process for networked environments

Abstract

This application involves a kind of data reconstruction methods, comprising: log-on data managing process;Wherein, data management process is the process for interaction data between each process of transfer;Pass through the corresponding target data of data management process backup target process;Target process is any process in each process;If data management process detection exception occurs to target process, according to target data, data recovery is carried out to target process by data management process.Target data by establishing independent data management process, for the transfer of interaction data between each process, in backup interaction data.When being abnormal during target process transmission interaction data, data recovery can be carried out rapidly, can also improve the stability of base station, reduces the exploitation and maintenance cost of the software of base station.

Description

Data reconstruction method, device and base station
Technical field
This application involves technical field of communication processing, more particularly to a kind of data reconstruction method, device and base station.
Background technique
With the development of mobile communication technology, various base station equipments are widely used.Between different base stations with And the data interaction between inside of base station is more and more frequent, base station software run-time error, the abnormal operation of maintenance personnel and malice The damage for destroying the loss or database file that can all lead to transmit data causes data traffic interruptions, influences data interaction Or the correctness of storage, or even can not work normally base station, need depot repair.
Data transmission failure can be divided into two kinds of forms, a kind of failure for deposit data library, and the failure in deposit data library may include Permanent fault and temporary derangement.Database is frequently read and write in artificial destruction, can lead to database file damage, permanent event occurs Barrier.And temporary derangement, such as self-healing, database will not be destroyed, but will lead to the data content in the interim table of data base buffer It loses, influences the system worked well of base station.Another kind is that number is transmitted caused by the failure in not deposit data library, such as network failure According to the configuration files such as loss, journal file or performance file damage.The loss of significant data or the damage of configuration file can Cause the system exception of base station.However, inventor has found that traditional base station not yet exists effectively in realizing process of the present invention Scheme is able to solve the above-mentioned data transmission failure occurred in base station.
Summary of the invention
Based on this, it is necessary in view of the above technical problems, provide a kind of data reconstruction method, a kind of Data Recapture Unit with And a kind of base station.
To achieve the above object, the embodiment of the present invention uses following technical scheme:
On the one hand, the embodiment of the present invention provides a kind of data reconstruction method, includes the following steps:
Log-on data managing process;Wherein, the data management process is for interaction data between each process of transfer Process;
Pass through the corresponding target data of the data management process backup target process;The target process is described each Any process in process;
If the data management process detection exception occurs to the target process, according to the target data, pass through The data management process carries out data recovery to the target process.
In one of the embodiments, the interaction data include database file, the interim table of database and database forever Long relation table, the target data include the interim table of database.
The method also includes steps in one of the embodiments:
Pass through database file described in the target process timed backup;
If the interim table of the corresponding database of the database file and/or database permanent relationship table change, standby The interim table of the database and/or database permanent relationship table after part change.
The method also includes steps in one of the embodiments:
It, will by the target process after the data management process resumption if the data management process exception The interim table of database is synchronized to the data management process.
If the data management process detection occurs abnormal, root to the target process in one of the embodiments, According to the target data, the step of data recovery is carried out to the target process by the data management process, comprising:
If the data management process detection exception occurs to the target process, deleted by the data management process The target process is synchronized to except the database file in the target process, and by the database file of backup;
It is by the data management process that the interim table of the database of backup and the database permanent relationship table is same It walks to the target process.
The method also includes steps in one of the embodiments:
The target process is notified to back up the database file by the data management process.
The target data includes file data packet in one of the embodiments,;
If the data management process detection exception occurs to the target process, according to the target data, pass through The step of data management process carries out data recovery to the target process, comprising:
If the data management process detection exception occurs to the target process, pass through the data management process root According to the nearest received file data packet, the target process is notified to restore to send the remaining file data packet;
By the data management process, the remaining file data packet is forwarded.
The target data further includes state parameter data in one of the embodiments,;
If the data management process detection exception occurs to the target process, according to the target data, pass through The step of data management process carries out data recovery to the target process, further includes:
It, will by the data management process if the data management process detection exception occurs to the target process The state parameter data synchronization updating is to the target process.
The target data further includes performance data in one of the embodiments,;
If the data management process detection exception occurs to the target process, according to the target data, pass through The step of data management process carries out data recovery to the target process, further includes:
It, will by the data management process if the data management process detection exception occurs to the target process The state parameter data and the performance data synchronized update are to the target process.
In one of the embodiments, the method also includes:
If the data management process exception, institute is updated to the data management Process Synchronization by the target process State state parameter data and/or the performance data.
On the other hand, a kind of Data Recapture Unit is also provided, comprising:
Process initiation module is used for log-on data managing process;Wherein, the data management process is each for transfer The process of interaction data between process;
Target backup module, for passing through the corresponding target data of the data management process backup target process;It is described Target process is any process in each process;
Recovery module is used for when the data management process detection to the target process occurs abnormal, according to described Target data carries out data recovery to the target process by the data management process.
Another aspect, also provides a kind of base station, including memory and processor, and the memory is stored with computer journey The step of sequence, the processor realizes above-mentioned data reconstruction method when executing the computer program.
In another aspect, also providing a kind of computer readable storage medium, it is stored thereon with computer program, the computer The step of above-mentioned data reconstruction method is realized when program is executed by processor.
A technical solution in above-mentioned technical proposal is had the following advantages and beneficial effects:
Above-mentioned data reconstruction method, by establishing independent data management process, for interaction data between each process Transfer, the target data in backup interaction data.When data management process detection to target process is abnormal, data pipe Reason process can use the target data of backup to carry out data recovery to the target process being abnormal, to restore target process State to being abnormal the normal condition before the moment.In this way, can occur during target process transmits interaction data different Chang Shi can carry out rapidly data recovery, can also improve the stability of base station, reduce the software of base station exploitation and maintenance at This.
Detailed description of the invention
Fig. 1 is the application environment schematic diagram of data reconstruction method in one embodiment;
Fig. 2 is the first pass schematic diagram of data reconstruction method in one embodiment;
Fig. 3 is the second procedure schematic diagram of data reconstruction method in one embodiment;
Fig. 4 is the abnormal restoring flow diagram in one embodiment in database scene;
Fig. 5 is the third flow diagram of data reconstruction method in one embodiment;
Fig. 6 is to carry out data to target process in one embodiment to restore optional flow diagram;
Fig. 7 is the 4th flow diagram of data reconstruction method in one embodiment;
Fig. 8 is the recovery flow diagram of state parameter in one embodiment;
Fig. 9 is file or the recovery flow diagram of performance data in one embodiment;
Figure 10 is the modular structure schematic diagram of Data Recapture Unit in one embodiment.
Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understood The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, not For limiting the application.
Data reconstruction method provided by the present application can be applied to the number between different base station systems and between inside of base station According to interaction, as shown in Figure 1, such as LTE base station or LTE base station system.By taking LTE base station as an example, in inside of base station, base station is Unite in operational process, can establish an independent data management process and come to other each processes, such as data-transfer process and Database service process etc. interacts the transfer of data.It base station can be by data management process come to one or more The interaction data of target process transmission carries out transfer, and the target data in the interaction data of backup target process transmission.To, Lead to interaction data Transmission when data management process detection to target process is abnormal, influences the data with other processes When the correctness of interactive or data storage, data management process can be counted target process according to the target data of backup According to recovery, so that abnormal target process occur is promptly restored to the normal condition before the abnormal moment.
Referring to Fig. 2, in one embodiment, a kind of data reconstruction method is provided, with the data reconstruction method application It is illustrated in base station, includes the following steps S12 to S16:
S12, log-on data managing process;Wherein, data management process is for interaction data between each process of transfer Process.
It is appreciated that in the system operation of base station, can be started by processor an independent data management into Journey directly or indirectly interacts between the data management process and each process, as the hinge process of each process, in Turn the interaction data between each process.
S14 passes through the corresponding target data of data management process backup target process;Target process is in each process Any process.
Wherein, target data be transmission interaction data in, can be used for the data of recovering process state or transmission, such as State class supplemental characteristic, files classes data or relation table class data.Interact with itself one of data management process pair is more A target process interacts data relay simultaneously, can back up to the target data in interaction data.
Specifically, base station in the process of running can by data management process, to the interaction data of target process into Row transfer and backup target data provide the unified management to each process transmission data.In other words, each target process The interaction data of transmission is being forwarded corresponding receiving side process by data management process.Data management process is in It, can in real time or the target data in schedule backup interaction data, in case when process exception, to do data extensive when turning interaction data It is multiple to use.
S14, according to target data, passes through data management if data management process detection exception occurs to target process Process carries out data recovery to target process.Wherein, it can be guidance extremely and cause transmission interaction data abnormal interrupt or error The situations such as recovery, corrupted data or loss after various unusual conditions, such as process self-healing, network interruption.Data recovery can be State before restoring the interaction data to abnormal moment of target process transmission, the state parameter for being also possible to restore target process arrive State before the abnormal moment can also be that other can enable target process normal transmission interaction data and holding interaction again The complete recovery process of data.
Specifically, in inside of base station, can by data management process transfer target process to receive target process different Normal report or active detecting transmitted to target process data occur it is abnormal (such as in the interaction data of target process transmission Disconnected, loss error) when, according to the target data of backup, data recovery is carried out to there is abnormal target process, such as will be corresponding Target data import, or import target data simultaneously, it is synchronous by the interaction data in other processes of target data association The target process that recovery is transmitted after exception is updated, so that the data transmission state of target process was restored to before the abnormal moment just Normal state.
In above-mentioned data reconstruction method, by establishing independent data management process, for interaction number between each process According to transfer, target data in backup interaction data.When data management process detection to target process is abnormal, data Managing process can use the target data of backup to carry out data recovery to the target process that is abnormal, with restore target into The state of journey is to being abnormal the normal condition before the moment.In this way, can occur during target process transmits interaction data When abnormal, data recovery can be carried out rapidly, can also improve the stability of base station, reduce the exploitation and maintenance of the software of base station Cost.
In one embodiment, interaction data includes database file, the interim table of database and database permanent relationship table. Target data includes the interim table of database.
It is appreciated that for the data transmitting scene of database in base station, above-mentioned target process can be but not limited to Database service process.Above-mentioned interaction data may include database file, the interim table of database and database permanent relationship Table.Specifically, database service process transmit database data when, such as transmission database file, can safeguard corresponding The interim table of data and database permanent relationship table.Data management process can be in the number that interim data library service processes transmit Whens according to library file etc., then the interim table of corresponding database can be backed up, to provide when database service process occurs abnormal The interim table of database needed for the data recovery procedure of database service process.
Fig. 3 and Fig. 4 are please referred to, in one embodiment, above-mentioned data reconstruction method further includes step S13a and S13b:
S13a passes through target process timed backup database file.
It is appreciated that for the data transmitting scene of database in base station, target process (such as database service processes), In the data procedures for handling database, in addition to completing the load of normal database file, parameter configuration files are imported or export It, can periodically Backup Data library file outside the operations such as database.The database file of backup is possibly stored to non-volatile deposit It is spare on reservoir, such as the FLASH memory in base station.For example, target process can periodically detect whether data file goes out It is now abnormal, such as database file is damaged or other abnormal conditions.If to detection end cycle when, database file is not There are abnormal conditions, then Backup Data library file, so that exception, such as database file damage, database occurs in target process Occur the abnormal conditions such as deadlock or self-healing when, data management process can call the database file of backup to target process into Row data are restored.Wherein Fig. 4 is optional a kind of abnormal restoring flow diagram in the data transmitting scene of database.
S13b, it is standby if the interim table of the corresponding database of database file and/or database permanent relationship table change The interim table in part changed data library and/or database permanent relationship table.
It is appreciated that the database that database saves can occur for target process interim in transmitting above-mentioned data procedures When table changes or wide area information server permanent relationship table changes, the database after immediate backup changes is interim Table or database permanent relationship table.Target process can also change in the interim table of database and database permanent relationship table When change, the interim table of immediate backup database and database permanent relationship table.For example, target process passes through the interim table of registration database Call back function, realization change in the interim table of database, then the interim table of database after variation is backuped to accordingly immediately In the configuration file of volatile ram.Target process passes through the call back function of registration database permanent relationship table, realizes in data Library permanent relationship table changes, then immediately backups to the database permanent relationship table after variation in corresponding configuration file, Such as the data base configuration file on FLASH memory.
In this way, S13a and S13b through the above steps, data management process can in target process interactive process, It backs up in realtime the interim table of database therein, it is so as to when detecting that target process occurs abnormal, the database of backup is interim Table is supplied to target process, after the Backup Data library file and data library permanent relationship table that import target process, is backed up The interim table of database complete data and restore.
Referring to Fig. 5, in one embodiment, above-mentioned data reconstruction method further includes step S17:
S17 after data management process resumption, is faced database by target process if data management process exception When table be synchronized to data management process.
Specifically, during data management process and other target process interact, if data management process itself It is abnormal, such as database file abnormality detection thread is activated individually in data management process, detects the data library text of transfer When deadlock occurs for part, self-healing or process are damaged, after data management process resumption, preserve the target of the interim table of database into Row can to data management process import the interim table of database, thus data management process can be restored back to be abnormal when Normal condition before quarter.After data management process resumption normal condition, it can notify that other target process of interaction are synchronous more The interim table of new database, it is ensured that the recovery and accuracy of data relay.
Referring to Fig. 6, in one embodiment, for step S16, can specifically include following steps S162 and S164:
S162 passes through data management process-kill target if data management process detection exception occurs to target process Database file in process, and the database file of backup is synchronized to target process;
The interim table of the database of backup and database permanent relationship table are synchronized to target by data management process by S164 Process.
Specifically, after the database file that data base administration process detection to target process transmits is by abnormal damage, number According to managing process by database file original in delete target process, and by the database file of backup be loaded into target into Journey is completed the synchronous of database file and is restored.However, when the database file in target process is compared to abnormal occur at this time It carves, can have partial data and not update last state, and the interim table of database and database permanent relationship table are also in loss State.Therefore, data management process can continue to import the interim table of database of backup to target process and database permanently closes It is table, normal condition namely last state before the database file of target process to be restored to the abnormal generation moment.This Afterwards, with target process interaction other processes can by with target process interact complete data it is synchronous, recovery normally Data transmission and processing.When other processes for interacting with target process occur abnormal, such as self-healing, then its after abnormal restoring When his process is linked into target process, the data after recovery can be synchronized to other processes above-mentioned by target process, so that should Other processes are promptly restored to abnormal preceding normal condition.
S162 and S164 through the above steps, can be when target process be abnormal situation, by data management process Corresponding Backup Data is synchronized, rapidly and reliably realizes that the data of the target process after exception are restored, can additionally pass through Other processes of target process Fast synchronization further increase the efficiency of data recovery and the stability of base station system, are conducive to reduce Maintenance cost.
Referring to Fig. 7, in one embodiment, above-mentioned data reconstruction method can also include step S18:
S18 notifies target process Backup Data library file by data management process.
It is appreciated that when the database file of backup is synchronized to target process by above-mentioned data management process, storage Backup Data library file is in case use.Data management process simultaneously, can lead to target process load Backup Data library file Know that target process carries out Backup of database files again, backs up spare on the database file to nonvolatile memory.In this way, S18 through the above steps can ensure to improve target process abnormal restoring there are available Backup Data library file at any time Reliability, and then improve the system stability of base station.
Referring to Fig. 8, in one embodiment, target data includes state parameter data.It is specific to go back about step S16 May include following process:
If data management process detection exception occurs to target process, pass through data management process for state parameter data Synchronized update is to target process.Wherein, state parameter data are the state class parameter after target process completion function switch, such as In LTE base station, state, the connection status of S1 or X2 link etc. that state, the network configuration that each chip configuration is completed are completed are loaded State parameter data.
Specifically, target process after the function switch for completing certain stage, corresponding state parameter data can be synchronized Data management process is sent to be backed up.When target process occurs abnormal, data management process then can be by the shape of backup State supplemental characteristic synchronized update is to there is abnormal target process, so that target process is fast according to the state parameter data received Normal condition before quick-recovery to abnormal moment.It is appreciated that can similarly understand for other target process.
The detailed process of S16 through the above steps can pass through data management process when target process occurs abnormal By the state parameter data synchronization updating of backup to corresponding target process, restore the state parameter of target process rapidly, it is ensured that Target process correctly can transmit and handle all kinds of interaction datas.
Referring to Fig. 9, in one embodiment, target data further includes file data packet.It is specific to go back about step S16 May include following process:
If data management process detection occur to target process it is abnormal, by data management process according to having received recently File data packet, notice target process restores to send remaining file data packet;By data management process, it is surplus to restore forwarding Remaining file data packet.
Wherein, the profile data packet that file data packet transmits between different processes, for example, log, performance or its His configuration file.Specifically, data management process is in transfer file data in a base station in the transmitting scene of non-database data Bao Shi can recorde the file data packet for receiving target process such as process A, and the file data packet forwarded, such as forward To the file data packet of process B.When target process occurs abnormal, such as unstable networks or other reasons lead to target process When transmitting file data packet abnormal interrupt, data management process then can be when transmission conditions be restored, such as setting time Intranet When network restores, nearest received file data packet is notified that, to target process, target process then can be from the number of files of interruption According to package location, continue to send remaining file data packet being given to data management process.In turn, data management process can be from nearest The file data packet forwarded not successfully continues to forward remaining file data packet, is such as forwarded to process B.
In this way, the detailed process of S16 through the above steps, can occur in target process abnormal, lead to file data packet When failing to complete transmission, synchronizes the transmission state of target process rapidly by data management process, restore normal file data Packet transmission, avoids file data packet loss.
In one embodiment, target data further includes performance data.It specifically can also include as follows about step S16 Process:
If data management process detection exception occurs to target process, pass through data management process for state parameter data With performance data synchronized update to target process.Wherein, process critical function is influenced whether when performance data is loss of data Using or cause other data transmission with processing problem data.It is appreciated that the memory of data management process may store Data volume it is relatively limited for nonvolatile memory, therefore, data management process can only save data recovery Required target data, performance data, file data packet and state parameter data as escribed above etc., the file of remaining transfer is only It forwards.When target process occurs abnormal, such as there is performance data damage in target process, causes certain functions unavailable When, data management process can be by the performance data of backup together with state parameter data synchronization updating to target process, so that mesh Mark process is restored according to the performance data and state parameter data that receive.
The detailed process of S16 through the above steps can occur important performance data damage in target process or lose When mistake etc. is abnormal, backup and synchronized update by data management process can quickly and reliably be completed to restore, and improve target The data recovering efficiency and system stability of process.
In one embodiment, above-mentioned data reconstruction method further includes following steps:
If data management process exception, state parameter data are updated to data management Process Synchronization by target process And/or performance data.
It is appreciated that in above-mentioned base station in the transmitting scene of non-database data, when data management process occurs abnormal, Such as when the abnormal conditions such as loss of data of the self-healing of data management process or transfer, can also by the target with normal condition into Cheng Jinhang data synchronization updating, by the state parameter data or performance data on target process, or by state parameter number According to being synchronized to data management process together with performance data, so that data management process resumption is to normal condition, it is ensured that target into The normal transfer of all kinds of interaction datas of journey transmission.
Although should be understood that each step in the flow chart of Fig. 2 to Fig. 3 and Fig. 5 to Fig. 7 according to arrow Instruction is successively shown, but these steps are not that the inevitable sequence according to arrow instruction successively executes.Unless having herein bright True explanation, there is no stringent sequences to limit for the execution of these steps, these steps can execute in other order.And And at least part step of Fig. 2 to Fig. 3 and Fig. 5 to Fig. 7 may include multiple sub-steps or multiple stages, this is a little Step or stage are not necessarily to execute completion in synchronization, but can execute at different times, these sub-steps Perhaps the execution sequence in stage be also not necessarily successively carry out but can with the sub-step of other steps or other steps or At least part in person's stage executes in turn or alternately.
Referring to Fig. 10, in one embodiment, providing a kind of Data Recapture Unit 100, including process initiation module 12, target backup module 14 and recovery module 16, in which: process initiation module 12 is used for log-on data managing process;Wherein, institute Stating data management process is the process for interaction data between each process of transfer.Target backup module 12 is for passing through data The corresponding target data of managing process backup target process;Target process is any process in each process.Recovery module 14 For when data management process detection to target process occurs abnormal, according to target data, by data management process to mesh Mark process carries out data recovery.
Above-mentioned Data Recapture Unit 100, after 12 log-on data managing process of process initiation module, target backup mould Block 14 carries out transfer to the interaction data that target process transmits, and backs up target data therein.When target process is abnormal, The target data that backup can be utilized by data management process with recovery module 14, carries out data to the target process being abnormal Restore, to restore the state of target process to being abnormal the normal condition before the moment.It is handed in this way, can be transmitted in target process When being abnormal in mutual data procedures, data recovery can be carried out rapidly, the stability of base station can also be improved, reduce base station The exploitation and maintenance cost of software.
In one embodiment, Data Recapture Unit 100 can also include that database timed backup module and table data are standby Part module.Database timed backup module is for notifying target process timed backup database file.Table data backup module is used In when the interim table of the corresponding database of database file and/or database permanent relationship table change, back up after changing The interim table of database and/or database permanent relationship table.
In one embodiment, Data Recapture Unit 100 can also include the first recovery module.First recovery module is used for When forwarding backup module 12 abnormal, the interim table of database is synchronized to by forwarding backup module 12 by target process.
In one embodiment, recovery module 14 includes database file recovery module and relation table recovery module.
Database file recovery module is used in target process exception, notice forwarding 12 delete target process of backup module In database file, and the database file of backup is synchronized to target process.Relation table recovery module is for notifying forwarding The interim table of the database of backup and database permanent relationship table are synchronized to target process by backup module 12.
In one embodiment, Data Recapture Unit 100 can also include again backup module.Backup module is for notifying again Target process Backup Data library file.
Specific about Data Recapture Unit 100 limits the restriction that may refer to above for data reconstruction method, This is repeated no more.Modules in above-mentioned Data Recapture Unit 100 can come fully or partially through software, hardware and combinations thereof It realizes.Above-mentioned each module can be embedded in the form of hardware or independently of in the processor in computer equipment, can also be with software Form is stored in the memory in computer equipment, executes the corresponding operation of the above modules in order to which processor calls.
In one embodiment, a kind of base station is provided, which can be LTE base station or base station system.The base station Including processor, memory, network interface and the database connected by system bus, it is possible to understand that aforementioned show is main It constitutes, and not all composition.Wherein, the processor of the base station is for providing calculating and control ability.The memory packet of the base station Include non-volatile memory medium, built-in storage.The non-volatile memory medium is stored with operating system, computer program and data Library.The built-in storage provides environment for the operation of operating system and computer program in non-volatile memory medium.The base station Database for storing various transmission data.The network interface of the computer equipment is used to pass through net with external communication equipment Network connection communication.To realize a kind of data reconstruction method when the computer program is executed by processor.
In one embodiment, a kind of base station, including memory and processor are provided, is stored with computer in memory Program, the processor perform the steps of log-on data managing process when executing computer program;Wherein, data management process For the process for interaction data between each process of transfer;The corresponding target data of data management process backup target process; Target process is any process in each process;If there is exception to target process in data management process detection, according to mesh Data are marked, data recovery is carried out to target process by data management process.
In one embodiment, it can also realize that the data in the various embodiments described above are extensive when processor executes computer program The increase step or sub-step of compound method.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated Machine program performs the steps of log-on data managing process when being executed by processor;Wherein, data management process is for transfer The process of interaction data between each process: pass through the corresponding target data of data management process backup target process;Target into Journey is any process in each process;If data management process detection occur to target process it is abnormal, according to target data, Data recovery is carried out to target process by data management process.
In one embodiment, the data in the various embodiments described above can also be realized when computer program is executed by processor The increase step or sub-step of restoration methods.
Those of ordinary skill in the art will appreciate that realizing all or part of stream in above-described embodiment data reconstruction method Journey is relevant hardware can be instructed to complete by computer program, computer program to can be stored in one non-volatile In computer-readable storage medium, the computer program is when being executed, it may include such as the implementation of above-mentioned each data reconstruction method The process of example.Wherein, to memory, storage, database or other media used in each embodiment provided herein Any reference, may each comprise non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM (PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.It is volatile Property memory may include random access memory (RAM) or external cache.By way of illustration and not limitation, RAM It is available in many forms, such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of above embodiments can be combined arbitrarily, for simplicity of description, not to above-described embodiment In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance Shield all should be considered as described in this specification.
Above embodiments only express the several embodiments of the application, and the description thereof is more specific and detailed, but can not Therefore it is construed as limiting the scope of the patent.It should be pointed out that for those of ordinary skill in the art, Under the premise of not departing from the application design, various modifications and improvements can be made, these belong to the protection scope of the application. Therefore, the scope of protection shall be subject to the appended claims for the application patent.

Claims (13)

1. a kind of data reconstruction method, which comprises the steps of:
Log-on data managing process;Wherein, the data management process be between each process of transfer interaction data into Journey;
Pass through the corresponding target data of the data management process backup target process;The target process is each process In any process;
If there is exception to the target process in the data management process detection, according to the target data, by described Data management process carries out data recovery to the target process.
2. data reconstruction method according to claim 1, which is characterized in that the interaction data include database file, The interim table of database and database permanent relationship table, the target data include the interim table of database.
3. data reconstruction method according to claim 2, which is characterized in that the method also includes steps:
Pass through database file described in the target process timed backup;
If the interim table of the corresponding database of the database file and/or database permanent relationship table change, change is backed up The interim table of the database and/or database permanent relationship table after more.
4. data reconstruction method according to claim 2 or 3, which is characterized in that the method also includes steps:
It, will be described by the target process after the data management process resumption if the data management process exception The interim table of database is synchronized to the data management process.
5. data reconstruction method according to claim 4, which is characterized in that if the data management process detection is described in There is exception in target process, then according to the target data, is counted by the data management process to the target process According to the step of restoring, comprising:
If the data management process detection exception occurs to the target process, pass through the data management process-kill institute The database file in target process is stated, and the database file of backup is synchronized to the target process;
The interim table of the database of backup and the database permanent relationship table are synchronized to by the data management process The target process.
6. data reconstruction method according to claim 5, which is characterized in that the method also includes steps:
The target process is notified to back up the database file by the data management process.
7. data reconstruction method according to claim 1, which is characterized in that the target data includes file data packet;
If there is exception to the target process in the data management process detection, according to the target data, by described The step of data management process carries out data recovery to the target process, comprising:
If there is exception to the target process in the data management process detection, by the data management process according to most The nearly received file data packet notifies the target process to restore to send the remaining file data packet;
By the data management process, the remaining file data packet is forwarded.
8. data reconstruction method according to claim 7, which is characterized in that the target data further includes state parameter number According to;
If there is exception to the target process in the data management process detection, according to the target data, by described The step of data management process carries out data recovery to the target process, further includes:
It, will be described by the data management process if the data management process detection exception occurs to the target process State parameter data synchronization updating is to the target process.
9. data reconstruction method according to claim 8, which is characterized in that the target data further includes performance data;
If there is exception to the target process in the data management process detection, according to the target data, by described The step of data management process carries out data recovery to the target process, further includes:
It, will be described by the data management process if the data management process detection exception occurs to the target process State parameter data and the performance data synchronized update are to the target process.
10. data reconstruction method according to claim 9, which is characterized in that the method also includes:
If the data management process exception, the shape is updated to the data management Process Synchronization by the target process State supplemental characteristic and/or the performance data.
11. a kind of Data Recapture Unit characterized by comprising
Process initiation module is used for log-on data managing process;Wherein, the data management process is for each process of transfer Between interaction data process;
Target backup module, for passing through the corresponding target data of the data management process backup target process;The target Process is any process in each process;
Recovery module is used for when the data management process detection to the target process occurs abnormal, according to the target Data carry out data recovery to the target process by the data management process.
12. a kind of base station, including memory and processor, the memory are stored with computer program, which is characterized in that described Processor realizes the step of any one of claims 1 to 10 data reconstruction method when executing the computer program.
13. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program The step of data reconstruction method described in any one of claims 1 to 10 is realized when being executed by processor.
CN201811275946.3A 2018-10-30 2018-10-30 Data recovery method, device and base station Active CN109491836B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811275946.3A CN109491836B (en) 2018-10-30 2018-10-30 Data recovery method, device and base station

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811275946.3A CN109491836B (en) 2018-10-30 2018-10-30 Data recovery method, device and base station

Publications (2)

Publication Number Publication Date
CN109491836A true CN109491836A (en) 2019-03-19
CN109491836B CN109491836B (en) 2021-04-27

Family

ID=65693318

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811275946.3A Active CN109491836B (en) 2018-10-30 2018-10-30 Data recovery method, device and base station

Country Status (1)

Country Link
CN (1) CN109491836B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110377458A (en) * 2019-07-26 2019-10-25 努比亚技术有限公司 Data reconstruction method, mobile terminal and computer readable storage medium
CN112434045A (en) * 2020-12-10 2021-03-02 深圳市亿联无限科技有限公司 Method and device for inter-process big data communication of embedded system

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6687849B1 (en) * 2000-06-30 2004-02-03 Cisco Technology, Inc. Method and apparatus for implementing fault-tolerant processing without duplicating working process
CN1477509A (en) * 2002-08-19 2004-02-25 万达信息股份有限公司 Process automatic restoring method
CN1801096A (en) * 2005-01-05 2006-07-12 国际商业机器公司 Method and system for implementing thread sleep in computer system
CN101268447A (en) * 2005-05-26 2008-09-17 美国联合包裹服务公司 Software process monitor
US20140359627A1 (en) * 2013-05-31 2014-12-04 Oracle International Corporation Recovering step and batch-based processes
US9459969B1 (en) * 2012-09-28 2016-10-04 Emc Corporation Method and system for enhanced backup database indexing
CN105988885A (en) * 2015-03-26 2016-10-05 朱怡安 Compensation rollback-based operation system fault self-recovery method
CN106959909A (en) * 2017-03-27 2017-07-18 西安电子科技大学 A kind of application software abnormal restoring method in android system
CN107480005A (en) * 2017-07-31 2017-12-15 惠州华阳通用电子有限公司 A kind of linux system process guard method
US10095576B2 (en) * 2014-05-08 2018-10-09 China Unionpay Co., Ltd. Anomaly recovery method for virtual machine in distributed environment
CN108628705A (en) * 2018-04-10 2018-10-09 京信通信系统(中国)有限公司 Database restoring method, device, computer equipment and storage medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6687849B1 (en) * 2000-06-30 2004-02-03 Cisco Technology, Inc. Method and apparatus for implementing fault-tolerant processing without duplicating working process
CN1477509A (en) * 2002-08-19 2004-02-25 万达信息股份有限公司 Process automatic restoring method
CN1801096A (en) * 2005-01-05 2006-07-12 国际商业机器公司 Method and system for implementing thread sleep in computer system
CN101268447A (en) * 2005-05-26 2008-09-17 美国联合包裹服务公司 Software process monitor
US9459969B1 (en) * 2012-09-28 2016-10-04 Emc Corporation Method and system for enhanced backup database indexing
US20140359627A1 (en) * 2013-05-31 2014-12-04 Oracle International Corporation Recovering step and batch-based processes
US10095576B2 (en) * 2014-05-08 2018-10-09 China Unionpay Co., Ltd. Anomaly recovery method for virtual machine in distributed environment
CN105988885A (en) * 2015-03-26 2016-10-05 朱怡安 Compensation rollback-based operation system fault self-recovery method
CN106959909A (en) * 2017-03-27 2017-07-18 西安电子科技大学 A kind of application software abnormal restoring method in android system
CN107480005A (en) * 2017-07-31 2017-12-15 惠州华阳通用电子有限公司 A kind of linux system process guard method
CN108628705A (en) * 2018-04-10 2018-10-09 京信通信系统(中国)有限公司 Database restoring method, device, computer equipment and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
RUI TENG ET AL: "Dynamic Recovery of Wireless Multi-Hop Infrastructure With the Autonomous Mobile Base Station", 《 IEEE ACCESS》 *
谢争: "基于检查点的进程级容错设计与研究", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110377458A (en) * 2019-07-26 2019-10-25 努比亚技术有限公司 Data reconstruction method, mobile terminal and computer readable storage medium
CN110377458B (en) * 2019-07-26 2023-11-10 拉萨新起点文化传播有限公司 Data recovery method, mobile terminal and computer readable storage medium
CN112434045A (en) * 2020-12-10 2021-03-02 深圳市亿联无限科技有限公司 Method and device for inter-process big data communication of embedded system

Also Published As

Publication number Publication date
CN109491836B (en) 2021-04-27

Similar Documents

Publication Publication Date Title
CN111427728B (en) State management method, main/standby switching method and electronic equipment
CN106919473B (en) Data disaster backup system and service processing method
US7730029B2 (en) System and method of fault tolerant reconciliation for control card redundancy
SE454730B (en) PROCEDURE AND COMPUTER EQUIPMENT FOR SHORT-FREE REPLACEMENT OF THE ACTIVITY FROM ACTIVE DEVICES TO EMERGENCY UNITS IN A CENTRAL UNIT
WO2020224237A1 (en) Blockchain consensus method, apparatus, device and storage medium
CN101404568A (en) Double-network card hot backup redundancy method
CN109491836A (en) Data reconstruction method, device and base station
CN101542302A (en) Method and apparatus for non-stop multi-node system synchronization
CN103425645A (en) Monitoring system and monitoring method for single point of failure of database cluster
CN102801543A (en) Method for dynamic data synchronization between active-active systems
CN100428155C (en) Upgrading method of communication equipment
CN104615511A (en) Host batch recovery processing method and device based on double centers
CN109768884A (en) The implementation method of communication system and its high availability, device and computer equipment
CN111901176B (en) Fault determination method, device, equipment and storage medium
CN108920301A (en) Data back up method and system, data reconstruction method and system
KR20120056304A (en) Method and system for updating blocked port information
CN108445857B (en) Design method for 1+ N redundancy mechanism of SCADA system
CN113961397A (en) High-availability cluster disaster tolerance method based on backup disaster tolerance system
CN110716828B (en) Database real-time backup method
CN105988885B (en) Operating system failure self-recovery method based on compensation rollback
US7039402B1 (en) Disaster recovery for very large GSM/UMTS HLR databases
CN104158843A (en) Storage unit invalidation detecting method and device for distributed file storage system
CN103391324A (en) Hot backup method based on TFTP (trivial file transfer protocol)
CN112650620B (en) Dual-computer cold backup autonomous redundancy method with master-slave relation
Baldoni et al. Characterization of consistent global checkpoints in large-scale distributed systems

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
TA01 Transfer of patent application right

Effective date of registration: 20200109

Address after: 510663 Shenzhou Road, Guangzhou Science City, Guangzhou economic and Technological Development Zone, Guangdong, 10

Applicant after: Jingxin Communication System (China) Co., Ltd.

Address before: 510663 Shenzhou Road 10, Guangzhou Science City, Guangzhou economic and Technological Development Zone, Guangzhou, Guangdong

Applicant before: Jingxin Communication System (China) Co., Ltd.

Applicant before: Jingxin Communication System (Guangzhou) Co., Ltd.

Applicant before: Jingxin Communication Technology (Guangzhou) Co., Ltd.

Applicant before: TIANJIN COMBA TELECOM SYSTEMS CO., LTD.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: 510663 Shenzhou Road, Guangzhou Science City, Guangzhou economic and Technological Development Zone, Guangdong, 10

Patentee after: Jingxin Network System Co.,Ltd.

Address before: 510663 Shenzhou Road, Guangzhou Science City, Guangzhou economic and Technological Development Zone, Guangdong, 10

Patentee before: Comba Telecom System (China) Ltd.

CP01 Change in the name or title of a patent holder