CN110262926A - Metadata restorative procedure, device, system and the computer equipment of server - Google Patents

Metadata restorative procedure, device, system and the computer equipment of server Download PDF

Info

Publication number
CN110262926A
CN110262926A CN201910484286.8A CN201910484286A CN110262926A CN 110262926 A CN110262926 A CN 110262926A CN 201910484286 A CN201910484286 A CN 201910484286A CN 110262926 A CN110262926 A CN 110262926A
Authority
CN
China
Prior art keywords
server
metadata
data
abnormal
reparation
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
CN201910484286.8A
Other languages
Chinese (zh)
Other versions
CN110262926B (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.)
Tianyi Digital Life Technology Co Ltd
Original Assignee
CENTURY DRAGON INFORMATION NETWORK 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 CENTURY DRAGON INFORMATION NETWORK Co Ltd filed Critical CENTURY DRAGON INFORMATION NETWORK Co Ltd
Priority to CN201910484286.8A priority Critical patent/CN110262926B/en
Publication of CN110262926A publication Critical patent/CN110262926A/en
Application granted granted Critical
Publication of CN110262926B publication Critical patent/CN110262926B/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
    • 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

Abstract

This application involves metadata restorative procedure, device, system and the computer equipments of a kind of server.The described method includes: verification server metadata, determines abnormal metadata;It generates the abnormal of the abnormal metadata and repairs message, and push the abnormal message of repairing to target terminal user;The abnormal message of repairing includes repairing recommending data;The recommending data of repairing is the data for repairing the abnormal metadata;When receiving the target terminal user for the reparation confirmation instruction for repairing recommending data, according to the reparation recommending data, the abnormal metadata is repaired.Server O&M efficiency can be improved using this method.

Description

