Search

CN-121979763-A - Epicor system development assistance apparatus and computer program product

CN121979763ACN 121979763 ACN121979763 ACN 121979763ACN-121979763-A

Abstract

The embodiment of the application is suitable for the field of software development, and provides Epicor system development auxiliary equipment and a computer program product, wherein the Epicor system development auxiliary equipment comprises a customized code screening module, a customized code comparison module and a tracking analysis module; the system comprises a customized code screening module, a customized code comparison module and a tracking analysis module, wherein the customized code screening module is used for receiving an abnormal keyword input by a user when the operation of the Epicor system development auxiliary equipment is abnormal, determining a first code segment and version information of the first code segment based on the abnormal keyword, the customized code comparison module is used for logically comparing a target customized code different from the version information with the first code segment to determine an abnormal reason, and the tracking analysis module is used for importing a log file when the Epicor system development auxiliary equipment is abnormal and analyzing the log file to determine the abnormal reason. The equipment can improve the running stability of the Epicor business management system.

Inventors

  • Lian Hexiang

Assignees

  • 国泰达鸣精密科技集团有限公司

Dates

Publication Date
20260505
Application Date
20251210

Claims (10)

  1. 1. The Epicor system development auxiliary equipment is characterized by being connected with an Epicor service management system and comprising a customized code screening module, a customized code comparison module and a tracking analysis module; The customized code screening module is used for receiving an abnormal keyword input by a user when the operation of the Epicor service management system is abnormal, and determining a first code fragment and version information of the first code fragment based on the abnormal keyword; the customized code comparison module is used for logically comparing the target customized code which is different from the version information with the first code segment to determine the reason of the abnormality; The tracking analysis module is used for importing a log file when the Epicor service management system operates abnormally, and analyzing the log file to determine the reason of the abnormality.
  2. 2. The Epicor system development assistance device according to claim 1, wherein the receiving the anomaly keyword input by the user when the Epicor service management system operates abnormally, and determining the first code segment and the version information of the first code segment based on the anomaly keyword, includes: The abnormal keywords input by the user are received, wherein the abnormal keywords comprise at least one of module names, code fragments or version names; and scanning customized code records in a preset database in the Epicor business management system based on the abnormal keywords, and outputting the first code fragments containing the abnormal keywords and the version information corresponding to the first code fragments.
  3. 3. The Epicor system development assistance device of claim 1, wherein when an anomaly occurs in operation of the Epicor service management system, importing a log file of operation of the Epicor service management system, and analyzing the log file to determine the cause of the anomaly comprises: when the Epicor business management system operates abnormally, importing the log file; analyzing the log file through a regular expression, and displaying log information in the log file, wherein the log information comprises at least one of a method call chain, parameter assignment information and a data processing flow; And the exception analysis comprises analyzing logic judgment condition triggering conditions contained in the method call chain, identifying parameter assignment differences in the parameter assignment information, and checking at least one of data matching states in the data processing flow.
  4. 4. The Epicor system development assistance device of claim 3, further comprising a data dictionary browser module for: when the tracking analysis module performs exception analysis on the log information and the cause of the exception cannot be determined, receiving data table information extracted from the log file by the tracking analysis module, wherein the data table information comprises table names and field names related to the exception; Inquiring a data table corresponding to the table name in a preset database of the Epicor service management system, and determining a target field corresponding to the field name in the data table; Analyzing a field judgment rule corresponding to the target field based on static attribute information of the target field and a service scene of the Epicor service management system when the Epicor service management system operates; and displaying the field judgment rule, wherein the field judgment rule is used for assisting the user in analyzing the log file to obtain the abnormal reason.
  5. 5. The Epicor system development assistance device according to claim 4, wherein after querying a data table structure corresponding to the table name in a preset database of the Epicor service management system and determining a target field corresponding to the field name in the data table structure, further comprises: And translating the field names based on a preset translation interface to obtain translated field names, wherein the translated field names are described by adopting a preset language.
  6. 6. The Epicor system development assistance device of claim 4, further comprising a decompilation module to: Acquiring the data table, the field names and the field judgment rules input by the user; Invoking a preset decompilation tool to decompil a data set corresponding to the target field in the data table to obtain a source code file; Extracting a second code segment containing the target field from the source code file; And comparing the interaction logic of the target field in the second code segment with the field judgment rule, and outputting a comparison result, wherein the comparison result is used for assisting the user in analyzing the log file to obtain the abnormality reason.
  7. 7. The Epicor system development assistance device of any one of claims 1-6, further comprising a multilingual query module for: the first abnormal text is used for describing and releasing the abnormality of the Epicor service management system; The first abnormal text is matched by adopting a preset multi-language mapping database to obtain a second abnormal text, the multi-language mapping database stores multi-language corresponding relations of the original abnormal text in the Epicor business management system, the second abnormal text is used for assisting the user to search from a preset technical community to obtain a search result, the search result comprises an abnormal reason, and the language of the second abnormal text is the same as the language used by the technical community.
  8. 8. The Epicor system development assistance device of any one of claims 1-6, further comprising a material conversion rate maintenance module configured to: receiving a target material code input by the user; Inquiring conversion rate data corresponding to the target material code based on a preset material unit conversion table, wherein the conversion rate data comprises a conversion object with a unit conversion relation with the material corresponding to the target material code and a unit conversion rate corresponding to the conversion object; And receiving modification operation of a user on the target unit conversion rate, and updating a conversion record corresponding to the target material code in the preset database.
  9. 9. The Epicor system development aid of claim 1, further comprising a string processing module, wherein the string processing module integrates a plurality of independent string processing functions, wherein there is no linkage mechanism between the plurality of string processing functions, and wherein the plurality of string processing functions comprises: The time stamp analysis function is used for receiving time stamp data in the Epicor service management system to be analyzed aiming at time stamp logic in the Epicor service management system and outputting time information conforming to a preset time format; The character string conversion function is used for receiving the target character string input by the user and generating a character string feature code corresponding to the target character string through a preset hash algorithm; And the encryption and decryption function is used for receiving the sensitive information and the key to be encrypted and decrypted, which are input by the user, and encrypting and decrypting the sensitive information through a preset encryption and decryption algorithm and key to obtain the encryption and decryption information, wherein in the encryption and decryption process, the logic corresponding to the encryption and decryption algorithm and the key are compiled into a dynamic library through a compiling mode.
  10. 10. A computer program product, characterized in that the computer program product, when run on an Epicor system development aid, causes the Epicor system development aid to perform the functions corresponding to the individual modules in the Epicor system development aid as claimed in any one of claims 1 to 9.

