CN116755922A - Error code information management method and related equipment - Google Patents

Error code information management method and related equipment Download PDF

Info

Publication number
CN116755922A
CN116755922A CN202310682569.XA CN202310682569A CN116755922A CN 116755922 A CN116755922 A CN 116755922A CN 202310682569 A CN202310682569 A CN 202310682569A CN 116755922 A CN116755922 A CN 116755922A
Authority
CN
China
Prior art keywords
error code
information
configuration file
code information
error
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
CN202310682569.XA
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.)
Bank of China Ltd
Original Assignee
Bank of China 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 Bank of China Ltd filed Critical Bank of China Ltd
Priority to CN202310682569.XA priority Critical patent/CN116755922A/en
Publication of CN116755922A publication Critical patent/CN116755922A/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/08Error detection or correction by redundancy in data representation, e.g. by using checking codes
    • G06F11/10Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/02Banking, e.g. interest calculation or account maintenance

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Finance (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • General Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • General Business, Economics & Management (AREA)
  • Stored Programmes (AREA)

Abstract

The error code information management method and the related equipment can be used in the distributed field or the financial field, and a first error code configuration file of a target business engineering project can be subjected to information screening by utilizing a preset shell pipeline algorithm to obtain first error code information corresponding to the first error code configuration file; the first error code information and the second error code information are subjected to merging, sorting and comparison to obtain error code change information; and summarizing the first error code information and the second error code information by utilizing the error code change information to obtain third error code information. The method and the device can efficiently obtain the error code change information between the current error code information and the historical error code information by utilizing the shell pipeline algorithm and the merging and sorting comparison technology, are favorable for efficiently managing the error code information and avoid error code information errors.

Description

Error code information management method and related equipment
Technical Field
The disclosure relates to the field of computer technology, and in particular, to an error code information management method and related devices.
Background
In the development process of a business engineering project of a bank, the cooperation of multiple teams and multiple developers is involved, and the error reporting information of the business engineering project needs to be uniformly defined and managed.
Currently, it is common practice to use a centrally managed table to allow a developer to register error code information in the table, and then a table manager screens and defines the data in the table and then informs the relevant developer. The method depends on instant response of special persons, and is easy to influence the normal work of other developers due to subjective hysteresis, and the development progress of the whole business engineering project is slow. Meanwhile, when the data in the form needs to be changed, the unified form is maintained in time, so that the data in the form is easy to be wrong due to the fact that the information error is caused by untimely communication, and the correct development of business engineering projects is not facilitated.
Therefore, how to efficiently manage the error code information is a technical problem that needs to be solved by those skilled in the art.
Disclosure of Invention
In view of the foregoing, the present disclosure provides an error code information management method and related device for overcoming the foregoing problems or at least partially solving the foregoing problems, where the technical solutions are as follows:
an error code information management method, comprising:
obtaining a first error code configuration file of a target business engineering project;
information screening is carried out on the first error code configuration file by using a preset shell pipeline algorithm, and first error code information corresponding to the first error code configuration file is obtained;
the first error code information and the second error code information are subjected to merging, sorting and comparison to obtain error code change information, wherein the second error code information is information corresponding to a second error code configuration file, the second error code configuration file is a historical error code configuration file of the target business engineering project, and the generation time of the second error code configuration file is earlier than that of the first error code configuration file;
and summarizing the first error code information and the second error code information by utilizing the error code change information to obtain third error code information.
Optionally, after the obtaining the third error code information, the method further includes:
and carrying out error code uniqueness check on the third error code information to obtain an error code check result.
Optionally, the error code information includes a code value, a description, a variable name, a management class name, and an error code type of the error code of the target business engineering project.
Optionally, the performing the error code uniqueness check on the third error code information to obtain an error code check result includes:
and carrying out error code uniqueness check on the third error code information based on the code value to obtain an error code check result.
Optionally, the error code change information includes error code new information, error code deletion information and error code modification information.
Optionally, after the error code change information is obtained, the method further includes:
and respectively generating structured query language scripts corresponding to the error code newly-added information, the error code deleted information and the error code modified information.
Optionally, the information filtering the first error code configuration file by using a preset shell pipeline algorithm to obtain first error code information corresponding to the first error code configuration file includes:
information screening is carried out on the first error code configuration file by using a preset shell pipeline algorithm, and error code core information of the first error code configuration file is obtained;
and generating first error code information according to a preset information format based on the error code core information.
An error code information management apparatus comprising: a first obtaining unit, a second obtaining unit, a third obtaining unit, and a fourth obtaining unit,
the first obtaining unit is used for obtaining a first error code configuration file of the target business engineering project;
the second obtaining unit is configured to perform information screening on the first error code configuration file by using a preset shell pipeline algorithm, so as to obtain first error code information corresponding to the first error code configuration file;
the third obtaining unit is configured to perform merging, sorting and comparing on the first error code information and second error code information to obtain error code change information, where the second error code information is information corresponding to a second error code configuration file, the second error code configuration file is a historical error code configuration file of the target business engineering project, and a generation time of the second error code configuration file is earlier than a generation time of the first error code configuration file;
the fourth obtaining unit is configured to aggregate the first error code information and the second error code information by using the error code change information, so as to obtain third error code information.
A computer-readable storage medium having stored thereon a program which, when executed by a processor, implements the error code information management method of any one of the above.
An electronic device comprising at least one processor, and at least one memory, bus connected to the processor; the processor and the memory complete communication with each other through the bus; the processor is configured to invoke program instructions in the memory to perform the error code information management method of any of the above.
By means of the technical scheme, the error code information management method and the related equipment can be used in the distributed field or the financial field, and a first error code configuration file of a target business engineering project can be obtained; information screening is carried out on the first error code configuration file by using a preset shell pipeline algorithm, and first error code information corresponding to the first error code configuration file is obtained; the first error code information and the second error code information are subjected to merging, sorting and comparison to obtain error code change information, wherein the second error code information is information corresponding to a second error code configuration file, the second error code configuration file is a historical error code configuration file of a target business engineering project, and the generation time of the second error code configuration file is earlier than that of the first error code configuration file; and summarizing the first error code information and the second error code information by utilizing the error code change information to obtain third error code information. The method and the device can efficiently obtain the error code change information between the current error code information and the historical error code information by utilizing the shell pipeline algorithm and the merging and sorting comparison technology, are favorable for efficiently managing the error code information and avoid error code information errors.
The foregoing description is merely an overview of the technical solutions of the present disclosure, and may be implemented according to the content of the specification in order to make the technical means of the present disclosure more clearly understood, and in order to make the above and other objects, features and advantages of the present disclosure more clearly understood, the following specific embodiments of the present disclosure are specifically described.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the disclosure. Also, like reference numerals are used to designate like parts throughout the figures. In the drawings:
FIG. 1 is a flow chart illustrating an implementation of an error code information management method according to an embodiment of the present disclosure;
FIG. 2 is a flow chart illustrating another embodiment of an error code information management method according to an embodiment of the present disclosure;
FIG. 3 is a flow chart illustrating another embodiment of an error code information management method according to an embodiment of the present disclosure;
fig. 4 is a schematic structural diagram of an error code information management apparatus according to an embodiment of the present disclosure;
fig. 5 shows a schematic structural diagram of an electronic device provided by an embodiment of the disclosure.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
As shown in fig. 1, a flowchart of an implementation manner of an error code information management method provided by an embodiment of the present disclosure may include:
s100, obtaining a first error code configuration file of the target business engineering project.
The target business engineering project can be a business system developed based on banking business functions. It can be appreciated that in the development process of the target business engineering project, in order to provide an accurate error positioning function later, a developer needs to set error code information corresponding to the error for the target business engineering project. After each developer or each development team completes its own development task, the corresponding error code configuration file is uploaded.
And counting error code information of different groups according to directory path information of a preset management class and group marks thereof in the error code configuration file. The file name may include a packet tag and a statistics date under the first collection of error code information for the target business project into a corresponding packet.
Optionally, the error code information includes a code value, a description, a variable name, a management class name, and an error code type of the error code of the target business engineering project.
Wherein the code value and description of the error code are defined in key value pairs. The management class name is the name of the class that the packet defines the error code and its description.
The embodiment of the disclosure can obtain the first error code configuration file of the target business project uploaded at the current moment so as to process the error code information in the first error code configuration file.
And S200, performing information screening on the first error code configuration file by using a preset shell pipeline algorithm to obtain first error code information corresponding to the first error code configuration file.
According to the embodiment of the disclosure, a shell pipeline algorithm capable of extracting error code information can be preset, and the shell pipeline algorithm is utilized to screen information of the first error code configuration file, so that the first error code information is obtained.
Optionally, the information filtering process may include filtering the first error code configuration file layer by layer according to a preset error code information item, removing relevant comments and invalid content, and extracting the first error code information from the first error code configuration file.
Optionally, based on the method shown in fig. 1, as shown in fig. 2, a flowchart of another implementation of the error code information management method provided in the embodiment of the present disclosure, step S200 may include:
s210, information screening is carried out on the first error code configuration file by using a preset shell pipeline algorithm, and error code core information of the first error code configuration file is obtained.
S220, generating first error code information according to a preset information format based on the error code core information.
The error code core information comprises code values, descriptions, variable names, management class names and error code types of error codes of target business engineering projects. The error code information is information for recording error code core information according to a preset information format. According to the embodiment of the disclosure, the error code core information is recorded through the unified preset information format, so that the subsequent comparison of error codes is convenient.
Alternatively, embodiments of the present disclosure may generate a structured query language (Structured Query Language, SQL) script corresponding to the first error code information. For example: full-quantity insert sentences corresponding to the first error code information. Embodiments of the present disclosure may generate a structured query language script corresponding to the first error code information for execution and reference by a database administrator (Database Administrator, DBA). The database manager is mainly responsible for full lifecycle management of the business database from design, testing, to deployment delivery.
S300, merging, sorting and comparing the first error code information and the second error code information to obtain error code change information, wherein the second error code information is information corresponding to a second error code configuration file, the second error code configuration file is a historical error code configuration file of a target business engineering project, and the generation time of the second error code configuration file is earlier than that of the first error code configuration file.
Specifically, the embodiment of the disclosure may compare the first error code information with the second error code information by using a merging and sorting algorithm to obtain error code variation information. The merging and sorting algorithm is an effective and stable sorting algorithm established on merging operation and has the characteristic of low time complexity.
It is appreciated that embodiments of the present disclosure may obtain the second error code configuration file before obtaining the first error code configuration file. Alternatively, the acquisition time of the second error code configuration file may be before and in sequence adjacent to the acquisition time of the first error code configuration file. Similarly, the second error code information may be obtained at a time before and in an order of obtaining the first error code information. According to the embodiment of the disclosure, the second error code information corresponding to the second error code configuration file can be obtained by presetting a shell pipeline algorithm. The first error code information and the second error code information have the same information format. According to the embodiment of the disclosure, the first error code information and the second error code information are subjected to merging, sorting and comparison, so that the difference between the two error code information can be rapidly determined, and corresponding error code change information is tidied.
Optionally, the error code change information includes error code addition information, error code deletion information, and error code modification information.
It can be understood that along with the gradual progress of the development process of the target business project, the change and modification of the error code may be involved, and by sorting out the error code change information, the difference between the error code information of each stage in the development process of the target business project can be clarified, thereby being beneficial to the management of the error code information of the target business project and ensuring the correctness of the error code information.
Optionally, the embodiment of the disclosure may generate the structured query language script corresponding to the error code new information, the error code deleting information, and the error code modifying information, respectively. For example: an insert sentence corresponding to the error code newly added information, a delete sentence corresponding to the error code deleted information, and an update sentence corresponding to the error code modified information. Embodiments of the present disclosure may generate structured query language scripts corresponding to error code variation information for execution and reference by a database administrator.
S400, summarizing the first error code information and the second error code information by utilizing the error code change information to obtain third error code information.
The embodiment of the disclosure can determine the modified part of the error code information of the target business engineering project by utilizing the error code change information, and correspondingly sort the error code information of the target business engineering project based on the modified part to obtain the third error code information. For example: on the basis of deleting and adding error codes to the same packet, the first error code information and the second error code information may have error codes with different positioning but identical code values, and in order to ensure that the error codes can be unique, the code values of the error codes need to be rearranged.
Optionally, based on the method shown in fig. 1, as shown in fig. 3, a flowchart of another implementation of the error code information management method provided in the embodiment of the present disclosure is shown, and after step S400, the method further includes:
s500, performing error code uniqueness check on the third error code information to obtain an error code check result.
Specifically, the embodiment of the disclosure may perform error code uniqueness check on the third error code information based on the code value, to obtain an error code check result.
According to the embodiment of the disclosure, the error code in the third error code information is checked based on the code value, so that the operation of a data manager and ambiguity generated when the error code is used can be avoided from being influenced by the repeatedly defined error code.
The error code information management method provided by the disclosure can be used in the distributed field or the financial field, and can obtain a first error code configuration file of a target business engineering project; information screening is carried out on the first error code configuration file by using a preset shell pipeline algorithm, and first error code information corresponding to the first error code configuration file is obtained; the first error code information and the second error code information are subjected to merging, sorting and comparison to obtain error code change information, wherein the second error code information is information corresponding to a second error code configuration file, the second error code configuration file is a historical error code configuration file of a target business engineering project, and the generation time of the second error code configuration file is earlier than that of the first error code configuration file; and summarizing the first error code information and the second error code information by utilizing the error code change information to obtain third error code information. The method and the device can efficiently obtain the error code change information between the current error code information and the historical error code information by utilizing the shell pipeline algorithm and the merging and sorting comparison technology, are favorable for efficiently managing the error code information and avoid error code information errors.
Although operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. In certain circumstances, multitasking and parallel processing may be advantageous.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order and/or performed in parallel. Furthermore, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
Corresponding to the above method embodiment, the embodiment of the present disclosure further provides an error code information management device, where the structure of the error code information management device is shown in fig. 4, and may include: the first obtaining unit 100, the second obtaining unit 200, the third obtaining unit 300, and the fourth obtaining unit 400.
The first obtaining unit 100 is configured to obtain a first error code configuration file of the target business engineering project.
The second obtaining unit 200 is configured to perform information screening on the first error code configuration file by using a preset shell pipeline algorithm, so as to obtain first error code information corresponding to the first error code configuration file.
The third obtaining unit 300 is configured to perform merging, sorting and comparing on the first error code information and second error code information to obtain error code variation information, where the second error code information is information corresponding to a second error code configuration file, the second error code configuration file is a historical error code configuration file of the target business engineering project, and a generation time of the second error code configuration file is earlier than a generation time of the first error code configuration file.
The fourth obtaining unit 400 is configured to aggregate the first error code information and the second error code information by using the error code variation information, so as to obtain third error code information.
Optionally, the error code information management apparatus may further include: and an error code checking unit.
The error code checking unit is configured to perform error code uniqueness check on the third error code information after the fourth obtaining unit 400 obtains the third error code information, so as to obtain an error code checking result.
Optionally, the error code information includes a code value, a description, a variable name, a management class name, and an error code type of the error code of the target business engineering project.
Optionally, the error code checking unit is specifically configured to perform error code uniqueness check on the third error code information based on the code value, so as to obtain an error code checking result.
Optionally, the error code change information includes error code new information, error code deletion information and error code modification information.
Optionally, the error code information management apparatus may further include: and a script generation unit.
The script generating unit is configured to generate structured query language scripts corresponding to the error code newly-added information, the error code deleted information, and the error code modified information, respectively, after the third obtaining unit 300 obtains the error code change information.
Optionally, the second obtaining unit 200 is specifically configured to perform information screening on the first error code configuration file by using a preset shell pipeline algorithm to obtain error code core information of the first error code configuration file; and generating first error code information according to a preset information format based on the error code core information.
The error code information management device provided by the disclosure can be used in the distributed field or the financial field, and can obtain a first error code configuration file of a target business engineering project; information screening is carried out on the first error code configuration file by using a preset shell pipeline algorithm, and first error code information corresponding to the first error code configuration file is obtained; the first error code information and the second error code information are subjected to merging, sorting and comparison to obtain error code change information, wherein the second error code information is information corresponding to a second error code configuration file, the second error code configuration file is a historical error code configuration file of a target business engineering project, and the generation time of the second error code configuration file is earlier than that of the first error code configuration file; and summarizing the first error code information and the second error code information by utilizing the error code change information to obtain third error code information. The method and the device can efficiently obtain the error code change information between the current error code information and the historical error code information by utilizing the shell pipeline algorithm and the merging and sorting comparison technology, are favorable for efficiently managing the error code information and avoid error code information errors.
The specific manner in which the individual units perform the operations in relation to the apparatus of the above embodiments has been described in detail in relation to the embodiments of the method and will not be described in detail here.
The error code information management apparatus includes a processor and a memory, the first obtaining unit 100, the second obtaining unit 200, the third obtaining unit 300, the fourth obtaining unit 400, and the like are stored in the memory as program units, and the processor executes the program units stored in the memory to realize corresponding functions.
The processor includes a kernel, and the kernel fetches the corresponding program unit from the memory. The kernel can be provided with one or more than one, and the shell pipeline algorithm and the merging and sorting comparison technology are utilized by adjusting kernel parameters, so that the error code change information between the current error code information and the historical error code information can be efficiently obtained, the error code information can be efficiently managed, and error code information errors can be avoided.
The disclosed embodiments provide a computer-readable storage medium having stored thereon a program that, when executed by a processor, implements the error code information management method.
The embodiment of the disclosure provides a processor for running a program, wherein the error code information management method is executed when the program runs.
As shown in fig. 5, an embodiment of the present disclosure provides an electronic device 1000, the electronic device 1000 comprising at least one processor 1001, and at least one memory 1002, bus 1003 connected to the processor 1001; wherein, the processor 1001 and the memory 1002 complete communication with each other through the bus 1003; the processor 1001 is configured to call program instructions in the memory 1002 to perform the error code information management method described above. The electronic device herein may be a server, a PC, a PAD, a mobile phone, etc.
The present disclosure also provides a computer program product adapted to perform a program initialized with the steps of the error code information management method when executed on an electronic device.
It should be noted that the error code information management method and the related device provided by the present disclosure may be used in a distributed field or a financial field. The foregoing is merely an example, and is not intended to limit the application fields of the error code information management method and the related devices provided in the present disclosure.
The present disclosure is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus, electronic devices (systems), and computer program products according to embodiments of the disclosure. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In one typical configuration, the electronic device includes one or more processors (CPUs), memory, and a bus. The electronic device may also include input/output interfaces, network interfaces, and the like.
The memory may include volatile memory, random Access Memory (RAM), and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM), among other forms in computer readable media, the memory including at least one memory chip. Memory is an example of a computer-readable medium.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
In the description of the present disclosure, it should be understood that, if the directions or positional relationships indicated by the terms "upper", "lower", "front", "rear", "left" and "right", etc., are based on the directions or positional relationships shown in the drawings, are merely for convenience of describing the present invention and simplifying the description, and do not indicate or imply that the positions or elements referred to must have a specific orientation, be constructed and operated in a specific orientation, and thus should not be construed as limitations of the present disclosure.
It is noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises an element.
It will be appreciated by those skilled in the art that embodiments of the present disclosure may be provided as a method, system, or computer program product. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present disclosure may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
The foregoing is merely exemplary of the present disclosure and is not intended to limit the present disclosure. Various modifications and variations of this disclosure will be apparent to those skilled in the art. Any modifications, equivalent substitutions, improvements, or the like, which are within the spirit and principles of the present disclosure, are intended to be included within the scope of the claims of the present disclosure.

