WO2019019640A1 - Simulated processing method and apparatus for order information, and storage medium and computer device - Google Patents

Simulated processing method and apparatus for order information, and storage medium and computer device Download PDF

Info

Publication number
WO2019019640A1
WO2019019640A1 PCT/CN2018/078309 CN2018078309W WO2019019640A1 WO 2019019640 A1 WO2019019640 A1 WO 2019019640A1 CN 2018078309 W CN2018078309 W CN 2018078309W WO 2019019640 A1 WO2019019640 A1 WO 2019019640A1
Authority
WO
WIPO (PCT)
Prior art keywords
file
simulated
simulation
information
confirmation
Prior art date
Application number
PCT/CN2018/078309
Other languages
French (fr)
Chinese (zh)
Inventor
孙锦程
Original Assignee
深圳壹账通智能科技有限公司
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 深圳壹账通智能科技有限公司 filed Critical 深圳壹账通智能科技有限公司
Publication of WO2019019640A1 publication Critical patent/WO2019019640A1/en

Links

Images

Classifications

    • 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/06Asset management; Financial planning or analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting

Definitions

  • the present application relates to the field of information processing technologies, and in particular, to an analog processing method and apparatus for order information, a storage medium, and a computer device.
  • the agent When a user purchases some insurance products or financial products, he or she usually chooses to communicate with the agent of the product, and purchases the product from the product provider (hereinafter collectively referred to as the asset party) through the order entrusting agent.
  • the agent needs to send the customer's order to the asset side for review, and the asset side will review the order and generate a confirmation file to send to the agent.
  • the agent generates a result file based on the received confirmation file, the result file containing the result information of whether the customer can purchase the product.
  • both the asset side and the agent need to test the application tools developed for the product.
  • the application tools developed by the agent must rely on the audit results provided by the asset side to test whether the application tools developed by them are correct. If the asset's application tool has not been developed, the confirmation file cannot be returned to the agent in time, which leads to the extension of the testing cycle of the product by the agent, which makes the agent's testing of the product developed by the agent inefficient.
  • An analog processing method for order information comprising: acquiring an application file to be processed, the application file includes simulated order information; acquiring an order processing rule corresponding to the simulated order information; acquiring the simulated order Corresponding template file; generating first simulated transaction information according to the simulated order information and the order processing rule, and writing the first simulated transaction information into the template file to generate a first simulated confirmation file; Whether the corresponding position of each mandatory field in the first simulation confirmation file is a null value, and a simulation result file is generated according to the detection result.
  • An order processing device for an order information comprising: an application file obtaining module, configured to acquire an application file to be processed, the application file includes simulated order information; and an order processing rule obtaining module, configured to acquire and An order processing rule corresponding to the simulated order information; a template file obtaining module, configured to acquire a template file corresponding to the simulated order information; and a simulation confirmation file generating module, configured to generate the first according to the simulated order information and the order processing rule a simulation transaction information, the first simulation transaction information is written into the template file to generate a first simulation confirmation file; and a simulation result file generation module is configured to detect each mandatory write field in the first simulation confirmation file. Whether the corresponding position is a null value, and a simulation result file is generated according to the detection result.
  • a computer readable storage medium having stored thereon computer instructions, the instructions being executed by the processor to: obtain an application file to be processed, the application file includes simulated order information; and obtain the simulated order information Corresponding order processing rule; acquiring a template file corresponding to the simulated order information; generating first simulated transaction information according to the simulated order information and the order processing rule, and writing the first simulated transaction information into the template And generating a first simulation confirmation file; detecting whether a corresponding value in each corresponding write field of the first simulation confirmation file is a null value, and generating a simulation result file according to the detection result.
  • a computer device comprising a memory, a processor, and a computer program stored on the memory and operable on the processor, the processor executing the program, the step of: obtaining an application file to be processed, the application file
  • the method includes: acquiring the order processing information; acquiring an order processing rule corresponding to the simulated order information; acquiring a template file corresponding to the simulated order information; and generating the first simulated transaction information according to the simulated order information and the order processing rule, Writing the first simulated transaction information into the template file to generate a first simulation confirmation file; detecting whether a corresponding value of each mandatory field in the first simulation confirmation file is a null value, and generating according to the detection result Simulation result file.
  • the simulation processing method, device, storage medium and computer equipment of the above order information enable the tester to analyze whether the developed test tool is normal according to the simulation result file; without interacting with the asset side, the transaction information can be reduced by the asset side. Waiting time, and more avoiding problems such as unstable coordination environment existing in interaction with the asset side, improving product testing efficiency; and timely discovering whether the generated first simulated transaction information is correct, so that when the first simulated transaction When there is an error in the information, the corresponding order processing rules are modified in time to further improve the efficiency of product testing.
  • FIG. 1 is an application environment diagram of an analog processing method for order information in an embodiment
  • FIG. 2 is a flow chart of a method for simulating processing of order information in an embodiment
  • FIG. 3 is a flow chart showing a process of re-generating and detecting a simulation confirmation file in one embodiment
  • FIG. 4 is a flow chart showing an analysis process of a simulation result file in an embodiment
  • FIG. 5 is a structural block diagram of an analog processing transposition of order information in an embodiment
  • FIG. 6 is a structural block diagram of an analog processing transposition of order information in another embodiment
  • FIG. 7 is a structural block diagram of an analog processing transposition of order information in still another embodiment
  • Figure 8 is a diagram showing the internal structure of a server in one embodiment.
  • first simulation confirmation file may be referred to as a second simulation confirmation file without departing from the scope of the present application, and similarly, the second simulation confirmation file may be referred to as a first simulation confirmation file.
  • Both the first simulation confirmation file and the second simulation confirmation file are simulation confirmation files, but they are not the same simulation confirmation file.
  • the simulation processing method of the order information provided by the embodiment of the present application can be applied to the application environment as shown in FIG. 1 .
  • the user terminal 110 can connect to the server 120 through a corresponding network, and send a service request for performing a product transaction to the server 120.
  • Server 120 may be a backend server that handles the agent of the product transaction.
  • the server 120 may generate an application file according to a service request of the user, where the application file includes simulated order information, and obtain a product transaction rule and a template file corresponding to the simulated order information; and generate a first simulation according to the simulated order information and the product transaction rule.
  • the first simulated transaction information is written into the template file; and the preset transaction information corresponding to the simulated order information is acquired; and the first simulated transaction information and the preset transaction information in the written template file are detected to be matched, according to the detection.
  • the result is a simulation result file.
  • an analog processing method for order information is provided. This embodiment is applicable to the method as shown in FIG. 1 , and specifically includes the following steps:
  • Step S202 Acquire an application file to be processed, where the application file includes simulated order information.
  • a plurality of application files to be processed are stored in the server.
  • the application file may pre-simulate the generated sample application file for the performance of the product developed by the tester, and may also be an application file generated based on the order information of the transaction submitted by the actual user.
  • the simulated order information may include simulated user information and product information to be traded.
  • Step S204 acquiring an order processing rule corresponding to the simulated order information.
  • the order processing rule is a processing rule set according to the product transaction rule provided by the asset side.
  • the processing rules for different product types and/or product transaction amounts are not necessarily the same.
  • the calculation methods for interest rates and management fees for different products are not necessarily the same.
  • Step S206 acquiring a template file corresponding to the simulated order information.
  • a plurality of template files are pre-stored in the server, and an association relationship between each template file and one or more product identifiers is established.
  • a template file is a template file that is used to simulate a confirmation file generated by an asset side processing an order for the same type of product.
  • the server may obtain a corresponding template file according to the product identifier and the corresponding association relationship in the simulated order information.
  • Step S208 generating first simulated transaction information according to the simulated order information and the order processing rule, and writing the first simulated transaction information into the template file to generate a first simulated confirmation file.
  • the server parses the selected order processing rule to determine the field information involved in the order processing rule. And extracting the corresponding field information from the simulated order information, generating new field information according to the corresponding processing rule, or updating the field information, and forming a corresponding correspondence in the first simulated transaction information into the template file according to the generated field information. At the location, save the template file as the first simulation confirmation file.
  • the initial reading position and the reading rule of the field information in the simulated order information written are also defined in the application file.
  • Step S210 It is detected whether a corresponding value in each corresponding write field of the template file is a null value, and a simulation result file is generated according to the detection result.
  • the server further determines, according to the simulation template file and the corresponding order processing rule, whether the field information written in the simulation confirmation file satisfies the condition of the product transaction, and writes the determination result into the generated simulation result file.
  • the simulation result file contains two results of audit pass and audit pass. When the review is not passed, the information that does not satisfy the transaction condition may be further described in the simulation result file.
  • a report of failure of the simulation result file generation is sent to the test terminal.
  • the tester can analyze whether the developed test tool is normal according to the generated simulation result file or report.
  • the simulation processing method, device, storage medium and computer equipment of the above order information enable the tester to analyze whether the developed test tool is normal according to the simulation result file; without interacting with the asset side, the transaction information can be reduced by the asset side. Waiting time, and more avoiding problems such as unstable coordination environment existing in interaction with the asset side, improving product testing efficiency; and timely discovering whether the generated first simulated transaction information is correct, so that when the first simulated transaction When there is an error in the information, the corresponding order processing rules are modified in time to further improve the efficiency of product testing.
  • the method when there is a mandatory field of null value in the template file, the method further includes: detecting whether the sub-rule corresponding to the mandatory field of the null value in the order processing rule is modified, and if so, the simulation result The modified prompt information of the sub-rule is written in the file.
  • the necessary information included in the transaction information corresponding to the product includes purchasing the corresponding quantity of the product under the purchase time.
  • the amount of the required amount, as well as the field information of the profit generated within the length of the position can be set to the required attribute in the corresponding template file, the attribute where the above amount and profit are written.
  • the rule information is processed according to the corresponding order processing rule, the field information of the amount or profit does not exist in the generated first simulated transaction information, and the address set in the template file is null when the corresponding position is written, and the order processing can be queried. In the rule, whether the sub-rule that generates the amount and profit is modified, and if so, the modification information of the corresponding sub-rule is written into the generated simulation result file.
  • the tester can timely discover the modified order processing rule. Error for processing. For example, when the order processing rules applicable to products A, B, and C are preset, when the transaction rule of product A changes, and the corresponding sub-rules in the order processing rule are modified correspondingly, the product B or C is performed. When the order is simulated, it can be checked whether the sub-rules have an impact on products B and C.
  • the method further includes a process of simulating the re-generation and detection of the confirmation file, as shown in FIG. include:
  • Step S302 Obtain an order processing rule with respect to the previous version of the order processing rule.
  • the order processing rule before being modified may be automatically backed up.
  • Step S304 generating second simulated transaction information according to the simulated order information and the previous version of the order processing rule, and writing the second simulated transaction information into the template file to generate a second simulated confirmation file.
  • Step S306 detecting whether a corresponding value in each corresponding write field of the second simulation confirmation file is a null value, and writing the detection result into the simulation result file.
  • the simulation confirmation file may be generated again according to the order processing rule before the modification. And detection, can avoid the need for correction due to errors in the modified order processing rules, affecting the efficiency of the simulation processing of order information.
  • the method further includes an analysis process of the simulation result file, and the process may be performed after the step S210, as shown in FIG.
  • Step S402 obtaining a preset test result file corresponding to the application file.
  • the test result file also includes the two results of the approval and review. When the review fails, the test result file also contains the specific reasons for not meeting the transaction conditions.
  • Step S404 comparing the simulation result file with the test result file to generate a comparison result.
  • the server compares whether the audit result expressed by the simulation result file and the test result file is the same. If the results of the audit are passed, the generated comparison result is the test pass; if the results of the audit fail, the information in the simulation result file that does not satisfy the transaction condition and the unsatisfied transaction included in the test result file are compared. The specific reasons for the conditions are the same. If they are the same, the resulting comparison result is also passed. If the audit results of the two are different, the generated test result is a test failure, and further check different field information in the simulation result file and the test result file, and write the different field information into the comparison result.
  • Step S406 the comparison result is sent to the preset test terminal.
  • the test terminal is a terminal of the product tester, and the server sends the comparison result to the test terminal, so that the tester can know the test result corresponding to the test tool of the product according to the comparison result.
  • the method further includes: uploading the first simulation confirmation file to a location corresponding to the simulated order information for storage; and the step S210 includes: extracting the first simulation confirmation from the location according to the preset timing task. a file that detects whether a null value is in a corresponding position of each of the mandatory fields in the first simulation confirmation file.
  • the server does not need to process the first simulation confirmation file, but stores the generated first simulation confirmation file to a preset storage location.
  • the server pre-sets the storage path associated with each product ID. After the first simulation confirmation file is generated, it may be stored in the corresponding path according to the product identifier corresponding to the simulation file.
  • the first simulation confirmation file can be encrypted and/or compressed.
  • the server may compress the generated first simulated confirmation file according to a preset encoding manner, and encrypt according to a preset password corresponding to the product information.
  • the coding mode can be utf-8, GBK, etc., and each type of product is pre-configured with a corresponding password.
  • the server also sets a timing task for detecting the simulation confirmation file.
  • the timing task is activated, the instruction generated by the simulation result file is triggered, and each product information is sequentially read.
  • An unprocessed first simulation confirmation file that exists in the path.
  • the first simulation confirmation file further carries a mark of the processing status, so that the server can know whether the processing has been processed according to the mark.
  • the compressed file After obtaining the unprocessed simulation confirmation file, after detecting that the simulation confirmation file is a compressed and/or encrypted file, the compressed file may be decoded according to a decoding manner corresponding to the encrypted encoding mode, and acquired and acquired.
  • the password corresponding to the storage path decrypts the encrypted simulation confirmation file to obtain the field information in the simulation confirmation file. Then, according to the corresponding product transaction rules, the relevant field information is obtained, and it is determined whether the field information satisfies the transaction condition, and a simulation result file is generated.
  • the method before the step S202, the method further includes: receiving a service processing request sent by the user terminal; and generating a corresponding application file according to the service processing request.
  • the server may obtain the product information related to the service processing request, obtain the name of the product, and the transaction information, and query the corresponding product number according to the product name. And fill in the above information in the location of the corresponding field in the application file according to the preset format. Among them, different fields are set with corresponding field name, type, position and length.
  • the attribute information of the field information included in the application file is as shown in Table 1. After the server identifies the content of the field included in the order information, the server can identify the field attribute corresponding to the content of the field, and Read in the preset location in the application file.
  • the generated application file can be stored at a preset location such that the server can obtain the application file from the preset location without having to process it immediately.
  • the generated application file can also be encrypted and/or compressed to improve the security of the application file.
  • the application file is automatically generated according to the service request submitted by the actual user, and is used in subsequent product testing, thereby creating an application file without artificial setting, which can further improve the efficiency of product testing.
  • the template file is a generic XML template file generated by the Mock that is suitable for multiple product information.
  • the mock test is a test method for creating an object that is not easy to construct or not easy to acquire, and a virtual object is used to test, and the server can generate a general XML according to the mock test tool (Extensible). Markup Language, Extensible Markup Language) template file.
  • the file attributes and file contents are defined in the XML template file.
  • the content of the file contains the text and the output of the text and the output after the body.
  • File attributes include information such as file format, file naming rules, encoding time, and encryption rules.
  • the body includes the required field information in the confirmation file for each product information generated by the simulated asset side. Both the output before the text and the output after the body include descriptive information about the result file. For example, the name of the file, the date, the number of lines of the file, and other information.
  • Each field information in the body has the corresponding attribute information set. As shown in Table 2 below, it is an attribute table of some of the fields in the template file in one embodiment.
  • the field information in the XML template file can be read from the application file and generated according to the corresponding calculation rule or conversion rule.
  • the attribute information of the field can be determined by the corresponding built-in function, so that the field information required in the simulation result file can be generated by the built-in function.
  • functions such as Func[RandomMixLetterAndNumber, Func[RandomLetter], Func[RandomNumber], Func[CurrentDateTime], etc. may be included.
  • an analog processing device for order information includes: an application file obtaining module 502, configured to acquire an application file to be processed, and the application file includes simulated order information.
  • the order processing rule obtaining module 504 is configured to acquire an order processing rule corresponding to the simulated order information.
  • the template file obtaining module 506 is configured to obtain a template file corresponding to the simulated order information.
  • the simulation confirmation file generating module 508 is configured to generate first simulated transaction information according to the simulated order information and the order processing rule, and write the first simulated transaction information into the template file to generate a first simulation confirmation file.
  • the simulation result file generating module 510 is configured to detect whether a corresponding value in each corresponding write field of the first simulation confirmation file is a null value, and generate a simulation result file according to the detection result.
  • the simulation result file generating module 510 is further configured to: when detecting a mandatory write field having a null value in the first simulation confirmation file, detecting whether the sub-rule corresponding to the mandatory field of the null value in the order processing rule is Modified, if yes, the modified prompt information of the sub-rule is written in the simulation result file.
  • the order processing rule acquisition module 504 is further configured to obtain an order processing rule relative to the previous version of the order processing rule.
  • the simulation confirmation file generating module 508 is further configured to generate second simulated transaction information according to the simulated order information and the previous version of the order processing rule, and write the second simulated transaction information into the template file to generate a second simulated confirmation file.
  • the simulation result file generating module 510 is further configured to detect whether a corresponding value in each of the mandatory write fields in the second simulation confirmation file is a null value, and write the detection result into the simulation result file.
  • the device further includes: a comparison result generating module 512, configured to acquire a preset test result file corresponding to the application file; and compare the simulation result file with the test result file to generate Compare the results; send the comparison results to the preset test terminal.
  • a comparison result generating module 512 configured to acquire a preset test result file corresponding to the application file; and compare the simulation result file with the test result file to generate Compare the results; send the comparison results to the preset test terminal.
  • the simulation confirmation file generating module 508 is further configured to upload the first simulation confirmation file to a location corresponding to the simulated order information for storage; the simulation result file generating module 510 is further configured to use the preset timing task from the location. Extracting the first simulation confirmation file, and detecting whether a corresponding value in each corresponding write field in the first simulation confirmation file is a null value.
  • the foregoing apparatus further includes: an application file generating module 501, configured to receive a service processing request sent by the user terminal; and generate a corresponding application file according to the service processing request.
  • an application file generating module 501 configured to receive a service processing request sent by the user terminal; and generate a corresponding application file according to the service processing request.
  • the template file is a generic XML template file generated by the Mock that is suitable for a variety of simulated order information.
  • the network interface may be an Ethernet card or a wireless network card.
  • the above modules may be embedded in the hardware in the processor or in the memory in the server, or may be stored in the memory in the server, so that the processor calls the corresponding operations of the above modules.
  • the processor can be a central processing unit (CPU), a microprocessor, a microcontroller, or the like.
  • a computer readable storage medium having stored thereon computer instructions that, when executed by a processor, implement the steps of: obtaining an application file to be processed, including simulated order information in the application file; An order processing rule corresponding to the simulated order information; acquiring a template file corresponding to the simulated order information; generating the first simulated transaction information according to the simulated order information and the order processing rule, and writing the first simulated transaction information into the template file to generate the first Simulating the confirmation file; detecting whether the corresponding position of each of the mandatory fields in the first simulation confirmation file is a null value, and generating a simulation result file according to the detection result.
  • the following steps are implemented: detecting whether the sub-rule corresponding to the mandatory field of the null value in the order processing rule is Modified, if yes, the modified prompt information of the sub-rule is written in the simulation result file.
  • the following steps are also implemented: obtaining an order processing relative to the previous version of the order processing rule a rule; generating second simulation transaction information according to the simulated order information and the previous version of the order processing rule, writing the second simulated transaction information into the template file, generating a second simulation confirmation file; and detecting each of the second simulation confirmation files Whether the corresponding position of the write field is a null value, and the detection result is written into the simulation result file.
  • the following steps are further performed: acquiring a preset test result file corresponding to the application file; and simulating the result file and the test result file Compare and generate comparison results; send the comparison results to the preset test terminal.
  • the following step is further implemented: uploading the first simulation confirmation file to a location corresponding to the simulated order information for storage; And extracting, by the preset timing task, the first simulation confirmation file from the location, and detecting whether a corresponding value of each mandatory field in the first simulation confirmation file is a null value.
  • the following steps are further implemented: receiving a service processing request sent by the user terminal; and generating a corresponding application file according to the service processing request.
  • the template file is a generic XML template file generated by the Mock that is suitable for a variety of simulated order information.
  • a computer apparatus comprising a memory, a processor, and a computer program stored on the memory and operative on the processor, the processor executing the program to implement any one of the above embodiments The steps of the analog processing method of information.
  • the computer device can be the server described above.
  • FIG. 8 it is a schematic diagram of the internal structure of a server in one embodiment.
  • the server includes a processor, memory, and network interface connected by a system bus.
  • the processor is used to provide computing and control capabilities to support the operation of the entire server.
  • the memory is used to store data, instruction codes, etc.
  • the network interface is used for network communication with other terminals or servers.
  • At least one computer executable instruction is stored on the memory, the computer executable instructions being executable by the processor to implement an analog processing method for order information applicable to the server provided in the embodiments of the present application.
  • the memory may include a non-volatile storage medium such as a magnetic disk, an optical disk, a read-only memory (ROM), or a random storage memory (Random-Access-Memory, RAM).
  • the memory includes a non-volatile storage medium and an internal memory.
  • the non-volatile storage medium stores an operating system, a database, and computer executable instructions.
  • the database stores data related to the simulation processing method for realizing an order information provided by the above respective embodiments, for example, data such as an order processing rule can be stored.
  • the computer executable instructions are executable by the processor for implementing an analog processing method for order information provided by the various embodiments above.
  • the internal memory provides a cached operating environment for operating systems, databases, and computer executable instructions in a non-volatile storage medium.
  • the network interface may be an Ethernet card or a wireless network card, etc., for communicating with an external terminal or server, such as sending the generated comparison result to a preset test terminal.
  • the server can be implemented with a stand-alone server or a server cluster consisting of multiple servers. It will be understood by those skilled in the art that the structure shown in FIG. 8 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the server to which the solution of the present application is applied.
  • the specific server may include a ratio. More or fewer components are shown in the figures, or some components are combined, or have different component arrangements.
  • the processor executes the program, the following steps are performed: obtaining an application file to be processed, including the simulated order information in the application file; acquiring an order processing rule corresponding to the simulated order information; and acquiring a template corresponding to the simulated order information Generating a first simulated transaction information according to the simulated order information and the order processing rule, writing the first simulated transaction information into the template file, generating a first simulated confirmation file; and detecting a correspondence of each mandatory field in the first simulated confirmation file Whether the position is a null value, and a simulation result file is generated according to the detection result.
  • the processor when there is a mandatory write field of the null value in the first simulation confirmation file, the processor further implements the following steps: detecting whether the sub-rule corresponding to the mandatory field of the null value in the order processing rule is Modified, if yes, the modified prompt information of the sub-rule is written in the simulation result file.
  • the following steps are further implemented: acquiring an order processing rule with respect to the previous version of the order processing rule; Generating second simulated transaction information according to the simulated order information and the previous version of the order processing rule, writing the second simulated transaction information into the template file, generating a second simulated confirmation file; and detecting each mandatory field in the second simulated confirmation file Whether the corresponding position is a null value, the detection result is written into the simulation result file.
  • the following steps are further performed: obtaining a preset test result file corresponding to the application file; comparing the simulation result file with the test result file , the comparison result is generated; the comparison result is sent to the preset test terminal.
  • the following steps are further implemented: uploading the first simulation confirmation file to a location corresponding to the simulated order information for storage;
  • the set timing task extracts the first simulation confirmation file from the location, and detects whether the corresponding position of each mandatory field in the first simulation confirmation file is a null value.
  • the following steps are further implemented: receiving a service processing request sent by the user terminal; and generating a corresponding application file according to the service processing request.
  • the template file is a generic XML template file generated by the Mock that is suitable for a variety of simulated order information.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or the like.

Abstract

The present application relates to a simulated processing method and apparatus for order information, and a storage medium and a computer device. The method comprises: acquiring an application file to be processed, wherein the application file comprises simulated order information; acquiring an order processing rule corresponding to the simulated order information; acquiring a template file corresponding to the simulated order information; generating first simulated transaction information according to the simulated order information and the order processing rule, writing the first simulated transaction information into the template file, and generating a first simulated confirmation file; and detecting whether the corresponding position of each mandatory field in the first simulated confirmation file is a null value, and generating a simulated result file according to a detection result. The simulated processing method and apparatus for order information, and the storage medium and the computer device can improve product test efficiency.

Description

订单信息的模拟处理方法、装置、存储介质和计算机设备Analog processing method, device, storage medium and computer device for order information
本申请申明享有2017年7月27日递交的申请号为201710626314.6、名称为“订单信息的模拟处理方法、装置、存储介质和计算机设备”的中国专利申请的优先权,该中国专利申请的整体内容以参考的方式结合在本申请中。The present application claims the priority of the Chinese patent application filed on July 27, 2017, with the application number of 201710626314.6, entitled "Analog processing method, device, storage medium and computer equipment for order information", the overall content of the Chinese patent application It is incorporated herein by reference.
技术领域Technical field
本申请涉及信息处理技术领域,特别是涉及一种订单信息的模拟处理方法、装置、存储介质和计算机设备。The present application relates to the field of information processing technologies, and in particular, to an analog processing method and apparatus for order information, a storage medium, and a computer device.
背景技术Background technique
用户在购买一些保险产品或金融等类型的产品时,通常会选择和该产品的代理方进行沟通,通过订单委托代理方从产品提供方(以下统称资产方)处进行产品的购买。代理方需要将客户的订单发送给资产方进行审核,资产方对该订单进行审核,生成确认文件发送给代理方。代理方根据所接收到的确认文件来生成结果文件,该结果文件包含客户是否能够购买该产品的结果信息。When a user purchases some insurance products or financial products, he or she usually chooses to communicate with the agent of the product, and purchases the product from the product provider (hereinafter collectively referred to as the asset party) through the order entrusting agent. The agent needs to send the customer's order to the asset side for review, and the asset side will review the order and generate a confirmation file to send to the agent. The agent generates a result file based on the received confirmation file, the result file containing the result information of whether the customer can purchase the product.
然而,对于一些新开放的产品,资产方和代理方都需要对各自针对该产品所开发出的应用工具进行测试。而代理方所开发出的应用工具又必须依赖于资产方提供的审核结果才能测试其所开发出的应用工具是否有误。若资产方的应用工具还未开发完成时,则无法及时向代理方返回确认文件,从而导致代理方对该产品的测试周期延长,使得代理方对其所研发的产品的测试效率低下。However, for some newly open products, both the asset side and the agent need to test the application tools developed for the product. The application tools developed by the agent must rely on the audit results provided by the asset side to test whether the application tools developed by them are correct. If the asset's application tool has not been developed, the confirmation file cannot be returned to the agent in time, which leads to the extension of the testing cycle of the product by the agent, which makes the agent's testing of the product developed by the agent inefficient.
发明内容Summary of the invention
基于此,有必要针对上述技术问题,提供一种能够提高产品的测试效率的订单信息的模拟处理方法、装置、存储介质和计算机设备。Based on this, it is necessary to provide an analog processing method, apparatus, storage medium, and computer apparatus for order information capable of improving the testing efficiency of products in response to the above technical problems.
一种订单信息的模拟处理方法,所述方法包括:获取待处理的申请文件,所述申请文件中包括模拟订单信息;获取与所述模拟订单信息对应的订单处理规则;获取与所述模拟订单信息对应的模板文件;根据所述模拟订单信息和所述订单处理规则生成第一模拟交易信息,将所述第一模拟交易信息写入所述模板文件中,生成第一模拟确认文件;检测所述第一模拟确认文件中每个必写字段的对应位置中是否为空值,根据检测结果生成模拟结果文件。An analog processing method for order information, the method comprising: acquiring an application file to be processed, the application file includes simulated order information; acquiring an order processing rule corresponding to the simulated order information; acquiring the simulated order Corresponding template file; generating first simulated transaction information according to the simulated order information and the order processing rule, and writing the first simulated transaction information into the template file to generate a first simulated confirmation file; Whether the corresponding position of each mandatory field in the first simulation confirmation file is a null value, and a simulation result file is generated according to the detection result.
一种订单信息的模拟处理装置,所述装置包括:申请文件获取模块,用于获取待处理的申请文件,所述申请文件中包括模拟订单信息;订单处理规则获取模块,用于获取与所述模拟订单信息对应的订单处理规则;模板文件获取模块,用于获取与所述模拟订单信息对应的模板文件;模拟确认文件生成模块,用于根据所述模拟订单信息和所述订单处理规则生成第一模拟交易信息,将所述第一模拟交易信息写入所述模板文件中,生成第一模拟确认文件;模拟结果文件生成模块,用于检测所述第一模拟确认文件中每个必写字段的对应位置中是否为空值,根据检测结果生成模拟结果文件。An order processing device for an order information, the device comprising: an application file obtaining module, configured to acquire an application file to be processed, the application file includes simulated order information; and an order processing rule obtaining module, configured to acquire and An order processing rule corresponding to the simulated order information; a template file obtaining module, configured to acquire a template file corresponding to the simulated order information; and a simulation confirmation file generating module, configured to generate the first according to the simulated order information and the order processing rule a simulation transaction information, the first simulation transaction information is written into the template file to generate a first simulation confirmation file; and a simulation result file generation module is configured to detect each mandatory write field in the first simulation confirmation file. Whether the corresponding position is a null value, and a simulation result file is generated according to the detection result.
一种计算机可读存储介质,其上存储有计算机指令,该指令被处理器执行时实现以下步骤:获取待处理的申请文件,所述申请文件中包括模拟订单信息;获取与所述模拟订单信息对应的订单处理规则;获取与所述模拟订单信息对应的模板文件;根据所述模拟订单信息和所述订单处理规则生成第一模拟交易信息,将所述第一模拟交易信息写入所述模板文件中,生成第一模拟确认文件;检测所述第一模拟确认文件中每个必写字段的对应位置中是否为空值,根据检测结果生成模拟结果文件。A computer readable storage medium having stored thereon computer instructions, the instructions being executed by the processor to: obtain an application file to be processed, the application file includes simulated order information; and obtain the simulated order information Corresponding order processing rule; acquiring a template file corresponding to the simulated order information; generating first simulated transaction information according to the simulated order information and the order processing rule, and writing the first simulated transaction information into the template And generating a first simulation confirmation file; detecting whether a corresponding value in each corresponding write field of the first simulation confirmation file is a null value, and generating a simulation result file according to the detection result.
一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现以下步骤:获取待处理的申请文件,所述申请文件中包括模拟订单信息;获取与所述模拟订单信 息对应的订单处理规则;获取与所述模拟订单信息对应的模板文件;根据所述模拟订单信息和所述订单处理规则生成第一模拟交易信息,将所述第一模拟交易信息写入所述模板文件中,生成第一模拟确认文件;检测所述第一模拟确认文件中每个必写字段的对应位置中是否为空值,根据检测结果生成模拟结果文件。A computer device comprising a memory, a processor, and a computer program stored on the memory and operable on the processor, the processor executing the program, the step of: obtaining an application file to be processed, the application file The method includes: acquiring the order processing information; acquiring an order processing rule corresponding to the simulated order information; acquiring a template file corresponding to the simulated order information; and generating the first simulated transaction information according to the simulated order information and the order processing rule, Writing the first simulated transaction information into the template file to generate a first simulation confirmation file; detecting whether a corresponding value of each mandatory field in the first simulation confirmation file is a null value, and generating according to the detection result Simulation result file.
上述订单信息的模拟处理方法、装置、存储介质和计算机设备,使测试人员可根据模拟结果文件来分析所开发的测试工具是否正常;无需与资产方进行交互,可降低由资产方来生成交易信息的等待时间,且更能避免与资产方进行交互所存在的联调环境不稳定等问题,提高产品测试效率;还可及时发现所生成的第一模拟交易信息是否正确,使得当第一模拟交易信息出现错误时,及时对相应的订单处理规则进行修改,进一步提高产品测试的效率。The simulation processing method, device, storage medium and computer equipment of the above order information enable the tester to analyze whether the developed test tool is normal according to the simulation result file; without interacting with the asset side, the transaction information can be reduced by the asset side. Waiting time, and more avoiding problems such as unstable coordination environment existing in interaction with the asset side, improving product testing efficiency; and timely discovering whether the generated first simulated transaction information is correct, so that when the first simulated transaction When there is an error in the information, the corresponding order processing rules are modified in time to further improve the efficiency of product testing.
附图说明DRAWINGS
图1为一个实施例中订单信息的模拟处理方法的应用环境图;1 is an application environment diagram of an analog processing method for order information in an embodiment;
图2为一个实施例中订单信息的模拟处理方法的流程图;2 is a flow chart of a method for simulating processing of order information in an embodiment;
图3为一个实施例中模拟确认文件的再次生成与检测的过程的流程图;3 is a flow chart showing a process of re-generating and detecting a simulation confirmation file in one embodiment;
图4为一个实施例中对模拟结果文件的分析过程的流程图;4 is a flow chart showing an analysis process of a simulation result file in an embodiment;
图5为一个实施例中订单信息的模拟处理转置的结构框图;FIG. 5 is a structural block diagram of an analog processing transposition of order information in an embodiment; FIG.
图6为另一个实施例中订单信息的模拟处理转置的结构框图;6 is a structural block diagram of an analog processing transposition of order information in another embodiment;
图7为又一个实施例中订单信息的模拟处理转置的结构框图;7 is a structural block diagram of an analog processing transposition of order information in still another embodiment;
图8为一个实施例中服务器的内部结构图。Figure 8 is a diagram showing the internal structure of a server in one embodiment.
具体实施方式Detailed ways
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。可以理解,本申请所使用的术 语“第一”、“第二”等可在本文中用于描述各种元件,但这些元件不受这些术语限制。这些术语仅用于将第一个元件与另一个元件区分。举例来说,在不脱离本申请的范围的情况下,可以将第一模拟确认文件称为第二模拟确认文件,且类似地,可将第二模拟确认文件称为第一模拟确认文件。第一模拟确认文件和第二模拟确认文件两者都是模拟确认文件,但其不是同一模拟确认文件。In order to make the objects, technical solutions, and advantages of the present application more comprehensible, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the application and are not intended to be limiting. It will be understood that the terms "first", "second" and the like, as used herein, may be used to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another. For example, the first simulation confirmation file may be referred to as a second simulation confirmation file without departing from the scope of the present application, and similarly, the second simulation confirmation file may be referred to as a first simulation confirmation file. Both the first simulation confirmation file and the second simulation confirmation file are simulation confirmation files, but they are not the same simulation confirmation file.
本申请实施例所提供的订单信息的模拟处理方法,可应用于如图1所示的应用环境中。参考图1,用户终端110可通过相应的网络与服务器120相连,向服务器120发送进行产品交易的业务办理请求。服务器120可为处理产品交易的代理方的后台服务器。该服务器120中可根据用户的业务办理请求生成申请文件,申请文件中包括模拟订单信息;并获取与模拟订单信息对应的产品交易规则和模板文件;根据模拟订单信息和产品交易规则生成第一模拟交易信息,将第一模拟交易信息写入模板文件中;再获取与模拟订单信息对应的预设交易信息;检测写入模板文件中的第一模拟交易信息和预设交易信息是否匹配,根据检测结果生成模拟结果文件。The simulation processing method of the order information provided by the embodiment of the present application can be applied to the application environment as shown in FIG. 1 . Referring to FIG. 1, the user terminal 110 can connect to the server 120 through a corresponding network, and send a service request for performing a product transaction to the server 120. Server 120 may be a backend server that handles the agent of the product transaction. The server 120 may generate an application file according to a service request of the user, where the application file includes simulated order information, and obtain a product transaction rule and a template file corresponding to the simulated order information; and generate a first simulation according to the simulated order information and the product transaction rule. Transaction information, the first simulated transaction information is written into the template file; and the preset transaction information corresponding to the simulated order information is acquired; and the first simulated transaction information and the preset transaction information in the written template file are detected to be matched, according to the detection. The result is a simulation result file.
在一个实施例中,如图2所示,提供了一种订单信息的模拟处理方法。本实施例以该方法可应用于如图1所示的服务器中来说明,具体包括如下步骤:In one embodiment, as shown in FIG. 2, an analog processing method for order information is provided. This embodiment is applicable to the method as shown in FIG. 1 , and specifically includes the following steps:
步骤S202,获取待处理的申请文件,申请文件中包括模拟订单信息。Step S202: Acquire an application file to be processed, where the application file includes simulated order information.
本实施例中,服务器中存储有多个待处理的申请文件。该申请文件可为测试人员为测试所开发的产品的性能而预先模拟生成的样本申请文件,还可为根据实际的用户所提交的交易的订单信息生成的申请文件。模拟订单信息可包括模拟出的用户信息和待交易的产品信息。In this embodiment, a plurality of application files to be processed are stored in the server. The application file may pre-simulate the generated sample application file for the performance of the product developed by the tester, and may also be an application file generated based on the order information of the transaction submitted by the actual user. The simulated order information may include simulated user information and product information to be traded.
步骤S204,获取与模拟订单信息对应的订单处理规则。Step S204, acquiring an order processing rule corresponding to the simulated order information.
本实施例中,订单处理规则为根据资产方所提供的产品交易规则所设置的处理规则。不同的产品类型和/或产品交易数额所对应的处理规则不一定 相同。不同的产品对应的利率和管理费等计算方式也不一定相同。In this embodiment, the order processing rule is a processing rule set according to the product transaction rule provided by the asset side. The processing rules for different product types and/or product transaction amounts are not necessarily the same. The calculation methods for interest rates and management fees for different products are not necessarily the same.
步骤S206,获取与模拟订单信息对应的模板文件。Step S206, acquiring a template file corresponding to the simulated order information.
本实施例中,服务器中还预先存储了多种模板文件,并建立了每种模板文件与一种或多种产品标识之间的关联关系。模板文件为用于模拟资产方对同一类型产品的订单进行处理而生成的确认文件的模板文件。服务器可根据该模拟订单信息中的产品标识与相应的关联关系,获取对应的模板文件。In this embodiment, a plurality of template files are pre-stored in the server, and an association relationship between each template file and one or more product identifiers is established. A template file is a template file that is used to simulate a confirmation file generated by an asset side processing an order for the same type of product. The server may obtain a corresponding template file according to the product identifier and the corresponding association relationship in the simulated order information.
步骤S208,根据模拟订单信息和订单处理规则生成第一模拟交易信息,将第一模拟交易信息写入模板文件中,生成第一模拟确认文件。Step S208, generating first simulated transaction information according to the simulated order information and the order processing rule, and writing the first simulated transaction information into the template file to generate a first simulated confirmation file.
本实施例中,服务器对选取的订单处理规则进行解析,确定该订单处理规则所涉及到的字段信息。并从模拟订单信息中提取该对应的字段信息,根据对应处理规则生成新的字段信息或对该字段信息进行更新,根据所生成的字段信息构成该第一模拟交易信息写入模板文件中的对应位置处,并将该模板文件另存为第一模拟确认文件。In this embodiment, the server parses the selected order processing rule to determine the field information involved in the order processing rule. And extracting the corresponding field information from the simulated order information, generating new field information according to the corresponding processing rule, or updating the field information, and forming a corresponding correspondence in the first simulated transaction information into the template file according to the generated field information. At the location, save the template file as the first simulation confirmation file.
进一步地,申请文件中还被定义了被写入的模拟订单信息中的字段信息的起始读取位置以及读取规则。Further, the initial reading position and the reading rule of the field information in the simulated order information written are also defined in the application file.
步骤S210,检测模板文件中每个必写字段的对应位置中是否为空值,根据检测结果生成模拟结果文件。Step S210: It is detected whether a corresponding value in each corresponding write field of the template file is a null value, and a simulation result file is generated according to the detection result.
进一步地,服务器还根据模拟模板文件以及该对应的订单处理规则,判断模拟确认文件中写入的字段信息是否都满足产品交易的条件,并将判断结果也写入生成的模拟结果文件中。其中,模拟结果文件中包含审核通过和审核不通过两种结果。当为审核不通过时,可进一步在模拟结果文件中说明不满足交易条件的信息。Further, the server further determines, according to the simulation template file and the corresponding order processing rule, whether the field information written in the simulation confirmation file satisfies the condition of the product transaction, and writes the determination result into the generated simulation result file. Among them, the simulation result file contains two results of audit pass and audit pass. When the review is not passed, the information that does not satisfy the transaction condition may be further described in the simulation result file.
进一步的,若无法生成模拟结果文件,则向测试终端发送模拟结果文件生成失败的报告。测试人员可根据所生成的模拟结果文件或报告来分析所研发的测试工具是否正常。Further, if the simulation result file cannot be generated, a report of failure of the simulation result file generation is sent to the test terminal. The tester can analyze whether the developed test tool is normal according to the generated simulation result file or report.
上述订单信息的模拟处理方法、装置、存储介质和计算机设备,使测试 人员可根据模拟结果文件来分析所开发的测试工具是否正常;无需与资产方进行交互,可降低由资产方来生成交易信息的等待时间,且更能避免与资产方进行交互所存在的联调环境不稳定等问题,提高产品测试效率;还可及时发现所生成的第一模拟交易信息是否正确,使得当第一模拟交易信息出现错误时,及时对相应的订单处理规则进行修改,进一步提高产品测试的效率。The simulation processing method, device, storage medium and computer equipment of the above order information enable the tester to analyze whether the developed test tool is normal according to the simulation result file; without interacting with the asset side, the transaction information can be reduced by the asset side. Waiting time, and more avoiding problems such as unstable coordination environment existing in interaction with the asset side, improving product testing efficiency; and timely discovering whether the generated first simulated transaction information is correct, so that when the first simulated transaction When there is an error in the information, the corresponding order processing rules are modified in time to further improve the efficiency of product testing.
在一个实施例中,当模板文件中存在空值的必写字段时,上述方法还包括:检测订单处理规则中与空值的必写字段对应的子规则是否被修改,若是,则在模拟结果文件中写入子规则的被修改的提示信息。In an embodiment, when there is a mandatory field of null value in the template file, the method further includes: detecting whether the sub-rule corresponding to the mandatory field of the null value in the order processing rule is modified, and if so, the simulation result The modified prompt information of the sub-rule is written in the file.
举例来说,若模拟订单信息中包含某一产品的购买数量、买入时间、持仓时长时,该产品对应的交易信息需要包含的必备信息包括在该购买时间下,购买对应数量的产品所需的数额,以及在该持仓时长之内所产生的利润的字段信息,则可对相应模板文件中,写入上述数额和利润的位置的属性设置为必须填写的属性。当根据对应的订单处理规则,所生成的第一模拟交易信息中并不存在该数额或利润的字段信息,该模板文件中所设置的写入该相应位置处为空值,则可查询订单处理规则中,与生成该数额和利润的子规则是否被修改,若是,则将该对应的子规则的修改信息写入生成的模拟结果文件中。For example, if the simulated order information includes the purchase quantity, the purchase time, and the position duration of a certain product, the necessary information included in the transaction information corresponding to the product includes purchasing the corresponding quantity of the product under the purchase time. The amount of the required amount, as well as the field information of the profit generated within the length of the position, can be set to the required attribute in the corresponding template file, the attribute where the above amount and profit are written. When the rule information is processed according to the corresponding order processing rule, the field information of the amount or profit does not exist in the generated first simulated transaction information, and the address set in the template file is null when the corresponding position is written, and the order processing can be queried. In the rule, whether the sub-rule that generates the amount and profit is modified, and if so, the modification information of the corresponding sub-rule is written into the generated simulation result file.
本实施例中,通过对检测订单处理规则中与空值的必写字段对应的子规则是否被修改,并将修改信息写入模拟结果文件,使得测试人员可及时发现被修改的订单处理规则的错误,以进行处理。比如当预先设置了适用于产品A、B和C的订单处理规则,当产品A的交易规则有变动,而对应修改了该订单处理规则中的相应子规则时,在进行产品B或C的进行订单的模拟处理时,可检测初修改后子规则对产品B和C是否有影响。In this embodiment, by detecting whether the sub-rule corresponding to the mandatory field of the null value in the order processing rule is modified, and writing the modification information into the simulation result file, the tester can timely discover the modified order processing rule. Error for processing. For example, when the order processing rules applicable to products A, B, and C are preset, when the transaction rule of product A changes, and the corresponding sub-rules in the order processing rule are modified correspondingly, the product B or C is performed. When the order is simulated, it can be checked whether the sub-rules have an impact on products B and C.
在一个实施例中,当检测到订单处理规则中与空值的必写字段对应的子规则被修改后,上述方法还包括模拟确认文件的再次生成与检测的过程,如图3所示,具体包括:In an embodiment, after detecting that the sub-rule corresponding to the mandatory field of the null value in the order processing rule is modified, the method further includes a process of simulating the re-generation and detection of the confirmation file, as shown in FIG. include:
步骤S302,获取相对于订单处理规则的上一版本的订单处理规则。Step S302: Obtain an order processing rule with respect to the previous version of the order processing rule.
本实施例中,当服务器检测到订单处理规则被修改后,可自动备份被修改前的订单处理规则。In this embodiment, when the server detects that the order processing rule is modified, the order processing rule before being modified may be automatically backed up.
步骤S304,根据模拟订单信息和上一版本的订单处理规则生成第二模拟交易信息,将第二模拟交易信息写入模板文件中,生成第二模拟确认文件。Step S304, generating second simulated transaction information according to the simulated order information and the previous version of the order processing rule, and writing the second simulated transaction information into the template file to generate a second simulated confirmation file.
步骤S306,检测第二模拟确认文件中每个必写字段的对应位置中是否为空值,将检测结果写入模拟结果文件中。Step S306, detecting whether a corresponding value in each corresponding write field of the second simulation confirmation file is a null value, and writing the detection result into the simulation result file.
本实施例中,通过备份修改前的订单处理规则,当检测到订单处理规则中与空值的必写字段对应的子规则被修改后,可根据该修改前的订单处理规则再次生成模拟确认文件并检测,可避免对因修改后的订单处理规则出现错误而需要改正,影响订单信息的模拟处理的效率。In this embodiment, by backing up the order processing rule before modification, when it is detected that the sub-rule corresponding to the mandatory field of the null value in the order processing rule is modified, the simulation confirmation file may be generated again according to the order processing rule before the modification. And detection, can avoid the need for correction due to errors in the modified order processing rules, affecting the efficiency of the simulation processing of order information.
在一个实施例中,上述方法还包括对模拟结果文件的分析过程,该过程可在上述的步骤S210之后执行,如图4所示,具体包括:In an embodiment, the method further includes an analysis process of the simulation result file, and the process may be performed after the step S210, as shown in FIG.
步骤S402,获取与申请文件对应的预设的测试结果文件。Step S402, obtaining a preset test result file corresponding to the application file.
测试结果文件同样也包括审核通过和审核不通过两种结果。当为审核不通过时,测试结果文件中还包含了不满足交易条件的具体原因。The test result file also includes the two results of the approval and review. When the review fails, the test result file also contains the specific reasons for not meeting the transaction conditions.
步骤S404,将模拟结果文件和测试结果文件进行对比,生成对比结果。Step S404, comparing the simulation result file with the test result file to generate a comparison result.
本实施例中,服务器可比较模拟结果文件和测试结果文件所表达的审核结果是否相同。若均为审核通过的结果,则生成的对比结果为测试通过;若均为审核不通过的结果,则比较模拟结果文件中的不满足交易条件的信息与测试结果文件中所包含的不满足交易条件的具体原因是否相同,若相同,则生成的对比结果也为测试通过。若两者的审核结果不同,则生成的测试结果为测试失败,并进一步检查模拟结果文件中和测试结果文件中不同的字段信息,将该不同的字段信息写入对比结果中。In this embodiment, the server compares whether the audit result expressed by the simulation result file and the test result file is the same. If the results of the audit are passed, the generated comparison result is the test pass; if the results of the audit fail, the information in the simulation result file that does not satisfy the transaction condition and the unsatisfied transaction included in the test result file are compared. The specific reasons for the conditions are the same. If they are the same, the resulting comparison result is also passed. If the audit results of the two are different, the generated test result is a test failure, and further check different field information in the simulation result file and the test result file, and write the different field information into the comparison result.
步骤S406,将对比结果发送至预设的测试终端。Step S406, the comparison result is sent to the preset test terminal.
本实施例中,测试终端为产品测试人员的终端,服务器将该对比结果发 送至测试终端中,可使得测试人员可根据对比结果获知该产品的测试工具对应的测试结果。In this embodiment, the test terminal is a terminal of the product tester, and the server sends the comparison result to the test terminal, so that the tester can know the test result corresponding to the test tool of the product according to the comparison result.
在一个实施例中,在步骤S208之后,还包括:将第一模拟确认文件上传到与模拟订单信息对应位置进行存储;上述步骤S210包括:根据预设的定时任务从位置中提取第一模拟确认文件,检测第一模拟确认文件中每个必写字段的对应位置中是否为空值。In an embodiment, after step S208, the method further includes: uploading the first simulation confirmation file to a location corresponding to the simulated order information for storage; and the step S210 includes: extracting the first simulation confirmation from the location according to the preset timing task. a file that detects whether a null value is in a corresponding position of each of the mandatory fields in the first simulation confirmation file.
本实施例中,服务器在生成第一模拟确认文件后,可不必立即对其进行处理,而将所生成的第一模拟确认文件先存放到预设的存储位置处。服务器预先设置了与每个产品标识相关联的存储路径。在生成第一模拟确认文件后,可根据该模拟文件对应的产品标识,将其存储到对应的路径下。In this embodiment, after the first simulation confirmation file is generated, the server does not need to process the first simulation confirmation file, but stores the generated first simulation confirmation file to a preset storage location. The server pre-sets the storage path associated with each product ID. After the first simulation confirmation file is generated, it may be stored in the corresponding path according to the product identifier corresponding to the simulation file.
进一步地,可对该第一模拟确认文件进行加密和/或压缩。服务器可对所生成的第一模拟确认文件按照预设的编码方式进行压缩,并按照预设的与该产品信息对应的密码进行加密。其中,编码方式可为utf-8、GBK等编码方式,每种类型的产品均被预设有对应的密码。Further, the first simulation confirmation file can be encrypted and/or compressed. The server may compress the generated first simulated confirmation file according to a preset encoding manner, and encrypt according to a preset password corresponding to the product information. The coding mode can be utf-8, GBK, etc., and each type of product is pre-configured with a corresponding password.
服务器中还设置了用于检测模拟确认文件的定时任务,当检测到系统时间到达预设的时间时,激活该定时任务,触发该模拟结果文件生成的指令,并依次读取每个产品信息对应的路径中所存在的未处理的第一模拟确认文件。其中,第一模拟确认文件还携带有处理状态的标记,使得服务器根据该标记可获知是否已经被处理。The server also sets a timing task for detecting the simulation confirmation file. When detecting that the system time reaches the preset time, the timing task is activated, the instruction generated by the simulation result file is triggered, and each product information is sequentially read. An unprocessed first simulation confirmation file that exists in the path. The first simulation confirmation file further carries a mark of the processing status, so that the server can know whether the processing has been processed according to the mark.
在获取到未处理的模拟确认文件后,当检测到该模拟确认文件为压缩和/或加密文件后,可按照与该加密的编码方式对应的解码方式,对该压缩文件进行解码,并获取与存储路径对应的密码,对该加密的模拟确认文件进行解密,从而获取模拟确认文件中的字段信息。再按照相应的产品交易规则,获取相关的字段信息,判定该字段信息是否满足交易条件,生成模拟结果文件。After obtaining the unprocessed simulation confirmation file, after detecting that the simulation confirmation file is a compressed and/or encrypted file, the compressed file may be decoded according to a decoding manner corresponding to the encrypted encoding mode, and acquired and acquired. The password corresponding to the storage path decrypts the encrypted simulation confirmation file to obtain the field information in the simulation confirmation file. Then, according to the corresponding product transaction rules, the relevant field information is obtained, and it is determined whether the field information satisfies the transaction condition, and a simulation result file is generated.
在一个实施例中,在步骤S202之前,上述方法还包括:接收用户终端 发送的业务办理请求;根据业务办理请求生成相应的申请文件。In an embodiment, before the step S202, the method further includes: receiving a service processing request sent by the user terminal; and generating a corresponding application file according to the service processing request.
具体地,服务器可获取该业务办理请求所涉及到的产品信息,获取该产品的名称以及交易信息,根据该产品名称查询对应的产品编号。并按照预设的格式将所上述信息填写到申请文件中的相应字段的位置中。其中不同字段被设置了对应的字段名、类型、位置和长度等属性。在一个实施例中,申请文件中所包含的字段信息的属性信息如下表1所示,服务器在识别出订单信息中所包含的字段内容后,可识别该字段内容所对应的字段属性,将其读入到申请文件中的预设位置处。Specifically, the server may obtain the product information related to the service processing request, obtain the name of the product, and the transaction information, and query the corresponding product number according to the product name. And fill in the above information in the location of the corresponding field in the application file according to the preset format. Among them, different fields are set with corresponding field name, type, position and length. In an embodiment, the attribute information of the field information included in the application file is as shown in Table 1. After the server identifies the content of the field included in the order information, the server can identify the field attribute corresponding to the content of the field, and Read in the preset location in the application file.
表1 申请文件中的部分字段信息的属性表Table 1 Attribute table of some field information in the application file
字段名Field name 类型Types of 位置position 长度length 小数点后的长度Length after the decimal point
SEQUENCENOSEQUENCENO 数字digital 11 88 11
FUNDCODEFUNDCODE 数字digital 22 44 00
SHARECLASSSHARECLASS 数字digital 33 11 00
MODIFYWAYMODIFYWAY 字符串String 44 1212  
DOWNLOADDATEDOWNLOADDATE 日期date 55 88  
在一个实施例中,所生成的申请文件可被存储到预设的位置处,使得服务器可从该预设的位置处获取该申请文件,而不必立即进行处理。同样还可对所生成的申请文件进行加密和/或压缩处理,以提高申请文件的安全性。In one embodiment, the generated application file can be stored at a preset location such that the server can obtain the application file from the preset location without having to process it immediately. The generated application file can also be encrypted and/or compressed to improve the security of the application file.
本实施例中,通过根据实际用户所提交的业务办理请求自动生成申请文件,将其用于后续的产品测试之中,从而无需人为设置创建申请文件,可进一步提高产品测试的效率。In this embodiment, the application file is automatically generated according to the service request submitted by the actual user, and is used in subsequent product testing, thereby creating an application file without artificial setting, which can further improve the efficiency of product testing.
在一个实施例中,模板文件为通过Mock所生成的适用于多个产品信息的通用XML模板文件。In one embodiment, the template file is a generic XML template file generated by the Mock that is suitable for multiple product information.
其中,mock测试就是在测试过程中,对于某些不容易构造或者不容易获取的对象,用一个虚拟的对象来创建以便测试的测试方法,服务器可根据该mock测试工具生成一个通用的XML(Extensible Markup Language,可扩展 标记语言)模板文件。该XML模板文件中定义文件属性以及文件内容。文件内容中包含正文以及正文钱的输出与正文后的输出。Among them, the mock test is a test method for creating an object that is not easy to construct or not easy to acquire, and a virtual object is used to test, and the server can generate a general XML according to the mock test tool (Extensible). Markup Language, Extensible Markup Language) template file. The file attributes and file contents are defined in the XML template file. The content of the file contains the text and the output of the text and the output after the body.
文件属性包含文件格式、文件命名规则、编码当时以及加密规则等信息。正文包括模拟的资产方生成的每个产品信息的确认文件中所需的字段信息。正文前的输出和正文后的输出均包括对结果文件的说明性的信息。比如介绍文件的名称、日期、文件的行数等信息。File attributes include information such as file format, file naming rules, encoding time, and encryption rules. The body includes the required field information in the confirmation file for each product information generated by the simulated asset side. Both the output before the text and the output after the body include descriptive information about the result file. For example, the name of the file, the date, the number of lines of the file, and other information.
正文中的每个字段信息均设置了相应的属性信息。如下表2所示,为一个实施例中模板文件中的部分字段的属性表。XML模板文件中的字段信息可从申请文件中进行读取,并按照对应的计算规则或转换规则而生成。字段的属性信息可由相应的内置函数所确定,使得通过该内置函数可生成模拟结果文件中所需的字段信息。比如可包含Func[RandomMixLetterAndNumber、Func[RandomLetter]、Func[RandomNumber]、Func[CurrentDateTime]等函数。Each field information in the body has the corresponding attribute information set. As shown in Table 2 below, it is an attribute table of some of the fields in the template file in one embodiment. The field information in the XML template file can be read from the application file and generated according to the corresponding calculation rule or conversion rule. The attribute information of the field can be determined by the corresponding built-in function, so that the field information required in the simulation result file can be generated by the built-in function. For example, functions such as Func[RandomMixLetterAndNumber, Func[RandomLetter], Func[RandomNumber], Func[CurrentDateTime], etc. may be included.
Figure PCTCN2018078309-appb-000001
Figure PCTCN2018078309-appb-000001
本实施例中,通过设置通用的XML模板文件,从而无需针对每个产品信 息设置对应的模板文件,提高了模拟确认文件生成的便利性。In this embodiment, by setting a common XML template file, it is not necessary to set a corresponding template file for each product information, and the convenience of generating the simulation confirmation file is improved.
在一个实施例中,如图5所示,提供了一种订单信息的模拟处理装置,该装置包括:申请文件获取模块502,用于获取待处理的申请文件,申请文件中包括模拟订单信息。订单处理规则获取模块504,用于获取与模拟订单信息对应的订单处理规则。模板文件获取模块506,用于获取与模拟订单信息对应的模板文件。模拟确认文件生成模块508,用于根据模拟订单信息和订单处理规则生成第一模拟交易信息,将第一模拟交易信息写入模板文件中,生成第一模拟确认文件。模拟结果文件生成模块510,用于检测第一模拟确认文件中每个必写字段的对应位置中是否为空值,根据检测结果生成模拟结果文件。In an embodiment, as shown in FIG. 5, an analog processing device for order information is provided. The device includes: an application file obtaining module 502, configured to acquire an application file to be processed, and the application file includes simulated order information. The order processing rule obtaining module 504 is configured to acquire an order processing rule corresponding to the simulated order information. The template file obtaining module 506 is configured to obtain a template file corresponding to the simulated order information. The simulation confirmation file generating module 508 is configured to generate first simulated transaction information according to the simulated order information and the order processing rule, and write the first simulated transaction information into the template file to generate a first simulation confirmation file. The simulation result file generating module 510 is configured to detect whether a corresponding value in each corresponding write field of the first simulation confirmation file is a null value, and generate a simulation result file according to the detection result.
在一个实施例中,模拟结果文件生成模块510还用于当检测到第一模拟确认文件中存在空值的必写字段时,检测订单处理规则中与空值的必写字段对应的子规则是否被修改,若是,则在模拟结果文件中写入子规则的被修改的提示信息。In an embodiment, the simulation result file generating module 510 is further configured to: when detecting a mandatory write field having a null value in the first simulation confirmation file, detecting whether the sub-rule corresponding to the mandatory field of the null value in the order processing rule is Modified, if yes, the modified prompt information of the sub-rule is written in the simulation result file.
在一个实施例中,订单处理规则获取模块504还用于获取相对于订单处理规则的上一版本的订单处理规则。模拟确认文件生成模块508还用于根据模拟订单信息和上一版本的订单处理规则生成第二模拟交易信息,将第二模拟交易信息写入模板文件中,生成第二模拟确认文件。模拟结果文件生成模块510还用于检测第二模拟确认文件中每个必写字段的对应位置中是否为空值,将检测结果写入模拟结果文件中。In one embodiment, the order processing rule acquisition module 504 is further configured to obtain an order processing rule relative to the previous version of the order processing rule. The simulation confirmation file generating module 508 is further configured to generate second simulated transaction information according to the simulated order information and the previous version of the order processing rule, and write the second simulated transaction information into the template file to generate a second simulated confirmation file. The simulation result file generating module 510 is further configured to detect whether a corresponding value in each of the mandatory write fields in the second simulation confirmation file is a null value, and write the detection result into the simulation result file.
在一个实施例中,如图6所示,上述装置还包括:对比结果生成模块512,用于获取与申请文件对应的预设的测试结果文件;将模拟结果文件和测试结果文件进行对比,生成对比结果;将对比结果发送至预设的测试终端。In an embodiment, as shown in FIG. 6, the device further includes: a comparison result generating module 512, configured to acquire a preset test result file corresponding to the application file; and compare the simulation result file with the test result file to generate Compare the results; send the comparison results to the preset test terminal.
在一个实施例中,模拟确认文件生成模块508还用于将第一模拟确认文件上传到与模拟订单信息对应位置进行存储;模拟结果文件生成模块510还用于根据预设的定时任务从位置中提取第一模拟确认文件,检测第一模拟确 认文件中每个必写字段的对应位置中是否为空值。In an embodiment, the simulation confirmation file generating module 508 is further configured to upload the first simulation confirmation file to a location corresponding to the simulated order information for storage; the simulation result file generating module 510 is further configured to use the preset timing task from the location. Extracting the first simulation confirmation file, and detecting whether a corresponding value in each corresponding write field in the first simulation confirmation file is a null value.
在一个实施例中,如图7所示,上述装置还包括:申请文件生成模块501,用于接收用户终端发送的业务办理请求;根据业务办理请求生成相应的申请文件。In an embodiment, as shown in FIG. 7, the foregoing apparatus further includes: an application file generating module 501, configured to receive a service processing request sent by the user terminal; and generate a corresponding application file according to the service processing request.
在一个实施例中,模板文件为通过Mock所生成的适用于多种模拟订单信息的通用XML模板文件。In one embodiment, the template file is a generic XML template file generated by the Mock that is suitable for a variety of simulated order information.
上述装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。其中,网络接口可以是以太网卡或无线网卡等。上述各模块可以硬件形式内嵌于或独立于服务器中的处理器中,也可以以软件形式存储于服务器中的存储器中,以便于处理器调用执行以上各个模块对应的操作。该处理器可以为中央处理单元(CPU)、微处理器、单片机等。Each of the above-described devices may be implemented in whole or in part by software, hardware, and combinations thereof. The network interface may be an Ethernet card or a wireless network card. The above modules may be embedded in the hardware in the processor or in the memory in the server, or may be stored in the memory in the server, so that the processor calls the corresponding operations of the above modules. The processor can be a central processing unit (CPU), a microprocessor, a microcontroller, or the like.
在一个实施例中,提供了一种计算机可读存储介质,其上存储有计算机指令,该指令被处理器执行时实现以下步骤:获取待处理的申请文件,申请文件中包括模拟订单信息;获取与模拟订单信息对应的订单处理规则;获取与模拟订单信息对应的模板文件;根据模拟订单信息和订单处理规则生成第一模拟交易信息,将第一模拟交易信息写入模板文件中,生成第一模拟确认文件;检测第一模拟确认文件中每个必写字段的对应位置中是否为空值,根据检测结果生成模拟结果文件。In one embodiment, a computer readable storage medium is provided having stored thereon computer instructions that, when executed by a processor, implement the steps of: obtaining an application file to be processed, including simulated order information in the application file; An order processing rule corresponding to the simulated order information; acquiring a template file corresponding to the simulated order information; generating the first simulated transaction information according to the simulated order information and the order processing rule, and writing the first simulated transaction information into the template file to generate the first Simulating the confirmation file; detecting whether the corresponding position of each of the mandatory fields in the first simulation confirmation file is a null value, and generating a simulation result file according to the detection result.
在一个实施例中,当第一模拟确认文件中存在空值的必写字段时,该指令被处理器执行时实现以下步骤:检测订单处理规则中与空值的必写字段对应的子规则是否被修改,若是,则在模拟结果文件中写入子规则的被修改的提示信息。In one embodiment, when there is a mandatory field of null value in the first simulation confirmation file, when the instruction is executed by the processor, the following steps are implemented: detecting whether the sub-rule corresponding to the mandatory field of the null value in the order processing rule is Modified, if yes, the modified prompt information of the sub-rule is written in the simulation result file.
在一个实施例中,在该指令被处理器执行时实现在模拟结果文件中写入子规则的被修改的提示信息之后,还实现以下步骤:获取相对于订单处理规则的上一版本的订单处理规则;根据模拟订单信息和上一版本的订单处理规则生成第二模拟交易信息,将第二模拟交易信息写入模板文件中,生成第二 模拟确认文件;检测第二模拟确认文件中每个必写字段的对应位置中是否为空值,将检测结果写入模拟结果文件中。In one embodiment, after the instructions are executed by the processor to implement the modified prompt information for writing the sub-rules in the simulation result file, the following steps are also implemented: obtaining an order processing relative to the previous version of the order processing rule a rule; generating second simulation transaction information according to the simulated order information and the previous version of the order processing rule, writing the second simulated transaction information into the template file, generating a second simulation confirmation file; and detecting each of the second simulation confirmation files Whether the corresponding position of the write field is a null value, and the detection result is written into the simulation result file.
在一个实施例中,在该指令被处理器执行时实现根据检测结果生成模拟结果文件之后,还实现以下步骤:获取与申请文件对应的预设的测试结果文件;将模拟结果文件和测试结果文件进行对比,生成对比结果;将对比结果发送至预设的测试终端。In an embodiment, after the execution of the instruction by the processor, after the simulation result file is generated according to the detection result, the following steps are further performed: acquiring a preset test result file corresponding to the application file; and simulating the result file and the test result file Compare and generate comparison results; send the comparison results to the preset test terminal.
在一个实施例中,在该指令被处理器执行时实现将第一模拟交易信息写入模板文件中之后,还实现以下步骤:将第一模拟确认文件上传到与模拟订单信息对应位置进行存储;根据预设的定时任务从位置中提取第一模拟确认文件,检测第一模拟确认文件中每个必写字段的对应位置中是否为空值。In an embodiment, after the first simulation transaction information is written into the template file by the processor, the following step is further implemented: uploading the first simulation confirmation file to a location corresponding to the simulated order information for storage; And extracting, by the preset timing task, the first simulation confirmation file from the location, and detecting whether a corresponding value of each mandatory field in the first simulation confirmation file is a null value.
在一个实施例中,在该指令被处理器执行时实现获取待处理的申请文件的步骤之前,还实现以下步骤:接收用户终端发送的业务办理请求;根据业务办理请求生成相应的申请文件。In an embodiment, before the step of acquiring the application file to be processed when the instruction is executed by the processor, the following steps are further implemented: receiving a service processing request sent by the user terminal; and generating a corresponding application file according to the service processing request.
在一个实施例中,模板文件为通过Mock所生成的适用于多种模拟订单信息的通用XML模板文件。In one embodiment, the template file is a generic XML template file generated by the Mock that is suitable for a variety of simulated order information.
在一个实施例中,提供了一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,处理器执行程序时实现上述各实施例中的任意一种订单信息的模拟处理方法的步骤。In one embodiment, a computer apparatus is provided comprising a memory, a processor, and a computer program stored on the memory and operative on the processor, the processor executing the program to implement any one of the above embodiments The steps of the analog processing method of information.
具体地,该计算机设备可为上述的服务器。如图8所示,为一个实施例中服务器的内部结构示意图。该服务器包括通过系统总线连接的处理器、存储器和网络接口。其中,该处理器用于提供计算和控制能力,支撑整个服务器的运行。存储器用于存储数据、指令代码等,网络接口用于与其它终端或服务器进行网络通信。存储器上存储至少一个计算机可执行指令,该计算机可执行指令可被处理器执行,以实现本申请实施例中提供的适用于该服务器的订单信息的模拟处理方法。存储器可包括磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)等非易失性存储介质,或随机存储记忆体 (Random-Access-Memory,RAM)等。例如,在一个实施例中,存储器包括非易失性存储介质及内存储器。该非易失性存储介质存储有操作系统、数据库和计算机可执行指令。该数据库中存储有用于实现以上各个实施例所提供的一种订单信息的模拟处理方法相关的数据,比如可存储有订单处理规则等数据。该计算机可执行指令可被处理器所执行,以用于实现以上各个实施例所提供的一种订单信息的模拟处理方法。该内存储器为非易失性存储介质中的操作系统、数据库和计算机可执行指令提供高速缓存的运行环境。网络接口可以是以太网卡或无线网卡等,用于与外部的终端或服务器进行通信,如将所生成的对比结果发送至预设的测试终端。服务器可以用独立的服务器或者是多个服务器组成的服务器集群来实现。本领域技术人员可以理解,图8中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的服务器的限定,具体的服务器可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Specifically, the computer device can be the server described above. As shown in FIG. 8, it is a schematic diagram of the internal structure of a server in one embodiment. The server includes a processor, memory, and network interface connected by a system bus. Among them, the processor is used to provide computing and control capabilities to support the operation of the entire server. The memory is used to store data, instruction codes, etc., and the network interface is used for network communication with other terminals or servers. At least one computer executable instruction is stored on the memory, the computer executable instructions being executable by the processor to implement an analog processing method for order information applicable to the server provided in the embodiments of the present application. The memory may include a non-volatile storage medium such as a magnetic disk, an optical disk, a read-only memory (ROM), or a random storage memory (Random-Access-Memory, RAM). For example, in one embodiment, the memory includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a database, and computer executable instructions. The database stores data related to the simulation processing method for realizing an order information provided by the above respective embodiments, for example, data such as an order processing rule can be stored. The computer executable instructions are executable by the processor for implementing an analog processing method for order information provided by the various embodiments above. The internal memory provides a cached operating environment for operating systems, databases, and computer executable instructions in a non-volatile storage medium. The network interface may be an Ethernet card or a wireless network card, etc., for communicating with an external terminal or server, such as sending the generated comparison result to a preset test terminal. The server can be implemented with a stand-alone server or a server cluster consisting of multiple servers. It will be understood by those skilled in the art that the structure shown in FIG. 8 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the server to which the solution of the present application is applied. The specific server may include a ratio. More or fewer components are shown in the figures, or some components are combined, or have different component arrangements.
在一个实施例中,该处理器执行程序时实现以下步骤:获取待处理的申请文件,申请文件中包括模拟订单信息;获取与模拟订单信息对应的订单处理规则;获取与模拟订单信息对应的模板文件;根据模拟订单信息和订单处理规则生成第一模拟交易信息,将第一模拟交易信息写入模板文件中,生成第一模拟确认文件;检测第一模拟确认文件中每个必写字段的对应位置中是否为空值,根据检测结果生成模拟结果文件。In an embodiment, when the processor executes the program, the following steps are performed: obtaining an application file to be processed, including the simulated order information in the application file; acquiring an order processing rule corresponding to the simulated order information; and acquiring a template corresponding to the simulated order information Generating a first simulated transaction information according to the simulated order information and the order processing rule, writing the first simulated transaction information into the template file, generating a first simulated confirmation file; and detecting a correspondence of each mandatory field in the first simulated confirmation file Whether the position is a null value, and a simulation result file is generated according to the detection result.
在一个实施例中,当第一模拟确认文件中存在空值的必写字段时,该处理器执行程序时还实现以下步骤:检测订单处理规则中与空值的必写字段对应的子规则是否被修改,若是,则在模拟结果文件中写入子规则的被修改的提示信息。In an embodiment, when there is a mandatory write field of the null value in the first simulation confirmation file, the processor further implements the following steps: detecting whether the sub-rule corresponding to the mandatory field of the null value in the order processing rule is Modified, if yes, the modified prompt information of the sub-rule is written in the simulation result file.
在一个实施例中,在处理器执行程序时实现在模拟结果文件中写入子规则的被修改的提示信息之后,还实现以下步骤:获取相对于订单处理规则的上一版本的订单处理规则;根据模拟订单信息和上一版本的订单处理规则生 成第二模拟交易信息,将第二模拟交易信息写入模板文件中,生成第二模拟确认文件;检测第二模拟确认文件中每个必写字段的对应位置中是否为空值,将检测结果写入模拟结果文件中。In one embodiment, after the processor executes the program, after the modified prompt information of the sub-rule is written in the simulation result file, the following steps are further implemented: acquiring an order processing rule with respect to the previous version of the order processing rule; Generating second simulated transaction information according to the simulated order information and the previous version of the order processing rule, writing the second simulated transaction information into the template file, generating a second simulated confirmation file; and detecting each mandatory field in the second simulated confirmation file Whether the corresponding position is a null value, the detection result is written into the simulation result file.
在一个实施例中,在处理器执行程序时实现根据检测结果生成模拟结果文件之后,还实现以下步骤:获取与申请文件对应的预设的测试结果文件;将模拟结果文件和测试结果文件进行对比,生成对比结果;将对比结果发送至预设的测试终端。In an embodiment, after the processor executes the program, after the simulation result file is generated according to the detection result, the following steps are further performed: obtaining a preset test result file corresponding to the application file; comparing the simulation result file with the test result file , the comparison result is generated; the comparison result is sent to the preset test terminal.
在一个实施例中,在处理器执行程序时实现将第一模拟交易信息写入模板文件中之后,还实现以下步骤:将第一模拟确认文件上传到与模拟订单信息对应位置进行存储;根据预设的定时任务从位置中提取第一模拟确认文件,检测第一模拟确认文件中每个必写字段的对应位置中是否为空值。In an embodiment, after the first simulation transaction information is written into the template file when the processor executes the program, the following steps are further implemented: uploading the first simulation confirmation file to a location corresponding to the simulated order information for storage; The set timing task extracts the first simulation confirmation file from the location, and detects whether the corresponding position of each mandatory field in the first simulation confirmation file is a null value.
在一个实施例中,在处理器执行程序时实现获取待处理的申请文件的步骤之前,还实现以下步骤:接收用户终端发送的业务办理请求;根据业务办理请求生成相应的申请文件。In an embodiment, before the step of acquiring the application file to be processed is implemented by the processor, the following steps are further implemented: receiving a service processing request sent by the user terminal; and generating a corresponding application file according to the service processing request.
在一个实施例中,模板文件为通过Mock所生成的适用于多种模拟订单信息的通用XML模板文件。In one embodiment, the template file is a generic XML template file generated by the Mock that is suitable for a variety of simulated order information.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一非易失性计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)等。One of ordinary skill in the art can understand that all or part of the process of implementing the above embodiments can be completed by a computer program to instruct related hardware, and the program can be stored in a non-volatile computer readable storage medium. Wherein, the program, when executed, may include the flow of an embodiment of the methods as described above. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or the like.
以上所述实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above-described embodiments may be arbitrarily combined. For the sake of brevity of description, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction between the combinations of these technical features, All should be considered as the scope of this manual.
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本 领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above-mentioned embodiments are merely illustrative of several embodiments of the present application, and the description thereof is more specific and detailed, but is not to be construed as limiting the scope of the invention. It should be noted that a number of variations and modifications may be made by those skilled in the art without departing from the spirit and scope of the invention. Therefore, the scope of the invention should be determined by the appended claims.

