Business scene construction method and device and storage medium

By constructing virtual business scenarios and using business robots to simulate business processes, the problem of high resource occupation of business testing equipment is solved, development efficiency and code quality are improved, and maintenance costs are reduced.

CN118733434APending Publication Date: 2024-10-01SHENZHEN JIXIAN NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410636323.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-22
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

The cost of equipment resources occupied by business testing is high, and equipment needs to be operated frequently during the testing process, resulting in excessive resource usage.

Method used

By obtaining the business information of the target business, determining the execution tasks and timing information, calling the business robot to build the business scenario, and simulating the business process in the virtual scene, reducing equipment operations and resource occupation.

Benefits of technology

It enables visual testing of business functions in virtual scenarios, reduces equipment resource requirements, improves development efficiency, reduces code duplication and maintenance costs, and enhances scalability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118733434A_ABST
    Figure CN118733434A_ABST
Patent Text Reader

Abstract

The invention discloses a business scene construction method and device and a storage medium, and belongs to the technical field of scene construction. The method comprises the following steps: after a service scene construction instruction is received, obtaining service information corresponding to a target service in the service scene construction instruction; according to the business information, determining a corresponding execution task and time sequence information corresponding to the execution task through a task decomposition model; determining a corresponding business robot according to the execution task, and constructing a corresponding business scene according to the time sequence information and the business robot; and displaying the business scene in a preset scene display page. According to the method and the device, the service information of the target service is acquired, the execution task required for realizing the service is determined, and the virtual robot simulates the execution task to construct the corresponding service scene, so that the equipment resource cost occupied in the service test process is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of scenario construction, and in particular to a business scenario construction method, device and storage medium. Background Art

[0002] In order to ensure that the business logic and business processes can work as expected, it is usually necessary to test the business functions. During the business testing process, testers usually operate the equipment through scripts or manually based on different test cases and preset test data to determine the execution results of the business and analyze the execution results of the business to determine whether there are business loopholes.

[0003] In related technologies, testers usually perform business tests on devices. In the process of business testing, a large amount of test data is usually required for testing and analysis to determine the corresponding business vulnerabilities. In this case, during the business testing process, it is necessary to frequently operate the device according to the test case, which occupies a large amount of device resources, resulting in a high cost of device resources required for business testing.

[0004] The above contents are only used to assist in understanding the technical solution of the present application and do not constitute an admission that the above contents are prior art. Summary of the invention

[0005] The main purpose of this application is to provide a business scenario construction method, aiming to solve the technical problem of high equipment resource cost occupied by business testing.

[0006] To achieve the above object, the present application provides a business scenario construction method, which comprises the following steps:

[0007] After receiving the business scenario construction instruction, obtaining business information corresponding to the target business in the business scenario construction instruction;

[0008] According to the business information, determine the corresponding execution task and the timing information corresponding to the execution task through the task decomposition model;

[0009] Determine a corresponding business robot according to the execution task, and construct a corresponding business scenario according to the timing information and the business robot;

[0010] The business scenario is displayed in a preset scenario display page.

[0011] Optionally, the step of determining a corresponding business robot according to the execution task, and constructing a corresponding business scenario according to the timing information and the business robot includes:

[0012] Matching the execution task with the business function of the business robot to determine the business robot that meets the requirements;

[0013] According to the timing information, the business robots are connected in series to generate corresponding business scenarios.

[0014] Optionally, after the step of matching the execution task with the business function of the business robot and determining the business robot that meets the requirements, the step further includes:

[0015] When there is no business robot that meets the requirements, generating a corresponding task script according to the execution task;

[0016] Construct the business robot according to the task script.

[0017] Optionally, after the step of determining the corresponding business robot according to the execution task, and constructing the corresponding business scenario according to the timing information and the business robot, the method further includes:

[0018] Acquire the data to be tested, and control the business robot to perform corresponding actions according to the data to be tested;

[0019] Based on the business scenario, determining the business execution result of the data to be tested;

[0020] The business execution result is verified through a preset shooting range environment to determine the accuracy of the business execution result.

[0021] Optionally, the step of determining, according to the business information, a corresponding execution task and timing information corresponding to the execution task includes:

[0022] Determine a target task node in the business knowledge graph according to the task knowledge graph in the task decomposition model and the business information;

[0023] The execution task and the timing information corresponding to the execution task are determined according to the target task node.

