Business simulation method, device, computer equipment and storage medium
By simulating the simulation process with multiple clock refreshers, it solves the simulation problems of existing simulation software in complex large data volume scenarios, achieving highly flexible and widely used simulations, and is suitable for the logistics industry and other fields with complex scenarios.
Patent Information
- Application Number
- CN202010354837.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-04-29
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2040-04-29
AI Technical Summary
Existing simulation software is difficult to effectively perform simulations when dealing with complex large-scale data scenarios, such as scenarios involving tens of thousands of outlets and millions of shifts in the logistics industry. As a result, system developers need to develop and maintain specialized simulation methods on their own. It takes time and effort.
Multiple clock refreshers (central clock refresher, element clock refresher and behavioral clock refresher) are used to simulate the simulation process, and the clocks are refreshed synchronously through registration calls to achieve the flexibility and scalability of the simulation software, which is suitable for complex scenarios. Simulation simulation.
It realizes highly flexible simulation in complex scenarios, has strong scalability, is suitable for a wide range of application scenarios, and avoids the scenario and condition restrictions of existing simulation software.
Smart Images

Figure CN113569373B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of business simulation, and in particular to a business simulation method, device, computer equipment and storage medium. Background Art
[0002] The common simulation software currently on the market uses computers to simulate discrete event systems. The steps of this simulation experiment include: drawing a workflow diagram of the system, determining the arrival model, service model and queuing model (which constitute the simulation model of the discrete event system), compiling a running program that describes the system activities and executing this program on the computer.
[0003] This general simulation software can be used to quickly implement simple simulation experiments. However, it is often difficult to simulate some complex scenarios with large amounts of data input, such as the logistics industry, which needs to simulate tens of thousands of outlets and hundreds of transfer stations. Scenarios involving hundreds of millions of orders, millions of shifts and loading are often beyond the capabilities of the system. In the face of such scenarios, system developers need to develop and maintain a set of simulation methods for complex scenarios to perform simulations, which consumes a lot of time and manpower. Summary of the invention
[0004] The embodiments of the present application provide a business simulation method, apparatus, computer equipment and storage medium, which simulate the target business as clock refresh events of multiple clock refreshers including a central clock refresher, an element clock refresher, and a behavior clock refresher. It is not limited by the simulation scenarios and simulation conditions of the simulation software, and can flexibly implement simulation in complex scenarios. The simulation has high simulation flexibility, wide application scenarios and strong scalability.
[0005] On the one hand, the present application provides a business simulation method, the method comprising:
[0006] For the target business to be simulated, the simulation process of the target business is simulated as clock refresh events of multiple clock refreshers, the target business is a discrete event business, the multiple clock refreshers include a central clock refresher for processing clock refresh events corresponding to the target business, multiple element clock refreshers corresponding to elements of different behaviors in the target business, and multiple behavior clock refreshers corresponding to different simulation actions, the different simulation actions are respectively simulation actions that need to be completed by elements of different behaviors in the target business;
[0007] The target service is simulated based on the clock refresh events of the multiple clock refreshers.
[0008] In some embodiments of the present application, simulating the simulation process of the target service as a clock refresh event of multiple clock refreshers in the clock refresh event includes:
[0009] Based on the target service, a central clock refresher is newly established, and the central clock refresher is used to synchronously refresh the clocks of all element clock refreshers registered with the central clock refresher according to a preset clock step length by means of registration call;
[0010] Building a plurality of different element clock refreshers based on elements with different behaviors in the target business, and registering the element clock refreshers in the central clock refresher;
[0011] Based on different simulation actions that need to be completed by elements of different behaviors in the target business, a plurality of different behavior clock refreshers are constructed for each element clock refresher.
[0012] In some embodiments of the present application, the central clock refresher includes a front module, a refresh module and a rear module, and each element clock refresher includes at least one of the front module, the refresh module and the rear module;
[0013] The front module in the element clock refresher is used to call the preset preparation business processing logic in the current element clock refresher to simulate the execution of the preparation business; the refresh module in the element clock refresher is used to call the behavior clock refresher of the current element clock refresher related to the refresh business to simulate the execution of refresh businesses with different behaviors; the post module in the element clock refresher is used to call the preset result processing business logic in the current element clock refresher to simulate the execution of the result processing business;
[0014] The front module in the central clock refresher is used to call the front module in each element clock refresher to simulate the execution of the corresponding preparation business, the refresh module in the central clock refresher is used to call the refresh module in each element clock refresher to simulate the execution of the corresponding refresh business, and the post module in the central clock refresher is used to call the post module in each element clock refresher to simulate the execution of the corresponding result processing business.
[0015] In some embodiments of the present application, simulating the target service based on the clock refresh events of the multiple clock refreshers includes:
[0016] Processing a clock refresh event at every preset clock step length, in each clock refresh event, using the front-end module in the central clock refresher, calling the front-end module in each element clock refresher, executing the preset preparation business processing logic, and simulating the execution of the preparation business;
[0017] Using the refresh module in the central clock refresher, the refresh modules in each element clock refresher are called to implement the behavior clock refresher related to the refresh service of each element clock refresher, and simulate the refresh services with different behaviors;
[0018] The post-module in the central clock refresher is used to call the post-module in each element clock refresher, execute the result processing business processing logic preset in each element clock refresher, and simulate the execution of the result processing business.
[0019] In some embodiments of the present application, the target business is a logistics business, and the multiple element clock refreshers include a vehicle refresher and a site refresher; the site refresher includes an unloading refresher, a sorting refresher, and a loading refresher;
[0020] The central clock refresher is used to synchronously refresh the clocks of all registered site refreshers according to a preset clock step length by means of registration and calling;
[0021] The vehicle refresher is an element clock refresher for constructing vehicle elements for executing vehicle arrival and departure behaviors; the site refresher is an element clock refresher for constructing site elements for executing unloading, sorting and loading behaviors;
[0022] The unloading refresher is used to simulate the unloading behavior of vehicles at the logistics site;
[0023] The sorting refresher is used to simulate the sorting behavior of express items in the logistics site;
[0024] The loading refresher is used to simulate the loading behavior of express parcels in a logistics site.
[0025] In some embodiments of the present application, the service simulation method is applied to a distributed system, and before simulating the target service based on the clock refresh events of the multiple clock refreshers, the method further includes:
[0026] Deploying the central clock refresher on a node of the distributed system;
[0027] The multiple element clock refreshers and their corresponding behavior clock refreshers are sliced and grouped according to a preset strategy, and deployed on multiple nodes of the distributed system.
[0028] On the other hand, the present application provides a service simulation device, the device comprising:
[0029] A business simulation unit, for simulating a target business to be simulated, simulating the simulation process of the target business as clock refresh events of multiple clock refreshers, wherein the target business is a discrete event business, and the multiple clock refreshers include a central clock refresher for processing clock refresh events corresponding to the target business, multiple element clock refreshers corresponding to elements of different behaviors in the target business, and multiple behavior clock refreshers corresponding to different simulation actions, wherein the different simulation actions are simulation actions that need to be completed by elements of different behaviors in the target business;
[0030] The service simulation unit is used to simulate the target service based on the clock refresh events of the multiple clock refreshers.
[0031] In some embodiments of the present application, the service simulation unit is specifically used for:
[0032] Based on the target service, a central clock refresher is newly established, and the central clock refresher is used to synchronously refresh the clocks of all element clock refreshers registered with the central clock refresher according to a preset clock step length by means of registration call;
[0033] Building a plurality of different element clock refreshers based on elements with different behaviors in the target business, and registering the element clock refreshers in the central clock refresher;
[0034] Based on different simulation actions that need to be completed by elements of different behaviors in the target business, a plurality of different behavior clock refreshers are constructed for each element clock refresher.
[0035] In some embodiments of the present application, the central clock refresher includes a front module, a refresh module and a rear module, and each element clock refresher includes at least one of the front module, the refresh module and the rear module;
[0036] The front module in the element clock refresher is used to call the preset preparation business processing logic in the current element clock refresher to simulate the execution of the preparation business; the refresh module in the element clock refresher is used to call the behavior clock refresher of the current element clock refresher related to the refresh business to simulate the execution of refresh businesses with different behaviors; the post module in the element clock refresher is used to call the preset result processing business logic in the current element clock refresher to simulate the execution of the result processing business;
[0037] The front module in the central clock refresher is used to call the front module in each element clock refresher to simulate the execution of the corresponding preparation business, the refresh module in the central clock refresher is used to call the refresh module in each element clock refresher to simulate the execution of the corresponding refresh business, and the post module in the central clock refresher is used to call the post module in each element clock refresher to simulate the execution of the corresponding result processing business.
[0038] In some embodiments of the present application, the business simulation unit is specifically used to:
[0039] Processing a clock refresh event at every preset clock step length, in each clock refresh event, using the front-end module in the central clock refresher, calling the front-end module in each element clock refresher, executing the preset preparation business processing logic, and simulating the execution of the preparation business;
[0040] Using the refresh module in the central clock refresher, the refresh modules in each element clock refresher are called to implement the behavior clock refresher related to the refresh service of each element clock refresher, and simulate the refresh services with different behaviors;
[0041] The post-module in the central clock refresher is used to call the post-module in each element clock refresher, execute the result processing business processing logic preset in each element clock refresher, and simulate the execution of the result processing business.
[0042] In some embodiments of the present application, the target business is a logistics business, and the multiple element clock refreshers include a vehicle refresher and a site refresher; the site refresher includes an unloading refresher, a sorting refresher, and a loading refresher;
[0043] The central clock refresher is used to synchronously refresh the clocks of all registered site refreshers according to a preset clock step length by means of registration and calling;
[0044] The vehicle refresher is an element clock refresher for constructing vehicle elements for executing vehicle arrival and departure behaviors; the site refresher is an element clock refresher for constructing site elements for executing unloading, sorting and loading behaviors;
[0045] The unloading refresher is used to simulate the unloading behavior of vehicles at the logistics site;
[0046] The sorting refresher is used to simulate the sorting behavior of express items in the logistics site;
[0047] The loading refresher is used to simulate the loading behavior of express parcels in a logistics site.
[0048] In some embodiments of the present application, the business simulation method is applied to a distributed system, and the device further includes a deployment unit, which is specifically used to:
[0049] Before simulating the target service based on the clock refresh events of the multiple clock refreshers, deploying the central clock refresher on a node of the distributed system;
[0050] The multiple element clock refreshers and their corresponding behavior clock refreshers are sliced and grouped according to a preset strategy, and deployed on multiple nodes of the distributed system.
[0051] On the other hand, the present application also provides a computer device, the computer device comprising:
[0052] one or more processors;
[0053] Memory; and
[0054] One or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the processor to implement the business simulation method.
[0055] On the other hand, the present application further provides a computer-readable storage medium on which a computer program is stored. The computer program is loaded by a processor to execute the steps in the business simulation method.
[0056] In the embodiment of the present application, the simulation process of the target business is simulated as a clock refresh event of multiple clock refreshers by treating the target business for simulation. The target business is a discrete event business. The multiple clock refreshers include a central clock refresher for processing the clock refresh event corresponding to the target business, multiple element clock refreshers corresponding to elements of different behaviors in the target business, and multiple behavior clock refreshers corresponding to different simulation actions. The different simulation actions are respectively simulation actions that need to be completed by elements of different behaviors in the target business; based on the clock refresh events of the multiple clock refreshers, the target business is simulated. In the embodiment of the present application, the discrete event driven method is used for simulation. Different from the existing simulation software directly using the simulation software developer, the target business is simulated as a clock refresh event of multiple clock refreshers including a central clock refresher, an element clock refresher, and a behavior clock refresher. It will not be limited by the simulation scenario and simulation condition restrictions of the simulation software, and can more flexibly realize simulation in complex scenarios. The simulation has high simulation flexibility, wide application scenarios, and strong expansibility. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0058] Figure 1 is a scenario diagram of a business simulation system provided in an embodiment of the present application;
[0059] Figure 2 It is a flowchart of an embodiment of the business simulation method provided in the embodiments of the present application;
[0060] Figure 3 This is a schematic diagram of an embodiment of a discrete event queue in an embodiment of the present application;
[0061] Figure 4 is a flowchart of an embodiment of step 201 provided in an embodiment of the present application;
[0062] Figure 5 is a flowchart of an embodiment of step 202 provided in an embodiment of the present application;
[0063] Figure 6 It is a specific architecture diagram of the business simulation system provided in the embodiment of the present application;
[0064] Figure 7 is another specific architecture diagram of the business simulation system provided in the embodiment of the present application;
[0065] Figure 8 It is a flow chart of the logistics business scenario provided in the embodiment of the present application;
[0066] Fig. 9 It is a schematic diagram of the specific architecture of the business simulation system in the logistics business scenario provided in the embodiment of the present application;
[0067] Fig.10 It is a schematic diagram of the structure of an embodiment of a business simulation device provided in an embodiment of the present application;
[0068] Fig.11 It is a schematic diagram of the structure of an embodiment of a computer device provided in the embodiments of the present application. DETAILED DESCRIPTION
[0069] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only 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 those skilled in the art without creative work are within the scope of protection of the present invention.
[0070] In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, which are 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 limiting the present invention. In addition, the terms "first" and "second" are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.
[0071] In this application, the word "exemplary" is used to mean "serving as an example, illustration, or illustration." Any embodiment described in this application as "exemplary" is not necessarily to be construed as being preferred or advantageous over other embodiments. The following description is given to enable any person skilled in the art to implement and use the invention. In the following description, details are listed for the purpose of explanation. It should be understood that a person of ordinary skill in the art can recognize that the invention can be implemented without using these specific details. In other instances, well-known structures and processes are not elaborated in detail to avoid obscuring the description of the invention with unnecessary details. Therefore, the present invention is not intended to be limited to the embodiments shown, but is consistent with the widest scope consistent with the principles and features disclosed in this application.
[0072] The embodiments of the present invention provide a business simulation method, apparatus, computer equipment and storage medium, which are described in detail below.
[0073] See also Figure 1 , Figure 1 Schematic diagram of a business simulation system provided by an embodiment of the present invention. The business simulation system may include a computer device 100, in which a business simulation device is integrated. Figure 1 Computer equipment in.
[0074] In the embodiment of the present application, the computer device 100 is mainly used to simulate the target business to be simulated, and simulates the simulation process of the target business into clock refresh events of multiple clock refreshers. The target business is a discrete event business. The multiple clock refreshers include a central clock refresher for processing the clock refresh events corresponding to the target business, multiple element clock refreshers corresponding to elements of different behaviors in the target business, and multiple behavior clock refreshers corresponding to different simulation actions, and the different simulation actions are simulation actions that need to be completed by elements of different behaviors in the target business; based on the clock refresh events of the multiple clock refreshers, the target business is simulated.
[0075] The computer device 100 described above may be a general-purpose computer device or a dedicated computer device, or a computer device in a distributed environment. In a specific implementation, the computer device 200 may be a desktop computer, a portable computer, a server, a PDA (Personal Digital Assistant), a mobile phone, a tablet computer, a wireless terminal device, a communication device, an embedded device, etc. The embodiment of the present application does not limit the type of the computer device 100.
[0076] In the embodiment of the present application, if the computer device 100 is a server, the server can be an independent server, or a server network or server cluster composed of servers. For example, the server described in the embodiment of the present invention includes but is not limited to a computer, a network host, a single network server, a plurality of network server sets or a cloud server composed of a plurality of servers. Among them, the cloud server is composed of a large number of computers or network servers based on cloud computing (Cloud Computing). In the embodiment of the present invention, the computer device 100 and other computer devices (such as terminals) can communicate with each other through any communication method, including but not limited to mobile communications based on the 3rd Generation Partnership Project (3GPP), Long Term Evolution (LTE), Worldwide Interoperability for Microwave Access (WiMAX), or computer network communications based on TCP / IP Protocol Suite (TCP / IP), User Datagram Protocol (UDP), etc.
[0077] Those skilled in the art will understand that Figure 1The application environment shown in the figure is only one application scenario of the present application solution and does not constitute a limitation on the application scenario of the present application solution. Other application environments may also include Figure 1 More or fewer computer devices shown in, or computer device network connection relationships, such as Figure 1 Only one computer device is shown in the figure. It can be understood that the business simulation system can also include one or more other computer devices connected to the computer device network, which is not specifically limited here.
[0078] In addition, if Figure 1 As shown, the business simulation system may further include a memory 200 for simulating business data, such as storing a plurality of simulation class data of a target business.
[0079] It should be noted that Figure 1 The scenario diagram of the business simulation system shown is only an example. The business simulation system and scenario described in the embodiment of the present invention are intended to more clearly illustrate the technical solution of the embodiment of the present invention, and do not constitute a limitation on the technical solution provided by the embodiment of the present invention. Ordinary technicians in this field can know that with the evolution of the business simulation system and the emergence of new business scenarios, the technical solution provided by the embodiment of the present invention is also applicable to similar technical problems.
[0080] First, a business simulation method is provided in an embodiment of the present invention. The business simulation method is applied in a computer device, and the business simulation method includes: for a target business to be simulated, simulating the simulation process of the target business as clock refresh events of multiple clock refreshers, the target business is a discrete event business, the multiple clock refreshers include a central clock refresher for processing clock refresh events corresponding to the target business, multiple element clock refreshers corresponding to elements of different behaviors in the target business, and multiple behavior clock refreshers corresponding to different simulation actions, the different simulation actions are simulation actions that need to be completed by elements of different behaviors in the target business; based on the clock refresh events of the multiple clock refreshers, simulating the target business.
[0081] like Figure 2 FIG. 1 is a flow chart of an embodiment of a business simulation method according to an embodiment of the present invention. The business simulation method includes:
[0082] 201. For a target service to be simulated, simulate a simulation process of the target service as clock refresh events of multiple clock refreshers.
[0083] Among them, people often encounter a kind of complex business in production activities and social activities. There are many events in this kind of business that appear and disappear from time to time, act and stop from time to time, and the start and stop occur at some discrete moments with a certain randomness. For example, the berthing of ships in ports, the start and stop of machine tools on production lines, the connection and disconnection of telephones, the progress and exit of a certain operation in computer systems, all of these have the above characteristics. This kind of business is called a discrete event business. In the embodiment of the present application, the target business is a discrete event business, that is, the target business includes multiple discrete events.
[0084] In the embodiment of the present application, the target business can be various types of businesses to be simulated, such as logistics business, transaction business, transportation business, traffic business, etc. The type of the target business can be set according to the actual scenario and is not limited here.
[0085] Since the business simulation of the logistics industry needs to simulate tens of thousands of outlets and hundreds of transfer stations, involving hundreds of millions of orders, millions of shifts and loading scenarios, existing simulation software is often unable to cope with it. Therefore, in the embodiment of the present application, the target business is preferably a logistics business, such as an express delivery business in a logistics scenario.
[0086] The essence of this application is to use a discrete event-driven method to perform business simulation, which requires simulating the state changes of all elements of the target business in the simulation world as time goes on. The state change logic can be abstracted into a clock refresh event. The simulation world is unified according to the same clock step (such as 1 minute), and the clock refresh events generated at the same time interval in the simulation cycle from the beginning to the end are inserted into the discrete event queue to promote the operation of the entire target business simulation.
[0087] as follows Figure 3 As shown in the figure, to simulate a scenario of a certain day, the step size is set to 1 minute, and a total of 1440 clock refresh events from 00:00 to 23:59 will be inserted into the discrete event queue. During the simulation run, all clock refresh events in the queue will be executed according to the time priority.
[0088] Based on this, in the embodiment of the present application, multiple clock refreshers are set to realize the simulation of the target business. Specifically, the multiple clock refreshers include a central clock refresher for processing clock refresh events corresponding to the target business, multiple element clock refreshers corresponding to elements of different behaviors in the target business, and multiple behavior clock refreshers corresponding to different simulation actions. The different simulation actions are simulation actions that need to be completed by elements of different behaviors in the target business.
[0089] The clock refresher is an abstract definition of an object consisting of a refresh method (required), a pre-method, and a post-method. Objects that implement this definition are all clock refreshers.
[0090] Central clock refresher: It consists of a front module (implementing the front method), a post module (implementing the post method) and a list of registered elements. Through the registration call, the clocks of all registered element clock refreshers are synchronously refreshed according to the unified clock step.
[0091] 202. Simulate the target service based on clock refresh events of the multiple clock refreshers.
[0092] In the embodiment of the present application, the simulation process of the target business is simulated as a clock refresh event of multiple clock refreshers by treating the target business for simulation. The target business is a discrete event business. The multiple clock refreshers include a central clock refresher for processing the clock refresh event corresponding to the target business, multiple element clock refreshers corresponding to elements of different behaviors in the target business, and multiple behavior clock refreshers corresponding to different simulation actions. The different simulation actions are respectively simulation actions that need to be completed by elements of different behaviors in the target business; based on the clock refresh events of the multiple clock refreshers, the target business is simulated. In the embodiment of the present application, the discrete event driven method is used for simulation. Different from the existing simulation software directly using the simulation software developer, the target business is simulated as a clock refresh event of multiple clock refreshers including a central clock refresher, an element clock refresher, and a behavior clock refresher. It will not be limited by the simulation scenario and simulation condition restrictions of the simulation software, and can more flexibly realize simulation in complex scenarios. The simulation has high simulation flexibility, wide application scenarios, and strong expansibility.
[0093] like Figure 4 As shown, in some embodiments of the present application, the simulation process of the target service in step 201 may be simulated as a clock refresh event of multiple clock refreshers in the clock refresh event, which may include:
[0094] 401. Create a new central clock refresher based on the target service.
[0095] The central clock refresher is used to synchronously refresh the clocks of all element clock refreshers registered with the central clock refresher according to a preset clock step length by means of registration call;
[0096] In an embodiment of the present application, a discrete event queue for target business simulation is pre-established. The discrete event queue is used to insert clock refresh events of each clock refresher. Specifically, the discrete event queue may be created when the business simulation system is initialized. The clock refresh event is a type of discrete event, which is generated according to a clock step period and placed in a discrete event queue and executed in order of event priority. The central clock refresher is an object in the clock refresh event.
[0097] 402. Construct a plurality of different element clock refreshers based on elements with different behaviors in the target service, and register the element clock refreshers in the central clock refresher;
[0098] 403. Based on different simulation actions that need to be completed by elements of different behaviors in the target business, construct a plurality of different behavior clock refreshers for each element clock refresher.
[0099] In some embodiments of the present application, the central clock refresher includes a front module, a refresh module and a rear module, and each element clock refresher includes at least one of the front module, the refresh module and the rear module;
[0100] The front module in the element clock refresher is used to call the preset preparation business processing logic in the current element clock refresher to simulate the execution of the preparation business; the refresh module in the element clock refresher is used to call the behavior clock refresher of the current element clock refresher related to the refresh business to simulate the execution of refresh businesses with different behaviors; the post module in the element clock refresher is used to call the preset result processing business logic in the current element clock refresher to simulate the execution of the result processing business;
[0101] The front module in the central clock refresher is used to call the front module in each element clock refresher to simulate the execution of the corresponding preparation business, the refresh module in the central clock refresher is used to call the refresh module in each element clock refresher to simulate the execution of the corresponding refresh business, and the post module in the central clock refresher is used to call the post module in each element clock refresher to simulate the execution of the corresponding result processing business.
[0102] like Figure 5 As shown, in some embodiments of the present application, the simulation of the target service based on the clock refresh events of the multiple clock refreshers in step 202 may include:
[0103] 501. Process a clock refresh event every preset clock step. In each clock refresh event, use the front-end module in the central clock refresher to call the front-end module in each element clock refresher to execute the preset preparation business processing logic and simulate the execution of the preparation business.
[0104] Among them, the preparation business is the business corresponding to the preparatory work before each clock refresh. For example, in the logistics scenario, the element clock refresher includes a vehicle refresher. The front module in the vehicle refresher is used for logistics site processing to vehicle business, and the logistics site processing to vehicle business is the preparation business.
[0105] 502. Using the refresh module in the central clock refresher, call the refresh module in each element clock refresher to implement the behavior clock refresher related to the refresh service of each element clock refresher, and simulate the execution of refresh services with different behaviors.
[0106] 503. Using the post-module in the central clock refresher, call the post-module in each element clock refresher, execute the result processing business processing logic preset in each element clock refresher, and simulate the execution of the result processing business.
[0107] Each clock refresh event requires a series of state change calculations to be performed. The calculation method based on central clock synchronization can well implement this calculation process. In a specific embodiment, Figure 6 As shown, it is a schematic diagram of a specific architecture of the business simulation system in the embodiment of the present application, wherein the functions of each part are as follows:
[0108] TimeRefresh: The central clock refresher, through registration and calling, synchronously refreshes the clocks of all registered element clock refreshers according to a unified clock step. A refresh module is provided to trigger the state change of all registered element clock refreshers within the current clock step; a before module is provided to perform preparatory work before each clock refresh; and an after module is provided to perform result processing after each clock refresh. Each clock refresh event is executed by a TimeRefresh. Here, the element clock refresher registration list can be sliced and grouped, and parallel calculations can be performed in a multi-threaded or distributed manner to meet the efficiency requirements of large data volume calculations.
[0109] Specifically, the number of groups can be set by configuring the number of threads. Since the number of threads is configurable, the number of groups is equal to the number of threads. The size of each group is obtained by dividing the total number of clock refreshers by the number of groups. Each group is assigned a thread to process the refresh actions of several element refreshers in the group, that is, to complete the slice grouping of the element clock refresher registration list.
[0110] ElementRefresh: Element clock refresher, build different element clock refreshers for elements with different behaviors (such as vehicles, outlets, people in logistics scenarios, etc.). Each element clock refresher can have a refresh module (refresh module), a pre-module (before module), and a post-module (after module) similar to TimeRefresh. In order to achieve clock synchronization of all elements in the entire simulation world, ElementRefresh needs to be registered with the central clock refresher.
[0111] ActionRefresh: Behavior clock refresher. The simulation actions that the element clock refresher needs to complete are ultimately executed by the behavior clock refresher, such as unloading, sorting, loading, etc. An element clock refresher can have multiple behaviors.
[0112] The execution process of a clock refresh event is as follows:
[0113] The central clock refresher executes the preset business logic (before business logic) in the before module. If the before module exists in the registered element clock refresher, the preset business logic (before business logic) of the before module in the element clock refresher is also executed.
[0114] The central clock refresher calls the preset business logic (refresh business logic) in the refresh module of all registered element clock refreshers.
[0115] The element clock refresher calls the preset business logic (refresh business logic) in all its behavior clock refreshers.
[0116] The central clock refresher executes the preset business logic (after business logic) in the after module. If the after module exists in the registered element clock refresher, the preset business logic (after business logic) of the after module in the element clock refresher is also executed.
[0117] In some embodiments of the present application, the business simulation method is applied to a distributed system. In a distributed environment, Figure 6 The overall architecture shown can be evolved into Figure 7 shown.
[0118] Figure 7The part in the bold box indicates deployment on the same node. In a distributed environment, the central clock refresher is deployed on a node, and multiple element clock refreshers and their corresponding behavior clock refreshers can be distributed on multiple nodes in slices and groups according to certain rules. Specifically, before simulating the target service based on the clock refresh events of the multiple clock refreshers, the method also includes: deploying the central clock refresher on a node of the distributed system; slicing and grouping the multiple element clock refreshers and their corresponding behavior clock refreshers according to preset strategies, and deploying them on multiple nodes of the distributed system.
[0119] At this time, the element clock refresher is registered with the central clock refresher. During the operation of each clock refresh event, the central clock refresher uniformly notifies all element clock refreshers to perform refresh, and then calls the refresh method of the behavior clock refresher to simulate the corresponding behavior, thereby realizing clock synchronization of different nodes in a distributed environment.
[0120] When the target business is a logistics business, the multiple element clock refreshers include a vehicle refresher and a site refresher; the site refresher includes an unloading refresher, a sorting refresher and a loading refresher;
[0121] The central clock refresher is used to synchronously refresh the clocks of all registered site refreshers according to a preset clock step length by means of registration and calling;
[0122] The vehicle refresher is an element clock refresher for constructing vehicle elements for executing vehicle arrival and departure behaviors; the site refresher is an element clock refresher for constructing site elements for executing unloading, sorting and loading behaviors;
[0123] The unloading refresher is used to simulate the unloading behavior of vehicles at the logistics site;
[0124] The sorting refresher is used to simulate the sorting behavior of express items in the logistics site;
[0125] The loading refresher is used to simulate the loading behavior of express parcels in a logistics site.
[0126] In a specific implementation scenario, taking the logistics industry as an example, we simulate the entire network with hundreds of millions of express parcels, using millions of transport capacity, and circulating between tens of thousands of sites, from unloading to express parcel sorting, and then to loading and dispatching. The business process is as follows: Figure 8 As shown, the business simulation method based on central clock synchronization in the embodiment of the present application is adopted, and the architecture is as follows Fig. 9 As shown, the functions of each module are as follows:
[0127] TimeRefresh: The central clock refresher, through registration and calling, synchronously refreshes the clocks of all registered site refreshers according to the unified clock step (step length is 1 minute). The Refresh module triggers the state change of all registered site refreshers within the current clock step length; the before module calls the before business logic of the vehicle refresher; the after module calls the after business logic of the vehicle refresher.
[0128] VehicleRefresh: A vehicle refresher that is built for vehicle elements that can execute vehicle arrival and departure behaviors. The before business logic in the before module simulates the site processing vehicle arrival business; the after business logic in the after module simulates the site processing departure business. In this example, the vehicle refresher does not have a refresh module.
[0129] ZoneRefresh: A site refresher, an element refresher built for site elements that can perform unloading, sorting, and loading behaviors. The multiple site refreshers in the figure simulate multiple different transfer sites or outlets in the logistics scenario. The site refresher has a refresh module field. In this embodiment, the site refresher has no before module and after module. All site refreshers are registered to the central clock refresher to achieve clock synchronization of all logistics sites in the entire simulation world.
[0130] UnloadRefresh: Unload refresher, a behavior refresher of the venue element, used to simulate the unloading behavior of vehicles in the venue. In this embodiment, a venue will have multiple vehicles sent from multiple other venues, and each vehicle must perform the unloading action, so multiple unload refreshers will be constructed.
[0131] SortRefresh: Sorting refresher, a behavior refresher of venue elements, used to simulate the sorting behavior of express parcels in the venue.
[0132] LoadRefresh: Loading refresher, a behavior refresher of site elements, used to simulate the loading behavior of express parcels in the site.
[0133] The business process simulated using one clock step as an example is as follows:
[0134] (1) Every 1 minute, a clock refresh event is processed and the before business logic of the central clock refresher is executed to simulate the vehicle arrival business, including the calculation of unloading and loading, calculation of vehicle queues, and calculation of idle unloading checkpoints.
[0135] (2) Execute the refresh business logic of the central clock refresher, slice and group the registration list of the venue element refresher, and use multi-threading to parallelly execute the refresh business logic in the venue refresher.
[0136] (3) The refresh business logic of the site refresher simulates the operations such as shift switching and moving vehicles to the loading and unloading checkpoints, and then executes the unloading, sorting and refresh business logic of the loading refresher in sequence, simulating the unloading of vehicles at the unloading checkpoint and releasing the checkpoint, simulating the sorting of express parcels in the site, simulating the loading of vehicles at the loading checkpoint, and simulating the stockpiling of express parcels.
[0137] (4) Execute the after business logic of the central clock refresher to simulate the departure business: including early departure when fully loaded, departure at the planned time, release of the loading gate, and scheduled arrival of the vehicle at the next site.
[0138] In order to better implement the business simulation method in the embodiment of the present invention, based on the business simulation method, the embodiment of the present invention also provides a business simulation device, which is applied to a computer device, such as Fig.10 As shown, the business simulation device 1000 includes:
[0139] The business simulation unit 1001 is used to simulate the simulation process of the target business as clock refresh events of multiple clock refreshers, the target business is a discrete event business, and the multiple clock refreshers include a central clock refresher for processing the clock refresh events corresponding to the target business, multiple element clock refreshers corresponding to elements of different behaviors in the target business, and multiple behavior clock refreshers corresponding to different simulation actions, and the different simulation actions are respectively simulation actions that need to be completed by elements of different behaviors in the target business;
[0140] The service simulation unit 1002 is configured to simulate the target service based on the clock refresh events of the multiple clock refreshers.
[0141] In the embodiment of the present application, the simulation process of the target business to be simulated is simulated as a clock refresh event of multiple clock refreshers by the business simulation unit 1001. The target business is a discrete event business. The multiple clock refreshers include a central clock refresher for processing the clock refresh event corresponding to the target business, multiple element clock refreshers corresponding to elements of different behaviors in the target business, and multiple behavior clock refreshers corresponding to different simulation actions. The different simulation actions are respectively simulation actions that need to be completed by elements of different behaviors in the target business; the business simulation unit 1002 simulates the target business based on the clock refresh events of the multiple clock refreshers. In the embodiment of the present application, the discrete event driven method is used for simulation. Different from the existing simulation software directly using the simulation software developer, the target business is simulated as a clock refresh event of multiple clock refreshers including a central clock refresher, an element clock refresher, and a behavior clock refresher. It will not be limited by the simulation scenario and simulation condition restrictions of the simulation software, and can more flexibly realize simulation in complex scenarios. The simulation has high simulation flexibility, wide application scenarios, and strong expansibility.
[0142] In some embodiments of the present application, the service simulation unit is specifically used for:
[0143] Based on the target service, a central clock refresher is newly established, and the central clock refresher is used to synchronously refresh the clocks of all element clock refreshers registered with the central clock refresher according to a preset clock step length by means of registration call;
[0144] Building a plurality of different element clock refreshers based on elements with different behaviors in the target business, and registering the element clock refreshers in the central clock refresher;
[0145] Based on different simulation actions that need to be completed by elements of different behaviors in the target business, a plurality of different behavior clock refreshers are constructed for each element clock refresher.
[0146] In some embodiments of the present application, the central clock refresher includes a front module, a refresh module and a rear module, and each element clock refresher includes at least one of the front module, the refresh module and the rear module;
[0147] The front module in the element clock refresher is used to call the preset preparation business processing logic in the current element clock refresher to simulate the execution of the preparation business; the refresh module in the element clock refresher is used to call the behavior clock refresher of the current element clock refresher related to the refresh business to simulate the execution of refresh businesses with different behaviors; the post module in the element clock refresher is used to call the preset result processing business logic in the current element clock refresher to simulate the execution of the result processing business;
[0148] The front module in the central clock refresher is used to call the front module in each element clock refresher to simulate the execution of the corresponding preparation business, the refresh module in the central clock refresher is used to call the refresh module in each element clock refresher to simulate the execution of the corresponding refresh business, and the post module in the central clock refresher is used to call the post module in each element clock refresher to simulate the execution of the corresponding result processing business.
[0149] In some embodiments of the present application, the business simulation unit is specifically used to:
[0150] Processing a clock refresh event at every preset clock step length, in each clock refresh event, using the front-end module in the central clock refresher, calling the front-end module in each element clock refresher, executing the preset preparation business processing logic, and simulating the execution of the preparation business;
[0151] Using the refresh module in the central clock refresher, the refresh modules in each element clock refresher are called to implement the behavior clock refresher related to the refresh service of each element clock refresher, and simulate the refresh services with different behaviors;
[0152] The post-module in the central clock refresher is used to call the post-module in each element clock refresher, execute the result processing business processing logic preset in each element clock refresher, and simulate the execution of the result processing business.
[0153] In some embodiments of the present application, the target business is a logistics business, and the multiple element clock refreshers include a vehicle refresher and a site refresher; the site refresher includes an unloading refresher, a sorting refresher, and a loading refresher;
[0154] The central clock refresher is used to synchronously refresh the clocks of all registered site refreshers according to a preset clock step length by means of registration and calling;
[0155] The vehicle refresher is an element clock refresher for constructing vehicle elements for executing vehicle arrival and departure behaviors; the site refresher is an element clock refresher for constructing site elements for executing unloading, sorting and loading behaviors;
[0156] The unloading refresher is used to simulate the unloading behavior of vehicles at the logistics site;
[0157] The sorting refresher is used to simulate the sorting behavior of express items in the logistics site;
[0158] The loading refresher is used to simulate the loading behavior of express parcels in a logistics site.
[0159] In some embodiments of the present application, the business simulation method is applied to a distributed system, and the device further includes a deployment unit, which is specifically used to:
[0160] Before simulating the target service based on the clock refresh events of the multiple clock refreshers, deploying the central clock refresher on a node of the distributed system;
[0161] The multiple element clock refreshers and their corresponding behavior clock refreshers are sliced and grouped according to a preset strategy, and deployed on multiple nodes of the distributed system.
[0162] The embodiment of the present invention further provides a computer device, which integrates any one of the service simulation devices provided in the embodiment of the present invention, and the computer device includes:
[0163] one or more processors;
[0164] Memory; and
[0165] One or more applications, wherein the one or more applications are stored in the memory and are configured to be executed by the processor to perform the steps of the business simulation method described in any of the above business simulation method embodiments.
[0166] The embodiment of the present invention further provides a computer device, which integrates any one of the service simulation devices provided by the embodiment of the present invention. Fig.11 As shown, it shows a schematic diagram of the structure of a computer device involved in an embodiment of the present invention, specifically:
[0167] The computer device may include components such as a processor 1101 with one or more processing cores, a memory 1102 with one or more computer-readable storage media, a power supply 1103, and an input unit 1104. Those skilled in the art will appreciate that Fig.11 The computer device structure shown in the figure does not constitute a limitation on the computer device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently. Among them:
[0168] The processor 1101 is the control center of the computer device. It uses various interfaces and lines to connect various parts of the entire computer device. By running or executing software programs and / or modules stored in the memory 1102 and calling data stored in the memory 1102, it executes various functions of the computer device and processes data, thereby monitoring the computer device as a whole. Optionally, the processor 1101 may include one or more processing cores; preferably, the processor 1101 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 1101.
[0169] The memory 1102 can be used to store software programs and modules. The processor 1101 executes various functional applications and data processing by running the software programs and modules stored in the memory 1102. The memory 1102 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 1102 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 1102 may also include a memory controller to provide the processor 1101 with access to the memory 1102.
[0170] The computer device also includes a power supply 1103 for supplying power to various components. Preferably, the power supply 1103 can be logically connected to the processor 1101 through a power management system, so that the power management system can manage charging, discharging, power consumption and other functions. The power supply 1103 can also include one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, power status indicators and other arbitrary components.
[0171] The computer device may further include an input unit 1104, which may be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.
[0172] Although not shown, the computer device may further include a display unit, etc., which will not be described in detail herein. Specifically, in this embodiment, the processor 1101 in the computer device will load the executable files corresponding to the processes of one or more application programs into the memory 1102 according to the following instructions, and the processor 1101 will run the application programs stored in the memory 1102, thereby realizing various functions, as follows:
[0173] For the target business to be simulated, the simulation process of the target business is simulated as clock refresh events of multiple clock refreshers, the target business is a discrete event business, the multiple clock refreshers include a central clock refresher for processing clock refresh events corresponding to the target business, multiple element clock refreshers corresponding to elements of different behaviors in the target business, and multiple behavior clock refreshers corresponding to different simulation actions, the different simulation actions are respectively simulation actions that need to be completed by elements of different behaviors in the target business;
[0174] The target service is simulated based on the clock refresh events of the multiple clock refreshers.
[0175] A person of ordinary skill in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by instructions, or by controlling related hardware through instructions. The instructions may be stored in a computer-readable storage medium and loaded and executed by a processor.
[0176] To this end, an embodiment of the present invention provides a computer-readable storage medium, which may include: a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc. A computer program is stored thereon, and the computer program is loaded by a processor to execute the steps in any one of the business simulation methods provided in the embodiments of the present invention. For example, the computer program may be loaded by a processor to execute the following steps:
[0177] For the target business to be simulated, the simulation process of the target business is simulated as clock refresh events of multiple clock refreshers, the target business is a discrete event business, the multiple clock refreshers include a central clock refresher for processing clock refresh events corresponding to the target business, multiple element clock refreshers corresponding to elements of different behaviors in the target business, and multiple behavior clock refreshers corresponding to different simulation actions, the different simulation actions are respectively simulation actions that need to be completed by elements of different behaviors in the target business;
[0178] The target service is simulated based on the clock refresh events of the multiple clock refreshers.
[0179] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the detailed description of other embodiments above, and will not be repeated here.
[0180] In specific implementation, the above units or structures can be implemented as independent entities, or can be arbitrarily combined to be implemented as the same or several entities. The specific implementation of the above units or structures can refer to the previous method embodiments, which will not be repeated here.
[0181] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.
[0182] The above is a detailed introduction to a business simulation method, device, computer equipment and storage medium provided in an embodiment of the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for technical personnel in this field, according to the idea of the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.
Claims
1. A business simulation method, characterized in that: The method comprises: For the target business to be simulated, the simulation process of the target business is simulated as a clock refresh event of multiple clock refreshers, the target business is a discrete event business, the multiple clock refreshers include a central clock refresher for processing the clock refresh event corresponding to the target business, multiple element clock refreshers corresponding to elements of different behaviors in the target business, and multiple behavior clock refreshers corresponding to different simulation actions, the different simulation actions are respectively simulation actions that need to be completed by elements of different behaviors in the target business, wherein the central clock refresher includes a front module, a refresh module and a post module, each element clock refresher includes at least one of the front module, the refresh module and the post module, so as to synchronously refresh the clocks of all registered element clock refreshers according to a unified clock step by way of registration and calling; simulating the target service based on the clock refresh events of the multiple clock refreshers; Among them, the front module in the central clock refresher is used to call the front module in each element clock refresher to simulate the execution of the corresponding preparation business, the refresh module in the central clock refresher is used to call the refresh module in each element clock refresher to simulate the execution of the corresponding refresh business, and the post module in the central clock refresher is used to call the post module in each element clock refresher to simulate the execution of the corresponding result processing business.
2. The business simulation method according to claim 1, characterized in that: The simulating process of simulating the target service as a clock refresh event of a plurality of clock refreshers in the clock refresh event includes: Based on the target service, a new central clock refresher is created, and the central clock refresher is used to synchronously refresh the clocks of all element clock refreshers registered with the central clock refresher according to a preset clock step length by means of registration and calling; Building a plurality of different element clock refreshers based on elements with different behaviors in the target business, and registering the element clock refreshers in the central clock refresher; Based on different simulation actions that need to be completed by elements of different behaviors in the target business, a plurality of different behavior clock refreshers are constructed for each element clock refresher.
3. The business simulation method according to claim 2, characterized in that: The front module in the element clock refresher is used to call the preparation business processing logic preset in the current element clock refresher to simulate the execution of the preparation business; the refresh module in the element clock refresher is used to call the behavior clock refresher of the current element clock refresher related to the refresh business to simulate the execution of refresh businesses with different behaviors; the post module in the element clock refresher is used to call the result processing business logic preset in the current element clock refresher to simulate the execution of the result processing business.
4. The business simulation method according to claim 3, characterized in that: The simulating the target service based on the clock refresh events of the multiple clock refreshers includes: Processing a clock refresh event at every preset clock step length, in each clock refresh event, using the front-end module in the central clock refresher, calling the front-end module in each element clock refresher, executing the preset preparation service processing logic, and simulating the execution of the preparation service; Using the refresh module in the central clock refresher, the refresh modules in each element clock refresher are called to implement the behavior clock refresher related to the refresh service of each element clock refresher, and simulate the refresh services with different behaviors; The post-module in the central clock refresher is used to call the post-module in each element clock refresher, execute the result processing business processing logic preset in each element clock refresher, and simulate the execution of the result processing business.
5. The business simulation method according to any one of claims 1 to 4, characterized in that: The target business is a logistics business, the multiple element clock refreshers include a vehicle refresher and a site refresher; the site refresher includes an unloading refresher, a sorting refresher and a loading refresher; The central clock refresher is used to synchronously refresh the clocks of all registered site refreshers according to a preset clock step length by means of registration and calling; The vehicle refresher is an element clock refresher for constructing vehicle elements for executing vehicle arrival and departure behaviors; the site refresher is an element clock refresher for constructing site elements for executing unloading, sorting and loading behaviors; The unloading refresher is used to simulate the unloading behavior of vehicles at the logistics site; The sorting refresher is used to simulate the sorting behavior of express items in the logistics site; The loading refresher is used to simulate the loading behavior of express parcels in a logistics site.
6. The business simulation method according to any one of claims 1 to 4, characterized in that: The business simulation method is applied to a distributed system. Before simulating the target business based on the clock refresh events of the multiple clock refreshers, the method further includes: Deploying the central clock refresher on a node of the distributed system; The multiple element clock refreshers and their corresponding behavior clock refreshers are sliced and grouped according to a preset strategy, and deployed on multiple nodes of the distributed system.
7. A business simulation device, characterized in that: The device comprises: A business simulation unit, for simulating a target business to be simulated, simulating the simulation process of the target business as clock refresh events of multiple clock refreshers, wherein the target business is a discrete event business, and the multiple clock refreshers include a central clock refresher for processing clock refresh events corresponding to the target business, multiple element clock refreshers corresponding to elements of different behaviors in the target business, and multiple behavior clock refreshers corresponding to different simulation actions, wherein the different simulation actions are simulation actions that need to be completed by elements of different behaviors in the target business, wherein the central clock refresher includes a front module, a refresh module and a post module, and each element clock refresher includes at least one of the front module, the refresh module and the post module, so as to synchronously refresh the clocks of all registered element clock refreshers according to a unified clock step by means of registration and calling; A service simulation unit, configured to simulate the target service based on clock refresh events of the multiple clock refreshers; Among them, the front module in the central clock refresher is used to call the front module in each element clock refresher to simulate the execution of the corresponding preparation business, the refresh module in the central clock refresher is used to call the refresh module in each element clock refresher to simulate the execution of the corresponding refresh business, and the post module in the central clock refresher is used to call the post module in each element clock refresher to simulate the execution of the corresponding result processing business.
8. The service simulation device according to claim 7, characterized in that: The business simulation unit is specifically used for: Based on the target service, a new central clock refresher is created, and the central clock refresher is used to synchronously refresh the clocks of all element clock refreshers registered with the central clock refresher according to a preset clock step length by means of registration and calling; Building a plurality of different element clock refreshers based on elements with different behaviors in the target business, and registering the element clock refreshers in the central clock refresher; Based on different simulation actions that need to be completed by elements of different behaviors in the target business, a plurality of different behavior clock refreshers are constructed for each element clock refresher.
9. A computer device, characterized in that: The computer device comprises: one or more processors; Memory; and One or more application programs, wherein the one or more application programs are stored in the memory and are configured to be executed by the processor to implement the business simulation method according to any one of claims 1 to 6.
10. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and the computer program is loaded by a processor to execute the steps in the business simulation method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Service simulation testing system and realizing method thereof
CN103002490A
Multi-task-based discrete event parallel simulation and time synchronization method
CN104866374A
Method for simulating operation of railway logistics cent oriented to a multi-freight functional area
CN109063225A
Goods sorting method and device, goods location processing method and device, equipment and storage medium thereof
CN110310057A
Efficient discrete event simulation using priority queue tagging
US20120239372A1