Metadata restorative procedure, device, system and the computer equipment of server
Technical field
This application involves field of computer technology, more particularly to a kind of server metadata restorative procedure, device, be System, computer equipment and storage medium.
Background technique
With the continuous increase of the increasingly developed and product portfolio of enterprise, enterprise generally requires to dispose for software product big The server of amount, to allow software product that can provide high-quality and stable service for user.
For example, there are multiple computer rooms in certain enterprise throughout the country, 5000 multiple servers generally require portion on these servers A project more than 300 is affixed one's name to.Quantity so big server bring maintenance work amoun and O&M difficulty is undoubtedly huge.
Operation management often traditionally is carried out to server by the way of labor management, however it is so big facing When maintenance work amoun and O&M difficulty, labor management and manual operation are often difficult to avoid operation error, operation/maintenance data error etc. The occurrence of, O&M is inefficient.
Therefore, existing server maintenance work has that O&M is inefficient.
Summary of the invention
Based on this, it is necessary to there is a problem of that O&M is inefficient for existing server maintenance work, provide one kind It can be improved metadata restorative procedure, device, computer equipment and the storage medium of a kind of server of server O&M efficiency.
A kind of metadata restorative procedure of server, which comprises
Server metadata is verified, determines abnormal metadata;
It generates the abnormal of the abnormal metadata and repairs message, and push the abnormal message of repairing to target user's end End;The abnormal message of repairing includes repairing recommending data;The reparation recommending data is for repairing the abnormal metadata Data;
When receiving the target terminal user for the reparation confirmation instruction for repairing recommending data, according to described Recommending data is repaired, the abnormal metadata is repaired.
The fault restoration message for generating the abnormal metadata in one of the embodiments, comprising:
According to the abnormal metadata, data problem type is determined;
Inquiry is directed to the reparation recommending data of the data problem type;
It generates user and determines link, and is true according to the data problem type, the reparation recommending data and the user Fixed link generates the abnormal reparation message;The user determines link for triggering described in the target terminal user transmission Repair confirmation instruction.
The verification server metadata in one of the embodiments, determines abnormal metadata, comprising:
Obtain data check rule;
Using the data check rule, regular verification, create-rule check results are carried out to the server metadata;
According to the regular check results, the abnormal metadata is determined.
In one of the embodiments, before the push abnormal reparation message to target terminal user, further includes:
Inquire the corresponding server info of the abnormal metadata;
Determine responsible person's information of the server info;
According to responsible person's information, the target terminal user is determined.
It is described according to the reparation recommending data in one of the embodiments, repair the abnormal metadata, comprising:
The reparation recommending data is decrypted, decryption is obtained and repairs parameter;
Parameter is repaired to the decryption and carries out validity check;
If verification passes through, parameter is repaired using the decryption, replaces the anomaly parameter in the abnormal metadata.
The inquiry is directed to the reparation recommending data of the data problem type in one of the embodiments, comprising:
Judge whether the step of inquiry is directed to the reparation recommending data of the data problem type runs succeeded;
It is unsuccessfully alerted if it is not, then generating inquiry, and sends the inquiry and unsuccessfully alert to the target terminal user;It is described Inquiry is unsuccessfully alerted for reminding operation maintenance personnel to repair recommending data inquiry failure.
A kind of metadata prosthetic device of server, described device include:
Correction verification module determines abnormal metadata for verifying server metadata;
Pushing module repairs message for generating the abnormal of the abnormal metadata, and pushes the abnormal reparation message To target terminal user;The abnormal message of repairing includes repairing recommending data;The reparation recommending data is for repairing State the data of abnormal metadata;
Repair module refers to for that ought receive the target terminal user for the reparation confirmation for repairing recommending data When enabling, according to the reparation recommending data, the abnormal metadata is repaired.
A kind of fault correction system of server, the system comprises:
Client is acquired, for acquiring the server metadata of multiple servers;The server metadata is uploaded to area Domain server;
The region server, for receiving the server metadata of the acquisition client;Batch compresses the service Device metadata, obtains compressed data packets;The compressed data packets are sent to central server;
The central server, for receiving the compressed data packets of the region server;The compressed data packets are decompressed, Obtain server metadata;The server metadata is verified, determines abnormal metadata;Generate the exception of the abnormal metadata Message is repaired, and pushes the abnormal message of repairing to target terminal user;The abnormal message of repairing includes repairing to recommend number According to;The recommending data of repairing is the data for repairing the abnormal metadata;When receiving the target terminal user needle When confirming instruction to the reparation for repairing recommending data, according to the reparation recommending data, the abnormal metadata is repaired.
The central server in one of the embodiments, is also used to inquire the corresponding service of the abnormal metadata Device information;Determine responsible person's information of the server info;Obtain the account data of responsible person's information, and by institute Account data is stated as parameter encryption key;It obtains metadata and repairs parameter, and use the parameter encryption key, to the member Data are repaired parameter and are encrypted, and the reparation recommending data is obtained;It is also used to generate user and determines link and data problem class Type, and determined and linked according to the data problem type, the reparation recommending data and the user, generate the abnormal reparation Message;The user determines that link sends the reparation confirmation instruction for triggering the target terminal user.
The region server in one of the embodiments, is also used to obtain the interrogation zone IP of the central server Between;According to the IP query range, the current IP information of the multiple server is inquired;Obtain the history of the central server IP information compares the history IP information and the current IP information, obtains comparison result;And the comparison result is sent to institute State central server.
The acquisition client in one of the embodiments, is also used to execute metadata acquisition operation, obtains described more The initial metadata of a server;Data Format Transform is carried out to the initial metadata, obtains the server metadata.
The acquisition client in one of the embodiments, is also used to judge the upload server metadata Whether run succeeded to the step of region server;Failure notification is uploaded if it is not, generating;And it sends the upload and unsuccessfully leads to Know to the central server.
Above-mentioned central server in one of the embodiments, is also used to receive the new added data item instruction of user;According to The new added data item instruction adjusts the data item of the acquisition client acquisition server metadata.
A kind of computer equipment, including memory and processor, the memory are stored with computer program, the processing Device performs the steps of when executing the computer program
Server metadata is verified, determines abnormal metadata;
It generates the abnormal of the abnormal metadata and repairs message, and push the abnormal message of repairing to target user's end End;The abnormal message of repairing includes repairing recommending data;The reparation recommending data is for repairing the abnormal metadata Data;
When receiving the target terminal user for the reparation confirmation instruction for repairing recommending data, according to described Recommending data is repaired, the abnormal metadata is repaired.
A kind of computer readable storage medium, is stored thereon with computer program, and the computer program is held by processor It is performed the steps of when row
Server metadata is verified, determines abnormal metadata;
It generates the abnormal of the abnormal metadata and repairs message, and push the abnormal message of repairing to target user's end End;The abnormal message of repairing includes repairing recommending data;The reparation recommending data is for repairing the abnormal metadata Data;
When receiving the target terminal user for the reparation confirmation instruction for repairing recommending data, according to described Recommending data is repaired, the abnormal metadata is repaired.
Metadata restorative procedure, device, computer equipment and the storage medium of above-mentioned server, by verifying each service The server metadata of device;After determining abnormal metadata in server metadata, according to abnormal metadata, determines to repair and recommend Data, and abnormal reparation message is generated, it is repaired in message to the target terminal user of corresponding operation maintenance personnel by the way that push is abnormal, from And it carries out checking confirmation for operation maintenance personnel;It is instructed when receiving the reparation confirmation that operation maintenance personnel is sent using target terminal user When, by using reparation recommending data, the abnormal metadata being automatically repaired on abnormal server;Exist to realize operation maintenance personnel In the case where abnormal server system, abnormal metadata present on abnormal server is repaired, solves abnormal server Existing abnormal data problem, and then improve the working efficiency of existing operation maintenance personnel O&M server.
Detailed description of the invention
Fig. 1 is a kind of applied environment figure of the metadata restorative procedure of server in one embodiment;
Fig. 2 is a kind of flow diagram of the metadata restorative procedure of server in one embodiment;
Fig. 3 is a kind of structural block diagram of the metadata prosthetic device of server in one embodiment;
Fig. 4 is a kind of structure chart of the metadata repair system of server in one embodiment;
Fig. 5 is a kind of operational flow diagram of the central server of the metadata repair system of server in one embodiment;
Fig. 6 is a kind of operational flow diagram of the metadata repair system of server in one embodiment;
Fig. 7 is the internal structure chart of computer equipment 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.
A kind of metadata restorative procedure of server provided by the present application, can be applied to application environment as shown in Figure 1 In.Wherein, remediation server 110 is communicated by network with target terminal user 120.Wherein, target terminal user 120 can With but be not limited to various personal computers, laptop, smart phone, tablet computer and portable wearable device, repair Multiple server 110 can be realized with the server cluster of the either multiple server compositions of independent server.
In one embodiment, as shown in Fig. 2, providing a kind of metadata restorative procedure of server, including following step It is rapid:
Step 210, server metadata is verified, determines abnormal metadata.
Wherein, various data needed for server metadata can refer to server operation.In practical applications, server Metadata can refer to the attribute data of the servers such as server, the network equipment, DNS, load balancing service, can also refer to journey The item design data of sequence project are (for example, Web server, project role, database service, various middleware services or project Each URL) and project between project call data (project dependence data).
Wherein, abnormal metadata can refer in the presence of abnormal server metadata.
In the specific implementation, operation maintenance personnel is installed to the multiple clothes being automatically repaired firstly the need of that will acquire client It is engaged on device.Then, acquisition client can acquire according to preparatory configuration information and encapsulate to obtain the server on each server Metadata, wherein the data format of server metadata is JSON (JavaScript Object Notation, a kind of light weight The data interchange format of grade) format;Specifically, computer room data where server metadata may include:, device IP, virtual IP address, Public network IP, host name, device type (including physical machine, virtual machine/cloud machine), memory, CPU model, CPU core number, producer, type Number, hard drive space, place rack, operating system name, the device metadatas such as version number and the service data that mainly runs, Yi Jixiang Mesh calls the entry metadatas such as data and item design data.It can also expand according to the actual situation.Finally, sending the server Metadata is to remediation server 110.After remediation server 110 receives server metadata, extract in server metadata Computer room information and IP information, remediation server 110 using computer room information and IP information the unique principle of combination, position different clothes The corresponding property server of device metadata of being engaged in.
Meanwhile remediation server 110 compares the server metadata newly received and existing server metadata, when existing When the server metadata deposited is empty, then the server metadata newly received is directly saved.When existing server metadata When being not empty, then the difference between the server metadata newly received and existing server metadata is recorded.
110 timing of remediation server verifies above-mentioned server metadata by preset inspection rule, and determination does not meet inspection The abnormal metadata of rule, obtains check results.It is specifically looked at any time finally, above-mentioned check results automatically record for subsequent It sees.
In addition, remediation server 110 can also be by showing check results on the display page, user can log on to reparation The management system that server 110 carries adjusts relevant data after the data of comprehensive inquiry various pieces, and user can also To issue the real time data inquiry operation to client in management system, check system login data and real data whether Unanimously.
Remediation server 110 during database purchase above-mentioned server metadata by completing verification clothes simultaneously The process for device metadata of being engaged in, so as to avoid because inquire excessive database table and data cause performance is slow, influence system not The problems such as stablizing.
Step 220, it generates the abnormal of abnormal metadata and repairs message, and push abnormal message of repairing to target user's end End;Abnormal message of repairing includes repairing recommending data;Repairing recommending data is the data for repairing abnormal metadata.
Wherein, abnormal message of repairing can refer to for notifying what operation maintenance personnel needed to repair server metadata Message.
In the specific implementation, when remediation server 110 determines in server metadata there are after abnormal metadata, according to exception Metadata determines the specific Exception Type of data problem;Then, remediation server 110 can actively call automatic discovery feature to look for The repair data recommended out;And above-mentioned repair data is encrypted, it obtains repairing recommending data.Wherein, recommending data is repaired For the data for repairing abnormal metadata.Then, according to the specific Exception Type of above-mentioned data problem and repair recommending data, Generate abnormal reparation message, wherein the exception repairs what message can write using FreeMarker (a kind of template engine) Html (Hyper Text Markup Language, hypertext markup language) template automatically generates.Finally, remediation server Exception reparation message is pushed to target terminal user 120 by 110 timings.Wherein, target terminal user 120 is to be responsible for waiting for this The user terminal for the operation maintenance personnel that safeguard service device is safeguarded.In practical applications, remediation server 110 can be set into every It, weekly or monthly, periodically by the modes such as corporate mail or enterprise instant communication software push the exception repair message.
Step 230, when receiving target terminal user for the reparation confirmation instruction for repairing recommending data, according to reparation Recommending data repairs abnormal metadata.
Wherein, repairing confirmation instruction can be the instruction that abnormal metadata is repaired for remediation server.
In the specific implementation, when the exception that the target terminal user 120 of operation maintenance personnel receives the push of remediation server 110 is repaired After multiple message, target terminal user shows above-mentioned abnormal reparation message, to work as operation maintenance personnel refering to safeguard service device The reparation recommending data that preceding existing specific Exception Type, abnormal metadata and remediation server 110 are recommended.When operation maintenance personnel is true Recognize errorless and determine when remediation server 110 being allowed to be automatically repaired, operation maintenance personnel carries out repairing determining operation, and target user is whole The above-mentioned reparation of 120 response of end determines operation, sends and repairs confirmation instruction to remediation server 110.Simultaneously, target user Terminal 120 returns to above-mentioned reparation recommending data to remediation server 110.Last remediation server 110 is according to target terminal user The 120 reparation recommending datas returned, repair abnormal metadata.
In a kind of metadata restorative procedure of above-mentioned server, by the server metadata for verifying each server;? After determining abnormal metadata in server metadata, according to abnormal metadata, determines and repair recommending data, and generate abnormal reparation Message is repaired in message to the target terminal user of corresponding operation maintenance personnel by the way that push is abnormal, to be looked into for operation maintenance personnel See confirmation;When receiving the reparation confirmation instruction that operation maintenance personnel is sent using target terminal user, recommended by using repairing Data, the abnormal metadata being automatically repaired on abnormal server;To realize operation maintenance personnel without logging into abnormal server system In the case where system, abnormal metadata present on reparation abnormal server solves the problems, such as abnormal data existing for abnormal server, And then improve the working efficiency of existing operation maintenance personnel O&M server.
In one embodiment, the fault restoration message of abnormal metadata is generated, comprising: according to abnormal metadata, determine Data problem type;Inquiry is directed to the reparation recommending data of data problem type;It generates user and determines link, and asked according to data It inscribes type, repair recommending data and the determining link of user, generation is abnormal to repair message;User determines that link is used for triggering target Family terminal, which is sent, repairs confirmation instruction.
In the specific implementation, the process that remediation server 110 generates fault restoration message specifically includes;Remediation server 110 According to abnormal metadata, determine data problem type present in server, for example, project do not include any server ip, Server does not have IP, server not to have responsible person, self-built virtual machine not to have host, server not to have cpu data, server not to have Having internal storage data, server not to have hard disc data, server not to be associated with any product or project, server does not have computer room, clothes Business device does not have host name and purposes data etc..
For partial data problem types, remediation server 110 can actively call automatic discovery feature, and inquiry is directed to the number According to the reparation recommending data of problem types;Meanwhile remediation server 110 generates user and determines link, and according to data problem class Type repairs recommending data and the determining link of user, generates exception and repairs message;Checked for operation maintenance personnel, with reference to and really It is fixed that remediation server 110 whether is allowed to carry out being automatically repaired abnormal metadata.When user is directed to the reparation that remediation server 110 is recommended Without mistaking, operation maintenance personnel only needs to click the user and determines link, and then triggers target terminal user 120 and send out for recommending data confirmation Reparation confirmation instruction is sent, thus the reparation recommending data for returning to remediation server 110 automatically according to target terminal user 120, Repair abnormal metadata.
The technical solution of the present embodiment, remediation server abnormal message of repairing generated includes that user determines link;When Operation maintenance personnel checks the abnormal details repaired in message, for example, the contents such as data problem type, reparation recommending data are errorless When, operation maintenance personnel determines link by clicking user, and triggering target terminal user, which is sent, repairs confirmation instruction, takes to make to repair Business device is automatically repaired the abnormal metadata on abnormal server;Operation maintenance personnel is realized in the feelings without logging into abnormal server system Under condition, abnormal metadata present on reparation abnormal server solves the problems, such as abnormal data existing for abnormal server, Jin Erti The high working efficiency of existing operation maintenance personnel O&M server.
In another embodiment, server metadata is verified, determines abnormal metadata, comprising: obtains data check rule Then;Using data check rule, regular verification, create-rule check results are carried out to server metadata;It is verified according to rule As a result, determining abnormal metadata.
In the specific implementation, remediation server 110 verifies server metadata, determine that the process of abnormal metadata is specifically wrapped It includes: obtaining operation maintenance personnel data check rule predetermined;Remediation server 110 is using data check rule, periodically to clothes Device metadata of being engaged in carries out regular verification, create-rule check results;Data check rule is mainly true according to operational demand It is fixed, it further include automatically scanning database table, whether the corresponding important attribute of property server for searching server metadata is sky, Wherein, specifically scan which table, check which field and can be carried out by user it is customized, main check item include project it Between recursive call, project either with or without comprising any server ip, server either with or without IP, property server either with or without responsible person, Self-built virtual machine is either with or without host, and server is either with or without CPU information, memory information, hard disk information, and server is either with or without association Any product or project, server allow user either with or without host name and purposes data etc. either with or without computer room, server It defines new data check rule and enables.Meanwhile remediation server 110 passes through in the above-mentioned server metadata of database purchase During complete the process of verification server metadata, so as to avoid because inquiring excessive database table and data are drawn Volatility is slow, influences the problems such as system is unstable.
The technical solution of the present embodiment carries out server metadata by the data check rule according to user preset Regulation verification, so as to accurately determine abnormal metadata in server metadata;Simultaneously by database purchase It states during server metadata and completes the process of verification server metadata, so as to avoid because inquiring majority Cause the problems such as performance is slow, influence system is unstable according to Ku Biao and data, improves the treatment effeciency of remediation server, and then improve The working efficiency of existing operation maintenance personnel O&M server.
In another embodiment, before the abnormal reparation message to target terminal user of push, further includes: inquiry is abnormal first The corresponding server info of data;Determine responsible person's information of server info;According to responsible person's information, determine that target is used Family terminal.
Wherein, responsible person can refer to that being responsible for operation the operation maintenance personnel of the server of abnormal metadata currently occurs.
Wherein, responsible person's information can refer to the account information of responsible person.
In the specific implementation, repairing service before remediation server 110 pushes abnormal reparation message to target terminal user Device 110 inquires the corresponding server info of abnormal metadata;Specifically, remediation server 110 extracts in server metadata Computer room information and IP information, remediation server 110 combine unique principle, the abnormal first number of positioning using computer room information and IP information According to corresponding property server, the server info of the property server is determined;Then, it according to server info, determines and is responsible for The specifying information of the operation maintenance personnel of the O&M property server, therefore the information is named as responsible person's information;Then, according to Responsible person's information determines target terminal user in the multiple user terminals communicated with remediation server 110, thus It realizes the abnormal target terminal user 120 repaired message and be accurately sent to the operation maintenance personnel for being responsible for the property server.
The technical solution of the present embodiment, by determining the corresponding server info of abnormal metadata;And according to the server Information determines that being responsible for operation responsible person's information of the operation maintenance personnel of the server of abnormal metadata currently occurs;Finally, root again According to responsible person's information, target terminal user is accurately determined.
In another embodiment, according to recommending data is repaired, abnormal metadata is repaired, comprising: decryption, which is repaired, recommends number According to, obtain decryption repair parameter;Parameter is repaired to decryption and carries out validity check;If verification passes through, ginseng is repaired using decryption Number replaces the anomaly parameter in abnormal metadata.
In the specific implementation, after remediation server 110 receives the reparation recommending data of the return of target terminal user 120, 110 use of remediation server key corresponding with target terminal user 120, is decrypted the reparation recommending data, is solved Close reparation parameter;Then, remediation server 110 repairs parameter to the decryption and carries out validity check, for example, verification decryption is repaired Whether parameter is empty;Being actually responsible for people, notifying whether channel does not meet to be pre-configured with for parameter is repaired in verification decryption.When verification is logical It crosses, remediation server 110 then repairs parameter using decryption, the anomaly parameter in abnormal metadata is replaced, meanwhile, remediation server 110 generate running log.
The technical solution of the present embodiment, remediation server are repaired when transmitting reparation recommending data to target terminal user Recommending data is encrypted by key corresponding with target terminal user, is returned when remediation server receives target terminal user When the reparation recommending data returned, need to be decrypted using key pair reparation recommending data, and verify the decryption that decryption obtains and repair Whether multiple parameter is effective, if effectively, repairing parameter using decryption, replacing the anomaly parameter in abnormal metadata;To improve The safety of data transmission and the accuracy for being automatically repaired abnormal metadata, and then improve existing operation maintenance personnel O&M service The working efficiency of device.
In another embodiment, inquiry is directed to the reparation recommending data of data problem type, comprising: judgement inquiry is directed to Whether the step of reparation recommending data of data problem type runs succeeded;It is unsuccessfully alerted if it is not, then generating inquiry, and sends and look into Inquiry is unsuccessfully alerted to target terminal user;Inquiry is unsuccessfully alerted for reminding operation maintenance personnel to repair recommending data inquiry failure.
In the specific implementation, during the inquiry of remediation server 110 is directed to the reparation recommending data of data problem type, Remediation server 110 also needs whether the step of judging the reparation recommending data that inquiry is directed to data problem type runs succeeded;If The inquiry of remediation server 110 is less than the reparation recommending data for being directed to data problem type, for example, the number of server data and project According to remediation server 110 then generates inquiry and unsuccessfully alerts, and sends inquiry and unsuccessfully alert to target terminal user 120;Wherein, Inquiry is unsuccessfully alerted for reminding operation maintenance personnel to repair recommending data inquiry failure, meanwhile, remediation server 110 generates inquiry and loses Lose log.
The technical solution of the present embodiment generates simultaneously when reparation recommending data failure of the inquiry for data problem type It sends inquiry unsuccessfully to alert to target terminal user, so as to realize the fortune for notifying to be responsible for the O&M abnormal server in time Dimension personnel.
It should be understood that although each step in the flow chart of Fig. 2 is successively shown according to the instruction of arrow, this A little steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly state otherwise herein, these steps It executes there is no the limitation of stringent sequence, these steps can execute in other order.Moreover, at least part in Fig. 2 Step may include that perhaps these sub-steps of multiple stages or stage are executed in synchronization to multiple sub-steps It completes, but can execute at different times, the execution sequence in these sub-steps or stage, which is also not necessarily, successively to be carried out, But it can be executed in turn or alternately at least part of the sub-step or stage of other steps or other steps.
In one embodiment, as shown in figure 3, providing a kind of metadata prosthetic device of server, which includes:
Correction verification module 310 determines abnormal metadata for verifying server metadata;
Pushing module 320 repairs message for generating the abnormal of abnormal metadata, and pushes abnormal message of repairing to target User terminal;Abnormal message of repairing includes repairing recommending data;Repairing recommending data is the data for repairing abnormal metadata;
Repair module 330, for when receive target terminal user for repair recommending data reparation confirmation instruction when, According to recommending data is repaired, abnormal metadata is repaired.
In another embodiment, above-mentioned pushing module 320, comprising: type determination module, for according to described different Normal metadata determines data problem type;Submodule is inquired, for inquiring the reparation recommendation number for being directed to the data problem type According to;Generate submodule, for generate user determine link, and according to the data problem type, the reparation recommending data and The user determines link, generates the abnormal reparation message;The user determines that link is whole for triggering the target user End sends the reparation confirmation instruction.
In another embodiment, above-mentioned correction verification module 310, comprising: acquisition submodule, for obtaining data check rule Then;Submodule is verified, for regular verification being carried out to the server metadata, generating rule using the data check rule Then check results;Abnormal determining submodule, for determining the abnormal metadata according to the regular check results.
In another embodiment, the metadata prosthetic device of above-mentioned a kind of server, further includes: enquiry module is used In the corresponding server info of the inquiry abnormal metadata;Responsible person's determining module, for determining the server info Responsible person's information;Terminal deciding module, for determining the target terminal user according to responsible person's information.
In another embodiment, above-mentioned repair module 330, comprising: decryption submodule is pushed away for decrypting the reparation Data are recommended, decryption is obtained and repairs parameter;Submodule is verified, carries out validity check for repairing parameter to the decryption;It repairs Submodule repairs parameter using the decryption, replaces the anomaly parameter in the abnormal metadata if passing through for verifying.
In another embodiment, above-mentioned inquiry submodule, comprising: judging unit, for judging that the inquiry is directed to Whether the step of reparation recommending data of the data problem type runs succeeded;Alarm Unit, for if it is not, then generating inquiry Failure alerts, and sends the inquiry and unsuccessfully alert to the target terminal user;Unsuccessfully alarm is transported for reminding for the inquiry Dimension personnel repair recommending data inquiry failure.
A kind of specific restriction of metadata prosthetic device about server may refer to above for kind of server The restriction of metadata restorative procedure, details are not described herein.Modules in the metadata prosthetic device of above-mentioned kind of server can It is realized fully or partially through software, hardware and combinations thereof.Above-mentioned each module can be embedded in the form of hardware or independently of meter It calculates in the processor in machine equipment, can also be stored in a software form in the memory in computer equipment, in order to handle Device, which calls, executes the corresponding operation of the above modules.
In one embodiment, as shown in figure 4, providing a kind of fault correction system of server, which includes: to adopt Collect client 410, region server 420 and central server 430;
Client 410 is acquired, for acquiring the server metadata of multiple servers;Upload server metadata is to region Server 420.
Wherein, various data needed for server metadata can refer to server operation.In practical applications, server Metadata can refer to the attribute data of the servers such as server, the network equipment, DNS, load balancing service, can also refer to journey The item design data of sequence project are (for example, Web server, project role, database service, various middleware services or project Each URL) and project between project call data (project dependence data).
In the specific implementation, acquisition client 410 can be the client-side program using go language development;Operation maintenance personnel is first It needs to acquire client to be installed on the multiple servers being automatically repaired.Then, acquisition client can be according to pre- First configuration information, acquires and encapsulates the server metadata on each server, wherein the data format of server metadata For a kind of JSON (JavaScript Object Notation, data interchange format of lightweight) format;Specifically, server Metadata may include: where computer room data, device IP, virtual IP address, public network IP, host name, device type (including physical machine, Virtual machine/cloud machine), memory, CPU model, CPU core number, producer, model, hard drive space, place rack, operating system name, project Data, item design data and version number, the service data mainly run etc. are called, can also be expanded according to the actual situation;Most Afterwards, upload server metadata is to region server 420.
Region server 420, for receiving the server metadata of acquisition client 410;Batch compression service device member number According to obtaining compressed data packets;Compressed data packets are sent to central server 430.
In the specific implementation, region server 420 is incited somebody to action after receiving the server metadata that acquisition client 410 uploads Above-mentioned server metadata is cached in the embedded data library SQLite (a light-duty database) of region server 420.Area In the server metadata for receiving the acquisition upload of client 410 after preset acquisition time, region takes domain server 420 Business device 420 extracts the server metadata to be uploaded for referring to central server 430 from embedded data library SQLite, according to preset batch Amount uploads quantity, carries out batch compression to server metadata, obtains compressed data packets;Specifically, batch upload quantity can be with It is 200.Finally, region server 420 sends compressed data packets to central server 430.
In practical application, region server 420 is a simplified https traffic server, is disposed by computer room.If more There are special lines between a computer room, a computer room deployment region server 420 can be looked in these computer rooms, computer room is mainly used to Centered on server 430 and acquisition client 410 between communication and data transfer transfer, prevent loss of data, even if Unstable situation will not occur when acquisition data volume is very big.
After region server 420 successfully uploads compressed data packets to central server 430, embedded data library is deleted Upload server metadata in SQLite;If region server 420 upload compressed data packets to central server 430 not at Function records failure information, after next group compressed data packets upload successfully, then uploads the compression number that last consignment of unsuccessfully uploads immediately According to packet, all compressed data packets all pass through JSON format and pass through HTTPS (Hypertext Transfer Protocol Secure, Hyper text transfer security protocol) upload to central server 430.
Central server 430, the compressed data packets for receiving area server 420;Depressurizing compression data packet, is taken Business device metadata;Server metadata is verified, determines abnormal metadata;It generates the abnormal of abnormal metadata and repairs message, and push away Send abnormal message of repairing to target terminal user 120;Abnormal message of repairing includes repairing recommending data;Repairing recommending data is to use In the data for repairing abnormal metadata;It is instructed when receiving target terminal user 120 for the reparation confirmation for repairing recommending data When, according to recommending data is repaired, repair abnormal metadata.
In the specific implementation, compressed data packets of the central server 430 in receiving area server 420;Depressurizing compression data Packet, obtains server metadata;430 timing of central server verifies above-mentioned server metadata, really by preset inspection rule Surely the abnormal metadata for checking rule is not met, check results are obtained.Finally, above-mentioned check results are carried out after automatically recording confession It is continuous specifically to check at any time.
When central server 430 determines in server metadata there are after abnormal metadata, according to abnormal metadata, determine The specific Exception Type of data problem;Then, central server 430 can actively call automatic discovery feature to find out the reparation of recommendation Data;And above-mentioned repair data is encrypted, it obtains repairing recommending data.Wherein, it is different for repairing for repairing recommending data The data of normal metadata.Then, according to the specific Exception Type of above-mentioned data problem and reparation recommending data, abnormal repair is generated Message, wherein the exception repairs Html (the Hyper Text that message can write using FreeMarker (a kind of template engine) Markup Language, hypertext markup language) template automatically generates.Finally, the exception is repaired in 430 timing of central server Multiple message pushes to target terminal user 120.Wherein, target terminal user 120 is to be responsible for waiting for that safeguard service device is tieed up to this The user terminal of the operation maintenance personnel of shield.In practical applications, the modes such as corporate mail or enterprise instant communication software can be passed through It pushes the exception and repairs message.
After the target terminal user 120 of operation maintenance personnel receives the abnormal reparation message of the push of central server 430, mesh Mark user terminal show it is above-mentioned it is abnormal repair message, thus for operation maintenance personnel refering to safeguard service device there is currently it is specific The reparation recommending data that Exception Type, abnormal metadata and central server 430 are recommended.When operation maintenance personnel confirmation is errorless and determines When central server 430 being allowed to be automatically repaired, operation maintenance personnel repair determining operation, in the response of target terminal user 120 The reparation stated determines operation, sends and repairs confirmation instruction to central server 430.Simultaneously, target terminal user 120 returns Above-mentioned reparation recommending data is to central server 430.Last central server 430 is repaired according to what target terminal user 120 returned Multiple recommending data, repairs abnormal metadata.
In addition, when central server 430 can actively initiate query service device metadata, 430 Mr. of central server At and send corresponding operation and request to region server 420, region server 420 can select a kind of mode invocation target service The acquisition client acquisition data of device simultaneously return, and the channel of Ansible can be preferentially used when there is Ansible channel available, no SSH is then first passed through to log on to destination server in calling acquisition client 410 and obtain result and return.
The technical solution of the present embodiment improves the server metadata that acquisition client acquires each server;Region clothes Business device carries out transfer to server metadata, prevents loss of data, even if will not occur not when acquisition data volume is very big Stable situation;Central server verifies server metadata, after determining abnormal metadata in server metadata, according to different Normal metadata determines and repairs recommending data, and generates abnormal reparation message, by the abnormal message of repairing of push to corresponding O&M people In the target terminal user of member, to carry out checking confirmation for operation maintenance personnel;It is whole using target user when receiving operation maintenance personnel When the reparation that end is sent confirms instruction, central server is automatically repaired on abnormal server by using recommending data is repaired Abnormal metadata;To realize operation maintenance personnel without logging into abnormal server system, repair on abnormal server Existing abnormal metadata solves the problems, such as abnormal data existing for abnormal server, and then improves existing operation maintenance personnel O&M The working efficiency of server.
In another embodiment, central server 430 are also used to inquire the corresponding server info of abnormal metadata; Determine responsible person's information of server info;The account data of responsible person's information is obtained, and using account data as parameter Encryption key;It obtains metadata and repairs parameter, and use parameter encryption key, parameter is repaired to metadata and is encrypted, is obtained Repair recommending data;It is also used to generate user and determines link and data problem types, and recommended according to data problem type, reparation Data and user determine link, generate abnormal reparation message;User determines that link sends reparation for triggering target terminal user Confirmation instruction.
In the specific implementation, central server 430 inquires the corresponding server info of abnormal metadata;Determine server info Responsible person's information;Specifically, central server 430 extracts the computer room information and IP information in server metadata, center Server 430 combines unique principle using computer room information and IP information, positions the corresponding property server of abnormal metadata, really The server info of the fixed property server;Then, according to server info, the O&M of the responsible O&M property server is determined The specifying information of personnel, therefore the information is named as responsible person's information;Meanwhile determining the account number of responsible person's information According to.Then, central server 430 is using account data as parameter encryption key, while obtaining metadata and repairing parameter, and using Parameter encryption key is repaired parameter to metadata and is encrypted, and obtains repairing recommending data.
Central server 430 be also used to generate user determine link and data problem types, and according to data problem type, It repairs recommending data and user determines link, generate exception and repair message;User determines link for triggering target terminal user It sends and repairs confirmation instruction.
The technical solution of the present embodiment, central server are repaired when transmitting reparation recommending data to target terminal user Recommending data is to make the account data of operation maintenance personnel as parameter encryption key and encrypted, to improve data The safety of transmission and the accuracy for being automatically repaired abnormal metadata, while encrypting remediation server abnormal repair generated and disappearing Breath includes that user determines link;When operation maintenance personnel checks the abnormal details repaired in message, for example, data problem type, The contents such as recommending data are repaired without mistaking, operation maintenance personnel determines that link, triggering target terminal user transmission are repaired by clicking user Multiple confirmation instruction, so that remediation server be made to be automatically repaired the abnormal metadata on abnormal server;Operation maintenance personnel is realized to exist In the case where abnormal server system, abnormal metadata present on abnormal server is repaired, solves abnormal server Existing abnormal data problem, and then improve the working efficiency of existing operation maintenance personnel O&M server.
In another embodiment, region server 420 are also used to obtain the IP query range of central server 430;Root According to IP query range, the current IP information of multiple servers is inquired;The history IP information of central server 430 is obtained, comparison is gone through History IP information and current IP information, obtain comparison result;And comparison result is sent to central server 430.
In the specific implementation, region server 420 obtains the IP query range of central server 430, for example, IP sections;Then, According to IP query range, the current IP information of multiple servers is inquired;It recalls central server 430 and inquires multiple servers History IP information obtains comparison result by comparing history IP information and current IP information;And it is genuinely convinced into send comparison result Business device 430.Specifically, new server ip that is online but managing not in time can be found out according to comparison result, or with management but The server ip that can not be connected to.
The technical solution of the present embodiment, region server by carrying out IP scanning to the server currently managed, thus Server ip information can be managed in time, improve the operational efficiency of the metadata repair system of such server.
In another embodiment, client 410 is acquired, is also used to execute metadata acquisition operation, obtains multiple services The initial metadata of device;Data Format Transform is carried out to initial metadata, obtains server metadata.
In the specific implementation, acquisition client 410 executes metadata acquisition operation, specifically acquiring client 410 can be first Inspection item type, in addition, item types can also be configured from the configuration file of client itself, or in passing through it is genuinely convinced Business device is notified and is obtained.Then, acquisition client 410 reads item design number according to item types from the configuration file of project Data are relied on according to project, specifically, acquisition client 410 IP, URL and port information all in configuration file and its is matched It sets item all to read out, middleware common for database, Redis, MongoDB etc., it can be pointedly according to corresponding configuration Item obtains configuration information, finally, item design data and project are relied on data encapsulation, obtains the server member number of JSON format According to, and upload server metadata is to region server 420.To each intermediate item, need specially to develop corresponding item design It finds to realize automatically with Dependency Specification, while focusing on the collection to error situation and passing back to central server basic management and locate Reason, can be continuously improved client for the support situation of items of different types information, so that more and more using these information Project information can find automatically.
In addition, acquisition client 410 is adopted by executing the order of Linux, reading file or accessing third party software Collect information, collected metadata equally passes through JSON format and converts, and obtains server metadata.Finally send server member number According to region server 420.Acquire and the metadata data item reported include, place computer room, device IP, virtual IP address, public network IP, Host name, device type (including physical machine, virtual machine/cloud machine), memory, CPU model, CPU core number, producer, model, hard disk are empty Between, place rack, operating system name and version number, the service mainly run etc., can expand according to the actual situation.
The technical solution of the present embodiment, acquisition client accurately can be acquired comprehensively by executing data acquisition operations Server metadata;At the same time, the data format of server metadata is JSON format, and JSON format has succinct and clear Hierarchical structure, be easy to the reading of personnel and write, while being also easy to machine parsing and generating, and effectively promote network transmission Efficiency.
In another embodiment, client 410 is acquired, is also used to judge upload server metadata to region server Whether 420 the step of runs succeeded;Failure notification is uploaded if it is not, generating;It concurrently serves and passes failure notification to central server 430。
In the specific implementation, whether acquiring the step of client 410 judges upload server metadata to region server 420 It runs succeeded;If upload server metadata is unsuccessful to region server 420, upload failure notification is generated;Concurrently serve Failure notification is passed to central server 430.Wherein, failure notification is uploaded for notifying operation maintenance personnel acquisition client 410 to upload Server metadata is unsuccessful to region server 420.
The technical solution of the present embodiment, it is unsuccessful when acquisition client upload server metadata to region server, then It generates and uploads failure notification;It concurrently serves and passes failure notification to central server, in time to the acquisition client for upload exception occur End is managed and controls.
In another embodiment, central server 430 are also used to receive the new added data item instruction of user;According to new Increase data item instruction, the data item of adjustment acquisition 410 acquisition server metadata of client.
In the specific implementation, specifically included during the new added data item that central server 430 receives user instructs, User inputs new added data item instruction in the operating system of central server 430, for example, the data of the newly-increased acquisition data of configuration Item needs the newly-increased data item acquired for server and project;Meanwhile user can also specify according to object and select to adopt Collect range, for example, specifying by computer room, by version number of server operating system etc.;It can also configure and support acquisition new data The minimum version number of client acquires script etc. used when newly-increased data, and then adjusts acquisition 410 acquisition server of client The data item of metadata.Above-mentioned configuration content is new added data item instruction.In practical application, acquisition client 410 is using silent The acquisition data item recognized can input new added data item instruction when user needs to adjust to central server 430.
Then, central server 430 can be instructed according to new added data item and be searched after region server 420 uploads data Whether the corresponding acquisition client 410 of region server 420 needs the newly-increased more data item of acquisition, if it is desired, then continues to use Data acquisition request in the new added data item instruction of user is handed down to region server 420, specifically by corresponding communication interface Ground, data acquisition request include the data item name, script download path and the MD5 code of script file, client of newly-increased acquisition IP, requirement client release number.Above-mentioned data acquisition request is issued to corresponding acquisition client by region server 420 410, meanwhile, region server 420 can record the information of the acquisition client 410 successfully issued in SQLite.
Then, it after acquiring the data acquisition request that client 410 receives region server 420, is wanted according to data acquisition It asks and downloads corresponding data acquisition script using script download path;And script is acquired to data using the MD5 code of script file It is verified;Meanwhile corresponding data acquisition acquisition client 410 can first check that script whether there is locally before downloading, Script downloading is then carried out if it exists;If, be by updating acquisition visitor when the case where not needing script to adjust acquisition data item Family end 410 come support acquisition new data, operation maintenance personnel can use Ansible batch updating in this case.
Acquire client 410 every time acquisition new data when, data acquisition script can execute automatically, and data acquire script can be by The output of format as " index | value " is as a result, acquisition client 410 reports after parsing, if error, returns to different negatives Error code illustrates error reason to central server 430;For not needing data acquisition script, acquisition client 410 will be certainly The data of body acquire log, voluntarily acquisition, encapsulation of data and report to central server 430.
The technical solution of the present embodiment is instructed by the new added data item inputted according to user, and adjustment acquisition client is adopted Collect the data item of server metadata;It realizes and neatly adjusts acquisition client acquisition server member number according to the demand of user According to data type, acquisition target type, the acquisition data item such as data area.
For the ease of the understanding of those skilled in the art, in one embodiment, as shown in figure 5, providing a kind of service The operational flow diagram of the central server of the metadata repair system of device;Firstly, 430 calling rule of central server detection IT member The problem of data, then, central server 430 merge it is found that data problem, then, central server 430 is data Problem is classified by responsible person, and then, central server 430 actively initiates the attribute of inquiry problematic entities, and central server 430 is sentenced It is disconnected whether successful inquiring,;If successful inquiring, 430 amalgamation result of central server simultaneously generate reparation suggest, then, in it is genuinely convinced Device 430 be engaged according to template generation data notification content, is notified finally, central server 430 is sent to user;If inquiry not at Function, central server 430 then notify system maintenance personnel.
A kind of metadata repair system of above-mentioned server, the abnormal metadata that can be automatically repaired on abnormal server; To realize operation maintenance personnel without logging into abnormal server system, repair abnormal first present on abnormal server Data solve the problems, such as abnormal data existing for abnormal server, and then improve the work of existing operation maintenance personnel O&M server Efficiency.
For the ease of the understanding of those skilled in the art, in one embodiment, as shown in fig. 6, providing a kind of service The operational flow diagram of the metadata repair system of device;410 acquisition server data of client are acquired, acquisition client 410 acquires Project data, then, acquisition client 410 encapsulate above-mentioned Data Concurrent and send to region server 420;Acquisition client 410 is sentenced Disconnected whether to send success, if sending successfully, region server 420 is compressed in batches and uploads data to central server 430;In Central server 430 receives, parses and save above-mentioned data;If transmission is unsuccessful, acquire in 410 record log of client and notice Central server 430.
A kind of metadata repair system of above-mentioned server, the abnormal metadata that can be automatically repaired on abnormal server; To realize operation maintenance personnel without logging into abnormal server system, repair abnormal first present on abnormal server Data solve the problems, such as abnormal data existing for abnormal server, and then improve the work of existing operation maintenance personnel O&M server Efficiency.
In one embodiment, a kind of computer equipment is provided, which can be server, internal junction Composition can be as shown in Figure 7.The computer equipment include by system bus connect processor, memory, network interface and Database.Wherein, the processor of the computer equipment is for providing calculating and control ability.The memory packet of the computer equipment 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 calculating The database of machine equipment is used for the metadata repair data of storage server.The network interface of the computer equipment is used for and outside Terminal by network connection communication.A kind of metadata reparation of server is realized when the computer program is executed by processor Method.
It will be understood by those skilled in the art that structure shown in Fig. 7, only part relevant to application scheme is tied The block diagram of structure does not constitute the restriction for the computer equipment being applied thereon to application scheme, specific computer equipment It may include perhaps combining certain components or with different component layouts than more or fewer components as shown in the figure.
In one embodiment, a kind of computer equipment, including memory and processor are provided, is stored in memory Computer program, the processor perform the steps of when executing computer program
Step 210, server metadata is verified, determines abnormal metadata;
Step 220, it generates the abnormal of the abnormal metadata and repairs message, and push the abnormal message of repairing to target User terminal;The abnormal message of repairing includes repairing recommending data;The reparation recommending data is for repairing the exception The data of metadata;
Step 230, when receiving the target terminal user for the reparation confirmation instruction for repairing recommending data, According to the reparation recommending data, the abnormal metadata is repaired.
In one embodiment, it also performs the steps of when processor executes computer program according to the first number of the exception According to determining data problem type;Inquiry is directed to the reparation recommending data of the data problem type;It generates user and determines link, And determined and linked according to the data problem type, the reparation recommending data and the user, it generates abnormal repair and disappears Breath;The user determines that link sends the reparation confirmation instruction for triggering the target terminal user.
In one embodiment, it is also performed the steps of when processor executes computer program and obtains data check rule; Using the data check rule, regular verification, create-rule check results are carried out to the server metadata;According to described Regular check results determine the abnormal metadata.
In one embodiment, inquiry exception first number is also performed the steps of when processor executes computer program According to corresponding server info;Determine responsible person's information of the server info;According to responsible person's information, determine The target terminal user.
In one embodiment, the decryption reparation is also performed the steps of when processor executes computer program to recommend Data obtain decryption and repair parameter;Parameter is repaired to the decryption and carries out validity check;If verification passes through, using described Parameter is repaired in decryption, replaces the anomaly parameter in the abnormal metadata.
In one embodiment, it is also performed the steps of when processor executes computer program and judges that the inquiry is directed to Whether the step of reparation recommending data of the data problem type runs succeeded;It is unsuccessfully alerted if it is not, then generating inquiry, concurrently The inquiry is sent unsuccessfully to alert to the target terminal user;The inquiry is unsuccessfully alerted for reminding operation maintenance personnel reparation to recommend Data query failure.
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 when being executed by processor
Step 210, server metadata is verified, determines abnormal metadata;
Step 220, it generates the abnormal of the abnormal metadata and repairs message, and push the abnormal message of repairing to target User terminal;The abnormal message of repairing includes repairing recommending data;The reparation recommending data is for repairing the exception The data of metadata;
Step 230, when receiving the target terminal user for the reparation confirmation instruction for repairing recommending data, According to the reparation recommending data, the abnormal metadata is repaired.
In one embodiment, it is also performed the steps of when computer program is executed by processor first according to the exception Data determine data problem type;Inquiry is directed to the reparation recommending data of the data problem type;It generates user and determines chain It connects, and is determined and linked according to the data problem type, the reparation recommending data and the user, generate the abnormal reparation Message;The user determines that link sends the reparation confirmation instruction for triggering the target terminal user.
In one embodiment, it is also performed the steps of when computer program is executed by processor and obtains data check rule Then;Using the data check rule, regular verification, create-rule check results are carried out to the server metadata;According to The rule check results, determine the abnormal metadata.
In one embodiment, it is first that the inquiry exception is also performed the steps of when computer program is executed by processor The corresponding server info of data;Determine responsible person's information of the server info;According to responsible person's information, really The fixed target terminal user.
In one embodiment, the decryption reparation is also performed the steps of when computer program is executed by processor to push away Data are recommended, decryption is obtained and repairs parameter;Parameter is repaired to the decryption and carries out validity check;If verification passes through, institute is used It states decryption and repairs parameter, replace the anomaly parameter in the abnormal metadata.
In one embodiment, it is also performed the steps of when computer program is executed by processor and judges the inquiry needle Whether run succeeded to the step of reparation recommending data of the data problem type;It is unsuccessfully alerted if it is not, then generating inquiry, and The inquiry is sent unsuccessfully to alert to the target terminal user;The inquiry is unsuccessfully alerted for reminding operation maintenance personnel reparation to push away Recommend data query failure.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computer In read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, To any reference of memory, storage, database or other media used in each embodiment provided herein, Including 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.Volatile memory may include Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms, Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing Type 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.
The several embodiments of the application above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art It says, without departing from the concept of this application, various modifications and improvements can be made, these belong to the protection of the application Range.Therefore, the scope of protection shall be subject to the appended claims for the application patent.

