CN110442478A - Product failure processing method, device, computer equipment and storage medium - Google Patents

Product failure processing method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN110442478A
CN110442478A CN201910598798.7A CN201910598798A CN110442478A CN 110442478 A CN110442478 A CN 110442478A CN 201910598798 A CN201910598798 A CN 201910598798A CN 110442478 A CN110442478 A CN 110442478A
Authority
CN
China
Prior art keywords
product
version
parameter
fault
version updating
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910598798.7A
Other languages
Chinese (zh)
Inventor
孙锦程
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
OneConnect Smart Technology Co Ltd
Original Assignee
OneConnect Smart Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by OneConnect Smart Technology Co Ltd filed Critical OneConnect Smart Technology Co Ltd
Priority to CN201910598798.7A priority Critical patent/CN110442478A/en
Publication of CN110442478A publication Critical patent/CN110442478A/en
Pending legal-status Critical Current

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/1415Saving, restoring, recovering or retrying at system level
    • G06F11/1433Saving, restoring, recovering or retrying at system level during software upgrading
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Abstract

This application involves pedestal O&M fields, and in particular to a kind of product failure processing method, device, computer equipment and storage medium.The described method includes: receiving the product failure message comprising fault message that user terminal is sent, the product failure message carries product identification;Obtain version updating record corresponding with the product identification;It is related to judge whether the fault message to the version updating records corresponding more new version;When determine the fault message to it is described more new version is related when, obtain and with the version updating record corresponding version updating content;The corresponding fault parameter of the fault message is positioned according to the version updating content;It is generated for the fault parameter and repairs file, and the reparation file is sent to the user terminal.The target product to break down can be analyzed using this method, solution has disappeared the failure of target product, reduces the man power and material of fault restoration, shortens the time of fault restoration cost.

Description

