CN109146095A - The treating method and apparatus of multiservice system problem - Google Patents
The treating method and apparatus of multiservice system problem Download PDFInfo
- Publication number
- CN109146095A CN109146095A CN201810971163.2A CN201810971163A CN109146095A CN 109146095 A CN109146095 A CN 109146095A CN 201810971163 A CN201810971163 A CN 201810971163A CN 109146095 A CN109146095 A CN 109146095A
- Authority
- CN
- China
- Prior art keywords
- error
- information
- coded
- code
- matched
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 13
- 238000003672 processing method Methods 0.000 claims description 19
- 238000003860 storage Methods 0.000 claims description 18
- 238000012545 processing Methods 0.000 claims description 16
- 238000004590 computer program Methods 0.000 claims description 9
- 230000007257 malfunction Effects 0.000 claims description 8
- 238000000605 extraction Methods 0.000 claims description 7
- 239000000284 extract Substances 0.000 claims description 6
- 238000012423 maintenance Methods 0.000 abstract description 6
- 230000006870 function Effects 0.000 description 11
- 238000005516 engineering process Methods 0.000 description 4
- 230000002159 abnormal effect Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 230000033228 biological regulation Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 238000013459 approach Methods 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000000151 deposition Methods 0.000 description 1
- 230000014759 maintenance of location Effects 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000012827 research and development Methods 0.000 description 1
- 238000003786 synthesis reaction Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/20—Administration of product repair or maintenance
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/10—Office automation; Time management
- G06Q10/103—Workflow collaboration or project management
Landscapes
- Business, Economics & Management (AREA)
- Human Resources & Organizations (AREA)
- Engineering & Computer Science (AREA)
- Strategic Management (AREA)
- Entrepreneurship & Innovation (AREA)
- Marketing (AREA)
- Operations Research (AREA)
- Quality & Reliability (AREA)
- Economics (AREA)
- Tourism & Hospitality (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Debugging And Monitoring (AREA)
Abstract
The present invention provides a kind for the treatment of method and apparatus of multiservice system problem, comprising the following steps: obtains error information, operation system is multiple;The error characteristic information and position feature information of error problem are extracted from error information;Error characteristic information is matched with the error description information in pre-set error coded table, the corresponding error description information of error characteristic information is obtained, the corresponding error coded of error description information that will match to is as the corresponding error coded of error characteristic information;Position feature information is matched with pre-set position encoded table, it is corresponding position encoded to obtain position feature information;According to the error coded and position encoded generation error code being matched to, and according to the error description information and position encoded generation error information being matched to.It maintains easily personnel and determines that type of error and navigating to reports an error a little, shortens the problem of maintenance personnel is to multiservice system positioning time rapidly by the error code.
Description
Technical field
The present invention relates to field of computer technology more particularly to a kind for the treatment of method and apparatus of multiservice system problem.
Background technique
In field of computer technology, backstage problem is usually to refer to unusual traffic process background server is caused to report an error,
Such as: 1, the field of front end transmission is empty;2, back-end data handles array monthly closing entry;3, affiliated party's interface calls abnormal etc..
When there is multiple operation systems from the background (such as user's system, operation system, Content Management System etc.), if there is asking from the background
Topic, due to each system mistake code disunity in backstage, error description also disunity, so that maintenance personnel is in the processing above problem
When, it needs to expend a large amount of manpower energy and goes where orientation problem, O&M cost is too high.Inventors have found that in the prior art usually
It is the problem helped in single program by Unified coding error code in finder, however, due to different business systems
What system may be obtained by different companies or tissue research and development, different business systems encode between each other can exist significantly not
Together, or even the code speech of use also can be different.
Summary of the invention
The object of the present invention is to provide processing method, device, computer equipment and the storages of a kind of multiservice system problem
Medium, it is of the existing technology for solving the problems, such as.
To achieve the above object, the present invention provides a kind of processing method of multiservice system problem, comprising the following steps: obtains
Take error information, wherein the error information is to generate when operation system malfunctions for describing the information of error problem, described
Operation system is multiple;The error characteristic information and position feature information of error problem are extracted from the error information;By institute
It states error characteristic information to be matched with the error description information in pre-set error coded table, obtains the error characteristic
The corresponding error description information of information, the corresponding error coded of error description information that will match to are believed as the error characteristic
Cease corresponding error coded;The position feature information is matched with pre-set position encoded table, obtains institute's rheme
It is corresponding position encoded to set characteristic information, wherein the position encoded table be according to same standard to all operation systems and its
What functional module was encoded;According to the error coded and position encoded generation error code being matched to, and according to being matched to
Error description information and position encoded generation error information.
Optionally, the error characteristic information of error problem is extracted from the error information and position feature information includes:
Obtain error characteristic field code and position feature field code, wherein the error characteristic field code is for indicating error characteristic word
Section, the position feature field code are used to indicate the position feature field of error message;In the error information described in inquiry
The position of error characteristic field code and the position feature field code;Extract the corresponding error characteristic of the error characteristic field code
Information and the corresponding position feature information of the position feature field code.
Optionally, before obtaining error information, further includes: obtain the type of error that each operation system occurred;
Classify according to the feature of the type of error to the type of error occurred;Formulate the mistake of the type of error of each classification
It accidentally encodes, obtains the error coded table.
Optionally, each operation system includes multiple functional modules, before obtaining error information, further includes: is determined every
The corresponding number of a operation system;Determine the corresponding number of each functional module in each operation system, wherein the business
The number of system and the number of each functional module are using unified standard;Based on the corresponding number of the operation system and the function
The corresponding number of energy module, generates the position encoded table.
It optionally, include: that will match to error coded according to the error coded and position encoded generation error code that are matched to
The error code is merged into position encoded.
It optionally, include: from the mistake according to the error description information and position encoded generation error information that are matched to
Error reason, error type information are extracted in description information;The error reason and error type information and the position are compiled
Code is merged into the error message.
Optionally, method further include: when the error characteristic information fails the information being matched in the error coded table,
Then the error characteristic information is encoded according to the same standard of the error coded table, obtains the error characteristic information
Corresponding error coded and error description information;The corresponding error coded of the error characteristic information and error description information are write
Enter into the error coded table.
To achieve the above object, the present invention also provides a kind of processing units of multiservice system problem comprising: obtain mould
Block, for obtaining error information, wherein the error information is to be generated when operation system malfunctions for describing error problem
Information, the operation system are multiple;Extraction module, for extracting the error characteristic letter of error problem from the error information
Breath and position feature information;Erroneous matching module, for will be in the error characteristic information and pre-set error coded table
Error description information matched, obtain the corresponding error description information of the error characteristic information, the mistake that will match to
The corresponding error coded of description information is as the corresponding error coded of the error characteristic information;Location matches module, being used for will
The position feature information is matched with pre-set position encoded table, obtains the corresponding position of the position feature information
Coding, wherein the position encoded table is to be encoded to obtain to all operation systems and its functional module according to same standard
's;Generation module, the error coded being matched to for basis and position encoded generation error code, and retouched according to the mistake being matched to
State information and position encoded generation error information.
Optionally, extraction module is also used to obtain error characteristic field code and position feature field code, wherein the mistake
For tagged word segment encode for indicating error characteristic field, the position feature field code is used to indicate the position feature word of error message
Section;The position of the error characteristic field code and the position feature field code is inquired in the error information;Described in extraction
The corresponding error characteristic information of error characteristic field code and the corresponding position feature information of the position feature field code.
Optionally, device further include: error coded module, the wrong class occurred for obtaining each operation system
Type;Classify according to the feature of the type of error to the type of error occurred;Formulate the type of error of each classification
Error coded, obtain the error coded table.
Optionally, each operation system includes multiple functional modules, device further include: position encoded module, for determining
The corresponding number of each operation system;Determine the corresponding number of each functional module in each operation system, wherein the industry
The number of business system and the number of each functional module are using unified standard;Based on the operation system it is corresponding number and it is described
The corresponding number of functional module generates the position encoded table.
Optionally, the generation module is also used to will match to error coded and position encoded is merged into the error code.
Optionally, the generation module is also used to extract error reason, type of error letter from the error description information
Breath;By the error reason and error type information and described position encoded it is merged into the error message.
Optionally, device further include: coding module, for failing to be matched to the mistake volume when the error characteristic information
Information in code table then encodes the error characteristic information according to the same standard of the error coded table, obtains institute
State the corresponding error coded of error characteristic information and error description information;Writing module is used for the error characteristic information pair
The error coded and error description information answered are written in the error coded table.
To achieve the above object, it the present invention also provides a kind of computer equipment, including memory, processor and is stored in
On memory and the computer program that can run on a processor, the processor are realized above-mentioned when executing the computer program
The step of method.
To achieve the above object, the present invention also provides computer readable storage mediums, are stored thereon with computer program, institute
State the step of above method is realized when computer program is executed by processor.
According to embodiments of the present invention, pass through the type of error and operation system and its functional module to multiservice system
Corresponding error coded table and position encoded table are formed Deng Unified coding is carried out, when server reports an error, is asked by extracting error
The error characteristic and position feature of topic are matched with above-mentioned error coded table and position encoded table, obtain corresponding error coded
With it is position encoded, with generation error code.Since position encoded and error coded is to the same coding of all operation systems, generation
Error code also has uniformity, and the personnel that maintain easily are determined rapidly type of error by the error code and navigated to and reported an error a little, contracting
The problem of short maintenance personnel is to multiservice system positioning time.
Detailed description of the invention
Fig. 1 is the flow chart of the processing method embodiment one of multiservice system problem of the present invention;
Fig. 2 is the program module schematic diagram of the processing device embodiment one of multiservice system problem of the present invention;
Fig. 3 is the hardware structural diagram of the processing device embodiment one of multiservice system problem of the present invention;
Fig. 4 is the flow chart of the processing method embodiment two of multiservice system problem of the present invention;
Fig. 5 is the program module schematic diagram of the processing device embodiment two of multiservice system problem of the present invention.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right
The present invention is further elaborated.It should be appreciated that described herein, specific examples are only used to explain the present invention, not
For limiting the present invention.Based on the embodiments of the present invention, those of ordinary skill in the art are not before making creative work
Every other embodiment obtained is put, shall fall within the protection scope of the present invention.
Processing method, device, computer equipment and the storage medium of multiservice system problem provided by the invention, are suitable for
Field of computer technology carries out unification by type of error and operation system to multiservice system and its functional module etc.
Coding forms corresponding error coded table and position encoded table, special by the mistake for extracting error problem when server reports an error
It seeks peace position feature, is matched with above-mentioned error coded table and position encoded table, obtain corresponding error coded and position encoded,
With generation error code.Since position encoded and error coded is to the same coding of all operation systems, the error code of generation also has
Standby uniformity, the personnel that maintain easily are determined rapidly type of error by the error code and navigated to and reported an error a little, shorten maintenance people
The problem of member is to multiservice system positioning time.
Embodiment one
Referring to Fig. 1, in a kind of processing method of multiservice system problem of the present embodiment, comprising the following steps:
Step S1 obtains error information, wherein error information is that the error that is used to describe generated when operation system malfunctions is asked
The information of topic, operation system be it is multiple, each operation system includes multiple functional modules.For example, operation system includes user's body
System, operation system and Content Management System, to multiple module codings below each system.For user's architecture system
Speech, user's architecture system includes: login module, registration module, gives each generic module such as crypto module for change.When backstage reports an error
Some descriptive information, such as log etc. can be generated.When carrying out positioning problems, these error informations are obtained, in order to right
Position and solve the problems, such as that this reports an error in time.
Step S2 extracts the error characteristic information and position feature information of error problem from error information.It is some to report an error
Information can generate in the form of a file, after getting error information, need to the key message in these error informations into
Row extracts, and the information mainly extracted includes error characteristic information and position feature information.Wherein, error characteristic information can be out
The information of wrong problem types, for example, 1, the field of front end transmission is empty;2, back-end data handles array monthly closing entry;3, affiliated party
Interface calls abnormal etc..Position feature information then indicates the information of error problem location, for example, the login of user's architecture system
Module or registration module.These position feature information are directly generated based on original operation system, different operation systems
Between, this information can there are great differences.Then by heavy according to unified standard to these location informations in the embodiment of the present invention
It is newly encoded, it is convenient to carry out positioning problems from whole.It should be noted that the coding of unified standard described in the embodiment of the present invention is
Finger is encoded between different business systems according to unified approach, to avoid different business systems in the prior art using different
The problem that mode of coding.
As an alternative embodiment, extracting the error characteristic of error problem from error information in the present embodiment
Information and position feature information may include: to obtain error characteristic field code and position feature field code, wherein error characteristic word
For segment encode for indicating error characteristic field, position feature field code is used to indicate the position of the position feature field of error message;
Inquiry error tagged word segment encode and position feature field code in error information;It is special to extract the corresponding mistake of error characteristic field code
Reference ceases position feature information corresponding with position feature field code.
Specifically, since error information is usually fixed the log form or one section of code that reports an error of format, in this implementation
Error characteristic information is positioned by preset field code and position feature information, these characteristic informations typically occur in certain fields
Below, it therefore can be extracted by the way of fields match, by matching critical field, it is corresponding accurately to find these fields
Information, obtain error characteristic information and position feature information, for example, behind " error: " field it is corresponding is error characteristic letter
It ceases, corresponding behind " location: " field is errors present information, during carrying out feature information extraction, is passed through first
Error characteristic field code error and position feature field code location is obtained, it is special with error characteristic field code error and position
Field code location is as querying condition for sign, inquiry error tagged word segment encode error and position feature word from error information
Then corresponding content behind above-mentioned field code is extracted, as error characteristic information in position where segment encode location
With position feature information.
Upon step s 2, step S3 and S4 are executed to the information extracted.It should be noted that below step S3 and S4
Described in error coded table and position encoded table need completion prepared in advance for error coded table, can specifically pass through
Obtain the type of error that each operation system occurred;The type of error occurred is carried out according to the feature of type of error
Classification;The error coded for formulating the type of error of each classification obtains error coded table.The error coded formulated above is adopted
It is completed with same standard.
For position encoded table, the corresponding number of each operation system of determination can be passed through;It determines in each operation system
The corresponding number of each functional module, wherein operation system number and each functional module number using unified standard;
Based on the corresponding number of operation system number corresponding with functional module, position encoded table is generated.With each operation system and its
The number of functional module carries out Unified coding, can thus determine error information in which business system as location information
In which module of system.
Step S3 matches error characteristic information with the error description information in pre-set error coded table,
The corresponding error description information of error characteristic information is obtained, the corresponding error coded of the error description information that will match to is as wrong
The accidentally corresponding error coded of characteristic information.Wherein, the type of error Unified coding according to error coded table obtains, and mistake is compiled
Code table includes the corresponding relationship of error coded and error description information and error coded and error description information.Error description letter
Include the characteristic information description of corresponding type of error in breath, characters matching or semantic matches etc. can be passed through in matching
Mode is matched with the error characteristic information extracted.
Appearance mistake or Exception Type in each operation system of server are encoded in advance in the present embodiment, formulated wrong
Accidentally coding schedule.
Specifically, first collecting the type of error that statistics occurred, carried out further according to the symbolic characteristic of type of error
Sort out, then the type of error after classification encode by class, is formulated to error coded table.
If occurring the type of error that do not included in coding schedule in system, encoded first automatically according to error characteristic
One type adds in coding schedule, while transmitting alerts to log system, and exploitation maintenance personnel can check log, checks newly-increased
Whether reasonable, if unreasonable, modification is correct if encoding.
During report an error positioning, then directly by the error characteristic information extracted and the progress of error coded table
Match, matches the error coded and error description information after being sought unity of standard.
Position feature information is matched with pre-set position encoded table, obtains position feature information by step S4
It is corresponding position encoded, wherein position encoded table is to compile according to same standard to all operation systems and its functional module
What code obtained.
In the embodiment of the present invention, multiple modules in multiple systems and system are separately encoded in advance, formulate unification
Coding schedule.The knot of the sequence of natural numbers of regulation sequence or the alphabetical sequence of regulation sequence or the two can be used in coding
It closes.
In specific application scenarios: including multiple operation systems;Operation system includes user's architecture system, operation system
And Content Management System.Following coding is done to multiple operation systems, that is to say and Unified coding: user's system is carried out to location information
It is 02 that system, which is compiled as 01, operation system volume, Content Management System volume is 03.
It include multiple fields in operation system coding schedule, e.g., operation system number: businessID;Operation system title:
businessName;Deng.Secondly, to multiple module codings below each system.For user's architecture system, user's body
System includes: login module, registration module are given crypto module for change, are encoded respectively are as follows: login module AA, registration
Module is AB, and giving crypto module for change is AC.
It include multiple fields in user's system system coding table, e.g., user's system number: moduleID;User's system name
Claim: moduleName;The class name array that user's system includes: classNameArray;Deng.
Since each module includes multiple code files.Can according to code file, class name and the function in modules,
Automatically-generating module coding schedule that is to say position encoded table.
Step S5 according to the error coded and position encoded generation error code being matched to, and is retouched according to the mistake being matched to
State information and position encoded generation error information.
Optionally, by the error coded that will match to and position encoded direct merging generation error code, or using pre-
If rule encoding strategy, above-mentioned error code is obtained based on error coded and the position encoded coding that re-starts.Error message can
The error reason extracted from error description information, error type information are merged with position encoded with can be, with
To error message.
Specifically, wrong data is returned to according to abnormal concrete condition, comprising:
(a) dynamic generation error code, error code are made of the coding in each coding schedule, that is to say by position encoded and wrong
Accidentally coding synthesis obtains final error code.Since position encoded and error coded is to recompile to obtain by same standard
, therefore, final error code also type of coding having the same.
Specifically, error code is encoded by operation system, and module coding, class name information, interface message composition;
(b) dynamic generation error message, including module title, class name, apl, error reason, type of error etc. specifically may be used
To be by the position encoded error message synthesized with error description information.
Finally, front end shows detailed error message, precise positioning error reason.
When there is mistake, the system being currently located, module, class and api are judged by program.Obtain these information
After can encode.Assuming that: operation system coding is 01, and module coding is AA, and class is USERINFO, and api is Login, that
Final coding is exactly: 01-AA-USERINFO-Login.
According to embodiments of the present invention, pass through the type of error and operation system and its functional module to multiservice system
Corresponding error coded table and position encoded table are formed Deng Unified coding is carried out, when server service system reports an error, by mentioning
The error characteristic and position feature for taking out wrong problem, are matched with above-mentioned error coded table and position encoded table, are corresponded to
Error coded and position encoded, with generation error code.Since position encoded and error coded is to the same volume of all operation systems
Code, the error code of generation also have uniformity, and the personnel that maintain easily are determined rapidly type of error by the error code and navigated to
It reports an error a little, shortens the problem of maintenance personnel is to multiservice system positioning time.
Please continue to refer to Fig. 2, a kind of processing unit of multiservice system problem, in the present embodiment, multi-service are shown
The processing unit 10 of system problem may include or be divided into one or more program modules, one or more program module
It is stored in storage medium, and as performed by one or more processors, to complete the present invention, and can realize above-mentioned multi-service
The processing method of system problem.The so-called program module of the present invention is the series of computation machine program for referring to complete specific function
Instruction segment, than program itself more suitable for describing execution of the processing unit 10 of multiservice system problem in storage medium
Journey.The function of each program module of the present embodiment will specifically be introduced by being described below:
Module 11 is obtained, for obtaining error information, wherein error information is to be generated when operation system malfunctions for retouching
The information of error problem is stated, operation system is multiple.
Extraction module 12, for extracting the error characteristic information and position feature information of error problem from error information.
Erroneous matching module 13, for believing the error description in error characteristic information and pre-set error coded table
Breath is matched, and obtains the corresponding error description information of error characteristic information, the corresponding mistake of error description information that will match to
Accidentally coding is used as the corresponding error coded of error characteristic information.
Location matches module 14 is obtained for matching position feature information with pre-set position encoded table
Position feature information is corresponding position encoded, wherein position encoded table is according to same standard to all operation systems and its function
Energy module is encoded.
Generation module 15, for according to the error coded that is matched to and position encoded generation error code, and according to being matched to
Error description information and position encoded generation error information.
Concrete function description may refer to the step S1-S5 of the processing method of above-mentioned multiservice system problem, here no longer
It repeats.
The present embodiment also provides a kind of computer equipment, can such as execute the smart phone, tablet computer, notebook of program
Computer, desktop computer, rack-mount server, blade server, tower server or Cabinet-type server are (including independent
Server cluster composed by server or multiple servers) etc..The computer equipment 20 of the present embodiment includes at least but not
It is limited to: memory 21, the processor 22 of connection can be in communication with each other by system bus, as shown in Figure 3.It is pointed out that Fig. 3
The computer equipment 20 with component 21-22 is illustrated only, it should be understood that being not required for implementing all groups shown
Part, the implementation that can be substituted is more or less component.
In the present embodiment, memory 21 includes readable storage medium storing program for executing, specifically includes flash memory, hard disk, multimedia card, card-type and deposits
Reservoir (for example, SD or DX memory etc.), static random-access memory (SRAM), read-only is deposited random access storage device (RAM)
Reservoir (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read only memory (PROM), magnetic storage,
Disk, CD etc..In some embodiments, memory 21 can be the internal storage unit of computer equipment 20, such as the meter
Calculate the hard disk or memory of machine equipment 20.In further embodiments, it deposits the outside that memory 21 is also possible to computer equipment 20
The plug-in type hard disk being equipped in storage equipment, such as the computer equipment 20, intelligent memory card (Smart Media Card, SMC),
Secure digital (Secure Digital, SD) card, flash card (Flash Card) etc..Certainly, memory 21 can also both include
The internal storage unit of computer equipment 20 also includes its External memory equipment.In the present embodiment, memory 21 is commonly used in depositing
Storage is installed on the operating system and types of applications software of computer equipment 20, for example, embodiment one multiservice system problem place
Manage the program code etc. of device 10.It has exported or will export in addition, memory 21 can be also used for temporarily storing
Various types of data.
Processor 22 can be in some embodiments central processing unit (Central Processing Unit, CPU),
Controller, microcontroller, microprocessor or other data processing chips.The processor 22 is commonly used in control computer equipment
20 overall operation.In the present embodiment, program code or processing data of the processor 22 for being stored in run memory 21,
Such as the processing unit 10 of operation multiservice system problem, to realize the processing method of the multiservice system problem of embodiment one.
The present embodiment also provides a kind of computer readable storage medium, such as flash memory, hard disk, multimedia card, card-type memory
(for example, SD or DX memory etc.), random access storage device (RAM), static random-access memory (SRAM), read-only memory
(ROM), electrically erasable programmable read-only memory (EEPROM), programmable read only memory (PROM), magnetic storage, magnetic
Disk, CD, server, App are stored thereon with computer program, phase are realized when program is executed by processor using store etc.
Answer function.The computer readable storage medium of the present embodiment is used to store the processing unit 10 of multiservice system problem, processed
The processing method of the multiservice system problem of embodiment one is realized when device executes.
Embodiment two
Referring to Fig. 4, the processing method of the multiservice system problem of the present embodiment is based on embodiment one, including following
Step:
Step S21 obtains error information, wherein error information is to be generated when operation system malfunctions for describing error
The information of problem, operation system are multiple.
Step S22 extracts the error characteristic information and position feature information of error problem from error information.
Step S23 matches error characteristic information with pre-set error coded table.If being matched to wrong spy
Reference ceases corresponding error coded and error description information, thens follow the steps S24,;If be not matched to, S26 is thened follow the steps.
Wherein, the type of error Unified coding according to error coded table obtains, and error coded table includes that error coded and mistake are retouched
State the corresponding relationship of information and error coded and error description information.
Position feature information is matched with pre-set position encoded table, obtains position feature information by step S24
It is corresponding position encoded, wherein position encoded table is to compile according to same standard to all operation systems and its functional module
What code obtained.
Step S25 according to the error coded and position encoded generation error code being matched to, and is retouched according to the mistake being matched to
State information and position encoded generation error information.
Step S26 encodes error characteristic information according to the same standard of error coded table, obtains error characteristic letter
Cease corresponding error coded and error description information.
The corresponding error coded of error characteristic information and error description information are written in error coded table by step S27.
The embodiment of the present invention can also transmit warning information to log system after being written to error coded table, to inform exploitation dimension
Shield personnel can check log, check whether newly-increased coding is reasonable, if unreasonable, modification is correct.
The embodiment of the present invention is constantly cyclically updated error coded table by this, can be convenient and include various type of errors,
Improve the function of malformed queries positioning.
Please continue to refer to Fig. 5, the processing unit 30 of the multiservice system problem of the present embodiment is used based on embodiment one
To realize the processing method of the multiservice system problem of embodiment two comprising each program module function:
Module 21 is obtained, for obtaining error information, wherein error information is to be generated when operation system malfunctions for retouching
The information of error problem is stated, operation system is multiple.
Extraction module 22, for extracting the error characteristic information and position feature information of error problem from error information.
Erroneous matching module 23 is obtained for matching error characteristic information with pre-set error coded table
The corresponding error coded of error characteristic information and error description information, wherein the type of error according to error coded table is unified
What coding obtained, error coded table includes pair of error coded and error description information and error coded and error description information
It should be related to.
Location matches module 24 is obtained for matching position feature information with pre-set position encoded table
Position feature information is corresponding position encoded, wherein position encoded table is according to same standard to all operation systems and its function
Energy module is encoded.
Generation module 25, for according to the error coded that is matched to and position encoded generation error code, and according to being matched to
Error description information and position encoded generation error information.
Further include:
Coding module 26, when the error characteristic information fails the information being matched in the error coded table, then according to
The same standard of the error coded table encodes the error characteristic information, and it is corresponding to obtain the error characteristic information
Error coded and error description information.
The corresponding error coded of the error characteristic information and error description information are written to the mistake by writing module 27
Accidentally in coding schedule.
The concrete function of each module may refer to the above method, and which is not described herein again.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of processing method of multiservice system problem, which comprises the following steps:
Obtain error information, wherein the error information is to be generated when operation system malfunctions for describing the letter of error problem
Breath, the operation system are multiple;
The error characteristic information and position feature information of error problem are extracted from the error information;
The error characteristic information is matched with the error description information in pre-set error coded table, is obtained described
The corresponding error description information of error characteristic information, the corresponding error coded of error description information that will match to is as the mistake
The accidentally corresponding error coded of characteristic information;
The position feature information is matched with pre-set position encoded table, it is corresponding to obtain the position feature information
It is position encoded, wherein the position encoded table be all operation systems and its functional module are compiled according to same standard
What code obtained;
According to the error coded and position encoded generation error code being matched to, and according to the error description information being matched to and position
Encode generation error information.
2. the processing method of multiservice system problem according to claim 1, it is characterised in that: from the error information
Extract error problem error characteristic information and position feature information include:
Obtain error characteristic field code and position feature field code, wherein the error characteristic field code is for indicating wrong special
Field is levied, the position feature field code is used to indicate the position feature field of error message;
The position of the error characteristic field code and the position feature field code is inquired in the error information;
It extracts the corresponding error characteristic information of the error characteristic field code and the corresponding position of the position feature field code is special
Reference breath.
3. the processing method of multiservice system problem according to claim 1, it is characterised in that: obtain error information it
Before, further includes:
Obtain the type of error that each operation system occurred;
Classify according to the feature of the type of error to the type of error occurred;
The error coded for formulating the type of error of each classification obtains the error coded table.
4. the processing method of multiservice system problem according to claim 1, which is characterized in that each operation system includes
Multiple functional modules, before obtaining error information, further includes:
Determine the corresponding number of each operation system;
Determine the corresponding number of each functional module in each operation system, wherein the number of the operation system and each
The number of functional module is using unified standard;
Based on the corresponding number of operation system number corresponding with the functional module, the position encoded table is generated.
5. the processing method of multiservice system problem according to claim 1, which is characterized in that according to the mistake being matched to
Coding and position encoded generation error code include:
It will match to error coded and position encoded be merged into the error code.
6. the processing method of multiservice system problem according to claim 1, which is characterized in that according to the mistake being matched to
Description information and position encoded generation error information include:
Error reason, error type information are extracted from the error description information;
By the error reason and error type information and described position encoded it is merged into the error message.
7. the processing method of multiservice system problem according to claim 1, which is characterized in that further include:
When the error characteristic information fails the information being matched in the error coded table, then according to the error coded table
Same standard encodes the error characteristic information, obtains the corresponding error coded of the error characteristic information and mistake is retouched
State information;
The corresponding error coded of the error characteristic information and error description information are written in the error coded table.
8. a kind of processing unit of multiservice system problem, characterized in that it comprises:
Module is obtained, for obtaining error information, wherein the error information is to be generated when operation system malfunctions for describing
The information of error problem, the operation system are multiple;
Extraction module, for extracting the error characteristic information and position feature information of error problem from the error information;
Erroneous matching module, for by the error description information in the error characteristic information and pre-set error coded table
It is matched, obtains the corresponding error description information of the error characteristic information, the error description information that will match to is corresponding
Error coded is as the corresponding error coded of the error characteristic information;
Location matches module obtains institute for matching the position feature information with pre-set position encoded table
It is corresponding position encoded that rheme sets characteristic information, wherein the position encoded table is according to same standard to all operation systems
And its functional module is encoded;
Generation module, the error coded being matched to for basis and position encoded generation error code, and according to the mistake being matched to
Description information and position encoded generation error information.
9. a kind of computer equipment, computer equipment, including memory, processor and storage on a memory and can handled
The computer program run on device, the processor are realized described in any one of claim 1 to 7 when executing the computer program
The step of method.
10. a kind of computer readable storage medium, is stored thereon with computer program, it is characterised in that: the computer program
The step of any one of claim 1 to 7 the method is realized when being executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810971163.2A CN109146095A (en) | 2018-08-24 | 2018-08-24 | The treating method and apparatus of multiservice system problem |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810971163.2A CN109146095A (en) | 2018-08-24 | 2018-08-24 | The treating method and apparatus of multiservice system problem |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109146095A true CN109146095A (en) | 2019-01-04 |
Family
ID=64827670
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810971163.2A Pending CN109146095A (en) | 2018-08-24 | 2018-08-24 | The treating method and apparatus of multiservice system problem |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109146095A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110347560A (en) * | 2019-07-19 | 2019-10-18 | 深圳前海微众银行股份有限公司 | Abnormal prompt method, apparatus, system, equipment and the medium of big data product |
CN110399129A (en) * | 2019-07-30 | 2019-11-01 | 网易(杭州)网络有限公司 | A kind of error-reporting method and device of trigger |
CN110502362A (en) * | 2019-08-22 | 2019-11-26 | 深圳前海环融联易信息科技服务有限公司 | Error code based on micro services framework defines method, apparatus and computer equipment |
CN110688285A (en) * | 2019-09-30 | 2020-01-14 | 深圳前海环融联易信息科技服务有限公司 | Method and device for processing abnormal classification of business system, computer equipment and storage medium |
CN112486823A (en) * | 2020-11-30 | 2021-03-12 | 建信金融科技有限责任公司 | Error code checking method and device, electronic equipment and readable storage medium |
CN112698868A (en) * | 2021-01-08 | 2021-04-23 | 瑞芯微电子股份有限公司 | Unified error code method applied to multiple systems and storage device |
CN114546466A (en) * | 2022-04-24 | 2022-05-27 | 广州易方信息科技股份有限公司 | Error code generation method and device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101017459A (en) * | 2007-03-08 | 2007-08-15 | 中国科学院研究生院 | Error capturing plug-in used in information system and method of use thereof |
CN105868037A (en) * | 2016-03-23 | 2016-08-17 | 乐视云计算有限公司 | Processing method and system of error information in program operation process |
CN107562558A (en) * | 2017-08-28 | 2018-01-09 | 郑州云海信息技术有限公司 | The feedback method and system of a kind of error message |
CN107995274A (en) * | 2017-11-27 | 2018-05-04 | 中国银行股份有限公司 | A kind of information cuing method and front-end server based on business scenario coding |
-
2018
- 2018-08-24 CN CN201810971163.2A patent/CN109146095A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101017459A (en) * | 2007-03-08 | 2007-08-15 | 中国科学院研究生院 | Error capturing plug-in used in information system and method of use thereof |
CN105868037A (en) * | 2016-03-23 | 2016-08-17 | 乐视云计算有限公司 | Processing method and system of error information in program operation process |
CN107562558A (en) * | 2017-08-28 | 2018-01-09 | 郑州云海信息技术有限公司 | The feedback method and system of a kind of error message |
CN107995274A (en) * | 2017-11-27 | 2018-05-04 | 中国银行股份有限公司 | A kind of information cuing method and front-end server based on business scenario coding |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110347560A (en) * | 2019-07-19 | 2019-10-18 | 深圳前海微众银行股份有限公司 | Abnormal prompt method, apparatus, system, equipment and the medium of big data product |
WO2021013058A1 (en) * | 2019-07-19 | 2021-01-28 | 深圳前海微众银行股份有限公司 | Exception prompting method, apparatus, system and device for big data product, and medium |
CN110347560B (en) * | 2019-07-19 | 2022-04-26 | 深圳前海微众银行股份有限公司 | Method, device, system, equipment and medium for prompting abnormity of big data product |
CN110399129A (en) * | 2019-07-30 | 2019-11-01 | 网易(杭州)网络有限公司 | A kind of error-reporting method and device of trigger |
CN110502362A (en) * | 2019-08-22 | 2019-11-26 | 深圳前海环融联易信息科技服务有限公司 | Error code based on micro services framework defines method, apparatus and computer equipment |
CN110688285A (en) * | 2019-09-30 | 2020-01-14 | 深圳前海环融联易信息科技服务有限公司 | Method and device for processing abnormal classification of business system, computer equipment and storage medium |
CN112486823A (en) * | 2020-11-30 | 2021-03-12 | 建信金融科技有限责任公司 | Error code checking method and device, electronic equipment and readable storage medium |
CN112486823B (en) * | 2020-11-30 | 2023-06-09 | 建信金融科技有限责任公司 | Error code verification method and device, electronic equipment and readable storage medium |
CN112698868A (en) * | 2021-01-08 | 2021-04-23 | 瑞芯微电子股份有限公司 | Unified error code method applied to multiple systems and storage device |
CN114546466A (en) * | 2022-04-24 | 2022-05-27 | 广州易方信息科技股份有限公司 | Error code generation method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109146095A (en) | The treating method and apparatus of multiservice system problem | |
CN108958714A (en) | Business component type development method and device, computer equipment and storage medium | |
CN109582473A (en) | Across chain data access method and device based on block chain | |
CN110737806B (en) | Global ID generation method and device for business entity | |
CN110263145A (en) | A kind of electronic contract signature method and electronic contract sign equipment | |
CN103150647A (en) | Report file processing method, server and system | |
CN109376142A (en) | Data migration method and terminal device | |
CN110162344A (en) | A kind of method, apparatus, computer equipment and readable storage medium storing program for executing that current limliting is isolated | |
CN108460068A (en) | Method, apparatus, storage medium and the terminal that report imports and exports | |
CN108733374A (en) | Application program homepage development approach and terminal device | |
CN116860856A (en) | Financial data processing method and device, computer equipment and storage medium | |
CN101739589A (en) | Method and device for generating intelligent card data | |
CN111240772A (en) | Data processing method and device based on block chain and storage medium | |
CN115168166A (en) | Method, device and equipment for recording business data change and storage medium | |
CN107844520A (en) | Electronic installation, vehicle data introduction method and storage medium | |
CN113434542A (en) | Data relation identification method and device, electronic equipment and storage medium | |
CN111324645B (en) | Block chain data processing method and device | |
CN111984674A (en) | Method and system for generating structured query language | |
CN106708869B (en) | Group data processing method and device | |
CN107133040A (en) | A kind of standardized product service apparatus and business module extend method of replacing | |
CN116993523A (en) | Configurable account checking method, device, equipment and storage medium | |
CN109166042B (en) | Node device, real-time reconciliation method based on blockchain, and storage medium | |
CN115686495A (en) | Application generation method and device and server | |
CN115174555A (en) | File transmission method and device, electronic equipment and storage medium | |
CN112686759A (en) | Account checking monitoring method, device, equipment and medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
AD01 | Patent right deemed abandoned |
Effective date of abandoning: 20231208 |
|
AD01 | Patent right deemed abandoned |