Claims (10)

1. a kind of metadata restorative procedure of server, which is characterized in that the described method includes:
Server metadata is verified, determines abnormal metadata;
It generates the abnormal of the abnormal metadata and repairs message, and push the abnormal message of repairing to target terminal user;Institute Stating abnormal message of repairing includes repairing recommending data;The recommending data of repairing is the number for repairing the abnormal metadata According to;
When receiving the target terminal user for the reparation confirmation instruction for repairing recommending data, according to the reparation Recommending data repairs the abnormal metadata.
2. the method according to claim 1, wherein the fault restoration for generating the abnormal metadata disappears Breath, comprising:
According to the abnormal metadata, data problem type is determined;
Inquiry is directed to the reparation recommending data of the data problem type;
It generates user and determines link, and chain is determined according to the data problem type, the reparation recommending data and the user It connects, generates the abnormal reparation message;The user determines that link sends the reparation for triggering the target terminal user Confirmation instruction.
3. the method according to claim 1, wherein the verification server metadata, determines abnormal metadata, Include:
Obtain data check rule;
Using the data check rule, regular verification, create-rule check results are carried out to the server metadata;
According to the regular check results, the abnormal metadata is determined.
4. the method according to claim 1, wherein the push abnormal message of repairing is to target user's end Before end, further includes:
Inquire the corresponding server info of the abnormal metadata;
Determine responsible person's information of the server info;
According to responsible person's information, the target terminal user is determined.
5. reparation is described different the method according to claim 1, wherein described according to the reparation recommending data Normal metadata, comprising:
The reparation recommending data is decrypted, decryption is obtained and repairs parameter;
Parameter is repaired to the decryption and carries out validity check;
If verification passes through, parameter is repaired using the decryption, replaces the anomaly parameter in the abnormal metadata.
6. a kind of metadata prosthetic device of server, which is characterized in that described device includes:
Correction verification module determines abnormal metadata for verifying server metadata;
Pushing module repairs message for generating the abnormal of the abnormal metadata, and pushes the abnormal message of repairing to mesh Mark user terminal;The abnormal message of repairing includes repairing recommending data;The reparation recommending data is described different for repairing The data of normal metadata;
Repair module receives the target terminal user for the reparation confirmation instruction for repairing recommending data for working as When, according to the reparation recommending data, repair the abnormal metadata.
7. a kind of fault correction system of server, which is characterized in that the system comprises: acquisition client, region server And central server;
The acquisition client, for acquiring the server metadata of multiple servers;The server metadata is uploaded to institute State region server;
The region server, for receiving the server metadata of the acquisition client;Batch compresses the server member Data obtain compressed data packets;The compressed data packets are sent to the central server;
The central server, for receiving the compressed data packets of the region server;The compressed data packets are decompressed, are obtained Server metadata;The server metadata is verified, determines abnormal metadata;The abnormal of the abnormal metadata is generated to repair Message, and the abnormal message of repairing is pushed to target terminal user;The abnormal message of repairing includes repairing recommending data;Institute Stating and repairing recommending data is the data for repairing the abnormal metadata;When receiving the target terminal user for described When repairing the reparation confirmation instruction of recommending data, according to the reparation recommending data, the abnormal metadata is repaired.
8. system according to claim 7, which is characterized in that it is first to be also used to inquire the exception for the central server The corresponding server info of data;Determine responsible person's information of the server info;Obtain responsible person's information Account data, and using the account data as parameter encryption key;It obtains metadata and repairs parameter, and added using the parameter Key is repaired parameter to the metadata and is encrypted, obtains the reparation recommending data;It is also used to generate user and determines chain Connect with data problem types, and determined and linked according to the data problem type, the reparation recommending data and the user, it is raw At the abnormal reparation message;The user determines that link refers to for triggering the target terminal user transmission reparation confirmation It enables.
9. a kind of computer equipment, including memory and processor, the memory are stored with computer program, feature exists In the step of processor realizes any one of claims 1 to 5 the method when executing the computer program.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program The step of method described in any one of claims 1 to 5 is realized when being executed by processor.
CN201910484286.8A 2019-06-05 2019-06-05 Metadata repairing method, device and system for server and computer equipment Active CN110262926B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910484286.8A CN110262926B (en) 2019-06-05 2019-06-05 Metadata repairing method, device and system for server and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910484286.8A CN110262926B (en) 2019-06-05 2019-06-05 Metadata repairing method, device and system for server and computer equipment