[0024] Optionally, after the step of acquiring a corresponding business robot according to the business function, and constructing a corresponding business scenario according to the sorting result and the business robot, the method further includes:

[0025] Constructing a functional knowledge graph according to the business functions and the ranking results;

[0026] Determine the corresponding position of the feature node in the functional knowledge graph in the business scenario;

[0027] Based on the feature nodes and the positions, a mapping relationship between the functional knowledge graph and the business scenarios is constructed.

[0028] Optionally, after receiving the business scenario construction instruction, after the step of acquiring the business information corresponding to the target business in the business scenario construction instruction, the method further includes:

[0029] After receiving the business scenario construction instruction, determining the target business corresponding to the business scenario construction instruction;

[0030] Scan the target business to obtain corresponding business information.

[0031] Optionally, after the step of acquiring a corresponding business robot according to the business function, and constructing a corresponding business scenario according to the sorting result and the business robot, the method further includes:

[0032] When detecting that the service information is updated, obtaining updated data of the service information;

[0033] Determine an updated target execution task according to the updated data, and compare the target execution task with the business robot;

[0034] When the business robot exists, updating the execution task of the business robot according to the update data;

[0035] Alternatively, when the business robot does not exist, the timing information of the target executing the task is determined, the target business robot is obtained, and the business scenario is updated based on the target business robot.

[0036] In addition, to achieve the above-mentioned purpose, the present application also provides a business scenario construction device, which includes: a memory, a processor, and a business scenario construction program stored on the memory and executable on the processor, and the business scenario construction program is configured to implement the steps of the business scenario construction method as described above.

[0037] In addition, to achieve the above-mentioned purpose, the present application also provides a storage medium, on which a business scenario construction program is stored, and when the business scenario construction program is executed by a processor, the steps of the business scenario construction method as described above are implemented.

[0038] This application obtains the business information of the target business, determines the execution tasks required to implement the business, and according to the execution tasks, calls the corresponding business robot to build the corresponding business scenario, and displays the business scenario in the preset scenario interface, and implements the visual testing of business functions in the business scenario constructed by data. In the constructed virtual business scenario, various processes in the business execution process can be simulated without completing business testing by operating equipment, thereby reducing the equipment resources occupied by business function testing. In addition, by constructing business scenarios, this application can intuitively understand business scenarios and avoid developers from repeatedly writing similar codes, thereby reducing code duplication, improving development efficiency, reducing maintenance costs, and simplifying the maintenance and updating of code bases. When a function or feature needs to be modified or optimized, only the general solution needs to be updated without modifying each place where the function is used, thereby improving code quality. At the same time, it can be applied to different business needs and enhance scalability. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 This is a flow chart of the first embodiment of the business scenario construction method of this application;

[0040] Figure 2 This is a flow chart of the second embodiment of the business scenario construction method of this application;

[0041] Figure 3 This is a flow chart of the third embodiment of the business scenario construction method of this application;

[0042] Figure 4 This is a flowchart of the fourth embodiment of the business scenario construction method of the present application;

[0043] Figure 5 This is a flowchart of the fifth embodiment of the business scenario construction method of the present application;

[0044] Figure 6 It is a structural diagram of a business scenario construction device for the hardware operating environment involved in the embodiment of the present application.

[0045] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0046] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0047] The basic idea of ​​this application is to simulate the business functions required by the business through digitized virtual robots, and to arrange and combine the virtual robots based on business logic to realize the simulation of business scenarios. Therefore, when conducting business testing, business testing can be performed through simulated business scenarios, thereby reducing the number of equipment required for business testing and reducing the resources occupied by business testing.

[0048] In order to better understand the above technical solution, exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present application are shown in the accompanying drawings, it should be understood that the present application can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present application and to fully convey the scope of the present application to those skilled in the art.

[0049] In order to better understand the above technical solution, the above technical solution will be described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0050] Embodiment 1

[0051] In the process of service testing, a large amount of test data is needed to test the service. In this case, it is usually necessary to frequently operate the corresponding service equipment to implement service testing. This will result in too many devices being occupied during service testing and a long time. In order to reduce the resource cost occupied during service testing, the embodiment of the present application provides a service scenario construction method, referring to Figure 1 , Figure 1 This is a flow chart of the first embodiment of the business scenario construction method of the present application.

