Scene generation method and device, equipment, storage medium and program product

Through RPA robot automated scenario generation, the problem of cumbersome and low efficiency in the existing technology is solved, efficient scenario creation is achieved, labor costs are reduced, and preparation time for emergency support is ensured.

CN119254638AActive Publication Date: 2025-01-03INSPUR TIANYUAN COMM INFORMATION SYST CO LTD

Patent Information

Application Number
CN202411090409.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-09
Publication Date
2025-01-03
Estimated Expiration
2044-08-09

AI Technical Summary

Technical Problem

In the prior art, the scene generation method has cumbersome processes, high labor costs, and low scenario generation efficiency, which affects the normal progress of communication emergency support.

Method used

By introducing RPA robots, responding to interactive instructions and scene creation instructions, the target scenarios are automatically generated based on preset processes and scene parameters, including creating initial process nodes, branch processes and exception processing processes, judging and processing exception parameters, and generating front-end page display target scenarios .

Benefits of technology

It effectively reduces labor costs, improves the efficiency of scenario generation, reduces the time-consuming process of manual creation, ensures the preparation time for emergency guarantee scheduling, and avoids the extension of communication network failures.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119254638A_ABST
    Figure CN119254638A_ABST
Patent Text Reader

Abstract

The invention provides a scene generation method and device, equipment, a storage medium and a program product, and relates to the technical field of computers.The method comprises the steps that in response to an interaction instruction, scene information is determined based on the interaction instruction; the scene information comprises scene parameters required by process nodes in the preset process; in response to the scene creation instruction, determining a scene type based on the scene creation instruction; and based on the scene parameters and a preset process, generating a target scene of the corresponding scene type. According to the mode, the scene information is determined based on the interaction instruction, the scene type is determined based on the scene creation instruction, and the scene information comprises the scene parameters required by the process nodes in the preset process, so that the target scene of the corresponding scene type can be automatically generated directly based on the scene parameters and the preset process, the dependence on manpower is eliminated, and the user experience is improved. The labor cost can be effectively reduced, and the scene generation efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a scene generation method, device, equipment, storage medium and program product. Background Art

[0002] Communication failures and emergencies are difficult to predict, the impact center is difficult to automatically locate, and the radius of the support area is difficult to automatically define. This has many negative impacts on the creation and generation of communication emergency support scenarios.

[0003] Due to the complexity and diversity of scenes, related technologies usually require manual creation of scenes on terminals or web pages.

[0004] However, the existing scenario generation method has complicated procedures, high labor costs, and low efficiency in scenario generation, which can easily affect the normal progress of communication emergency support work. Summary of the invention

[0005] The present invention provides a scene generation method, device, equipment, storage medium and program product, which are used to solve the defects of the scene generation method in the prior art, such as complicated process, high labor cost and low efficiency of scene generation.

[0006] The present invention provides a scene generation method, comprising: responding to an interaction instruction, determining scene information based on the interaction instruction; the scene information includes scene parameters required by a process node in a preset process; responding to a scene creation instruction, determining a scene type based on the scene creation instruction; generating a target scene of the corresponding scene type based on the scene parameters and the preset process.

[0007] According to a scene generation method provided by the present invention, a preset process includes multiple process nodes arranged in a preset order, and the scene information includes scene parameters required for multiple process nodes in the preset process; based on the scene parameters and the preset process, a target scene of the corresponding scene type is generated, including: based on the parameter type of each scene parameter, determining the process node corresponding to each scene parameter; based on each scene parameter and the process node corresponding to each scene parameter, generating multiple display elements of the corresponding scene type in a preset order; based on each display element, generating a target scene of the corresponding scene type.

[0008] According to a scene generation method provided by the present invention, before generating a target scene of a corresponding scene type based on scene parameters and a preset process, it also includes: creating multiple initial process nodes and determining the parameter type of the scene parameters required for each initial process node; arranging each initial process node in a preset order to obtain a preset process.

[0009] According to a scene generation method provided by the present invention, each initial process node is arranged in a preset order. After obtaining the preset process, it also includes: creating a branch process for the preset process; the branch process includes an exception handling process; based on the scene parameters and the preset process, before generating a target scene of the corresponding scene type, it also includes: judging whether the scene parameters are abnormal parameters; if it is determined that the scene parameters are abnormal parameters, terminating the generation of the target scene based on the exception handling process in the preset process.