Publications (2)

Publication Number Publication Date
CN110262926A true CN110262926A (en) 2019-09-20
CN110262926B CN110262926B (en) 2021-10-08

Family

ID=67916794

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910484286.8A Active CN110262926B (en) 2019-06-05 2019-06-05 Metadata repairing method, device and system for server and computer equipment

Country Status (1)

Country Link
CN (1) CN110262926B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110851539A (en) * 2019-10-25 2020-02-28 东软集团股份有限公司 Metadata verification method and device, readable storage medium and electronic equipment
CN111597177A (en) * 2020-05-14 2020-08-28 重庆农村商业银行股份有限公司 Data governance method for improving data quality
CN111930550A (en) * 2020-08-18 2020-11-13 政采云有限公司 Client repairing method, device, equipment and medium
CN112328422A (en) * 2020-11-06 2021-02-05 深圳市锐尔觅移动通信有限公司 Abnormity repairing method and device, electronic equipment and storage medium
CN112631934A (en) * 2020-12-30 2021-04-09 上海高顿教育科技有限公司 Method and device for testing software online problems
CN113656271A (en) * 2021-08-10 2021-11-16 上海浦东发展银行股份有限公司 Method, device and equipment for processing user abnormal behaviors and storage medium
CN116627955A (en) * 2023-05-30 2023-08-22 四川川大智胜系统集成有限公司 Heterogeneous data processing method, system, equipment and medium based on metadata

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105632248A (en) * 2015-12-28 2016-06-01 中国民航信息网络股份有限公司 Safety monitoring system and data processing method therefor
US9507667B1 (en) * 2012-04-11 2016-11-29 Broadridge Securities Processing Solutions, Inc. Computer methods and computer systems for automatic data analysis, reconcilliation and repair
CN108959374A (en) * 2018-05-24 2018-12-07 北京三快在线科技有限公司 Date storage method, device and electronic equipment
CN109522287A (en) * 2018-09-18 2019-03-26 平安科技(深圳)有限公司 Monitoring method, system, equipment and the medium of distributed document storage cluster

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9507667B1 (en) * 2012-04-11 2016-11-29 Broadridge Securities Processing Solutions, Inc. Computer methods and computer systems for automatic data analysis, reconcilliation and repair
US20190108169A1 (en) * 2012-04-11 2019-04-11 Broadridge Securities Processing Solutions, Inc. Computer methods and computer systems for automatic data analysis, reconcilliation and repair
CN105632248A (en) * 2015-12-28 2016-06-01 中国民航信息网络股份有限公司 Safety monitoring system and data processing method therefor
CN108959374A (en) * 2018-05-24 2018-12-07 北京三快在线科技有限公司 Date storage method, device and electronic equipment
CN109522287A (en) * 2018-09-18 2019-03-26 平安科技(深圳)有限公司 Monitoring method, system, equipment and the medium of distributed document storage cluster

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110851539A (en) * 2019-10-25 2020-02-28 东软集团股份有限公司 Metadata verification method and device, readable storage medium and electronic equipment
CN111597177A (en) * 2020-05-14 2020-08-28 重庆农村商业银行股份有限公司 Data governance method for improving data quality
CN111930550A (en) * 2020-08-18 2020-11-13 政采云有限公司 Client repairing method, device, equipment and medium
CN112328422A (en) * 2020-11-06 2021-02-05 深圳市锐尔觅移动通信有限公司 Abnormity repairing method and device, electronic equipment and storage medium
CN112631934A (en) * 2020-12-30 2021-04-09 上海高顿教育科技有限公司 Method and device for testing software online problems
CN113656271A (en) * 2021-08-10 2021-11-16 上海浦东发展银行股份有限公司 Method, device and equipment for processing user abnormal behaviors and storage medium
CN116627955A (en) * 2023-05-30 2023-08-22 四川川大智胜系统集成有限公司 Heterogeneous data processing method, system, equipment and medium based on metadata