Product failure processing method, device, computer equipment and storage medium
Technical field
This application involves field of computer technology, set more particularly to a kind of product failure processing method, device, computer Standby and storage medium.
Background technique
In order to meet the needs of client, Internet company needs constantly to carry out version updating to product.In version updating During easily cause product failure.General failure solution is to look for product failure, then is safeguarded.But internet The product of company is subdivided into multiple modules sometimes, is completed by multiple groups or department's cooperative cooperating.Different groups are to it Responsible module, which is modified ,/importing/increases configuration etc. newly, and updated module is sent to operation maintenance personnel, and operation maintenance personnel is comprehensive It closes each module generation and externally issues updated product.Since these modules are responsible for by each different team, so O&M Personnel require a great deal of time, man power and material one by one checks product module, could determine product failure It is simultaneously manually repaired position.
Summary of the invention
Based on this, it is necessary in view of the above technical problems, provide a kind of failure for capableing of quick positioning product update initiation And solve product failure processing method, device, computer equipment and the storage medium of failure.
A kind of product failure processing method, which comprises
The product failure message comprising fault message that user terminal is sent is received, the product failure message carries production Product mark;
Obtain version updating record corresponding with the product identification;
It is related to judge whether the fault message to the version updating records corresponding more new version;
When determine the fault message to it is described more new version is related when, obtain and with the version updating record corresponding version This more new content;
The corresponding fault parameter of the fault message is positioned according to the version updating content;
It is generated for the fault parameter and repairs file, and the reparation file is sent to the user terminal.
The method for building up of the version updating record in one of the embodiments, comprising:
Receive product identification, version updating content and product renewing data that research and development of products terminal is sent;
Corresponding historical product data are substituted by the product renewing data, generate updated product and product version Number;
Obtain the distribution moment of the updated product;
The Production Version, the version updating content and the distribution moment are associated according to product identification, Build version more new record.
In one of the embodiments, it is described judge the fault message whether with the version updating record it is corresponding more New version is related, comprising:
Obtain current time and preset duration;
Version updating of the difference in the preset duration for extracting the distribution moment and the current time records;
The fault message is analyzed to obtain product failure data;
When the version updating record corresponding product renewing data it is consistent with the product failure data when, determine The fault message is related to the more new version;When the version updating record the corresponding product renewing data with it is described When product failure data are inconsistent, determine that the fault message is unrelated with the more new version.
It is described in one of the embodiments, that the corresponding failure of the fault message is positioned according to the version updating content Parameter, comprising:
The undated parameter of product renewing data and the history of historical product data are extracted from the version updating content Parameter;
The undated parameter and the history parameters are compared to obtain difference parameter;
The corresponding fault parameter of the fault message is positioned according to the difference parameter.
Described generate for the fault parameter repairs file in one of the embodiments, comprising:
Judge whether the difference parameter is parameter preset;
When the difference parameter is parameter preset, according to the difference parameter to corresponding in the product renewing data Undated parameter is adjusted the product renewing data after being adjusted;
It is generated based on the product renewing data adjusted and repairs file.
Described generate for the fault parameter repairs file in one of the embodiments, comprising:
When the difference parameter is not parameter preset, Production Version to be retracted, and build version rollback requests are obtained It is sent to research and development of products terminal;
When receiving the back-off instruction of the research and development of products terminal, the configuration text of the Production Version to be retracted is obtained Part;
The reparation file for being directed to the fault parameter is generated according to the configuration file.
In one of the embodiments, the method also includes:
Obtain record search instruction;
Search for version updating record corresponding with the record search instruction;
Corresponding hidden danger parameter is generated according to corresponding version updating content is recorded with the version updating searched;
Maintenance processing is carried out to product according to the hidden danger parameter, and issues maintenance treated product.
A kind of product failure processing unit, described device include:
Message receiving module, for receiving the product failure message comprising fault message of user terminal transmission, the production Product failure message carries product identification;
Record obtains module, for obtaining version updating record corresponding with the product identification;
Compare determination module, for according to the version updating record judge the fault message whether the version with update It is related;
Content obtains module, for obtaining with the version more when determining that the failure is related to the version updating The corresponding version updating content of new record;
Fault determination module, for positioning the corresponding fault parameter of the fault message according to the version updating content;
Fault restoration module repairs file for generating for the fault parameter, and the reparation file is sent to The user terminal.
A kind of computer equipment, including memory and processor, the memory are stored with computer program, the processing The step of device realizes the above method when executing the computer program.
A kind of computer readable storage medium, is stored thereon with computer program, and the computer program is held by processor The step of above method is realized when row.
The said goods fault handling method, device, computer equipment and storage medium pass through the failure of product failure message Information and the version updating of target product record determine whether failure is related to the version updating of target product, and work as failure and version This update determines failure when related, is generated according to determining failure and repairs file, not only can be to the target product to break down It is analyzed, solution has disappeared the failure of target product, can also safeguard all products of its service, reduce the manpower of fault restoration And material resources, shorten the time of fault restoration cost.
Detailed description of the invention
Fig. 1 is the application scenario diagram of product failure processing method in one embodiment;
Fig. 2 is the flow diagram of product failure processing method in one embodiment;
Fig. 3 is the flow diagram that version updating records method for building up in one embodiment;
Fig. 4 is the flow diagram of product failure judgment method in another embodiment;
Fig. 5 is the flow diagram of product failure processing method in another embodiment;
Fig. 6 is the structural block diagram of product failure processing unit 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.
Product failure processing method provided by the present application, can be applied in application environment as shown in Figure 1.Wherein, it uses Family terminal 102 is communicated by network with server 104, and server 104 and research and development of products terminal 106 communicate to connect.User Terminal 102 generates the product failure message comprising fault message according to faulty item, and sends product failure report to server 104 Text.Server 104 receives the product failure message comprising fault message that user terminal 102 is sent, and product failure message carries There is product identification.Server 104 obtains version updating record corresponding with product identification.Server 104 judges that fault message is It is no that version updating to record corresponding more new version related.When determine fault message to more new version is related when, server 104 obtains It takes and records corresponding version updating content with version updating.Server 104 is corresponding according to version updating content positioning failure information Fault parameter.Server 104 generates the reparation file for being directed to fault parameter, and is sent to user terminal for file is repaired.Clothes Business device 104 can receive version updating content and product renewing data of the transmission of research and development of products terminal 106 etc..Wherein, terminal 102 It can be, but not limited to be various personal computers, laptop, smart phone, tablet computer with research and development of products terminal 106 And portable intelligent device, server 104 can use the server cluster of the either multiple server compositions of independent server To realize.
In one embodiment, as shown in Fig. 2, providing a kind of product failure processing method, it is applied to Fig. 1 in this way In server 104 for be illustrated, comprising the following steps:
Step 202, the product failure message comprising fault message that user terminal is sent, the product failure message are received Carry product identification.
Server 104 receives the product failure message comprising fault message that user terminal is sent, and product failure message is taken With product identification.Product failure message can be what user terminal 102 was generated according to the fault message of the product to break down Code message, code message not only include fault message, also include corresponding product identification.Fault message may include that product goes out The numbers relevant to product failure such as product process when existing failure, each data run code in product, each data run parameter According to fault message is also possible to fault code.Product identification is the mark of product for identification, can be name of product, code name Or number etc..
Step 204, version updating record corresponding with the product identification is obtained.
Server 104 obtains version updating record corresponding with product identification.Version updating has recorded each update The Production Version of version, corresponding distribution moment and product renewing data.Version updating record can pass through text, picture Or the corresponding relationship between the mode record product mark of table, Production Version, distribution moment and product renewing data, and Storage is in the database.For example, product identification is the product of " XX ", having issued Production Version in YY1 YY1 month YY1 day is V3.0, wherein product renewing data are " ZZ1 " data;Product identification is the product of " XX ", is issued in YY2 YY2 month YY2 day Production Version is V3.1, and wherein product renewing data are " ZZ2 " data;Product identification is the product of " AA ", in BB1 BB1 Having issued within BB1 days Production Version the moon is V3.0, and wherein product renewing data are " CC1 " data.Server can be according to difference Product identification building be directed to the mapping table of product identification, the corresponding storage Production Version of mapping table, distribution moment And product renewing data, server can obtain its corresponding relevant information respectively according to product identification " XX " and " AA ", and Mapping table is constructed respectively;Server can also construct output aggregate mark table, and establish and correspond under different product identifications Relation table.
Step 206, it is related to judge whether the fault message to the version updating records corresponding more new version.
It is related that server 104 judges whether fault message to version updating records corresponding more new version.Server can be with Judge whether fault message is related to version updating record according to attribute information.Wherein attribute information can be time or data Title.Server can only judge that the difference between distribution moment and the fault moment of fault message in version updating record is No to be less than preset duration or only judge whether data name is consistent, when result is positive result, server determines fault message It is related to version updating record;When result is negative decision, it is unrelated that server can determine that fault message is recorded with version updating.
Server can also first judge whether the difference issued between moment and fault moment is less than preset duration, then judge Whether fault data and the product renewing data in version updating record are consistent, and when the two is positive result, server is true It is related to version updating record to determine fault message;When any one result is negative decision, server can determine fault message It is recorded with version updating unrelated.Likewise, server can also first judge the product in fault data and version updating record more Whether new data is consistent, then judges whether the difference issued between moment and fault moment is less than preset duration.When server is true It is unrelated with more new version to determine fault message, accesses artificial reparation port.
Server 104 can also first judge whether fault moment and the difference issued between the moment are less than preset duration, when Fault moment and distribution the moment between difference be less than preset duration when, server can extract the product in fault message into Journey judges whether product process includes product renewing data.When product process includes product renewing data, server determines event It is related to more new version to hinder information, and determines that product renewing data are corresponding with fault data;When product process does not include product When more new data, server determines that fault message is unrelated with more new version, accesses artificial reparation port.
Step 208, when determine the fault message to it is described more new version is related when, obtain with the version updating record Corresponding version updating content.
When determine fault message with more new version is related when, server 104 obtain recorded with the version updating it is corresponding Version updating content.Version updating content contains the titles of product renewing data, more new version number, the function of update, uses Parameter and update responsible person etc..For example, version updating content can be, " theme: system sends out version;Update data name: cash register Platform system;Version number: 3.4.3;Update responsible person: XX;Undated parameter: ".
Step 210, the corresponding fault parameter of the fault message is positioned according to the version updating content.
Server 104 extracts more new data, undated parameter and version number in version updating content, and according to version number With the history parameters for updating corresponding historical product data in a version on data acquisition.Server is by undated parameter and history The difference parameter being had differences is compared in parameter, and server is according to difference parameter positioning failure parameter.For example, updating ginseng It is " C language " that language is used in number, and it is " C that language is used in history parameters+Language ", server determine difference parameter to use language Speech, server determine that fault parameter is " using language " according to difference parameter, and fault parameter content is that " C language is changed to C+Language Speech ", so failure cause is that data caused by difference using language are incompatible.
Step 212, it is generated for the fault parameter and repairs file, and the reparation file is sent to user's end End.
Server 104 is generated for the fault parameter repairs file, and is sent to user terminal for file is repaired.Service Device can modify to the undated parameter in product renewing data according to different fault parameters, and generate reparation file; Available rollback Production Version, obtains the configuration file of Production Version to be retracted, and is generated according to configuration file and repairs text Part.User terminal can repair the product of failure according to file is repaired.Server can also be by fault parameter and reparation text Part is sent to research and development of products terminal, research and development of products terminal to fault parameter and repair file store or for fault parameter and File is repaired to modify to more new version.
In the said goods fault handling method, pass through the fault message of product failure message and the version updating of target product Record determines whether failure is related to the version updating of target product, and failure, root are determined when failure is related to version updating It is generated according to determining failure and repairs file, the target product to break down can not only analyzed, solution has disappeared target product Failure, can also safeguard its service all products, reduce the man power and material of fault restoration, shorten fault restoration flower The time taken.
In one embodiment, as shown in figure 3, the method for building up of version updating record, has follow steps:
Step 302, product identification, version updating content and product renewing data that research and development of products terminal is sent are received.
Server 104 receives product identification, version updating content and the product renewing number that research and development of products terminal 106 is sent According to.Research and development of products terminal 106 is held by research staff.Research and development of products terminal 106 is by version updating content, product renewing number Server 104 is sent jointly to according to corresponding product identification, server 104 is according to product identification to the version updating received Content and product renewing data are handled.Version updating content can the title containing product renewing data, more new version number, The function of update, the parameter of use and update responsible person etc..
Step 304, corresponding historical product data are substituted by the product renewing data, generate updated product and Production Version.
Server 104 substitutes corresponding historical product data by product renewing data, generates updated product and production Product version number.Historical product data are the history codes etc. for realizing the program segment of a certain function of product, comprising running product. Product renewing data are the program segments for a certain function of upgrading products, the more fresh code etc. comprising running product.Server obtains Take the history input data and history output data of historical product data, and obtain product renewing data update input data and Output data is updated, when history input data and update input data, history output data consistent with output data is updated, clothes Device be engaged in for the updated product of product renewing data substitution historical product data generation, Production Version is according to preset rules at this time It is generated.When history input data and update input data, history output data and update output data in any pair not When consistent, server pause substitution, and generate exception information and be sent to research and development of products terminal, and according to the anti-of research and development of products terminal Feedback judges whether to continue to substitute.Preset rules can be when product renewing data substitute historical product data, generate big In the Production Version of old version number.
Step 306, the distribution moment of the updated product is obtained.
Server 104 obtains the distribution moment of updated product.The distribution moment is that each user terminal is available to more The time of product after new.The distribution moment can be system generation, can also be configured by the administrator of management server.
Step 308, according to product identification by the Production Version, the version updating content and the distribution moment into Row association, build version more new record.
Production Version, version updating content and distribution moment are associated by server 104 according to product identification, generate Version updating record, and version updating is recorded and carries out corresponding storage with product identification.Server can record version updating It is stored in database of record.
In the said goods fault handling method, according to the product renewing data and version updating content received, not only give birth to At updated product, Production Version, version updating content and distribution moment are also associated build version more new record, Fast and easy positioning failure parameter, not only shortens the time of system failure positioning, but also is easily repaired the generation of file, saves Fault restoration needs the man power and material consumed.
In another embodiment, as shown in figure 4, judging whether the fault message is corresponding with version updating record More new version it is related, have follow steps:
Step 402, current time and preset duration are obtained.
Server 104 obtains current time and preset duration.Preset duration is preset duration, for example, it may be 24 hours or 1 week etc..Current time can be the time that server receives product failure message, is also possible to fault message and takes The fault moment of the product failure of band.
Step 404, the version of the difference in the preset duration at the distribution moment and the current time is extracted more New record.
Server 104 extracts version updating of the difference for issuing moment and current time in preset duration and records.Service Device each version updating can be recorded in the distribution moment be compared with current time, when issuing moment and current time When difference is less than preset duration, server extracts corresponding version updating record.
Step 406, the fault message is analyzed to obtain product failure data.
Server 104 analyzes fault message to obtain product failure data.Server can be touched according to product failure The operation code of each data of product determines the fault data to break down in fault message when hair.For example, server can obtain Operation code when product being taken to work normally, and line by line by operation code when running code and failure triggering when working normally It is compared, when the difference value between two operation codes of same a line exceeds preset threshold, determines the row operation code pair The product data answered are product failure data.
Step 408, when the version updating records the corresponding product renewing data and the product failure data one When cause, determine that the fault message is related to the more new version;When the version updating records the corresponding product renewing When data and the product failure data are inconsistent, determine that the fault message is unrelated with the more new version.
Server 104 by version updating record in product renewing data and product failure data be compared.Work as version When the corresponding product renewing data of more new record are consistent with product failure data, server 104 determines fault message and more new edition This correlation;When version updating records corresponding product renewing data and product failure data are inconsistent, server 104 determines event It is unrelated with more new version to hinder information, failure of O&M terminal that server is held to the operation maintenance personnel transmission containing fault message reports an error letter Breath.
In the said goods fault handling method, by whether related to more new version to fault message, rapidly to system Failure is classified, because caused by version updating the system failure carry out subsequent processing, the system caused by non-version updating therefore Barrier is sent to rapidly the O&M terminal that operation maintenance personnel is held, and introduces artificial reparation port, saves the judgement time of fault restoration, Convenient for quick positioning system failure.
In one embodiment, the corresponding fault parameter of the fault message, packet are positioned according to the version updating content It includes following steps: extracting the undated parameter of product renewing data and going through for historical product data from the version updating content History parameter;The undated parameter and the history parameters are compared to obtain difference parameter;It is positioned according to the difference parameter The corresponding fault parameter of the fault message.
Server 104 extracts title, undated parameter and the version number of the product renewing data in version updating content.Clothes Be engaged in device according in the name acquiring of version number and product renewing data in a version corresponding historical product data history version This content, and history parameters are extracted from old version content.Old version content is used according in historical product data All parameters generate.For example, version updating content is " to update data name: cashier system;Version number: 3.4.3;More New responsible person: XX;Undated parameter: new D is generated according to existing A and B, and C " is obtained according to A, B and D.Server is from version The update data name extracted in more new content be " cashier system ", version number be " 3.4.3 ", undated parameter be " according to Existing A and B generates new D, and obtains C " according to A, B and D.Server is according to update data name " cashier system " and version This number " 3.4.3 " acquisition " cashier system ", the corresponding old version content of version number " 3.4.2 ".Old version content can be with Be " with update data name " cashier system ", version number: the corresponding parameters of 3.4.2 have respectively: according to existing A and B It obtains C, the use of language be C language ".Therefore, history parameters can be " obtaining C according to existing A and B " and " the use of language be C Language ".
Undated parameter and history parameters are compared to obtain difference parameter for server 104.Difference parameter can be parameter Acquisition address, using language, computation rule change, increase or decrease parameter etc..
Server 104 is according to the corresponding fault parameter of difference parameter positioning failure information.When history parameters are " according to existing A and B obtain C " and " using language be C language ", undated parameter be " new D is generated according to existing A and B, and according to A, B When obtaining C " with D, server determines that the parameter having differences is " obtaining C according to existing A and B " and " according to existing A and B New D is generated, and C " is obtained according to A, B and D, thus distinguishing parameter is computation rule.Server, which can specify that, works as undated parameter When not showing each parameter in history parameters completely, not shown history parameters use default setting.Server is joined according to difference Number determines that fault parameter is " computation rule change ", and fault parameter content is that " obtaining C according to existing A and B " is changed to " root Generate new D according to existing A and B, and C " obtained according to A, B and D, thus failure cause be rule difference caused by data not It is compatible.
In some embodiments, it is generated for the fault parameter and repairs file, comprising the following steps: judge the difference Whether parameter is parameter preset;When the difference parameter is parameter preset, the update is adjusted according to the difference parameter and is joined Count the product renewing data after being adjusted;It is generated based on the product renewing data adjusted and repairs file.
Server 104 first judges to distinguish whether parameter is parameter preset.Parameter preset is to be set in advance in parameter storage number According in library, server has been previously stored corresponding parameter adjustment rule for each parameter preset.For example, when difference parameter When to use language, use language before and after the available update of server, by product renewing data using language according to Corresponding Language Processing rule is converted in historical product data and uses language;When difference parameter is computation rule, server It can be adjusted according to input data and output data of the computation rule in undated parameter to product renewing data;Work as difference When parameter is that parameter obtains address, server can obtain address to the acquisition in product renewing data with the parameter of undated parameter Location is adjusted.
When distinguish parameter be parameter preset when, server 104 according to difference parameter in product renewing data it is corresponding more New parameter is adjusted the product renewing data after being adjusted.Server obtains the corresponding adjustment rule of difference parameter, then root Product renewing data are adjusted according to adjustment rule, the product renewing data after being adjusted.
Server 104 is based on the product renewing data adjusted and generates reparation file.Repairing file can be product Installation kit, the corresponding product of product installation kit can be the product renewing data by adjusting after and substitute corresponding product renewing Data generate product adjusted.
It in the said goods fault handling method, is generated according to determining difference parameter and repairs file, can not only positioned and be System failure shortens the time of system failure positioning, and the generation for repairing file decreases what fault restoration needed to consume Man power and material reduces the repetitive operation for the same class system failure.
In another embodiment, it is generated for the fault parameter and repairs file, comprising the following steps: when the difference is joined When number is not parameter preset, Production Version to be retracted is obtained, and build version rollback requests are sent to research and development of products terminal;When When receiving the back-off instruction of the research and development of products terminal, the configuration file of the Production Version to be retracted is obtained;According to institute It states configuration file and generates the reparation file for being directed to the fault parameter.
When server 104 determines that difference parameter is not parameter preset, server obtains Production Version to be retracted.Service Device can be recorded according to version updating in version number obtain Production Version to be retracted.Server is according to product version to be retracted Number build version rollback requests are sent to research and development of products terminal.Research and development of products terminal 106 receives version rollback request, and according to version This rollback requests shows product renewing data and historical product data, and research staff can carry out judgement according to the data of display is It is no to retract.Research and development of products terminal 106 receives the back-off instruction of research staff's input, and back-off instruction is sent to server 104.When server 104 receives the back-off instruction that research and development of products terminal is sent, the configuration file of Production Version to be retracted is obtained. Configuration file is the full content installing product in certain terminal and needing, including script and other related contents, can be one A tar packet or zip packet.Server 104 generates the reparation file for being directed to fault parameter according to configuration file, and repairing file can be with Include configuration file.
In the said goods fault handling method, research and development of products terminal is treated rollback Production Version and is audited, and works as audit By when obtain the configuration file of Production Version to be retracted again, research staff can be allowed flexible according to version updating purpose Ground retracts to product version, shortens failure solution and disappears the time, improves the user experience.
In some embodiments, as shown in figure 5, method is further comprising the steps of:
Step 502, record search instruction is obtained.
Server 104 obtains record search instruction.Record search instruction is inputted by the operation maintenance personnel of management server 104 Search instruction.When search instruction may include version number to be searched, product identification, the title of product renewing data, distribution At least one of carve.
Step 504, version updating record corresponding with the record search instruction is searched for.
Server 104 scans in the database of record for being stored with version updating record according to record search instruction, And it searches for version updating corresponding with record search instruction and records.When search instruction includes version number, product identification, distribution moment In any one when, server search and the consistent version updating of search instruction record;When search instruction includes product renewing When the title of data, version updating of the server search near current time is recorded.
Step 506, corresponding hidden according to corresponding version updating content generation is recorded with the version updating searched Suffer from parameter.
Server 104 generates corresponding hidden danger ginseng according to corresponding version updating content is recorded with the version updating searched Number.Server 104 not only obtains the version updating searched and records corresponding version updating content, mentions from version updating content Take out undated parameter, also obtain the product renewing data substitution historical product data by substitution history parameters.Server will Undated parameter and the difference parameter being had differences is compared by substitution history parameters, positions hidden danger further according to difference parameter Parameter.
Step 508, maintenance processing is carried out to product according to the hidden danger parameter, and issues maintenance treated product.
Server 104 carries out maintenance processing to product according to hidden danger parameter, and issues maintenance treated product.Server The reparation file of product can be generated according to the corresponding difference parameter of hidden danger parameter using the method in above-mentioned two embodiment, And each user terminal is sent to by file is repaired.
In the said goods fault handling method, it can be scanned for according to the various product information of input, and to corresponding Product renewing data are audited, and are prejudged to hidden danger parameter that may be present, and according to the hidden danger parameter of anticipation to product Maintenance processing is carried out, the generation of the system failure is avoided.
It should be understood that although each step in the flow chart of Fig. 2-5 is successively shown according to the instruction of arrow, These steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly stating otherwise herein, these steps Execution there is no stringent sequences to limit, these steps can execute in other order.Moreover, at least one in Fig. 2-5 Part steps may include that perhaps these sub-steps of multiple stages or stage are not necessarily in synchronization to multiple sub-steps Completion is executed, but can be executed at different times, the execution sequence in these sub-steps or stage is also not necessarily successively It carries out, but can be at least part of the sub-step or stage of other steps or other steps in turn or alternately It executes.
In one embodiment, as shown in fig. 6, providing a kind of product failure processing unit, comprising: message receiving module 602, record obtains module 604, compares determination module 606, content acquisition module 608, fault determination module 610 and fault restoration Module 612, in which:
Message receiving module 602, it is described for receiving the product failure message comprising fault message of user terminal transmission Product failure message carries product identification.
Record obtains module 604, for obtaining version updating record corresponding with the product identification.
Compare determination module 606, for according to the version updating record judge the fault message whether with update Version is related.
Content obtains module 608, for obtaining and the version when determining that the failure is related to the version updating The corresponding version updating content of more new record.
Fault determination module 610 is joined for positioning the corresponding failure of the fault message according to the version updating content Number.
Fault restoration module 612 repairs file for generating for the fault parameter, and the reparation file is sent To the user terminal.
It includes product information receiving unit, upgrading products generation list that record, which obtains module 604, in one of the embodiments, Member, distribution moment acquiring unit and record generation unit, in which:
Product information receiving unit, for receiving product identification, version updating content and the production of the transmission of research and development of products terminal Product more new data.
Upgrading products generation unit is generated for substituting corresponding historical product data by the product renewing data Updated product and Production Version.
Moment acquiring unit is issued, for obtaining the distribution moment of the updated product.
Record generation unit, for according to product identification by the Production Version, the version updating content and described The distribution moment is associated, build version more new record.
In some embodiments, it includes time acquisition unit, record extraction unit, data analysis that record, which obtains module 604, Unit and judging unit, in which:
Time acquisition unit, for obtaining current time and preset duration.
Extraction unit is recorded, for extracting the difference at the distribution moment and the current time in the preset duration Version updating record.
Data analysis unit obtains product failure data for being analyzed the fault message.
Judging unit, for recording the corresponding product renewing data and the product failure number when the version updating According to it is consistent when, determine that the fault message is related to the more new version;When the version updating records the corresponding product When more new data and the product failure data are inconsistent, determine that the fault message is unrelated with the more new version.
In some embodiments, fault determination module 610 includes parameter extraction unit, parameter comparing unit and fault parameter Positioning unit, in which:
Parameter extraction unit, for extracting the undated parameter of product renewing data from the version updating content and going through The history parameters of history product data.
Parameter comparing unit obtains difference parameter for the undated parameter and the history parameters to be compared.
Fault parameter positioning unit, for positioning the corresponding fault parameter of the fault message according to the difference parameter.
In another embodiment, fault restoration module 612 may include parameter judging unit, parameter adjustment unit and file Generation unit, in which:
Parameter judging unit, for judging whether the difference parameter is parameter preset.
Parameter adjustment unit is used for when the difference parameter is parameter preset, according to difference parameter adjustment Undated parameter be adjusted after product renewing data.
File generating unit repairs file for generating based on the product renewing data adjusted.
In another embodiment, fault restoration module 612 can also include version rollback request transmitting unit, configuration file Acquiring unit and file generating unit, in which:
Version rollback request transmitting unit, for obtaining product to be retracted when the difference parameter is not parameter preset Version number, and build version rollback requests are sent to research and development of products terminal.
Configuration file acquiring unit, for when receiving the back-off instruction of the research and development of products terminal, obtain it is described to The configuration file of rollback Production Version.
File generating unit, for generating the reparation file for being directed to the fault parameter according to the configuration file.
In some embodiments, device further include instruction acquisition module, record search module, hidden danger parameter generation module and Safeguard processing module, in which:
Instruction acquisition module, for obtaining record search instruction.
Search module is recorded, for searching for version updating record corresponding with the record search instruction.
Hidden danger parameter generation module records corresponding version updating content with the version updating searched for basis Generate corresponding hidden danger parameter.
Safeguard processing module, for carrying out maintenance processing to product according to the hidden danger parameter, and issue maintenance processing after Product.
Specific about product failure processing unit limits the limit that may refer to above for product failure processing method Fixed, details are not described herein.Modules in the said goods fault treating apparatus can fully or partially through software, hardware and its Combination is to realize.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 It is stored in the memory in computer equipment in a software form, in order to which processor calls the above modules of execution corresponding Operation.
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 can be database of record, parameter storing data library for storing product failure processing data, database Deng.The network interface of the computer equipment is used to communicate with external terminal by network connection.The computer program is processed To realize a kind of product failure processing method when device executes.
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, which is stored with Computer program, which performs the steps of when executing computer program receives believing comprising failure for user terminal transmission The product failure message of breath, the product failure message carry product identification;Obtain version corresponding with the product identification More new record;It is related to judge whether the fault message to the version updating records corresponding more new version;Described in determination Fault message to it is described more new version is related when, obtain and with the version updating record corresponding version updating content;According to institute It states version updating content and positions the corresponding fault parameter of the fault message;It is generated for the fault parameter and repairs file, and The reparation file is sent to the user terminal.
In one embodiment, processor executes the method for building up for the version updating record realized when computer program, can To include: product identification, version updating content and the product renewing data for receiving research and development of products terminal and sending;Pass through the product More new data substitutes corresponding historical product data, generates updated product and Production Version;It obtains updated described The distribution moment of product;According to product identification by the Production Version, the version updating content and the distribution moment into Row association, build version more new record.
In one embodiment, processor execute computer program when realize judge the fault message whether with the version When the relevant step of the corresponding more new version of this more new record, it is also used to: obtains current time and preset duration;Extract the hair Version updating of the difference at row moment and the current time in the preset duration records;The fault message is divided Analysis obtains product failure data;When the version updating records the corresponding product renewing data and the product failure data When consistent, determine that the fault message is related to the more new version;When the version updating records the corresponding product more When new data and the product failure data are inconsistent, determine that the fault message is unrelated with the more new version.
In one embodiment, it is realized when processor executes computer program according to version updating content positioning It when the step of the corresponding fault parameter of fault message, is also used to: extracting product renewing data from the version updating content Undated parameter and historical product data history parameters;It is compared the undated parameter and the history parameters to obtain area Other parameter;The corresponding fault parameter of the fault message is positioned according to the difference parameter.
In one embodiment, it realizes to generate for the fault parameter when processor executes computer program and repairs file Step when, be also used to: judging whether the difference parameter is parameter preset;When the difference parameter is parameter preset, root The product renewing data after the undated parameter is adjusted are adjusted according to the difference parameter;More based on the product adjusted New data, which generates, repairs file.
In one embodiment, it realizes to generate for the fault parameter when processor executes computer program and repairs file Step when, be also used to: when the difference parameter is not parameter preset, obtaining Production Version to be retracted, and build version Rollback requests are sent to research and development of products terminal;When receiving the back-off instruction of the research and development of products terminal, obtain described wait return Move back the configuration file of Production Version;The reparation file for being directed to the fault parameter is generated according to the configuration file.
In one embodiment, acquisition record search instruction is also performed the steps of when processor executes computer program; Search for version updating record corresponding with the record search instruction;It is corresponding according to being recorded with the version updating searched Version updating content generates corresponding hidden danger parameter;Maintenance processing is carried out to product according to the hidden danger parameter, and issues maintenance Treated product.
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 receives the product failure report comprising fault message that user terminal is sent Text, the product failure message carry product identification;Obtain version updating record corresponding with the product identification;Judge institute Stating fault message, whether to the version updating to record corresponding more new version related;When determine the fault message and it is described more When new version correlation, obtains and record corresponding version updating content with the version updating;It is fixed according to the version updating content The corresponding fault parameter of the position fault message;It is generated for the fault parameter and repairs file, and the reparation file is sent out Give the user terminal.
In one embodiment, the method for building up for the version updating record realized when computer program is executed by processor can To include: product identification, version updating content and the product renewing data for receiving research and development of products terminal and sending;Pass through the product More new data substitutes corresponding historical product data, generates updated product and Production Version;It obtains updated described The distribution moment of product;According to product identification by the Production Version, the version updating content and the distribution moment into Row association, build version more new record.
In one embodiment, computer program realize when being executed by processor judge the fault message whether with it is described Version updating is also used to when recording the relevant step of corresponding more new version: obtaining current time and preset duration;Described in extraction Version updating of the difference at distribution moment and the current time in the preset duration records;The fault message is carried out Analysis obtains product failure data;When the version updating records the corresponding product renewing data and the product failure number According to it is consistent when, determine that the fault message is related to the more new version;When the version updating records the corresponding product When more new data and the product failure data are inconsistent, determine that the fault message is unrelated with the more new version.
In one embodiment, it is realized when computer program is executed by processor and institute is positioned according to the version updating content It is also used to when stating the step of the corresponding fault parameter of fault message: extracting product renewing data from the version updating content Undated parameter and historical product data history parameters;It is compared the undated parameter and the history parameters to obtain area Other parameter;The corresponding fault parameter of the fault message is positioned according to the difference parameter.
In one embodiment, it realizes to generate for the fault parameter when computer program is executed by processor and repairs text It is also used to when the step of part: judging whether the difference parameter is parameter preset;When the difference parameter is parameter preset, root The product renewing data after the undated parameter is adjusted are adjusted according to the difference parameter;More based on the product adjusted New data, which generates, repairs file.
In one embodiment, it realizes to generate for the fault parameter when computer program is executed by processor and repairs text It is also used to when part: when the difference parameter is not parameter preset, obtaining Production Version to be retracted, and build version rollback is asked It asks and is sent to research and development of products terminal;When receiving the back-off instruction of the research and development of products terminal, the product to be retracted is obtained The configuration file of version number;The reparation file for being directed to the fault parameter is generated according to the configuration file.
In one embodiment, it is also used to when realizing following steps when computer program is executed by processor: obtaining record Search instruction;Search for version updating record corresponding with the record search instruction;According to the version updating that searches It records corresponding version updating content and generates corresponding hidden danger parameter;Maintenance processing is carried out to product according to the hidden danger parameter, And issue maintenance treated product.
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 product failure processing method, which comprises
The product failure message comprising fault message that user terminal is sent is received, the product failure message carries product mark Know;
Obtain version updating record corresponding with the product identification;
It is related to judge whether the fault message to the version updating records corresponding more new version;
When determine the fault message to it is described more new version is related when, obtain and with the version updating record corresponding version more New content;
The corresponding fault parameter of the fault message is positioned according to the version updating content;
It is generated for the fault parameter and repairs file, and the reparation file is sent to the user terminal.
2. the method according to claim 1, wherein the method for building up of version updating record, comprising:
Receive product identification, version updating content and product renewing data that research and development of products terminal is sent;
Corresponding historical product data are substituted by the product renewing data, generate updated product and Production Version;
Obtain the distribution moment of the updated product;
The Production Version, the version updating content and the distribution moment are associated according to product identification, generated Version updating record.
3. according to the method described in claim 2, it is characterized in that, it is described judge the fault message whether with the version more The corresponding more new version of new record is related, comprising:
Obtain current time and preset duration;
Version updating of the difference in the preset duration for extracting the distribution moment and the current time records;
The fault message is analyzed to obtain product failure data;
When the version updating record corresponding product renewing data it is consistent with the product failure data when, determine described in Fault message is related to the more new version;When the version updating records the corresponding product renewing data and the product When fault data is inconsistent, determine that the fault message is unrelated with the more new version.
4. the method according to claim 1, wherein described position the failure according to the version updating content The corresponding fault parameter of information, comprising:
The undated parameter of product renewing data and the history parameters of historical product data are extracted from the version updating content;
The undated parameter and the history parameters are compared to obtain difference parameter;
The corresponding fault parameter of the fault message is positioned according to the difference parameter.
5. according to the method described in claim 4, it is characterized in that, described generate reparation file, packet for the fault parameter It includes:
Judge whether the difference parameter is parameter preset;
When the difference parameter is parameter preset, the production after the undated parameter is adjusted is adjusted according to the difference parameter Product more new data;
It is generated based on the product renewing data adjusted and repairs file.
6. according to the method described in claim 5, it is characterized in that, described generate reparation file, packet for the fault parameter It includes:
When the difference parameter is not parameter preset, Production Version to be retracted is obtained, and build version rollback requests are sent Give research and development of products terminal;
When receiving the back-off instruction of the research and development of products terminal, the configuration file of the Production Version to be retracted is obtained;
The reparation file for being directed to the fault parameter is generated according to the configuration file.
7. according to claim 1 to method described in 6 any one, which is characterized in that the method also includes:
Obtain record search instruction;
Search for version updating record corresponding with the record search instruction;
Corresponding hidden danger parameter is generated according to corresponding version updating content is recorded with the version updating searched;
Maintenance processing is carried out to product according to the hidden danger parameter, and issues maintenance treated product.
8. a kind of product failure processing unit, which is characterized in that described device includes:
Message receiving module, for receiving the product failure message comprising fault message of user terminal transmission, the product event Barrier message carries product identification;
Record obtains module, for obtaining version updating record corresponding with the product identification;
Compare determination module, for according to the version updating record judge the fault message whether the version phase with update It closes;
Content obtains module, for obtaining and remembering with the version updating when determining that the failure is related to the version updating Record corresponding version updating content;
Fault determination module, for positioning the corresponding fault parameter of the fault message according to the version updating content;
Fault restoration module repairs file for generating for the fault parameter, and described in the reparations file is sent to User terminal.
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 7 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 7 is realized when being executed by processor.
CN201910598798.7A 2019-07-04 2019-07-04 Product failure processing method, device, computer equipment and storage medium Pending CN110442478A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910598798.7A CN110442478A (en) 2019-07-04 2019-07-04 Product failure processing method, device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910598798.7A CN110442478A (en) 2019-07-04 2019-07-04 Product failure processing method, device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN110442478A true CN110442478A (en) 2019-11-12

