Command instruction execution method and device, equipment and storage medium
By receiving and processing the command personnel's activation instructions, determining the participants and their tasks, and generating instructions, the problem of low command and dispatch efficiency in the existing technology is solved, and more efficient command work execution is achieved.
Patent Information
- Application Number
- CN202411698977.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-25
- Publication Date
- 2025-04-11
AI Technical Summary
When the prior art conducts command and dispatch through the command channel, it is difficult for personnel to focus on specific work, resulting in low command work efficiency.
By receiving the start instructions for the target plan sent by the commander, the participants involved in the target plan and their tasks are determined, thereby generating and sending specific instructions to the terminal equipment of the participants to guide them to perform tasks.
The efficiency of command work is improved, allowing participants to clarify their tasks and execute them quickly, thereby improving the coordination and efficiency of the entire command process.
Smart Images

Figure CN119809174A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of operation and maintenance, and specifically relates to a command execution method, device, equipment and storage medium. Background Art
[0002] In the face of sudden events, relevant departments need to communicate information quickly and effectively in order to fully understand the relevant situation, and then make timely and scientific decisions, dispatch various resources such as manpower and material resources, and realize command and dispatch. In the prior art, command and dispatch generally uses command channels to communicate information among various departments, understand relevant situations, and issue decisions and dispatch resources through command channels. It can be seen from the above description that the prior art method of command and dispatch through command channels cannot enable participants to focus on the specific work they should handle, so the efficiency of command work in the prior art is low.
[0003] Therefore, a command instruction execution method is needed that can improve the efficiency of command work. Summary of the invention
[0004] The embodiment of the present application provides a command instruction execution method, which can improve the efficiency of command work. In a first aspect, an embodiment of the present application provides a method for executing a command instruction, the method comprising: receiving a start instruction for a target plan sent by a commander, the start instruction being used to instruct a command system to start the command process of the target plan; based on the start instruction, determining from a preset plan configuration table a plurality of first participants involved in the target plan, and a first task to be performed by each of the first participants in the target plan; determining first indication information corresponding to each of the first participants based on each of the first tasks, the first indication information being used to instruct the first participant to perform the first task; and sending the first indication information corresponding to the first participant to a terminal device of the first participant, so that the first participant performs the first task based on the first indication information.
[0005] In a second aspect, an embodiment of the present application provides a command instruction execution device, which includes: a first receiving module, used to receive a start-up instruction for a target plan sent by a commander, and the start-up instruction is used to instruct the command system to start the command process of the target plan; a first determination module, used to determine, based on the start-up instruction, from a preset plan configuration table, multiple first participants involved in the target plan, and the first tasks to be performed by each of the first participants in the target plan; a second determination module, used to determine the first indication information corresponding to each of the first participants based on each of the first tasks, and the first indication information is used to instruct the first participant to perform the first task; a first sending module, used to send the first indication information corresponding to the first participant to the terminal device of the first participant, so that the first participant performs the first task based on the first indication information.
[0006] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method described in the first aspect.
[0007] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.
[0008] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.
[0009] In an embodiment of the present application, a start instruction for a target plan sent by a commander is received, and the start instruction is used to instruct the command system to start the command process of the target plan; based on the start instruction, multiple first participants involved in the target plan and the first tasks to be performed by each of the first participants in the target plan are determined from a preset plan configuration table; based on each of the first tasks, first indication information corresponding to each of the first participants is determined, and the first indication information is used to instruct the first participant to perform the first task; and the first indication information corresponding to the first participant is sent to the terminal device of the first participant, so that the first participant performs the first task based on the first indication information, which can improve the efficiency of the command work. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] Figure 1 It is a flowchart of a command instruction execution method provided in an embodiment of the present application; Figure 2 It is a flowchart of a second command instruction execution method provided in an embodiment of the present application; Figure 3 It is a flowchart of a third command instruction execution method provided in an embodiment of the present application; Figure 4 is a flowchart of a fourth command instruction execution method provided in an embodiment of the present application; Figure 5 It is a structural diagram of a command execution system provided by an embodiment of the present application; Figure 6 It is a structural schematic diagram of a command execution device provided in an embodiment of the present application; Figure 7 It is a structural diagram of a command execution device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0011] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0012] The terms "first", "second", etc. in the specification and claims of the present application 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 interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0013] The following is a detailed description of the command instruction execution method provided in the embodiment of the present application through specific embodiments and their application scenarios in conjunction with the accompanying drawings.
[0014] Figure 1 A command execution method provided by an embodiment of the present invention is shown. The method can be executed by an electronic device, and the electronic device may include: a server and / or a terminal device, wherein the terminal device may be, for example, a vehicle-mounted terminal or a mobile phone terminal. In other words, the method can be executed by software or hardware installed in the command execution device, and the method includes the following steps: Step 102: Receive a start instruction for the target solution sent by a commander.
[0015] The start instruction is used to instruct the command system to start the command process of the target solution.
[0016] The command system receives the start instruction for the target solution sent by the commander, and the start instruction is used to instruct the command system to start the command process of the target solution, and the start process can be sent through page elements (buttons, texts, icons, etc.) or through APP applications. In other words, the commander sends the start instruction to the command system through his terminal device, thereby instructing the command system to start the command process of the target solution.
[0017] Specifically, the start instruction includes identification information of the target solution, which may be name information of the target solution or code information of the target solution, so that the command system can determine the commandable solution that needs to be started according to the indication information. The commandable solution may be a solution executed in the terminal device (such as a solution for commanding multiple participants to inspect and maintain other applications or systems in their terminal devices), or a solution executed outside the terminal device (such as a sports meeting held in a school).
[0018] Step 104: Based on the start instruction, determine a plurality of first participants involved in the target solution and a first task to be performed by each of the first participants in the target solution from a preset solution configuration table.
[0019] After receiving the start instruction for the target solution, the command system determines the multiple first participants required to execute the target solution and the first tasks that each first participant needs to perform in the target solution based on the preset solution configuration table. In other words, the solution configuration table pre-stores the information required for the execution of multiple commandable solutions, such as the participants who need to perform tasks designed when executing each solution, and the task information that each participant needs to perform.
[0020] Specifically, the pre-set schemes in the file configuration table may include a personnel presence detection scheme, a sports meeting start scheme, or other system maintenance schemes, etc. After receiving the set command scheme, the command system can determine the multiple participants set in the command scheme and the tasks that each participant needs to perform. For example, when starting the personnel presence detection scheme, it can determine the first participant A to execute the scheme and the first task (opening the sign-in function) that the first participant needs to perform.
[0021] Specifically, the command system can receive editing information sent by the system administrator, wherein the editing information is generated based on the operation performed on the solution information stored in the solution configuration table. The system administrator can be the same as the command personnel or different from the command personnel, and there is no specific limitation here. In other words, the system administrator can modify the solution configuration table in the command system, such as modifying the specific task information of the commandable solution that already exists in the solution configuration table, and can also add a new commandable solution to the solution configuration table.
[0022] Step 106: Determine first indication information corresponding to each of the first participants based on each of the first tasks.
[0023] The first instruction information is used to instruct the first participant to perform the first task.
[0024] After determining the multiple first participants required to execute the target plan and the first tasks that each first participant needs to perform, the command system determines the first instruction information corresponding to each first participant based on the first task, wherein the first instruction information is used to instruct each first participant to perform the first task. In other words, the command system determines the content of the instruction to the first participant, i.e., the first instruction information, based on the first tasks that each first participant needs to complete.
[0025] Specifically, when the first instruction information is determined based on the first task, the determined first instruction information may be a specific execution mode or method of the first task. For example, when the first task is to allow the first participant A to turn on the sign-in function, specific instruction information (such as opening the system page and turning on the member sign-in function) may be sent to the first participant A to instruct the first participant A to turn on the sign-in function.
[0026] Step 108: Send the first instruction information corresponding to the first participant to the terminal device of the first participant, so that the first participant performs the first task based on the first instruction information.
[0027] After determining the first instruction information corresponding to the first task that each first participant needs to perform, the command system sends the first instruction information to the terminal device of the corresponding first participant, so that each first participant can receive the first instruction information and perform the first task based on the instruction information in the first instruction information.
[0028] Specifically, the terminal device of the first participant can display the first instruction information to the first participant user, thereby instructing the first participant user to perform the first task. For example, the terminal device of the first participant can display the text "Please open the system page and turn on the member sign-in function" to the first participant user in a web browser, so that the first participant user can perform the first task (turn on the sign-in function) after reading the displayed text.
[0029] The command instruction execution method provided in the embodiment of the present invention receives a start instruction for a target solution sent by a commander, wherein the start instruction is used to instruct a command system to start a command process of the target solution; Based on the start-up instruction, multiple first participants involved in the target plan and the first tasks to be performed by each of the first participants in the target plan are determined from a preset plan configuration table; first indication information corresponding to each of the first participants is determined based on each of the first tasks, and the first indication information is used to instruct the first participant to perform the first task; the first indication information corresponding to the first participant is sent to the terminal device of the first participant, so that the first participant performs the first task based on the first indication information, thereby improving the efficiency of the command work.
[0030] In one implementation, after sending the first instruction information corresponding to each of the first participants so that each of the first participants performs the first task based on the first instruction information (step 108), steps A1-A2 may also be performed: Step A1: receiving feedback information sent by the first participant.
[0031] The feedback information is used to represent progress information of the first task performed by the first participant.
[0032] After the command system sends the first indication information corresponding to each first participant, the command system can also receive feedback information sent by the first participant through its terminal device, and the feedback information is used to represent the progress information of the first participant in executing the first task corresponding to it, wherein the feedback information can be progress information representing the completion of the first task, and can also be progress information representing that the first task is being executed.
[0033] Specifically, the feedback information from the first participant received by the command system can also be used to characterize problem information of the first participant in performing the first task. For example, when the first participant cannot complete the first task based on the first instruction information, the current problem can be determined and feedback information can be determined based on the current problem.
[0034] Step A2: Send the feedback information to the commander, so that the commander determines the task execution status of each of the first participants in the target plan based on the feedback information.
[0035] After receiving the feedback information sent by the first participant through his terminal device, the command system sends the feedback information to the terminal device of the commander, so that the commander determines the task execution status of each first participant in the target based on the feedback information.
[0036] Specifically, after the command system sends the feedback information of each first participant to the command personnel, the command personnel can determine the information execution status of the entire target plan according to the feedback information sent by each first participant.
[0037] Furthermore, when multiple first participants provide information feedback at the same time, the first participants need to process multiple feedback information in a short time, so the commander cannot process all the feedback information well in a short time. Therefore, when the feedback information of the first participants is sent to the terminal device of the commander, the feedback information of the multiple first participants can be sequentially fed back based on the preset feedback order. For example, when the feedback information of multiple first participants is voice information, the commander cannot process all the voice information fed back in a short time, so the multiple voice feedback information can be sorted based on the preset feedback order, and the feedback information can be sent to the commander in the order of priority. Furthermore, when the feedback information of multiple first participants is fed back based on the feedback order, since there may be feedback information of the first participants that needs to be urgently processed, the urgency of the feedback information can be selected when each first participant feeds back the information (the urgency can be set to "general" by default, and the urgency can be determined to be "urgent" when urgent processing is required), and then the feedback information that needs to be urgently processed is displayed first when the feedback information is displayed to the commander, thereby ensuring the normal operation of the command work.
[0038] Specifically, when the command system does not receive feedback information returned by the first participant within the preset time, the command system can determine that the first participant has not completed the first execution task. When the feedback information fed back by the first participant received by the command system is the preset no-response feedback information, it can be determined that the first participant chooses to skip the first task. By setting "the first participant chooses to skip executing the first task", a node for process control by the participant can be set in the task execution process, and then when conducting an advance rehearsal of the target plan, the command system can choose to rehearse or skip the rehearsal execution tasks, thereby improving the rehearsal efficiency.
[0039] In one implementation, after sending the first instruction information corresponding to the first participant so that the first participant performs the first task based on the first instruction information (step 108), steps B1-B3 may be further performed: Step B1: after determining that the first task is completed, determining a second task and a second participant involved in the second task based on the solution configuration table.
[0040] The second task is a task that needs to be performed after the first task is completed.
[0041] After the command system sends the first instruction information corresponding to the first participant and determines that the first participant has completed the first task corresponding to the first instruction information, the command system can determine the second task and the second participant involved in the second task based on the solution configuration table, wherein the second task is the task that needs to be performed after the first task is completed. In other words, after determining that the first task is completed, the command system can determine the task of the next node of the first task (i.e., the task that needs to be performed after the first task is completed) and determine the second participant involved in the task.
[0042] Specifically, during the execution of the target plan, there are two levels of tasks, the first level of tasks is the first task, the second level of tasks is the second task, and the second level of tasks can only be started after the first level of tasks are completed. For example, when the first level of tasks is "please enable the user sign-in function", the second level of tasks can be "request the second participant A to sign in".
[0043] Step B2: Determine second indication information corresponding to the second participant based on the second task.
[0044] The second instruction information is used to instruct the second participant to perform the second task.
[0045] After determining the second task and the second participant, the command system determines second instruction information corresponding to each second participant based on the second task, wherein the second instruction information is used to instruct the second participant to perform the second task.
[0046] Specifically, when the second task is "requesting the second participant A to sign in", the determined second instruction information is instruction information for instructing the second participant to sign in, such as "please open the system and sign in".
[0047] Step B3: Sending the second indication information corresponding to the terminal device of the second participant, so that the second participant performs the second task based on the second indication information.
[0048] After determining the second instruction information, the command system sends the second instruction information corresponding to the second participant's terminal device, so that the second participant can perform the second task based on the second instruction information. The second participant's terminal device can display the second instruction information (such as please open the system and sign in) to the second participant, so that the second participant can perform the second task (such as open the system and sign in) according to the first instruction information.
[0049] Figure 2 is a flow chart of a second command execution method provided in an embodiment of this specification, such as Figure 2 As shown, the schematic diagram includes: Step 202: Receive a start instruction for a target solution sent by a commander.
[0050] The start instruction is used to instruct the command system to start the command process of the target solution.
[0051] Step 204: Based on the start instruction, determine from a preset solution configuration table a plurality of first participants involved in the target solution and a first task to be performed by each of the first participants in the target solution.
[0052] Step 206: Determine first indication information corresponding to each of the first participants based on each of the first tasks.
[0053] The first instruction information is used to instruct the first participant to perform the first task.
[0054] Step 208: Send the first instruction information corresponding to the first participant to the terminal device of the first participant, so that the first participant performs the first task based on the first instruction information.
[0055] Step 210: Receive feedback information sent by the first participant.
[0056] The feedback information is used to represent progress information of the first task performed by the first participant.
[0057] Step 212: Send the feedback information to the commander, so that the commander determines the task execution status of each of the first participants in the target plan based on the feedback information.
[0058] Step 214: After determining that the first task is completed, determine a second task and a second participant involved in the second task based on the solution configuration table.
[0059] The second task is a task that needs to be performed after the first task is completed.
[0060] Step 216: Determine second indication information corresponding to the second participant based on the second task.
[0061] The second instruction information is used to instruct the second participant to perform the second task.
[0062] In the embodiments of the specification, by sending the instruction information returned by the first participant to the terminal device of the commander, the commander can clearly understand the task execution status of each first participant, and by setting multi-level tasks, after the first task is completed, the second participant and the second task of the next node task of the first task are determined, and the second instruction information is sent to the second participant to instruct the second participant to complete the second instruction information, so that the sequential command of the multi-level tasks can be realized. In one implementation, the determining of the first indication information corresponding to each of the first participants based on each of the first tasks (step 106) may include executing steps C1-C3: Step C1: Obtain the solution description information of the target solution.
[0063] The solution description information is used to describe the overall execution plan of the target solution.
[0064] The command system obtains the solution description information of the target solution, and the solution description information is used to describe the overall execution plan of the target solution, wherein the solution description information can be obtained from a preset solution configuration table or from a preset solution description information database.
[0065] Specifically, the command system obtains the program description information of the target program, which describes the overall plan for program execution. For example, when the target program is "a sports meeting program held in the school", the determined program description information may be the overall process information of the sports meeting plan.
[0066] Step C2: determining a person to execute instructions based on the first task.
[0067] The personnel execution instruction is used to represent the instruction to be executed by the first participant.
[0068] The command system determines a personnel execution instruction based on the first task, and the personnel execution instruction is used to represent the instruction to be executed by the first participant, that is, the personnel execution instruction can instruct the first participant to perform the first task.
[0069] Specifically, when the target plan is "the plan for the sports meeting held in the school", the determined personnel execution instructions are the instructions to be executed by each first participant, such as instructing the first participant B to start a tug-of-war competition and instructing the second participant to start a running competition.
[0070] Step C3: Determine the first indication information corresponding to each of the first participants based on the personnel execution instruction and the solution description content.
[0071] After determining the scheme description information and the personnel execution instructions, the command system determines the first instruction information corresponding to the first participant based on the personnel execution instructions and the scheme description content.
[0072] Specifically, the first instruction information determined by the command system includes not only the instruction information instructing the first participant to perform the task, but also can include description information of the overall plan. For example, when the target plan is "sports meeting plan held in the school", not only the instructions that should be executed are sent to each first participating user, but also the overall pre-planned process information of the sports meeting is sent to them.
[0073] In one implementation, the determining of the first indication information corresponding to each of the first participants based on each of the first tasks (step 106) may further include performing steps D1-D3: Step D1: Determine the first instruction text corresponding to the first task through the solution configuration table. The first instruction text is a text displayed to the first participant to instruct him to perform the first task.
[0074] The command system determines the first instruction text corresponding to the first task through the solution configuration table, and the first instruction text is the text displayed to the first participant to instruct him to perform the first task. In other words, the command system sends the first instruction text corresponding to the determined first task to the terminal device of the first participant, and after the terminal device of the first participant receives the first instruction text, it can display the first instruction text to the first participant user, thereby instructing the first participant to perform the first task.
[0075] Step D2: Determine a first indication audio based on the first indication text.
[0076] The first instruction audio is an audio broadcast to the first participant to instruct him to perform the first task.
[0077] After determining the first instruction text, the command system can determine the first instruction audio based on the first instruction text, and the first instruction audio is an audio broadcast to the first participant to instruct the first participant to perform the first task. In other words, the command system converts the determined first instruction text into audio, thereby obtaining the first instruction audio corresponding to the first instruction text, and sends the first instruction audio to the terminal device of the first participant. After the terminal device of the first participant receives the first instruction audio, it can play the first instruction audio to the first participant user, thereby instructing the first participant to perform the first task.
[0078] Specifically, the command system can include a command and control subsystem (codenamed "C2") and a live audio and video subsystem (codenamed "Livestream"). The command and control subsystem is used to control and manage the command process, while the live audio and video subsystem is used to convert the first instruction text into the first instruction audio and play the first instruction audio based on a preset method. Furthermore, when the command system determines the first instruction audio based on the first instruction text, the command and control subsystem can convert the first instruction text into audio through the TTS service, and then mix it into the RTMP stream through the mixing service, and then push it to the push node specified by the external CDN, and then through the CDN network to all edge nodes; finally, the first participants including the instruction recipient play the audio through the live audio and video player, so that the DC player in each first participant's terminal device can continuously pull the stream from the CDN to determine the first instruction audio.
[0079] Step D3: Determine the first indication information based on the first indication text and the first indication audio.
[0080] After determining the first instruction text and the first instruction audio, the command system determines the first instruction information based on the first instruction text and the first instruction audio, that is, the command system can determine the first instruction text and / or the first instruction audio as the first instruction information. After determining the first instruction information based on the first instruction text and the first instruction audio, the command system can send the first instruction information including the first instruction text and the first instruction audio to the terminal device of the first participating user, so that the first instruction text and the first instruction audio can instruct the user at the same time, thereby not only instructing the user to perform the first task, but also highlighting the instruction instructions issued to the first participating user.
[0081] Specifically, the command information that the command system can send to the first participating user includes two parts. One is the HTML basic page including interactive elements such as text and flow charts. The other is a live audio and video player embedded in or floating above the page (can also be clicked to display in full screen or split screen) in the HTML page. The content of the live audio and video player is pulled from the external CDN network, and the content of the CDN network comes from the push and mixing services of the live audio and video Livestream subsystem.
[0082] More specifically, when the first instruction text and the first instruction audio are displayed and played to the first participant, the first instruction text and the first instruction audio can be played synchronously or asynchronously. For example, the first instruction text is first displayed to the first participating user and when no feedback is received from the first participating user within a preset time, the first instruction audio is played, thereby strengthening the instruction reminder to the first participating user and ensuring that the first participating user receives and executes the first task in a timely manner.
[0083] Figure 3 is a flow chart of a third command execution method provided in an embodiment of this specification, such as Figure 3 As shown, the schematic diagram includes: Step 302: Receive a start instruction for a target solution sent by a commander.
[0084] The start instruction is used to instruct the command system to start the command process of the target solution.
[0085] Step 304: Based on the start instruction, determine from a preset solution configuration table a plurality of first participants involved in the target solution and a first task to be performed by each of the first participants in the target solution.
[0086] Step 306: Obtain solution description information of the target solution.
[0087] The solution description information is used to describe the overall execution plan of the target solution.
[0088] Step 308: Determine a person to execute instructions based on the first task.
[0089] The personnel execution instruction is used to represent the instruction to be executed by the first participant.
[0090] Step 310: Determine the first instruction text corresponding to the first task through the solution configuration table.
[0091] The first instruction text is a text displayed to the first participant to instruct him to perform the first task.
[0092] Step 312: Determine a first indication audio based on the first indication text.
[0093] The first instruction audio is an audio broadcast to the first participant to instruct him to perform the first task.
[0094] Step 314: Determine the first instruction information based on the personnel execution instruction, the solution description content, the first instruction text and the first instruction audio.
[0095] The first instruction information is used to instruct the first participant to perform the first task.
[0096] Step 316: Send the first indication information corresponding to the first participant to the terminal device of the first participant, so that the first participant performs the first task based on the first indication information.
[0097] In the embodiments of the specification, by determining the first indication information according to the scheme description information and the personnel execution instructions, and sending the indication information to the terminal device of the first participant, it is possible to not only instruct the first participant on the first execution task that he should perform, but also instruct the first participant on the preset overall process information of the entire target scheme, so that he can clearly understand the preset process of the scheme. By determining the first indication information according to the first indication text and the first indication audio, and instructing the first participant based on the first indication information, it is possible to give task instructions to the first participant through the double indication method, thereby ensuring that the first participant smoothly performs the first task.
[0098] In one implementation, the sending of the first instruction information corresponding to the first participant so that the first participant performs the first task based on the first instruction information (step 108) may include performing steps E1-E2: Step E1: Determine whether the task type of the first task is an out-of-system task:.
[0099] The external-system tasks are tasks that need to be performed outside the command system.
[0100] The task types of the first task are divided into in-system tasks and out-system tasks. In-system tasks are tasks that need to be performed within the command system, such as sign-in tasks within the system. Out-system tasks are tasks that need to be performed outside the command system, such as telephone connection tasks (this task requires calling the system external interface) and video connection tasks (this task requires calling the system external interface).
[0101] When the command system determines whether the task type of the first task is an out-of-system task, the command system can directly determine the task type of the first task based on preset classification information, or determine the task type of the first task based on information required when executing the first task.
[0102] Step E2: When the first task is an external task of the system, multiple external interfaces corresponding to the first task are called to enable the first participant to perform the first task.
[0103] When it is determined that the first task is a task to be executed within the system, the command system calls a plurality of external interfaces required for executing the first task, so that the first participant executes the first task.
[0104] Specifically, when the command system executes the first task, it needs to call the data or interface required to execute the task, and some of the required data or interfaces exist inside the command system (such as signing in within the system), and some data or interfaces exist outside the command system. When the called data or interface is data or interface existing inside the command system, the command system can directly obtain the data and execute the task; when the called data is data existing outside the command system or an external function needs to be called, the command system needs to call the external interface to execute the task. For example, when the first task is to perform a connection task, the first participant needs to call an external voice interface to ensure that the voice content sent by the commander can be received, and his own voice content can be sent to the commander.
[0105] In one implementation, the target solution is a disaster recovery command solution. After calling a plurality of external interfaces corresponding to the first task so that the first participant performs the first task (step E2), steps F1-F3 may be further performed: Step F1: Obtain information on the number of the external interfaces called by the command system.
[0106] The start instruction sent by the commander and received by the command system may be a start instruction for the commanded plan, that is, the target plan may be a disaster recovery command plan. When the target plan is a disaster recovery command plan, the command system can obtain information on the number of external interfaces required to be called to execute the disaster recovery command plan (or multiple first tasks designed by multiple disaster recovery command plans).
[0107] Specifically, the command system can also include a disaster recovery management subsystem (code-named DRM). When the command and control subsystem receives an instruction to start the disaster recovery command plan, it can determine each first participant and the first task of each first participant through the disaster recovery management subsystem connected to the command and control subsystem.
[0108] Step F2: Determine the external dependency status of the command system based on the number information.
[0109] The external dependency status is used to characterize the degree of dependency of the normal operation of the command system on external information.
[0110] After determining the number information of the external interfaces called by the command system, the command system can determine the external dependency status of the command system based on the number information, wherein the external dependency status is used to characterize the degree of dependence of the command system on external information when normally executing the disaster recovery command plan.
[0111] Specifically, the external dependence state of the command system determined based on the number of external interface calls can be linearly positively correlated, that is, the higher the number of external interface calls, the higher the degree of external dependence of the command system, and the fewer the number of external interface calls, the lower the degree of external dependence of the command system.
[0112] Step F3: updating and optimizing the disaster recovery command plan and the command system based on the external dependency status.
[0113] After determining the external dependency status of the command system based on the number of external interface calls, the command system can update and optimize the disaster recovery command plan and command system based on the external dependency status, thereby reducing the degree of external dependence of the disaster recovery command plan and command system.
[0114] Specifically, the preset command plan will not only conduct command when the activity is executed, but it may also conduct command drills of the plan on a daily basis. When the command system is executing the disaster recovery plan, some interfaces may not be able to execute normally due to failures. Therefore, when the disaster recovery plan is actually executed, the disaster recovery command plan and the command system need to call as few external interfaces as possible to improve the normal operation probability of the disaster recovery command plan and the command system, that is, by reducing external dependencies to improve the normal operation probability of the disaster recovery command plan and the command system.
[0115] Figure 4 is a flowchart of a fourth command execution method provided in an embodiment of this specification, such as Figure 4 As shown, the schematic diagram includes: Step 402: Receive a start instruction for a target solution sent by a commander.
[0116] The start instruction is used to instruct the command system to start the command process of the target solution.
[0117] Step 404: Based on the start instruction, determine from a preset solution configuration table a plurality of first participants involved in the target solution and a first task to be performed by each of the first participants in the target solution.
[0118] Step 406: Determine first indication information corresponding to each of the first participants based on each of the first tasks.
[0119] The first instruction information is used to instruct the first participant to perform the first task.
[0120] Step 408: Send the first indication information corresponding to the first participant to the terminal device of the first participant, and determine whether the task type of the first task is an in-system task.
[0121] The in-system tasks are tasks that need to be executed within the command system.
[0122] Step 410: When the first task is an external task of the system, multiple external interfaces corresponding to the first task are called to enable the first participant to perform the first task.
[0123] Step 412: Obtain information on the number of the external interfaces called by the command system.
[0124] Step 414: Determine the external dependency status of the command system based on the number information.
[0125] The external dependency status is used to characterize the degree of dependency of the normal operation of the command system on external information.
[0126] Step 416: Update and optimize the disaster recovery command plan and the command system based on the external dependency status.
[0127] In the embodiments of the specification, when rehearsing the disaster recovery command plan included in the target plan, the number of external interfaces called when the command system is running is obtained, and the external dependency status of the command system is determined based on the number, so that the disaster recovery command plan and the command system are updated and optimized according to the external dependency status, thereby reducing the external dependency of the disaster recovery command plan and the command system. This can ensure to the greatest extent that the system can rely on itself to operate normally in actual disaster recovery command scenarios.
[0128] Figure 5 is a schematic diagram of the structure of a command execution system provided in an embodiment of the present application, such as Figure 5As shown, the command and instruction execution system includes a disaster recovery management subsystem, a command and control subsystem and a live audio and video subsystem, wherein the super administrator is responsible for the basic information configuration, personnel configuration, resource data maintenance and other management work of the entire system; the plan preparation personnel are responsible for compiling and maintaining the plan to ensure that the basic information of the plan, the stage information defined in the plan, and the unit task information defined in the plan stage are correct, effective and available; the statistical analysis personnel are responsible for reviewing and analyzing the data after each drill / actual combat is completed; the commander can send a start instruction for the plan to the command and control subsystem; the first participant receives the first indication information sent by the command and control subsystem through the live audio and video subsystem based on the disaster recovery management subsystem, and sends the feedback information to the command and control subsystem so that the command and control subsystem forwards the feedback information to the commander; the second participant receives the second indication information sent by the command and control subsystem through the live audio and video subsystem based on the disaster recovery management subsystem, and performs the second task based on the second indication information.
[0129] Specifically, the operations that the commander can perform in the command and command execution system include: sending a plan start instruction, sending instructions to be executed by participants, sending messages to participants, and viewing the plan execution progress details and statistical information; the operations that the first participant can perform in the command and command execution system include sending a plan start instruction, sending instructions to be executed by participants, sending messages to participants, viewing the plan execution progress details and statistical information, and executing the instructions sent by the commander; the operations that the second participant can perform in the command and command execution system include: sending a message to the first participant, viewing the plan execution progress details and statistical information, and executing the instructions sent by the first participant.
[0130] Furthermore, the types of instructions to be executed that the commander or the first participant can send may include a sign-in request instruction, a task execution request instruction, a voice connection request instruction, a progress report request instruction, a broadcast drill progress request instruction, etc. The types of instructions that the first participant or the second participant can execute include a sign-in response instruction, a task execution response instruction, a connection agreement instruction, a progress report response instruction, etc. The types of messages that the commander, the first participant or the second participant can send include a task execution start message, a task completion message, a task execution message, a task skipping message, a connection request message, a connection reception message, etc.
[0131] It should be noted that the command instruction execution method provided in the embodiment of the present application can be executed by a command instruction execution device or a control module in the command instruction execution device for executing the command instruction execution method. In the embodiment of the present application, the command instruction execution device provided in the embodiment of the present application is illustrated by taking the command instruction execution method executed by the command instruction execution device as an example.
[0132] Figure 6 Schematic diagram of the structure of the command execution device according to an embodiment of the present invention. Figure 6 As shown, the command instruction execution device includes: a first receiving module 602 , a first determining module 604 , a second determining module 606 , and a first sending module 608 .
[0133] A first receiving module 602 is used to receive a start instruction for a target solution sent by a commander, wherein the start instruction is used to instruct the command system to start the command process of the target solution; A first determination module 604 is used to determine, based on the start instruction, from a preset solution configuration table, a plurality of first participants involved in the target solution and a first task to be performed by each of the first participants in the target solution; A second determining module 606, configured to determine first indication information corresponding to each of the first participants based on each of the first tasks, wherein the first indication information is used to instruct the first participant to perform the first task; The first sending module 608 is used to send the first indication information corresponding to the first participant to the terminal device of the first participant, so that the first participant performs the first task based on the first indication information.
[0134] The command execution device in the embodiment of the present application can be a device, or a component, integrated circuit, or chip in a terminal. The device can be a mobile electronic device or a non-mobile electronic device. For example, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc. The non-mobile electronic device can be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.
[0135] The command execution device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0136] The command execution device provided in the embodiment of the present application can achieve Figures 1 to 5 To avoid repetition, the various processes implemented in the method embodiment are not described here.
[0137] Based on the same technical concept, an embodiment of the present application further provides an electronic device, which is used to execute the above-mentioned command execution method. Figure 7 A schematic diagram of the structure of an electronic device for implementing various embodiments of the present application. The electronic device may have relatively large differences due to different configurations or performances, and may include a processor (processor) 702, a communication interface (Communications Interface) 704, a memory (memory) 706 and a communication bus 708, wherein the processor 702, the communication interface 704, and the memory 706 communicate with each other through the communication bus 708. The processor 702 may call a computer program stored in the memory 706 and executable on the processor 702 to perform the following steps: Receiving a start instruction for a target solution sent by a commander, wherein the start instruction is used to instruct the command system to start a command process for the target solution; Based on the start instruction, determining a plurality of first participants involved in the target solution and a first task to be performed by each of the first participants in the target solution from a preset solution configuration table; Determine first instruction information corresponding to each of the first participants based on each of the first tasks, where the first instruction information is used to instruct the first participant to perform the first task; The first indication information corresponding to the first participant is sent to the terminal device of the first participant, so that the first participant performs the first task based on the first indication information.
[0138] In one implementation, after sending the first instruction information corresponding to each of the first participants so that each of the first participants performs the first task based on the first instruction information, the method further includes: receiving feedback information sent by the first participant, where the feedback information is used to represent progress information of the first task performed by the first participant; The feedback information is sent to the commander, so that the commander determines the task execution status of each of the first participants in the target solution based on the feedback information.
[0139] In an implementation manner, after sending the first instruction information corresponding to the first participant so that the first participant performs the first task based on the first instruction information, the method further includes: After determining that the first task is completed, determining a second task and a second participant involved in the second task based on the solution configuration table, wherein the second task is a task that needs to be performed after the first task is completed; Determining second instruction information corresponding to the second participant based on the second task, where the second instruction information is used to instruct the second participant to perform the second task; The second indication information corresponding to the second participant is sent to the terminal device of the second participant, so that the second participant performs the second task based on the second indication information.
[0140] In one implementation, the determining, based on each of the first tasks, the first indication information corresponding to each of the first participants includes: Acquire the scheme description information of the target scheme, wherein the scheme description information is used to describe the overall execution plan of the target scheme; Determine a personnel execution instruction based on the first task, where the personnel execution instruction is used to represent an instruction to be executed by the first participant; The first indication information corresponding to each of the first participating personnel is determined based on the personnel execution instruction and the solution description content.
[0141] In one implementation, the determining, based on each of the first tasks, the first indication information corresponding to each of the first participants further includes: Determining a first instruction text corresponding to the first task through the solution configuration table, where the first instruction text is a text displayed to the first participant to instruct the participant to perform the first task; Determine a first instruction audio based on the first instruction text, where the first instruction audio is an audio broadcast to the first participant to instruct the first participant to perform the first task; The first indication information is determined based on the first indication text and the first indication audio.
[0142] In an implementation manner, the sending the first instruction information corresponding to the first participant so that the first participant performs the first task based on the first instruction information includes: Determine whether the task type of the first task is an out-of-system task, where the out-of-system task is a task that needs to be executed outside the command system; When the first task is a task outside the system, a plurality of external interfaces corresponding to the first task are called to enable the first participant to perform the first task.
[0143] In one implementation, the target solution is a disaster recovery command solution, and after calling a plurality of external interfaces corresponding to the first task so that the first participant performs the first task, the method further includes: Obtaining information on the number of the external interfaces called by the command system; Determine the external dependency state of the command system based on the number information, wherein the external dependency state is used to characterize the degree of dependency of the normal operation of the command system on external information; The disaster recovery command plan and the command system are updated and optimized based on the external dependency status.
[0144] The specific execution steps can refer to the various steps of the above-mentioned command instruction execution method embodiment, and can achieve the same technical effect. To avoid repetition, they will not be repeated here.
[0145] It should be noted that the electronic devices in the embodiments of the present application include: servers, terminals or other devices except terminals.
[0146] The above electronic device structure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently. For example, the input unit may include a graphics processing unit (GPU) and a microphone, and the display unit may be configured with a display panel in the form of a liquid crystal display, an organic light-emitting diode, etc. The user input unit includes a touch panel and at least one of other input devices. The touch panel is also called a touch screen. Other input devices may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
[0147] The memory can be used to store software programs and various data. The memory may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory may include a volatile memory or a non-volatile memory, or the memory may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. Volatile memory can be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM) and direct memory bus random access memory (DRRAM).
[0148] The processor may include one or more processing units; optionally, the processor integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to the operating system, user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor.
[0149] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned command instruction execution method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0150] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0151] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned command instruction execution method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0152] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0153] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes 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 "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0154] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0155] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A command instruction execution method, applied to a command system, comprising: Receiving a start instruction for a target solution sent by a commander, wherein the start instruction is used to instruct the command system to start a command process for the target solution; Based on the start instruction, determining a plurality of first participants involved in the target solution and a first task to be performed by each of the first participants in the target solution from a preset solution configuration table; Determine first instruction information corresponding to each of the first participants based on each of the first tasks, where the first instruction information is used to instruct the first participant to perform the first task; The first indication information corresponding to the first participant is sent to the terminal device of the first participant, so that the first participant performs the first task based on the first indication information.
2. The method according to claim 1, after sending the first instruction information corresponding to each of the first participants so that each of the first participants performs the first task based on the first instruction information, the method further comprises: receiving feedback information sent by the first participant, where the feedback information is used to represent progress information of the first task performed by the first participant; The feedback information is sent to the commander, so that the commander determines the task execution status of each of the first participants in the target solution based on the feedback information.
3. The method according to claim 1, after sending the first instruction information corresponding to the first participant so that the first participant performs the first task based on the first instruction information, the method further comprises: After determining that the first task is completed, determining a second task and a second participant involved in the second task based on the solution configuration table, wherein the second task is a task that needs to be performed after the first task is completed; Determining second instruction information corresponding to the second participant based on the second task, where the second instruction information is used to instruct the second participant to perform the second task; The second indication information corresponding to the second participant is sent to the terminal device of the second participant, so that the second participant performs the second task based on the second indication information.
4. The method according to claim 1, wherein determining the first indication information corresponding to each of the first participants based on each of the first tasks comprises: Acquire the scheme description information of the target scheme, wherein the scheme description information is used to describe the overall execution plan of the target scheme; Determine a personnel execution instruction based on the first task, where the personnel execution instruction is used to represent an instruction to be executed by the first participant; The first indication information corresponding to each of the first participating personnel is determined based on the personnel execution instruction and the solution description content.
5. The method according to claim 1, wherein determining the first indication information corresponding to each of the first participants based on each of the first tasks further comprises: Determining a first instruction text corresponding to the first task through the solution configuration table, where the first instruction text is a text displayed to the first participant to instruct the participant to perform the first task; Determine a first instruction audio based on the first instruction text, where the first instruction audio is an audio broadcast to the first participant to instruct the first participant to perform the first task; The first indication information is determined based on the first indication text and the first indication audio.
6. The method according to claim 1, wherein sending the first instruction information corresponding to the first participant so that the first participant performs the first task based on the first instruction information comprises: Determine whether the task type of the first task is an out-of-system task, where the out-of-system task is a task that needs to be executed outside the command system; When the first task is an external task of the system, a plurality of external interfaces corresponding to the first task are called to enable the first participant to perform the first task.
7. The method according to claim 6, wherein the target solution is a disaster recovery command solution, and after calling a plurality of external interfaces corresponding to the first task so that the first participant performs the first task, the method further comprises: Obtaining information on the number of the external interfaces called by the command system; Determine the external dependency state of the command system based on the number information, wherein the external dependency state is used to characterize the degree of dependency of the normal operation of the command system on external information; The disaster recovery command plan and the command system are updated and optimized based on the external dependency status.
8. A command execution device, comprising: A first receiving module is used to receive a start instruction for a target solution sent by a commander, wherein the start instruction is used to instruct the command system to start the command process of the target solution; A first determination module, configured to determine, based on the start instruction, from a preset scheme configuration table, a plurality of first participants involved in the target scheme, and a first task to be performed by each of the first participants in the target scheme; A second determining module, configured to determine first indication information corresponding to each of the first participants based on each of the first tasks, wherein the first indication information is used to instruct the first participant to perform the first task; The first sending module is used to send the first indication information corresponding to the first participant to the terminal device of the first participant, so that the first participant performs the first task based on the first indication information.
9. A computer device, characterized in that: The device comprises: Processor; and A memory arranged to store computer executable instructions, the executable instructions being configured to be executed by the processor, the executable instructions comprising instructions for performing the steps in the method according to any one of claims 1 to 7.
10. A storage medium, characterized in that: The storage medium is used to store computer-executable instructions, and the executable instructions enable a computer to execute the method according to any one of claims 1 to 7.