Claims (10)

1. An error code information management method, comprising:
obtaining a first error code configuration file of a target business engineering project;
information screening is carried out on the first error code configuration file by using a preset shell pipeline algorithm, and first error code information corresponding to the first error code configuration file is obtained;
the first error code information and the second error code information are subjected to merging, sorting and comparison to obtain error code change information, wherein the second error code information is information corresponding to a second error code configuration file, the second error code configuration file is a historical error code configuration file of the target business engineering project, and the generation time of the second error code configuration file is earlier than that of the first error code configuration file;
and summarizing the first error code information and the second error code information by utilizing the error code change information to obtain third error code information.
2. The method of claim 1, wherein after the obtaining the third error code information, the method further comprises:
and carrying out error code uniqueness check on the third error code information to obtain an error code check result.
3. The method of claim 2, wherein the error code information includes a code value, a description, a variable name, a management class name, and an error code type of an error code of the target business project.
4. The method of claim 3, wherein performing an error code uniqueness check on the third error code information to obtain an error code check result comprises:
and carrying out error code uniqueness check on the third error code information based on the code value to obtain an error code check result.
5. The method of claim 1, wherein the error code change information comprises error code addition information, error code deletion information, and error code modification information.
6. The method of claim 5, wherein after the error code change information is obtained, the method further comprises:
and respectively generating structured query language scripts corresponding to the error code newly-added information, the error code deleted information and the error code modified information.
7. The method of claim 1, wherein the performing information filtering on the first error code configuration file by using a preset shell pipeline algorithm to obtain first error code information corresponding to the first error code configuration file includes:
information screening is carried out on the first error code configuration file by using a preset shell pipeline algorithm, and error code core information of the first error code configuration file is obtained;
and generating first error code information according to a preset information format based on the error code core information.
8. An error code information management apparatus, comprising: a first obtaining unit, a second obtaining unit, a third obtaining unit, and a fourth obtaining unit,
the first obtaining unit is used for obtaining a first error code configuration file of the target business engineering project;
the second obtaining unit is configured to perform information screening on the first error code configuration file by using a preset shell pipeline algorithm, so as to obtain first error code information corresponding to the first error code configuration file;
the third obtaining unit is configured to perform merging, sorting and comparing on the first error code information and second error code information to obtain error code change information, where the second error code information is information corresponding to a second error code configuration file, the second error code configuration file is a historical error code configuration file of the target business engineering project, and a generation time of the second error code configuration file is earlier than a generation time of the first error code configuration file;
the fourth obtaining unit is configured to aggregate the first error code information and the second error code information by using the error code change information, so as to obtain third error code information.
9. A computer-readable storage medium having a program stored thereon, wherein the program when executed by a processor implements the error code information management method according to any one of claims 1 to 7.
10. An electronic device comprising at least one processor, and at least one memory, bus connected to the processor; the processor and the memory complete communication with each other through the bus; the processor is configured to invoke program instructions in the memory to perform the error code information management method of any of claims 1 to 7.
CN202310682569.XA 2023-06-09 2023-06-09 Error code information management method and related equipment Pending CN116755922A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310682569.XA CN116755922A (en) 2023-06-09 2023-06-09 Error code information management method and related equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310682569.XA CN116755922A (en) 2023-06-09 2023-06-09 Error code information management method and related equipment