[0010] According to a scene generation method provided by the present invention, before determining whether a scene parameter is an abnormal parameter, it also includes: mounting a scene creation factor knowledge base; the scene creation factor knowledge base stores multiple parameter types; determining whether the scene parameter is an abnormal parameter includes: determining whether the parameter type of the scene parameter can match the parameter type in the scene creation factor knowledge base; if the parameter type of the scene parameter cannot match the parameter type in the scene creation factor knowledge base, determining that the scene parameter is an abnormal parameter.

[0011] According to a scene generation method provided by the present invention, after generating a target scene of a corresponding scene type based on scene parameters and a preset process, the method further includes: generating a front-end page; and displaying the target scene on the front-end page.

[0012] The present invention also provides a scene generation device, including: a first determination module, used to respond to interaction instructions and determine scene information based on interaction instructions; the scene information includes scene parameters required for process nodes in a preset process; a second determination module, used to respond to scene creation instructions and determine the scene type based on the scene creation instructions; a generation module, used to generate a target scene of the corresponding scene type based on the scene parameters and the preset process.

[0013] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, any of the scene generation methods described above is implemented.

[0014] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the scene generation method described in any one of the above is implemented.

[0015] The present invention also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the computer program implements any of the above-mentioned scene generation methods.

[0016] The scene generation method, device, equipment, storage medium and program product provided by the present invention respond to interactive instructions and determine scene information based on the interactive instructions; the scene information includes scene parameters required for process nodes in a preset process; respond to scene creation instructions and determine scene types based on scene creation instructions; based on scene parameters and preset processes, generate target scenes of corresponding scene types. Through the above method, scene information is determined based on interactive instructions, and scene types are determined based on scene creation instructions. Since the scene information includes scene parameters required for process nodes in a preset process, target scenes of corresponding scene types can be automatically generated directly based on scene parameters and preset processes, getting rid of dependence on manual labor, effectively reducing labor costs and improving the efficiency of scene generation. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0018] Figure 1 This is one of the flow charts of the scene generation method provided by the present invention.

[0019] Figure 2 This is the second flow chart of the scene generation method provided by the present invention.

[0020] Figure 3 It is a structural schematic diagram of the scene generation device provided by the present invention.

[0021] Figure 4 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION

[0022] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0023] It should be noted that in the description of the present invention, the terms "include", "comprise" or any other variant thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "include one..." do not exclude the existence of other identical elements in the process, method, article or device including the elements. The orientation or position relationship indicated by the terms "upper", "lower" and the like is based on the orientation or position relationship shown in the drawings, which is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation of the present invention. Unless otherwise clearly specified and limited, the terms "installed", "connected" and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be an indirect connection through an intermediate medium, or it can be a connection between the two elements. For those skilled in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0024] The terms "first", "second", etc. in the present invention are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances, so that the embodiments of the present invention can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. are generally of the same type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" means at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0025] See also Figure 1 , Figure 1 This is one of the flow charts of the scene generation method provided by the present invention. In this embodiment, the scene generation method is applied to the RPA robot and is automatically executed by the RPA robot. The scene generation method includes steps S110 to S130, and each step is as follows: S110: In response to the interaction instruction, determine scene information based on the interaction instruction.

[0026] The scenario information includes scenario parameters required by the process nodes in the preset process.

[0027] Specifically, first create an RPA robot, which is implemented based on robotic process automation technology.

[0028] Robotic process automation (RPA) is a business process automation technology based on software robots and artificial intelligence (AI). RPA robots can be an application or system that replaces the user's manual operations by imitating the user's manual operations on computer devices, thereby providing a solution to reduce the user's manual operation process.

[0029] RPA robots can be deployed in various systems and terminals, simulating manual operations and automatically executing a variety of preset processes and methods.

[0030] In this embodiment, a preset process related to scenario generation can be set in the RPA robot, and the RPA robot automatically executes the preset process to achieve the generation of the target scenario.

[0031] Furthermore, after setting up the RPA robot, the user can interact with the RPA robot by inputting interactive instructions through the terminal device.

[0032] Furthermore, the RPA robot responds to the interaction instruction and determines the scenario information based on the interaction instruction.

[0033] The scenario information includes scenario parameters required by the process nodes in the preset process.