Description

Epicor system development assistance apparatus and computer program product Technical Field The application belongs to the technical field of software development, and particularly relates to Epicor system development auxiliary equipment and a computer program product. Background The Epicor business management system is used as an enterprise level resource planning (ERP) core system, is widely applied to a plurality of business scenes such as production and manufacture, inventory management, supply chain coordination and the like, and the stable operation of the Epicor business management system directly relates to the daily operation efficiency and business continuity of an enterprise. Along with the improvement of enterprise business complexity, the customized development requirement of the Epicor business management system is increased, so that faults are triggered easily due to factors such as customized code version differences, abnormal data interaction and the like in the operation process of the Epicor business management system, and the key requirement for ensuring smooth development of enterprise business is rapidly positioned and solved. At present, aiming at the exception checking of an Epicor service management system, a developer needs to manually traverse all code files of a module generating the exception in the Epicor service management system, and check logic row by row. However, the above manner easily causes complicated abnormal positioning process of the Epicor service management system, which causes low positioning efficiency and insufficient accuracy of abnormal reasons, and affects the operation of the Epicor service management system. Disclosure of Invention The embodiment of the application provides Epicor system development auxiliary equipment and a computer program product, which can solve the problems of low positioning efficiency and insufficient accuracy caused by the abnormality of an Epicor service management system. In a first aspect, the embodiment of the application provides an Epicor system development auxiliary device, which is connected with an Epicor service management system and comprises a customized code screening module, a customized code comparison module and a tracking analysis module; The customized code screening module is used for receiving abnormal keywords input by a user when the operation of the Epicor system development auxiliary equipment is abnormal, and determining the first code fragment and the version information of the first code fragment based on the abnormal keywords; the customized code comparison module is used for logically comparing a target customized code which is different from version information with the first code segment and determining an abnormality reason; The tracking analysis module is used for importing a log file when the Epicor system development auxiliary equipment operates abnormally, and analyzing the log file to determine the reason of the abnormality. In a second aspect, an embodiment of the present application provides a computer program product, where the computer program product when run on an Epicor system development auxiliary device causes the Epicor system development auxiliary device to perform functions corresponding to respective modules in the Epicor system development auxiliary device as in the first aspect. Compared with the prior art, the method has the beneficial effects that the Epicor system development auxiliary equipment is connected with the Epicor service management system, and the Epicor system development auxiliary equipment can realize the abnormal positioning of the Epicor service management system through the deep linkage design of the customized code screening module, the customized code comparison module and the tracking analysis module. In the anomaly investigation of the code layer, the Epicor system development auxiliary equipment can receive the anomaly keywords input by the user through the customized code screening module, rapidly locate the first code fragment related to the anomaly, synchronously acquire the version information of the first code fragment, greatly reduce the time cost of code screening and avoid the efficiency waste caused by invalid retrieval. And then, the customized code comparison module can automatically call target customized codes of different versions based on version information output by the screening module, and automatically compare the target customized codes with the first code segment in a logic level without manually comparing code differences line by developers, so that the probability of human misoperation is reduced, logic conflicts or loopholes caused by version iteration and code modification can be rapidly positioned, and direct support is provided for abnormal tracing of the code level. And the tracking analysis module can also receive log files when the system operates and only need to analyze the abnormality when the Epicor service management sys