[0052] In this embodiment, the business scenario construction method includes:

[0053] Step S10: after receiving the business scenario construction instruction, obtaining business information corresponding to the target business in the business scenario construction instruction;

[0054] In this embodiment, the scenario construction system can use the virtual robot to simulate the execution steps of the corresponding business in the business scenario through the scheduling of the virtual robot, thereby constructing a virtual business scenario. After receiving the business scenario construction instruction input by the user, the scenario construction system will determine the target business to be tested according to the business scenario construction instruction, and obtain the business information of the target business. The business information can be included in the business scenario construction instruction input by the user, or it can be saved in the database of the scenario construction system and associated with the target business.

[0055] Step S20: According to the business information, determine the corresponding execution task and the timing information corresponding to the execution task through the task decomposition model;

[0056] In this embodiment, in order to make the business scenario simulated by the virtual robot consistent with the actual business scenario, the scenario construction system needs to decompose the target business, and determine the execution tasks that the virtual robot needs to perform in the business scenario and the timing information of the execution tasks according to the business information of the target business. The timing information includes the execution time and execution order of the execution tasks.

[0057] As a method of determining the execution task, the scenario construction system can determine the corresponding target task node in the task knowledge graph of the task decomposition model based on the business information of the target business. Based on the target task node, the scenario construction system can determine the execution task of the virtual robot and the timing information corresponding to the execution task.

[0058] As another optional implementation, the scenario construction system can identify the business information of the target business through the task decomposition model and determine the functional components corresponding to the implementation of the business. Furthermore, the task decomposition model can determine the corresponding execution tasks based on the functions of the functional components in the business scenario and the task knowledge graph, and determine the timing information corresponding to the execution tasks based on the execution order of the functional components in the target business.

[0059] It should be noted that in the task knowledge graph, the task nodes are constructed based on a tree structure and are associated with corresponding timing information. And they are divided into multiple functional modules according to the functions implemented by the business to be decomposed. In the process of task decomposition of the target business, the task decomposition model can determine different directions in the tree-like task knowledge graph according to the business information of the target business, thereby determining the corresponding execution tasks.

[0060] Exemplarily, the task decomposition model can decompose the business information of the target business level by level. According to the business function of the target business, the corresponding functional module is determined in the task decomposition model. And according to the business information of the target business, the task node of the functional module is matched, and the subtask node matching the target business is selected from the subtask nodes of the task node, and the execution task and timing information associated with the selected task node are obtained.

[0061] Step S30: determining a corresponding business robot according to the execution task, and constructing a corresponding business scenario according to the timing information and the business robot;

[0062] In this embodiment, the scenario construction system will complete the scheduling of the virtual robot according to the execution task, thereby obtaining the corresponding business robot. After obtaining the corresponding execution task, the business robot will determine the execution time of the execution task based on the timing information of the execution task, and complete the execution task when the system time is the execution time.

[0063] As an optional implementation of virtual robot scheduling, the scenario construction system can match the execution task with the business function of the current business robot, determine the business robot that meets the requirements, and obtain the business robot. The scenario construction system can connect the obtained business robots in series according to the timing information corresponding to the execution task to generate the corresponding business scenario.

[0064] Furthermore, when there is no business robot that meets the requirements, the scenario construction system generates a corresponding task script based on the execution task and business information, and sends the script to an idle or spare virtual robot, thereby constructing and acquiring the corresponding business robot.

[0065] As another optional implementation method of virtual robot scheduling, the scenario construction system can also obtain the corresponding business robots according to the functional components required to implement the corresponding functions of the target business, and combine the business robots based on the positions of the functional components in the target scene to construct the corresponding business scenario.

[0066] Step S40: Displaying the business scenario in a preset scenario display page.

[0067] In this embodiment, the scenario construction system can display the constructed business scenario in a preset UI (User Interface) interface. In order to adapt to the testing of different business scenarios, the UI interface can display the business scenario in 3D or 2D. In physical scenarios such as industrial generation, the 3D UI interface can display the business scenario more intuitively, while in code-based projects, the 2D UI interface can display the business scenario more intuitively.