Family

ID=68428640

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910598798.7A Pending CN110442478A (en) 2019-07-04 2019-07-04 Product failure processing method, device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110442478A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114465876A (en) * 2021-12-31 2022-05-10 深圳市广和通无线股份有限公司 Fault processing method, device, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2944631B1 (en) * 1998-05-11 1999-09-06 日本電気フィールドサービス株式会社 Fault finding system for computer system
CN107318047A (en) * 2016-04-26 2017-11-03 三星电子株式会社 Image processing apparatus and its control method
CN109144559A (en) * 2018-09-26 2019-01-04 深圳壹账通智能科技有限公司 A kind of method for pushing and server of updated data package

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2944631B1 (en) * 1998-05-11 1999-09-06 日本電気フィールドサービス株式会社 Fault finding system for computer system
CN107318047A (en) * 2016-04-26 2017-11-03 三星电子株式会社 Image processing apparatus and its control method
CN109144559A (en) * 2018-09-26 2019-01-04 深圳壹账通智能科技有限公司 A kind of method for pushing and server of updated data package

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114465876A (en) * 2021-12-31 2022-05-10 深圳市广和通无线股份有限公司 Fault processing method, device, equipment and storage medium
WO2023123910A1 (en) * 2021-12-31 2023-07-06 深圳市广和通无线股份有限公司 Fault processing method and apparatus, and device and storage medium