[0034] S120: In response to the scene creation instruction, determine the scene type based on the scene creation instruction.

[0035] Specifically, the user can input the scene creation instruction through the terminal device, and the scene creation instruction can carry relevant information such as the scene type; the RPA robot responds to the scene creation instruction, and can extract relevant information from the scene creation instruction to determine the scene type.

[0036] S130: Generate a target scene corresponding to the scene type based on the scene parameters and the preset process.

[0037] Specifically, the RPA robot can generate and display the target scene of the corresponding scenario type based on the scenario parameters and preset processes.

[0038] The scene generation method provided in this embodiment responds to the interaction instruction and determines the scene information based on the interaction instruction; the scene information includes the scene parameters required for the process node in the preset process; responds to the scene creation instruction and determines the scene type based on the scene creation instruction; based on the scene parameters and the preset process, generates the target scene of the corresponding scene type. Through the above method, the scene information is determined based on the interaction instruction, and the scene type is determined based on the scene creation instruction. Since the scene information includes the scene parameters required for the process node in the preset process, the target scene of the corresponding scene type can be automatically generated directly based on the scene parameters and the preset process, getting rid of the dependence on manual labor, which can effectively reduce labor costs and improve the efficiency of scene generation.

[0039] In some embodiments, the preset process includes multiple process nodes arranged in a preset order, and the scenario information includes scenario parameters required by the multiple process nodes in the preset process.

[0040] Based on the scene parameters and the preset process, a target scene of the corresponding scene type is generated, including: based on the parameter type of each scene parameter, determining the process node corresponding to each scene parameter; based on each scene parameter and the process node corresponding to each scene parameter, generating multiple display elements of the corresponding scene type in a preset order; based on each display element, generating a target scene of the corresponding scene type.

[0041] Specifically, after determining the scenario parameters and scenario types, the RPA robot can determine the process node corresponding to each scenario parameter based on the parameter type of each scenario parameter.

[0042] A complete scenario generation process usually involves multiple process nodes, and the scenario parameters required for each process node may be different.

[0043] For example, a process node may include generating a scene name, generating the longitude and latitude of the scene, generating the boundaries of the scene, etc.; for the process node "generating a scene name", the required parameters include a user-defined name; for the process node "generating the boundaries of the scene", the required parameters are the longitude of the scene, the latitude of the scene, and the area radius of the scene.

[0044] On the premise that there is a preset process, the RPA robot can determine the process node corresponding to each scenario parameter based on the parameter type of each scenario parameter.

[0045] Optionally, parameter types include scenario activities, coverage, etc.

[0046] Optionally, scenario activities include conference support, holiday support, emergency drills, major failures, etc.

[0047] Optionally, the protection scope includes regional scope, spatial information, etc.; the regional scope includes longitude, latitude, geographical location of the scene, boundary of the scene, center of the scene, etc.

[0048] Optionally, the scenario types include major failure scenarios, emergency scenarios, common event scenarios, etc.

[0049] For example, if the scenario parameter is "32 degrees east longitude, 53 degrees north latitude", the parameter type of the scenario parameter is the longitude and latitude of the scenario; the RPA robot can determine that the process node corresponding to the scenario parameter is "generate the longitude and latitude of the scenario" based on the parameter type of the scenario parameter.

[0050] It can be understood that there can be multiple scenario parameters and multiple process nodes corresponding to the scenario parameters. The RPA robot needs to determine the process node corresponding to each scenario parameter.

[0051] Furthermore, based on each scene parameter and the process node corresponding to each scene parameter, a plurality of display elements corresponding to the scene type are generated in a preset order.

[0052] Specifically, the preset process includes multiple process nodes arranged in a preset order. After determining the required scenario parameters for each process node in the preset process, the RPA robot can generate display elements corresponding to each process node one by one in the preset order, and each display element needs to meet the requirements of the scenario type, that is, generate multiple display elements of the corresponding scenario type.

[0053] Among them, the display elements can be generated according to the preset scene template.

[0054] Optionally, the preset scenario templates include major failure scenario templates, emergency scenario templates, common event scenario templates, etc.

[0055] Furthermore, based on each display element, a target scene of a corresponding scene type is generated.