[0068] Furthermore, the intuitive display of business scenarios through the UI interface can also assist developers in project development. By helping developers to intuitively understand business scenarios, they can keep abreast of the current situation of the project during the project development process, avoiding developers from repeatedly writing similar code, thereby reducing code duplication, improving development efficiency, reducing maintenance costs, and simplifying the maintenance and update of the code base. When a function or feature in the business needs to be modified or optimized, the general solution can also be determined and updated through the business scenario without having to modify each place where the function is used, thereby improving code quality.

[0069] The embodiment of the present application determines the target project execution task to be tested through the task decomposition model, and calls the virtual robot to perform the corresponding execution task, thereby realizing the construction of the business scenario, reducing the resource cost occupied in the business testing process. At the same time, the business scenario construction can be applied to different business needs, thereby enhancing scalability.

[0070] Embodiment 2

[0071] Based on the same inventive concept, the present application also provides a second embodiment, referring to Figure 2 , Figure 2 This is a flow chart of the second embodiment of the business scenario construction method of the present application.

[0072] In this embodiment, after determining the corresponding business robot according to the execution task as described in step S30, and constructing the corresponding business scenario according to the timing information and the business robot, it also includes:

[0073] Step S31: obtaining the data to be tested, and controlling the business robot to perform corresponding actions according to the data to be tested;

[0074] Step S32: Based on the business scenario, determine the business execution result of the data to be tested;

[0075] Step S33: verifying the business execution result through a preset range environment to determine the accuracy of the business execution result.

[0076] In this embodiment, the scenario construction system can receive the test data and test cases input by the user and automatically test the business functions. The scenario construction system can determine the actions to be performed by the business robot in the business scenario based on the test data and test cases, and control the business robot to perform the corresponding actions.

[0077] Furthermore, after the business robot in the business scenario completes the execution of the corresponding action, the scenario construction system can obtain the business execution result of the data to be tested in the business scenario, and verify the business execution result through the preset target range environment to determine the accuracy of the business execution result.

[0078] Exemplarily, the range environment can perform dynamic cross-validation on the business execution result, and after completing the validation, output the validation result and the business execution result in the UI interface. At the same time, when the accuracy in the validation result is lower than the accuracy threshold, the validation result is recorded and a prompt message indicating that the execution result does not match is output.

[0079] Since the system introduced in the second embodiment of the present application is a system used to implement the method of the first embodiment of the present application, based on the method introduced in the first embodiment of the present application, the person skilled in the art can understand the specific structure and deformation of the system, so it is not repeated here. All systems used in the method of the first embodiment of the present application belong to the scope of protection of this application.

[0080] Embodiment 3

[0081] Based on the same inventive concept, the present application also provides a third embodiment, referring to Figure 3 , Figure 3 This is a flow chart of the third embodiment of the business scenario construction method of the present application.

[0082] In this embodiment, after determining the corresponding business robot according to the execution task as described in step S30, and constructing the corresponding business scenario according to the timing information and the business robot, it also includes:

[0083] Step S34: constructing a functional knowledge graph according to the business function and the timing information;

[0084] Step S35: determining the corresponding position of the feature node in the functional knowledge graph in the business scenario;

[0085] Step S36: Based on the feature nodes and the positions, a mapping relationship between the functional knowledge graph and the business scenarios is constructed.

[0086] In this embodiment, after the scenario construction system completes the construction of the business scenario, in order to help testers quickly locate problems found in the test, the test system will construct a functional knowledge graph of the target business based on the business system and corresponding timing information in the business scenario. Furthermore, the test system can construct a mapping relationship between the functional knowledge graph and the business scenario based on the feature nodes in the functional knowledge graph and the corresponding positions of the feature nodes in the business scenario, so that in the process of business testing, through the mapping relationship, the location of the problem in the functional knowledge graph can be quickly located and the relevant information of the location can be obtained.

[0087] It should be noted that the process of constructing the functional knowledge graph and matching the task knowledge graph are all completed by the intelligent brain inside the system. The intelligent brain includes the graph brain, script brain, reasoning brain and task digestion brain, etc. The graph brain is equivalent to the graph construction module, and the matching module is equivalent to the brain used to match the corresponding execution task in the task knowledge graph according to the business information and business functions.

[0088] For example, in the script brain, the functional modules are extracted in a standardized manner through the interface defined by the functional code, and the commonly used actions are written into various reactions to realize the overall framework of the task. Different logical reaction functions are written based on the framework, and the corresponding virtual robot can be quickly generated.