Publications (1)

Publication Number Publication Date
CN116755922A true CN116755922A (en) 2023-09-15

Family

ID=87954643

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310682569.XA Pending CN116755922A (en) 2023-06-09 2023-06-09 Error code information management method and related equipment

Country Status (1)

Country Link
CN (1) CN116755922A (en)

Similar Documents

Publication Publication Date Title
CN110032599B (en) Data structure reading and updating method and device, and electronic equipment
CN108599973B (en) Log association method, device and equipment
CN110032568B (en) Data structure reading and updating method and device, and electronic equipment
CN112860777B (en) Data processing method, device and equipment
US11487742B2 (en) Consistency checks between database systems
CN113791586A (en) Novel industrial APP and identification registration analysis integration method
CN110727664A (en) Method and device for executing target operation on public cloud data
CN111159040A (en) Test data generation method, device, equipment and storage medium
CN111159301A (en) Data creating method, device, equipment and storage medium based on intelligent contract
WO2023098462A1 (en) Improving performance of sql execution sequence in production database instance
US11055275B2 (en) Database revalidation using parallel distance-based groups
CN111552648A (en) Automatic verification method and system for application
CN116204540A (en) Operation log recording method, device, equipment and storage medium
CN116755922A (en) Error code information management method and related equipment
CN113504904A (en) User-defined function implementation method and device, computer equipment and storage medium
CN112699129A (en) Data processing system, method and device
CN112948389A (en) MD 5-based database table data comparison method and equipment
CN114385722A (en) Interface attribute consistency checking method and device, electronic equipment and storage medium
CN105574056A (en) Abnormal problem positioning method and apparatus
CN115390912B (en) Resource discovery method, device, computer equipment and storage medium
CN117370160A (en) Code auditing method, apparatus, computer device, storage medium and program product
CN114968795A (en) Test method, test device, electronic equipment and computer storage medium
CN117215946A (en) Account following test result comparison method and device, processor and storage medium
CN116932368A (en) Test requirement determining method and device
CN116578951A (en) Interface access method, computing device and storage 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