[0056] In some embodiments, before generating a target scene of a corresponding scene type based on scene parameters and preset processes, it also includes: creating multiple initial process nodes and determining the parameter type of the scene parameters required for each initial process node; arranging each initial process node in a preset order to obtain a preset process.

[0057] See also Figure 2 , Figure 2 This is the second flow chart of the scene generation method provided by the present invention.

[0058] Because the RPA robot needs to execute related methods according to the preset process, before using the RPA robot to generate the target scenario of the corresponding scenario type, it is also necessary to set the preset process.

[0059] like Figure 2 As shown in the figure, after creating an RPA robot, you need to add relevant preset process information inside the RPA robot to complete the relevant configuration of the preset process.

[0060] Specifically, the configuration steps of the preset process include: process node creation, process node editing, process node arrangement, process branch setting, and exception handling setting.

[0061] Process node creation: Create a corresponding number of initial process nodes based on the number of process steps that the RPA robot simulates manual operations.

[0062] Process node editing: For each initial process node, determine the parameter type of the scenario parameters required by the initial process node, such as the parameter type of the input parameter and the parameter type of the output parameter required by the initial process node in the communication emergency guarantee scenario.

[0063] Process node orchestration: The order in which the RPA robot simulates manual operations is used as the preset order, and each initial process node is arranged in the preset order to obtain the preset process.

[0064] After completing the configuration of the preset process, users can interact with the RPA robot by entering interactive instructions through terminal devices.

[0065] For example, users can enter interactive instructions through the desktop chat room of the enterprise's internal terminal devices according to the guidance given by the RPA robot.

[0066] Furthermore, the RPA robot determines the scene information based on the interaction instructions in response to the interaction instructions, and determines the scene type based on the scene creation instructions in response to the scene creation instructions; based on the scene parameters and preset processes, a target scene of the corresponding scene type is generated.

[0067] In some embodiments, each initial process node is arranged in a preset order, and after obtaining the preset process, it also includes: creating a branch process for the preset process; the branch process includes an exception handling process; based on the scene parameters and the preset process, before generating a target scene of the corresponding scene type, it also includes: determining whether the scene parameters are abnormal parameters; if it is determined that the scene parameters are abnormal parameters, then terminating the generation of the target scene based on the exception handling process in the preset process.

[0068] It is understandable that actual business processes are diverse and complex, so in addition to the regular preset processes, process branch settings are also required to adapt to changing application scenarios.

[0069] Process branch setting: Create branch processes for preset processes to cope with expanded business scenarios.

[0070] Optionally, the branch process includes an exception handling process.

[0071] Optionally, the branch flow does not include an exception handling flow.

[0072] When an exception is handled in the process, it is necessary to set up exception handling for the preset process.

[0073] Exception handling settings: Configure an exception handling process or exception handling node for each node. When the scenario parameters are abnormal parameters (such as incorrect parameters or unrecognizable parameters), the RPA robot can perform subsequent processing based on the exception handling process or exception handling node to avoid process obstruction and terminate the generation of the target scenario.

[0074] In some embodiments, before determining whether a scene parameter is an abnormal parameter, it also includes: mounting a scene creation factor knowledge base; the scene creation factor knowledge base stores multiple parameter types; determining whether the scene parameter is an abnormal parameter includes: determining whether the parameter type of the scene parameter can match the parameter type in the scene creation factor knowledge base; if the parameter type of the scene parameter cannot match the parameter type in the scene creation factor knowledge base, determining that the scene parameter is an abnormal parameter.

[0075] Specifically, before determining whether a scenario parameter is an abnormal parameter, a scenario creation factor knowledge base is first mounted on a user terminal or a system.

[0076] Optionally, in terms of mounting method, the scenario creation factor knowledge base can be mounted through the form of an internal gateway of the communication enterprise, thereby realizing the association between the internal emergency support scenario knowledge base of the communication enterprise and the RPA robot.

[0077] In this embodiment, the scenario creation factor knowledge base refers to a knowledge base created for communication emergency support scenarios such as major network failures and emergencies.

[0078] The scenario creation factor knowledge base is an external knowledge base, which can regularly update the parameter types or scenario creation factors that may be involved in the communication emergency support scenario through manual maintenance and other methods.

[0079] Furthermore, when determining whether a scene parameter is an abnormal parameter, it may be specifically determined whether the parameter type of the scene parameter can match the parameter type in the scene creation factor knowledge base.