Claims (20)

  1. 一种订单信息的模拟处理方法,其特征在于,所述方法包括:An analog processing method for order information, characterized in that the method comprises:
    获取待处理的申请文件,所述申请文件中包括模拟订单信息;Obtaining an application file to be processed, where the application file includes simulated order information;
    获取与所述模拟订单信息对应的订单处理规则;Obtaining an order processing rule corresponding to the simulated order information;
    获取与所述模拟订单信息对应的模板文件;Obtaining a template file corresponding to the simulated order information;
    根据所述模拟订单信息和所述订单处理规则生成第一模拟交易信息,将所述第一模拟交易信息写入所述模板文件中,生成第一模拟确认文件;Generating first simulated transaction information according to the simulated order information and the order processing rule, and writing the first simulated transaction information into the template file to generate a first simulated confirmation file;
    检测所述第一模拟确认文件中每个必写字段的对应位置中是否为空值,根据检测结果生成模拟结果文件。And detecting whether a corresponding value in each corresponding write field of the first simulation confirmation file is a null value, and generating a simulation result file according to the detection result.
  2. 根据权利要求1所述的方法,其特征在于,当所述第一模拟确认文件中存在空值的必写字段时,所述方法还包括:检测所述订单处理规则中与所述空值的必写字段对应的子规则是否被修改,若是,则在所述模拟结果文件中写入所述子规则的被修改的提示信息。The method according to claim 1, wherein when there is a mandatory field of a null value in the first simulation confirmation file, the method further comprises: detecting the null value in the order processing rule Whether the sub-rule corresponding to the written field is modified, and if so, the modified prompt information of the sub-rule is written in the simulation result file.
  3. 根据权利要求2所述的方法,其特征在于,在所述模拟结果文件中写入所述子规则的被修改的提示信息之后,还包括:The method according to claim 2, further comprising: after the modified prompt information of the sub-rule is written in the simulation result file, further comprising:
    获取相对于所述订单处理规则的上一版本的订单处理规则;Obtaining an order processing rule relative to the previous version of the order processing rule;
    根据所述模拟订单信息和所述上一版本的订单处理规则生成第二模拟交易信息,将所述第二模拟交易信息写入所述模板文件中,生成第二模拟确认文件;Generating second simulated transaction information according to the simulated order information and the order processing rule of the previous version, and writing the second simulated transaction information into the template file to generate a second simulated confirmation file;
    检测所述第二模拟确认文件中每个必写字段的对应位置中是否为空值,将检测结果写入所述模拟结果文件中。And detecting whether a corresponding value in each corresponding write field of the second simulation confirmation file is a null value, and writing the detection result into the simulation result file.
  4. 根据权利要求1所述的方法,其特征在于,在所述根据检测结果生成模拟结果文件之后,所述方法还包括:The method according to claim 1, wherein after the generating a simulation result file according to the detection result, the method further comprises:
    获取与所述申请文件对应的预设的测试结果文件;Obtaining a preset test result file corresponding to the application file;
    将所述模拟结果文件和所述测试结果文件进行对比,生成对比结果;Comparing the simulation result file with the test result file to generate a comparison result;
    将所述对比结果发送至预设的测试终端。Sending the comparison result to a preset test terminal.
  5. 根据权利要求1所述的方法,其特征在于,在所述将所述第一模拟交易信息写入所述模板文件中之后,所述方法还包括:The method according to claim 1, wherein after the writing the first simulated transaction information into the template file, the method further comprises:
    将所述第一模拟确认文件上传到与所述模拟订单信息对应位置进行存储;Uploading the first simulation confirmation file to a location corresponding to the simulated order information for storage;
    所述检测所述第一模拟确认文件中每个必写字段的对应位置中是否为空值,包括:The detecting whether the corresponding position of each of the mandatory fields in the first simulation confirmation file is a null value includes:
    根据预设的定时任务从所述位置中提取所述第一模拟确认文件,检测所述第一模拟确认文件中每个必写字段的对应位置中是否为空值。And extracting, by the preset timing task, the first simulation confirmation file from the location, and detecting whether a corresponding value of each mandatory write field in the first simulation confirmation file is a null value.
  6. 根据权利要求1所述的方法,其特征在于,在获取待处理的申请文件的步骤之前,还包括:The method according to claim 1, wherein before the step of obtaining the application file to be processed, the method further comprises:
    接收用户终端发送的业务办理请求;Receiving a service processing request sent by the user terminal;
    根据所述业务办理请求生成相应的申请文件。A corresponding application file is generated according to the service processing request.
  7. 根据权利要求1至6中任一项所述的方法,其特征在于,所述模板文件为通过Mock所生成的适用于多种模拟订单信息的通用XML模板文件。The method according to any one of claims 1 to 6, wherein the template file is a generic XML template file suitable for a plurality of simulated order information generated by the Mock.
  8. 一种订单信息的模拟处理装置,其特征在于,所述装置包括:An analog processing device for order information, characterized in that the device comprises:
    申请文件获取模块,用于获取待处理的申请文件,所述申请文件中包括模拟订单信息;An application file obtaining module, configured to obtain an application file to be processed, where the application file includes simulated order information;
    订单处理规则获取模块,用于获取与所述模拟订单信息对应的订单处理规则;An order processing rule obtaining module, configured to acquire an order processing rule corresponding to the simulated order information;
    模板文件获取模块,用于获取与所述模拟订单信息对应的模板文件;a template file obtaining module, configured to acquire a template file corresponding to the simulated order information;
    模拟确认文件生成模块,用于根据所述模拟订单信息和所述订单处理规则生成第一模拟交易信息,将所述第一模拟交易信息写入所述模板文件中,生成第一模拟确认文件;a simulation confirmation file generating module, configured to generate first simulated transaction information according to the simulated order information and the order processing rule, and write the first simulated transaction information into the template file to generate a first simulated confirmation file;
    模拟结果文件生成模块,用于检测所述第一模拟确认文件中每个必写字段的对应位置中是否为空值,根据检测结果生成模拟结果文件。The simulation result file generating module is configured to detect whether a corresponding value in each of the mandatory fields in the first simulation confirmation file is a null value, and generate a simulation result file according to the detection result.
  9. 一种计算机可读存储介质,其上存储有计算机指令,其特征在于,该指令被处理器执行时实现以下步骤:A computer readable storage medium having stored thereon computer instructions, wherein the instructions are executed by a processor to implement the following steps:
    获取待处理的申请文件,所述申请文件中包括模拟订单信息;Obtaining an application file to be processed, where the application file includes simulated order information;
    获取与所述模拟订单信息对应的订单处理规则;Obtaining an order processing rule corresponding to the simulated order information;
    获取与所述模拟订单信息对应的模板文件;Obtaining a template file corresponding to the simulated order information;
    根据所述模拟订单信息和所述订单处理规则生成第一模拟交易信息,将所述第一模拟交易信息写入所述模板文件中,生成第一模拟确认文件;Generating first simulated transaction information according to the simulated order information and the order processing rule, and writing the first simulated transaction information into the template file to generate a first simulated confirmation file;
    检测所述第一模拟确认文件中每个必写字段的对应位置中是否为空值,根据检测结果生成模拟结果文件。And detecting whether a corresponding value in each corresponding write field of the first simulation confirmation file is a null value, and generating a simulation result file according to the detection result.
  10. 根据权利要求9所述的存储介质,其特征在于,当所述第一模拟确认文件中存在空值的必写字段时,所述方法还包括:检测所述订单处理规则中与所述空值的必写字段对应的子规则是否被修改,若是,则在所述模拟结果文件中写入所述子规则的被修改的提示信息。The storage medium according to claim 9, wherein when there is a mandatory field of null value in the first simulation confirmation file, the method further comprises: detecting the null value in the order processing rule Whether the sub-rule corresponding to the mandatory field is modified, and if so, the modified prompt information of the sub-rule is written in the simulation result file.
  11. 根据权利要求10所述的存储介质,其特征在于,在所述模拟结果文件中写入所述子规则的被修改的提示信息之后,还包括:The storage medium according to claim 10, further comprising: after the modified prompt information of the sub-rule is written in the simulation result file, further comprising:
    获取相对于所述订单处理规则的上一版本的订单处理规则;Obtaining an order processing rule relative to the previous version of the order processing rule;
    根据所述模拟订单信息和所述上一版本的订单处理规则生成第二模拟交易信息,将所述第二模拟交易信息写入所述模板文件中,生成第二模拟确认文件;Generating second simulated transaction information according to the simulated order information and the order processing rule of the previous version, and writing the second simulated transaction information into the template file to generate a second simulated confirmation file;
    检测所述第二模拟确认文件中每个必写字段的对应位置中是否为空值,将检测结果写入所述模拟结果文件中。And detecting whether a corresponding value in each corresponding write field of the second simulation confirmation file is a null value, and writing the detection result into the simulation result file.
  12. 根据权利要求9所述的存储介质,其特征在于,在所述根据检测结果生成模拟结果文件之后,还包括:The storage medium according to claim 9, wherein after the generating the simulation result file according to the detection result, the method further comprises:
    获取与所述申请文件对应的预设的测试结果文件;Obtaining a preset test result file corresponding to the application file;
    将所述模拟结果文件和所述测试结果文件进行对比,生成对比结果;Comparing the simulation result file with the test result file to generate a comparison result;
    将所述对比结果发送至预设的测试终端。Sending the comparison result to a preset test terminal.
  13. 根据权利要求9所述的存储介质,其特征在于,在所述将所述第一模拟交易信息写入所述模板文件中之后,所述方法还包括:The storage medium according to claim 9, wherein after the writing the first simulated transaction information into the template file, the method further comprises:
    将所述第一模拟确认文件上传到与所述模拟订单信息对应位置进行存储;Uploading the first simulation confirmation file to a location corresponding to the simulated order information for storage;
    所述检测所述第一模拟确认文件中每个必写字段的对应位置中是否为空值,包括:The detecting whether the corresponding position of each of the mandatory fields in the first simulation confirmation file is a null value includes:
    根据预设的定时任务从所述位置中提取所述第一模拟确认文件,检测所述第一模拟确认文件中每个必写字段的对应位置中是否为空值。And extracting, by the preset timing task, the first simulation confirmation file from the location, and detecting whether a corresponding value of each mandatory write field in the first simulation confirmation file is a null value.
  14. 根据权利要求9所述的存储介质,其特征在于,在获取待处理的申请文件的步骤之前,还包括:The storage medium according to claim 9, wherein before the step of obtaining the application file to be processed, the method further comprises:
    接收用户终端发送的业务办理请求;Receiving a service processing request sent by the user terminal;
    根据所述业务办理请求生成相应的申请文件。A corresponding application file is generated according to the service processing request.
  15. 一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其特征在于,所述处理器执行所述程序时实现以下步骤:A computer device comprising a memory, a processor, and a computer program stored on the memory and operable on the processor, wherein the processor performs the following steps when executing the program:
    获取待处理的申请文件,所述申请文件中包括模拟订单信息;Obtaining an application file to be processed, where the application file includes simulated order information;
    获取与所述模拟订单信息对应的订单处理规则;Obtaining an order processing rule corresponding to the simulated order information;
    获取与所述模拟订单信息对应的模板文件;Obtaining a template file corresponding to the simulated order information;
    根据所述模拟订单信息和所述订单处理规则生成第一模拟交易信息,将所述第一模拟交易信息写入所述模板文件中,生成第一模拟确认文件;Generating first simulated transaction information according to the simulated order information and the order processing rule, and writing the first simulated transaction information into the template file to generate a first simulated confirmation file;
    检测所述第一模拟确认文件中每个必写字段的对应位置中是否为空值,根据检测结果生成模拟结果文件。And detecting whether a corresponding value in each corresponding write field of the first simulation confirmation file is a null value, and generating a simulation result file according to the detection result.
  16. 根据权利要求15所述的计算机设备,其特征在于,当所述第一模拟确认文件中存在空值的必写字段时,所述处理器执行所述程序时还实现以下步骤:检测所述订单处理规则中与所述空值的必写字段对应的子规则是否被修改,若是,则在所述模拟结果文件中写入所述子规则的被修改的提示信 息。The computer device according to claim 15, wherein when the first analog confirmation file has a mandatory field of a null value, the processor further performs the following steps: detecting the order when executing the program Whether the sub-rule corresponding to the mandatory field of the null value is modified in the processing rule, and if so, the modified prompt information of the sub-rule is written in the simulation result file.
  17. 根据权利要求16所述的计算机设备,其特征在于,在所述模拟结果文件中写入所述子规则的被修改的提示信息之后,还包括:The computer device according to claim 16, wherein after the modified prompt information of the sub-rule is written in the simulation result file, the method further includes:
    获取相对于所述订单处理规则的上一版本的订单处理规则;Obtaining an order processing rule relative to the previous version of the order processing rule;
    根据所述模拟订单信息和所述上一版本的订单处理规则生成第二模拟交易信息,将所述第二模拟交易信息写入所述模板文件中,生成第二模拟确认文件;Generating second simulated transaction information according to the simulated order information and the order processing rule of the previous version, and writing the second simulated transaction information into the template file to generate a second simulated confirmation file;
    检测所述第二模拟确认文件中每个必写字段的对应位置中是否为空值,将检测结果写入所述模拟结果文件中。And detecting whether a corresponding value in each corresponding write field of the second simulation confirmation file is a null value, and writing the detection result into the simulation result file.
  18. 根据权利要求15所述的计算机设备,其特征在于,在所述根据检测结果生成模拟结果文件之后,还包括:The computer device according to claim 15, wherein after the generating the simulation result file according to the detection result, the method further comprises:
    获取与所述申请文件对应的预设的测试结果文件;Obtaining a preset test result file corresponding to the application file;
    将所述模拟结果文件和所述测试结果文件进行对比,生成对比结果;Comparing the simulation result file with the test result file to generate a comparison result;
    将所述对比结果发送至预设的测试终端。Sending the comparison result to a preset test terminal.
  19. 根据权利要求15所述的计算机设备,其特征在于,在所述将所述第一模拟交易信息写入所述模板文件中之后,所述方法还包括:The computer device according to claim 15, wherein after the writing the first simulated transaction information into the template file, the method further comprises:
    将所述第一模拟确认文件上传到与所述模拟订单信息对应位置进行存储;Uploading the first simulation confirmation file to a location corresponding to the simulated order information for storage;
    所述检测所述第一模拟确认文件中每个必写字段的对应位置中是否为空值,包括:The detecting whether the corresponding position of each of the mandatory fields in the first simulation confirmation file is a null value includes:
    根据预设的定时任务从所述位置中提取所述第一模拟确认文件,检测所述第一模拟确认文件中每个必写字段的对应位置中是否为空值。And extracting, by the preset timing task, the first simulation confirmation file from the location, and detecting whether a corresponding value of each mandatory write field in the first simulation confirmation file is a null value.
  20. 根据权利要求15所述的计算机设备,其特征在于,在获取待处理的申请文件的步骤之前,还包括:The computer device according to claim 15, wherein before the step of acquiring the application file to be processed, the method further comprises:
    接收用户终端发送的业务办理请求;Receiving a service processing request sent by the user terminal;
    根据所述业务办理请求生成相应的申请文件。A corresponding application file is generated according to the service processing request.