[0089] In an embodiment of the present application, the scenario construction system can realize a mapping relationship with the business scenario by constructing a functional knowledge graph, thereby quickly locating the location of problems during the test process and obtaining relevant information.

[0090] Since the system introduced in the third embodiment of the present application is a system used to implement the method of the first embodiment of the present application, based on the method introduced in the first embodiment of the present application, the person skilled in the art can understand the specific structure and deformation of the system, so it is not repeated here. All systems used in the method of the first embodiment of the present application belong to the scope of protection of the present application.

[0091] Embodiment 4

[0092] Based on the same inventive concept, the present application also provides a fourth embodiment, referring to Figure 4 , Figure 4 This is a flow chart of the fourth embodiment of the business scenario construction method of the present application.

[0093] In this embodiment, after receiving the business scenario construction instruction as described in step S10, before obtaining the business information corresponding to the target business in the business scenario construction instruction, it also includes:

[0094] Step S11: after receiving the business scenario construction instruction, determining the target business corresponding to the business scenario construction instruction;

[0095] Step S12: Scan the target service to obtain corresponding service information.

[0096] In this embodiment, the target business may be a physical business such as industrial production, or a non-physical business consisting of codes.

[0097] As an optional implementation, in the physical business, the user can obtain the corresponding device information by scanning the device, and determine the corresponding business information according to the business function and other information. The scene construction system can simulate the equipment in the business through a virtual robot, generate a business robot, and combine the business robots based on the position of the corresponding equipment in the scene to build the corresponding business scene.

[0098] As another optional implementation, the business scenario system can scan the project to be detected, obtain the corresponding project information, and determine the corresponding business information based on the project information and business function information. The scenario construction system can determine the corresponding execution task and the timing information of the execution task based on the business information, and obtain the corresponding business robot based on the execution task to construct the corresponding business scenario.

[0099] Since the system introduced in the fourth embodiment of the present application is a system used to implement the method of the first embodiment of the present application, based on the method introduced in the first embodiment of the present application, the person skilled in the art can understand the specific structure and deformation of the system, so it is not repeated here. All systems used in the method of the first embodiment of the present application belong to the scope of protection of this application.

[0100] Embodiment 5

[0101] Based on the same inventive concept, the present application also provides a fifth embodiment, referring to Figure 5 , Figure 5 This is a flow chart of the fourth embodiment of the business scenario construction method of the present application.

[0102] In this embodiment, after determining the corresponding business robot according to the execution task as described in step S30, and constructing the corresponding business scenario according to the timing information and the business robot, it also includes:

[0103] Step S50: when the business information is detected to be updated, obtaining the updated data of the business information;

[0104] Step S60: determining an updated target execution task according to the updated data, and comparing the target execution task with the business robot;

[0105] Step S70: When the business robot exists, updating the execution task of the business robot according to the update data;

[0106] Step S80: Alternatively, when the business robot does not exist, determine the timing information of the target executing the task, obtain the target business robot, and update the business scenario based on the target business robot.

[0107] In this embodiment, after completing the business scenario construction of the target business, the scenario construction system will save the business scenario and support the calling of the business scenario to ensure the subsequent business testing of the target business. At the same time, the scenario construction system can monitor the update of business information. When it is detected that the business information is updated, the scenario construction system can obtain the updated data of the business information, or obtain the updated business information and compare it with the pre-saved non-updated business information to determine the updated data of the business information.

[0108] Furthermore, the scenario construction system can update the data, determine the updated target execution task, and compare the target execution task with the execution task of the current business robot. When there is a business robot that matches the target execution task, the execution task of the business robot is updated according to the updated data. Alternatively, when there is no business robot, the timing information of the target execution task is determined, and then the target business robot that matches the target execution task is obtained in the virtual robot, and the business scenario is updated based on the target business robot.

[0109] Optionally, when there is no target business robot matching the target execution task in the virtual robots, the scenario construction system can also generate a corresponding task execution script based on the target execution task, and send the task execution script to the spare or idle virtual robot to obtain the target business robot.

[0110] In this embodiment, the scenario construction system can update the corresponding business scenario according to the update status of the target business information to ensure the implementation of subsequent business tests of the target business.

[0111] Since the system introduced in the fifth embodiment of the present application is a system used to implement the method of the first embodiment of the present application, based on the method introduced in the first embodiment of the present application, the person skilled in the art can understand the specific structure and deformation of the system, so it is not repeated here. All systems used in the method of the first embodiment of the present application belong to the scope of protection of the present application.