[0080] If the parameter type of the scenario parameter cannot match the parameter type in the scenario creation factor knowledge base, the scenario parameter is determined to be an abnormal parameter.

[0081] In some embodiments, after generating a target scene of a corresponding scene type based on scene parameters and a preset process, it also includes: generating a front-end page; and displaying the target scene on the front-end page.

[0082] Optionally, the user can enter interactive instructions in the form of human-computer interactive questions and answers in a preset order through the desktop chat room of the enterprise's internal terminal device. The content of the human-computer interactive questions and answers needs to be consistent with the configured preset process.

[0083] An example of human-computer interactive question answering is as follows: User Input: Create a scene.

[0084] RPA robot asks: Received, please select the scenario activity?

[0085] User input: Earthquake.

[0086] RPA robot asks: Received, please select the scenario information?

[0087] User input: Scenario name is A, and security level is B.

[0088] RPA robot asks: Received, please enter the scene boundaries?

[0089] User input: longitude is X, latitude is Y, and area radius is Z.

[0090] RPA robot asks: Received, please select a scene monitoring template?

[0091] User input: Emergency scenario template.

[0092] RPA robot answers: Received, scenario creation has been completed, please review.

[0093] The user enters the scenario creation instructions under the guidance of the RPA robot through the desktop chat window. The RPA robot can automatically complete the creation of the target scenario in the system background based on the acquired scenario information, and generate a new WEB page (front-end page) to display the target scenario.

[0094] Compared with the prior art, the scene generation method provided in this embodiment has at least the following advantages: (1) The introduction of RPA robots can effectively improve the efficiency of scenario generation: When the RPA robot obtains sufficient scenario information, it can run automatically in the system background and automatically complete the creation of the target scenario according to the scenario type and preset process. This can effectively improve the efficiency of scenario generation and avoid the time-consuming problem caused by manual scenario creation, thereby preventing relevant personnel from missing the golden response time of emergency support dispatch, extending the preparation time of emergency support dispatch, and avoiding secondary failures of the communication network.

[0095] (2) Guided creation with low technical threshold: Through the question-and-answer guidance of the RPA robot, relevant personnel can create scenarios through the configured knowledge base and preset processes. This does not require the intervention of a large number of professionals, and can lower the threshold for creating emergency communication support scenarios.

[0096] The present invention also provides a scene generation device. Figure 3 , Figure 3 3 is a schematic diagram of the structure of the scene generation device provided by the present invention. In this embodiment, the scene generation device includes a first determination module 310 , a second determination module 320 and a generation module 330 .

[0097] The first determination module 310 is configured to respond to the interaction instruction and determine scene information based on the interaction instruction.

[0098] The scenario information includes scenario parameters required by the process nodes in the preset process; The second determination module 320 is configured to respond to the scene creation instruction and determine the scene type based on the scene creation instruction.

[0099] The generation module 330 is used to generate a target scene corresponding to the scene type based on the scene parameters and the preset process.

[0100] In some embodiments, the preset process includes multiple process nodes arranged in a preset order, and the scenario information includes scenario parameters required by the multiple process nodes in the preset process.

[0101] The generation module 330 is also used to determine the process node corresponding to each scene parameter based on the parameter type of each scene parameter; based on each scene parameter and the process node corresponding to each scene parameter, generate multiple display elements of corresponding scene types in a preset order; based on each display element, generate a target scene of the corresponding scene type.

[0102] In some embodiments, the generation module 330 is further used to create multiple initial process nodes and determine the parameter type of the scenario parameters required for each initial process node; arrange each initial process node in a preset order to obtain a preset process.

[0103] In some embodiments, the generation module 330 is further used to create a branch process for a preset process; the branch process includes an exception handling process.

[0104] The generation module 330 is further used to determine whether the scene parameter is an abnormal parameter; if it is determined that the scene parameter is an abnormal parameter, the generation of the target scene is terminated based on the abnormal processing process in the preset process.

[0105] In some embodiments, the generation module 330 is further used to mount a scene creation factor knowledge base; the scene creation factor knowledge base stores multiple parameter types.

[0106] In some embodiments, the generation module 330 is also used to determine whether the parameter type of the scene parameter can match the parameter type in the scene creation factor knowledge base; if the parameter type of the scene parameter cannot match the parameter type in the scene creation factor knowledge base, the scene parameter is determined to be an abnormal parameter.