PCT/CN2018/078309 2017-07-27 2018-03-07 Simulated processing method and apparatus for order information, and storage medium and computer device WO2019019640A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710626314.6 2017-07-27
CN201710626314.6A CN107730385B (en) 2017-07-27 2017-07-27 Order information simulation processing method and device, storage medium and computer equipment

Publications (1)

Publication Number Publication Date
WO2019019640A1 true WO2019019640A1 (en) 2019-01-31

Family

ID=61201717

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/078309 WO2019019640A1 (en) 2017-07-27 2018-03-07 Simulated processing method and apparatus for order information, and storage medium and computer device

Country Status (2)

Country Link
CN (1) CN107730385B (en)
WO (1) WO2019019640A1 (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107730385B (en) * 2017-07-27 2020-04-21 深圳壹账通智能科技有限公司 Order information simulation processing method and device, storage medium and computer equipment
CN108563584A (en) * 2018-05-09 2018-09-21 平安普惠企业管理有限公司 Test data generating method, device, computer equipment and storage medium
CN108804336A (en) * 2018-06-15 2018-11-13 深圳壹账通智能科技有限公司 Interactive system test method, device, computer equipment and storage medium
CN108694124A (en) * 2018-06-19 2018-10-23 链家网(北京)科技有限公司 A kind of house prosperity transaction system test data building method and system based on Mock
CN109685626A (en) * 2018-12-27 2019-04-26 北京顺丰同城科技有限公司 A kind of lower single test method and device
CN110362478B (en) * 2019-06-19 2023-04-18 平安科技(深圳)有限公司 Application upgrade test method and device, computer equipment and storage medium
CN110490747A (en) * 2019-08-26 2019-11-22 深圳市盟天科技有限公司 A kind of trust interconnection method, device, server and storage medium
CN110765615B (en) * 2019-10-24 2023-05-26 杭州飞步科技有限公司 Logistics simulation method, device and equipment
CN111401991A (en) * 2020-03-06 2020-07-10 上海数据交易中心有限公司 Data information distribution method and device, storage medium and computer equipment
CN111652747B (en) * 2020-05-29 2023-08-29 泰康保险集团股份有限公司 Electronic policy processing method, device, equipment and computer readable storage medium
CN113656435B (en) * 2021-08-20 2023-09-01 北京神州新桥科技有限公司 Transaction data query method, electronic device and storage medium
CN114862571A (en) * 2022-04-25 2022-08-05 深圳市富途网络科技有限公司 Service simulation method, device, equipment and storage medium of ESOP system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104156456A (en) * 2014-08-19 2014-11-19 北京京东尚科信息技术有限公司 Method for generating extensible markup language file
CN105976245A (en) * 2016-04-28 2016-09-28 优品财富管理有限公司 Simulated trading system and method
US20170004423A1 (en) * 2015-06-30 2017-01-05 Level 3 Communications, Llc Systems and methods for simulating orders and workflows in an order entry and management system to test order scenarios
CN107730385A (en) * 2017-07-27 2018-02-23 上海壹账通金融科技有限公司 Simulation process method, apparatus, storage medium and the computer equipment of sequence information

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106133675B (en) * 2013-09-27 2019-11-08 起元科技有限公司 Assessment is applied to the rule of data
CN104461863B (en) * 2014-10-29 2018-04-17 中国建设银行股份有限公司 A kind of operation system test method, equipment and system
CN106708897B (en) * 2015-11-17 2020-03-27 阿里巴巴集团控股有限公司 Data warehouse quality guarantee method, device and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104156456A (en) * 2014-08-19 2014-11-19 北京京东尚科信息技术有限公司 Method for generating extensible markup language file
US20170004423A1 (en) * 2015-06-30 2017-01-05 Level 3 Communications, Llc Systems and methods for simulating orders and workflows in an order entry and management system to test order scenarios
CN105976245A (en) * 2016-04-28 2016-09-28 优品财富管理有限公司 Simulated trading system and method
CN107730385A (en) * 2017-07-27 2018-02-23 上海壹账通金融科技有限公司 Simulation process method, apparatus, storage medium and the computer equipment of sequence information

Also Published As

Publication number Publication date
CN107730385A (en) 2018-02-23
CN107730385B (en) 2020-04-21

Similar Documents

Publication Publication Date Title
WO2019019640A1 (en) Simulated processing method and apparatus for order information, and storage medium and computer device
CN109474578B (en) Message checking method, device, computer equipment and storage medium
US10949335B2 (en) Designer defined mocking service behavior
CN106796585B (en) Conditional validation rules
US9582399B2 (en) Entropy weighted message matching for opaque service virtualization
US9965300B2 (en) Message matching for opaque service virtualization
CN112287009A (en) Interface calling and interface data warehousing method, device, equipment and storage medium
US10452522B1 (en) Synthetic data generation from a service description language model
US20200233789A1 (en) User defined mocking service behavior
WO2020192141A1 (en) Method and device for simulating interface, computer apparatus, and storage medium
US20200175002A1 (en) Blockchain-based data compression and searching
WO2022068316A1 (en) Data reconciliation method and apparatus, device, and storage medium
CN110046155B (en) Method, device and equipment for updating feature database and determining data features
US10657028B2 (en) Method for replicating production behaviours in a development environment
CN112817935A (en) Data processing method, device and equipment based on field type and storage medium
US20160378817A1 (en) Systems and methods of identifying data variations
WO2019169771A1 (en) Electronic device, access instruction information acquisition method and storage medium
EP2904520A1 (en) Reference data segmentation from single to multiple tables
CN113238940B (en) Interface test result comparison method, device, equipment and storage medium
CN108153660A (en) The simulation process method and apparatus of sequence information
CN112528327A (en) Data desensitization method and device and data restoration method and device
WO2019062184A1 (en) Bank insurance policy data interfacing method and insurance policy data server
US9363276B2 (en) Method and system for testing and validation of cryptographic algorithms
CN117112051A (en) Component topology map generation method and device, computer equipment and storage medium
CN114218191A (en) System function migration method and device, computer equipment and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18838593

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 29.05.2020)

122 Ep: pct application non-entry in european phase

Ref document number: 18838593

Country of ref document: EP

Kind code of ref document: A1