[0112] Embodiment 6

[0113] Reference Figure 6 , Figure 6 A device structure diagram is constructed for the business scenario of the hardware operating environment involved in the embodiment of the present application.

[0114] like Figure 6As shown, the business scenario construction device may include: a processor 1001, such as a core processor (Central Processing Unit, CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a wireless fidelity (WIreless-FIdelity, WI-FI) interface). The memory 1005 may be a high-speed random access memory (Random Access Memory, RAM) memory, or a stable non-volatile memory (Non-Volatile Memory, NVM), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.

[0115] Those skilled in the art will understand that Figure 6 The structure shown in does not constitute a limitation on the business scenario construction device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0116] like Figure 6 As shown, the memory 1005 as a storage medium may include an operating system, a data storage module, a network communication module, a user interface module and a business scenario construction program.

[0117] exist Figure 6 In the business scenario construction device shown, the network interface 1004 is mainly used for data communication with other devices; the user interface 1003 is mainly used for data interaction with the user; the processor 1001 and the memory 1005 in the business scenario construction device of the present application can be set in the business scenario construction device, and the business scenario construction device calls the business scenario construction program stored in the memory 1005 through the processor 1001, and executes the following method:

[0118] After receiving the business scenario construction instruction, obtaining business information corresponding to the target business in the business scenario construction instruction;

[0119] According to the business information, determine the corresponding execution task and the timing information corresponding to the execution task through the task decomposition model;

[0120] Determine a corresponding business robot according to the execution task, and construct a corresponding business scenario according to the timing information and the business robot;

[0121] The business scenario is displayed in a preset scenario display page.

[0122] Furthermore, the business scenario construction device calls the business scenario construction program stored in the memory 1005 through the processor 1001, and also executes the following method:

[0123] Matching the execution task with the business function of the business robot to determine the business robot that meets the requirements;

[0124] According to the timing information, the business robots are connected in series to generate corresponding business scenarios.

[0125] Furthermore, the business scenario construction device calls the business scenario construction program stored in the memory 1005 through the processor 1001, and also executes the following method:

[0126] When there is no business robot that meets the requirements, generating a corresponding task script according to the execution task;

[0127] Construct the business robot according to the task script.

[0128] Furthermore, the business scenario construction device calls the business scenario construction program stored in the memory 1005 through the processor 1001, and also executes the following method:

[0129] Acquire the data to be tested, and control the business robot to perform corresponding actions according to the data to be tested;

[0130] Based on the business scenario, determining the business execution result of the data to be tested;

[0131] The business execution result is verified through a preset shooting range environment to determine the accuracy of the business execution result.

[0132] Furthermore, the business scenario construction device calls the business scenario construction program stored in the memory 1005 through the processor 1001, and also executes the following method:

[0133] Determine a target task node in the business knowledge graph according to the task knowledge graph in the task decomposition model and the business information;

[0134] The execution task and the timing information corresponding to the execution task are determined according to the target task node.

[0135] Furthermore, the business scenario construction device calls the business scenario construction program stored in the memory 1005 through the processor 1001, and also executes the following method:

[0136] Constructing a functional knowledge graph according to the business functions and the ranking results;

[0137] Determine the corresponding position of the feature node in the functional knowledge graph in the business scenario;

[0138] Based on the feature nodes and the positions, a mapping relationship between the functional knowledge graph and the business scenarios is constructed.

[0139] Furthermore, the business scenario construction device calls the business scenario construction program stored in the memory 1005 through the processor 1001, and also executes the following method:

[0140] After receiving the business scenario construction instruction, determining the target business corresponding to the business scenario construction instruction;

[0141] Scan the target business to obtain corresponding business information.

[0142] Furthermore, the business scenario construction device calls the business scenario construction program stored in the memory 1005 through the processor 1001, and also executes the following method:

[0143] When detecting that the service information is updated, obtaining updated data of the service information;

[0144] Determine an updated target execution task according to the updated data, and compare the target execution task with the business robot;

[0145] When the business robot exists, updating the execution task of the business robot according to the update data;

[0146] Alternatively, when the business robot does not exist, the timing information of the target executing the task is determined, the target business robot is obtained, and the business scenario is updated based on the target business robot.