[0107] In some embodiments, the generation module 330 is also used to generate a front-end page; and display the target scene on the front-end page.

[0108] The present invention also provides an electronic device, Figure 4 is a schematic diagram of the structure of the electronic device provided by the present invention, such as Figure 4 As shown, the electronic device may include: a processor (processor) 410, a communication interface (CommunicationsInterface) 420, a memory (memory) 430 and a communication bus 440, wherein the processor 410, the communication interface 420, and the memory 430 communicate with each other through the communication bus 440. The processor 410 may call the logic instructions in the memory 430 to execute the scene generation method.

[0109] In addition, the logic instructions in the above-mentioned memory 430 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.

[0110] The present invention also provides a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the scene generation method provided by the above methods is implemented.

[0111] The present invention also provides a computer program product, which includes a computer program. The computer program can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the scene generation method provided by the above methods.

[0112] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0113] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0114] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A scene generation method, characterized in that: include: In response to the interaction instruction, determining scene information based on the interaction instruction; The scenario information includes scenario parameters required by process nodes in a preset process; In response to a scene creation instruction, determining a scene type based on the scene creation instruction; Based on the scene parameters and the preset process, a target scene corresponding to the scene type is generated.

2. The scene generation method according to claim 1, characterized in that: The preset process includes a plurality of process nodes arranged in a preset order, and the scenario information includes scenario parameters required by the plurality of process nodes in the preset process; The generating a target scene corresponding to the scene type based on the scene parameters and the preset process includes: Based on the parameter type of each of the scenario parameters, determining the process node corresponding to each of the scenario parameters; Based on each of the scene parameters and the process nodes corresponding to each of the scene parameters, a plurality of display elements corresponding to the scene type are generated in a preset order; Based on each of the display elements, a target scene corresponding to the scene type is generated.

3. The scene generation method according to claim 2, characterized in that: Before generating a target scene corresponding to the scene type based on the scene parameters and the preset process, the method further includes: Creating a plurality of initial process nodes, and determining a parameter type of a scenario parameter required for each of the initial process nodes; Each of the initial process nodes is arranged in a preset order to obtain the preset process.

4. The scene generation method according to claim 3, characterized in that: After arranging each of the initial process nodes in a preset order and obtaining the preset process, the method further includes: Creating a branch process for the preset process; the branch process includes an exception handling process; Before generating a target scene corresponding to the scene type based on the scene parameters and the preset process, the method further includes: Determining whether the scene parameter is an abnormal parameter; If it is determined that the scene parameter is an abnormal parameter, the generation of the target scene is terminated based on the abnormal processing process in the preset process.

5. The scene generation method according to claim 4, characterized in that: Before determining whether the scene parameter is an abnormal parameter, the method further includes: Mounting a scene creation factor knowledge base; the scene creation factor knowledge base stores multiple parameter types; The determining whether the scene parameter is an abnormal parameter includes: Determining whether the parameter type of the scene parameter can match the parameter type in the scene creation factor knowledge base; If the parameter type of the scene parameter cannot match the parameter type in the scene creation factor knowledge base, the scene parameter is determined to be an abnormal parameter.

6. The scene generation method according to claim 1, characterized in that: After generating a target scene corresponding to the scene type based on the scene parameters and the preset process, the method further includes: Generate front-end page; The target scene is displayed on the front-end page.

7. A scene generation device, characterized in that: include: A first determination module, configured to respond to an interaction instruction and determine scene information based on the interaction instruction; The scenario information includes scenario parameters required by process nodes in a preset process; A second determination module, configured to respond to a scene creation instruction and determine a scene type based on the scene creation instruction; A generation module is used to generate a target scene corresponding to the scene type based on the scene parameters and the preset process.

8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the scene generation method according to any one of claims 1 to 6 is implemented.

9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the scene generation method according to any one of claims 1 to 6 is implemented.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the scene generation method according to any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • Scene library construction method and device, equipment and storage medium

    CN115687163A

  • Business scene configuration method and device, computer equipment and storage medium

    CN115775138A

  • Information processing method and device, equipment and storage medium

    CN116880926A

  • Network link generation method, server and storage medium

    WO2024045576A1

Cited By

  • Scene building method and system based on one graph of power grid, terminal and medium

    CN121302681A