Similar Documents

Publication Publication Date Title
CN102236672A (en) Method and device for importing data
CN110019566A (en) Data checking, device, computer equipment and storage medium based on data warehouse
CN108874661B (en) Test mapping relation library generation method and device, computer equipment and storage medium
CN109902272A (en) Electronic form data processing method, device, computer equipment and storage medium
CN109359809A (en) Task distribution method, system, computer equipment and storage medium
CN110223127A (en) Bill data backing method and system
CN108959616A (en) Production numeric field data quality based on big data technology quasi real time monitoring system and method
CN110377583A (en) Database script executes method, apparatus, computer equipment and storage medium
CN109857373A (en) Business data processing method, device, computer equipment and storage medium
CN108776643A (en) A kind of object code merging control method and system based on Version Control flow
CN110321284A (en) Test data input method, device, computer equipment and storage medium
CN109325058A (en) Regular batch comparison method, device, computer equipment and storage medium
CN109992506A (en) Scheduling tests method, apparatus, computer equipment and storage medium
CN110442478A (en) Product failure processing method, device, computer equipment and storage medium
CN111596899A (en) Database migration method, system, equipment and storage medium based on Java development
CN109491885A (en) Test problem localization method, device, computer equipment and storage medium
CN112883728B (en) Nuclear power test-based test procedure information display method and device
CN116452123A (en) Method and device for generating characteristic value of inventory item and computer equipment
CN115827051A (en) Software integration management system, method and server
CN110109980B (en) Method and device for generating scheduled inspection material, computer equipment and storage medium
CN111752927A (en) Clone-based data form generation method, device, terminal equipment and medium
CN105303362A (en) Web signature process method based on storage process
US10922301B1 (en) Apparatus, computer program, and method for trigger-based tracking of database modifications
CN105893047B (en) A kind of bilingual moonlet test macro
CN103500097A (en) Method for developing secondary development platform

Legal Events

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

Application publication date: 20191112