Also Published As

Publication number Publication date
CN110262926B (en) 2021-10-08

Similar Documents

Publication Publication Date Title
CN110262926A (en) Metadata restorative procedure, device, system and the computer equipment of server
CN108346028B (en) Business approval processing method, device and system
CN103023710B (en) A kind of safety test system and method
US8341753B2 (en) Managing pre-release of a game application over a network
CN106991035A (en) A kind of Host Supervision System based on micro services framework
US20080021696A1 (en) System and method of providing a fast path link for an identified set of data
CN107181779B (en) Method, device and system for processing access request
CN110263001B (en) File management method, device, system, equipment and computer readable storage medium
EP1872227A1 (en) System and method of testing wireless component applications
CN111125175B (en) Service data query method and device, storage medium and electronic device
CN109391673A (en) A kind of method, system and the terminal device of management update file
CN106844489A (en) A kind of file operation method, device and system
US10986020B2 (en) Reconstructing message flows based on hash values
US11178160B2 (en) Detecting and mitigating leaked cloud authorization keys
CN104391974A (en) Browser and browser bookmark data processing method
CN113687974A (en) Client log processing method and device and computer equipment
CN111061498A (en) Configuration information management system
CN110807000B (en) File repair method and device, electronic equipment and storage medium
CN115994372B (en) File preprocessing method and device in block chain-based data resource hosting
CN112306973A (en) Picture importing system and method
US20120173658A1 (en) Schema Validation Proxy
CN111177736A (en) System, method and device for data storage and access
CN104580429A (en) Method for loading communication information, server and cloud disk client
CN112783903B (en) Method and device for generating update log
CN110061864B (en) Method and system for automatically verifying domain name configuration

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20231023

Address after: Room 1423, No. 1256 and 1258, Wanrong Road, Jing'an District, Shanghai 200040

Patentee after: Tianyi Digital Life Technology Co.,Ltd.

Address before: 1 / F and 2 / F, East Garden, Huatian International Plaza, 211 Longkou Middle Road, Tianhe District, Guangzhou, Guangdong 510630

Patentee before: Century Dragon Information Network Co.,Ltd.

TR01 Transfer of patent right