[0147] In addition, the present application also provides a computer-readable storage medium, which stores the business scenario construction program. The business scenario construction program can also be executed by a processor to implement the steps of each embodiment of the above-mentioned business scenario construction method.

[0148] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0149] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0150] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0151] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0152] It should be noted that in the claims, any reference signs placed between brackets shall not be construed as limiting the claims. The word "comprising" does not exclude the presence of components or steps not listed in the claims. The word "a" or "an" preceding a component does not exclude the presence of a plurality of such components. The present application may be implemented by means of hardware comprising several different components and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means may be embodied by the same item of hardware. The use of the words first, second, and third etc. does not indicate any order. These words may be interpreted as names.

[0153] Although the preferred embodiments of the present application have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present application.

[0154] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.

Claims

1. A business scenario construction method, characterized in that: The business scenario construction method comprises the following steps: After receiving the business scenario construction instruction, obtaining business information corresponding to the target business in the business scenario construction instruction; According to the business information, determine the corresponding execution task and the timing information corresponding to the execution task through the task decomposition model; Determine a corresponding business robot according to the execution task, and construct a corresponding business scenario according to the timing information and the business robot; The business scenario is displayed in a preset scenario display page.

2. The business scenario construction method according to claim 1, characterized in that: The step of determining a corresponding business robot according to the execution task, and constructing a corresponding business scenario according to the timing information and the business robot includes: Matching the execution task with the business function of the business robot to determine the business robot that meets the requirements; According to the timing information, the business robots are connected in series to generate corresponding business scenarios.

3. The business scenario construction method according to claim 2, characterized in that: After the step of matching the execution task with the business function of the business robot and determining the business robot that meets the requirements, the step further includes: When there is no business robot that meets the requirements, generating a corresponding task script according to the execution task; Construct the business robot according to the task script.

4. The business scenario construction method according to claim 1, characterized in that: After the step of determining the corresponding business robot according to the execution task, and constructing the corresponding business scenario according to the timing information and the business robot, the method further includes: Acquire the data to be tested, and control the business robot to perform corresponding actions according to the data to be tested; Based on the business scenario, determining the business execution result of the data to be tested; The business execution result is verified through a preset shooting range environment to determine the accuracy of the business execution result.

5. The business scenario construction method according to claim 1, characterized in that: The step of determining the corresponding execution task and the timing information corresponding to the execution task according to the business information includes: Determine a target task node in the business knowledge graph according to the task knowledge graph in the task decomposition model and the business information; The execution task and the timing information corresponding to the execution task are determined according to the target task node.

6. The business scenario construction method according to claim 1, characterized in that: After the step of determining the corresponding business robot according to the execution task, and constructing the corresponding business scenario according to the timing information and the business robot, the method further includes: Constructing a functional knowledge graph according to the business function and the timing information; Determine the corresponding position of the feature node in the functional knowledge graph in the business scenario; Based on the feature nodes and the positions, a mapping relationship between the functional knowledge graph and the business scenarios is constructed.

7. The business scenario construction method according to claim 1, characterized in that: After receiving the business scenario construction instruction, after the step of obtaining the business information corresponding to the target business in the business scenario construction instruction, the method further includes: After receiving the business scenario construction instruction, determining the target business corresponding to the business scenario construction instruction; Scan the target business to obtain corresponding business information.

8. The business scenario construction method according to claim 1, characterized in that: After the step of obtaining the corresponding business robot according to the business function and constructing the corresponding business scenario according to the sorting result and the business robot, the method further includes: When detecting that the service information is updated, obtaining updated data of the service information; Determine an updated target execution task according to the updated data, and compare the target execution task with the business robot; When the business robot exists, updating the execution task of the business robot according to the update data; Alternatively, when the business robot does not exist, the timing information of the target executing the task is determined, the target business robot is obtained, and the business scenario is updated based on the target business robot.

9. A business scenario construction device, characterized in that: The business scenario construction device includes: a memory, a processor, and a business scenario construction program stored in the memory and executable on the processor, wherein the business scenario construction program is configured to implement the steps of the business scenario construction method according to any one of claims 1 to 8.

10. A storage medium, characterized in that: The storage medium stores a business scenario construction program, and when the business scenario construction program is executed by the processor, the steps of the business scenario construction method according to any one of claims 1 to 8 are implemented.