CN112579315A - Method and device for processing operation execution state, storage medium and equipment - Google Patents

Method and device for processing operation execution state, storage medium and equipment Download PDF

Info

Publication number
CN112579315A
CN112579315A CN201910944631.1A CN201910944631A CN112579315A CN 112579315 A CN112579315 A CN 112579315A CN 201910944631 A CN201910944631 A CN 201910944631A CN 112579315 A CN112579315 A CN 112579315A
Authority
CN
China
Prior art keywords
execution
state
component
objects
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910944631.1A
Other languages
Chinese (zh)
Inventor
李万济
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Gridsum Technology Co Ltd
Original Assignee
Beijing Gridsum Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Gridsum Technology Co Ltd filed Critical Beijing Gridsum Technology Co Ltd
Priority to CN201910944631.1A priority Critical patent/CN112579315A/en
Publication of CN112579315A publication Critical patent/CN112579315A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/547Remote procedure calls [RPC]; Web services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/544Remote

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a method, a device, a storage medium and equipment for processing an operation execution state. Wherein, the method comprises the following steps: receiving a calling request, wherein the calling request is used for acquiring the execution states of all execution objects of a target operation; and judging the execution object of the target operation based on the call request, and determining a global variable and a state attribute of the execution object, wherein the global variable is used for recording the execution states of all the execution objects of the target operation. The invention solves the technical problem that the state of the execution object is acquired and managed by adopting a one-by-one manual maintenance mode in the related technology.

Description

Method and device for processing operation execution state, storage medium and equipment
Technical Field
The present invention relates to the field of computers, and in particular, to a method, an apparatus, a storage medium, and a device for processing an operation execution state.
Background
Js applications, the action state of Vuex in general will determine what operations we do. For example, an action that initiates a request to the server, during the request (in-progress state), we need to display the loading component on the page, indicating that data is currently being requested, and when the request is completed (success state or failure state), the loading component needs to be hidden. However, the action state can not be known every time, and only when the action call is completed can the action state be known. Therefore, some variables are required to be manually set and some statements are required to be executed to acquire and manage the state of an action, but a project often has a plurality of actions, whether some operations are executed or not can be simultaneously determined by the states of the plurality of actions, and if a large number of action states are manually managed, the problems of increased time cost, increased complexity of the project and difficult maintenance of the project can be caused.
For example, setting some variables and executing some statements manually manages the state of various actions. If a state is set to represent the state of an action, the state is modified to be in progress before the action is executed, and the state is modified to be successful or failed after the execution is finished. Each action needs to be manually maintained, and one more action needs to be manually written with one more maintenance code, which is extremely inconvenient.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides a processing method, a processing device, a storage medium and equipment for an operation execution state, and aims to at least solve the technical problem that the state of an execution object is acquired and managed in a one-by-one manual maintenance mode in the related art.
According to an aspect of the embodiments of the present invention, there is provided a method for processing an operation execution state, including: receiving a calling request, wherein the calling request is used for acquiring the execution states of all execution objects of a target operation; and judging the execution object of the target operation based on the calling request, and determining a global variable and the state attribute of the execution object, wherein the global variable is used for recording the execution states of all the execution objects of the target operation.
Optionally, receiving the invocation request includes: and constructing an execution component for receiving the call request, wherein the execution component comprises a component module, and the component module contains all execution objects of the target operation and the execution states of all the execution objects.
Optionally, constructing an execution component for receiving the invocation request includes: initializing an execution object list of the component module to obtain an initialized component module; the execution object list of the component module is initialized in the following way: performing iterative processing on all the execution objects, sequentially setting the state attribute corresponding to the execution object as a second state, and stuffing the second state into an execution object list; and registering the initialized component module into a task pool of an execution component to obtain the initialized execution component.
Optionally, before constructing the execution component for receiving the call request, the method includes: a global variable is set.
Optionally, the method further comprises: and adding a hook function in the execution component, wherein the hook function is used for controlling the task process of the execution object.
Optionally, determining an execution object of the target operation based on the call request, and determining a global variable and a state attribute of the execution object, includes: determining a target execution object; if the target execution object is in the state before execution, changing a global variable, and setting the state attribute of the target execution object to be in a first state; and if the target execution object is in the second state, changing the global variable and setting the state attribute of the operation execution to be in the second state.
According to another aspect of the embodiments of the present invention, there is also provided an operation execution state processing apparatus, including: the device comprises a receiving unit, a processing unit and a processing unit, wherein the receiving unit is used for receiving a calling request, and the calling request is used for acquiring the execution states of all execution objects of a target operation; and the determining unit is used for judging the execution object of the target operation based on the calling request and determining a global variable and the state attribute of the execution object, wherein the global variable is used for recording the execution states of all the execution objects of the target operation.
Optionally, the receiving unit includes: and the construction module is used for constructing the execution component for receiving the call request, wherein the execution component comprises a component module, and the component module comprises all execution objects of the target operation and the execution states of all the execution objects.
According to another aspect of the embodiments of the present invention, there is also provided a storage medium storing a program which, when executed by a processor, implements the processing method of the operation execution state described in any one of the above.
According to another aspect of the embodiments of the present invention, there is also provided an apparatus, including at least one processor, at least one memory, and a bus, where the processor and the memory complete communication with each other through the bus; the processor is configured to call the program instructions in the memory to execute the processing method of the operation execution state described in any one of the above items.
In the embodiment of the invention, a call request is received, wherein the call request is used for acquiring the execution states of all execution objects of a target operation; the execution objects of the target operation are judged based on the calling request, and the global variables and the state attributes of the execution objects are determined, wherein the global variables are used for recording the execution states of all the execution objects of the target operation, and the state attributes of the global variables and the execution objects are determined by judging the execution objects of the target operation based on the calling request, so that the purpose of acquiring the execution states of all the execution objects is achieved, the technical effect of automatically acquiring and managing the execution states of the execution objects is achieved, and the technical problem that the states of the execution objects are acquired and managed by adopting a one-by-one manual maintenance mode in the related art is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a flow chart of a method of processing an operation execution state according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a processing device operating an execution state according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Vue: vue is a set of progressive frameworks for building user interfaces. Unlike other large frames, Vue is designed to be applied layer by layer from the bottom up. Vue, the core library focuses only on the viewing layer for easy integration with third party libraries or existing projects.
Vuex: vuex is a state management schema developed specifically for vue. It takes the state of all components of the centralized storage management application and ensures that the state changes in a predictable way with corresponding rules. The method comprises four concepts of state, rotation, action and getter.
In accordance with an embodiment of the present invention, there is provided an embodiment of a processing method for operating an execution state, it is noted that the steps illustrated in the flowchart of the drawings may be performed in a computer system such as a set of computer-executable instructions, and that while a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be performed in an order different than here.
Fig. 1 is a flowchart of a processing method of an operation execution state according to an embodiment of the present invention, as shown in fig. 1, the method including the steps of:
step S102, receiving a calling request, wherein the calling request is used for acquiring the execution states of all execution objects of the target operation;
and step S104, judging the execution object of the target operation based on the calling request, and determining a global variable and a state attribute of the execution object, wherein the global variable is used for recording the execution states of all the execution objects of the target operation.
Through the steps, the receiving of the call request can be realized, wherein the call request is used for acquiring the execution states of all execution objects of the target operation; the execution object of the target operation is judged based on the calling request, the global variable and the state attribute of the execution object are determined, wherein the global variable is used for recording the execution states of all the execution objects of the target operation, the execution object of the target operation is judged based on the calling request, and the global variable and the state attribute of the execution object are determined, so that the purpose of acquiring the execution states of all the execution objects is achieved, the technical effect of automatically acquiring and managing the execution states of the execution objects is achieved, and the technical problem that the states of the execution objects are acquired and managed by adopting a one-by-one manual maintenance mode in the related art is solved.
Optionally, receiving the invocation request includes: and constructing an execution component for receiving the call request, wherein the execution component comprises a component module, and the component module contains all execution objects of the target operation and the execution states of all the execution objects.
The execution component for receiving the call request is constructed as described above, i.e., the call request is received through the execution component. The execution component is provided with a component module, and the execution component can be divided into one component module or a plurality of component modules. The component modules, whether a component module or a plurality of component modules, contain all execution objects of the target operation and the execution states of all execution objects.
For example, the execution object and the execution state of the target operation are: execution object 1: true; the execution object 2: false; the execution object 3: true; the execution object 4: false; wherein, can contain through setting up subassembly module A: execution object 1: true; the execution object 2: false; the component module B includes: the execution object 3: true; the execution object 4: false. In addition, a component module may be provided comprising: execution object 1: true; the execution object 2: false; the execution object 3: true; the execution object 4: false. It should be noted that, in the implementation process, the number of component modules may be flexibly set according to an application scenario.
Optionally, constructing an execution component for receiving the invocation request includes: initializing an execution object list of the component module to obtain an initialized component module; the execution object list of the component module is initialized in the following way: performing iterative processing on all the execution objects, sequentially setting the state attribute corresponding to the execution object as a second state, and stuffing the second state into an execution object list; and registering the initialized component module into a task pool of the execution component to obtain the initialized execution component.
After the execution component receives the call request, an initialization operation needs to be performed on the execution component. In the specific implementation process, firstly, an execution object list of the component module needs to be initialized to obtain an initialized component module; and registering the initialized component module into a task pool of the execution component to obtain the initialized execution component. In this manner, initialization of all execution objects is completed at the execution component such that all execution objects are in the second state. It should be noted that, in the implementation process, the second state is false or 0, and the first state is true or not 0.
In implementation, the execution object list of the component module may be initialized as follows: and performing iterative processing on all the execution objects, sequentially setting the state attribute corresponding to the execution object as a second state, and stuffing the execution object list. Of course, the method can also be implemented in a concurrent manner, for example, a grouping threshold of the execution objects is determined, all the execution objects are grouped according to the grouping threshold, the state attribute corresponding to each group of execution objects is set to be in the second state in sequence according to the grouping result, and the execution object list is plugged in, so that batch initialization of the execution objects can be implemented.
Optionally, before constructing the execution component for receiving the call request, the method includes: a global variable is set.
It should be noted that, the setting global variable is applied to the execution component, and the global variable is used as the execution state value of the execution component, and the execution states of all execution objects of the target operation can be recorded through the global variable.
Optionally, the method further comprises: and adding a hook function in the execution component, wherein the hook function is used for controlling the task process of the execution object.
In the specific implementation process, the task process of the execution object is controlled by calling each key time of the execution object of the hook function management target operation, such as before the execution of the execution object, after the execution is finished, and the like.
Optionally, determining an execution object of the target operation based on the call request, and determining state attributes of the global variable and the execution object, includes: determining a target execution object; if the target execution object is in the state before execution, changing the global variable, and setting the state attribute of the target execution object to be in a first state; and if the target execution object is after execution, changing the global variable and setting the state attribute of the operation execution to be in a second state.
Since the call request is used to obtain the execution states of all execution objects of the target operation, in the implementation process, it is necessary to determine a target execution object among all execution objects, and perform monitoring management on the execution condition of the target execution object. When the execution states of a large number of execution objects are automatically acquired and managed, if the target execution object is in the execution state, the global variable is changed, and the state attribute of the target execution object is set to be in the first state; and if the target execution object is after execution, changing the global variable and setting the state attribute of the operation execution to be in a second state.
It should be noted that, based on the above method, the execution state of the target execution object can be managed according to the execution condition of the target execution object. The target execution object is an execution object of which the execution state is to be determined according to the execution sequence in all the execution objects. Since the global variable is used to record the execution states of all execution objects of the target operation, the execution states of all execution objects can be acquired through the management of the target execution objects.
An alternative embodiment of the invention is described below.
The optional implementation method of the invention provides a processing method of the operation execution state, realizes a plug-in which is essentially a function, and applies the plug-in to Vuex, so that a large number of action states can be automatically acquired and managed without manual maintenance of each.
The plugins value of the store of Vuex is set as the function, and the function is automatically called after the store is initialized, so that the state can be automatically managed. The implementation principle of the plug-in is as follows:
1. and setting a configuration item name as the state value of the store, and acquiring the states of all the current actions through the configuration. Wherein, action is the execution object.
2. A module for a store is compiled containing all actions and global state, and the corresponding state is modified when an action is executed.
3. Initializing the action list of the module, iterating the action of the store, and stuffing the type of the action into the state of the module to set the type as false. The module is registered to the store.
4. And adding an action execution hook, and setting the global and execution actions in the name of the configuration item to true before the action is executed, wherein the setting indicates that the action is being executed. after the action is executed, setting the global sum action in the name of the configuration item as false, which indicates that no action is executed.
By the method, the action states in vuex are automatically managed, and all the action states can be acquired at any time. Therefore, the states of all actions can be automatically managed without writing extra codes, and the states of all current actions can be acquired and managed by acquiring the state value.
Fig. 2 is a schematic structural diagram of a processing device in an operation execution state according to an embodiment of the present invention, and as shown in fig. 2, the processing device in the operation execution state includes: the receiving unit 22 and the determining unit 24 are explained below as processing means of the operation execution state.
A receiving unit 22, configured to receive a call request, where the call request is used to obtain execution states of all execution objects of a target operation; and the determining unit 24 is connected to the receiving unit 22, and is configured to determine, based on the call request, an execution object of the target operation, and determine a global variable and a state attribute of the execution object, where the global variable is used to record execution states of all execution objects of the target operation.
The processing device of the operation execution state according to the embodiment of the present invention includes a processor and a memory, the receiving unit 22 and the determining unit 24 are stored in the memory as program modules, and the processor executes the program modules stored in the memory to implement corresponding functions.
The processor comprises a kernel, and the kernel calls the corresponding program module from the memory. The kernel can set one or more, and the state attributes of the global variables and the execution objects are adjusted by adjusting the kernel parameters.
The processing device for the operation execution state can determine the global variable and the state attribute of the execution object by judging the execution object of the target operation based on the call request, thereby achieving the purpose of acquiring the execution states of all the execution objects, realizing the technical effect of automatically acquiring and managing the execution states of the execution objects, and further solving the technical problem of acquiring and managing the states of the execution objects by adopting a one-by-one manual maintenance mode in the related art.
Optionally, the receiving unit includes: and the construction module is used for constructing the execution component for receiving the call request, wherein the execution component comprises a component module, and the component module comprises all execution objects of the target operation and the execution states of all the execution objects.
Optionally, the building block comprises: the first processing submodule is used for initializing an execution object list of the component module to obtain an initialized component module; the execution object list of the component module is initialized in the following way: performing iterative processing on all the execution objects, sequentially setting the state attribute corresponding to the execution object as a second state, and stuffing the second state into an execution object list; and the second processing submodule is used for registering the initialized component module into a task pool of the execution component to obtain the initialized execution component.
Optionally, before constructing the execution component for receiving the call request, the method includes: a global variable is set.
Optionally, the method further comprises: and adding a hook function in the execution component, wherein the hook function is used for controlling the task process of the execution object.
Optionally, the determining unit includes: a determination module for determining a target execution object; the modification module is used for changing the global variable and setting the state attribute of the target execution object to be in a first state if the target execution object is in the state before execution; and if the target execution object is after execution, changing the global variable and setting the state attribute of the operation execution to be in a second state.
An embodiment of the present invention provides a storage medium storing a program, which when executed by a processor implements a processing method of an operation execution state of any one of the above.
An embodiment of the present invention provides a processor, where the processor is configured to execute a program, where the program executes a processing method for executing an operation execution state of any one of the above items when the program runs.
An apparatus is provided in an embodiment of the present invention, fig. 3 is a schematic structural diagram of an apparatus according to an embodiment of the present invention, and as shown in fig. 3, the apparatus 30 includes at least one processor 301, at least one memory 302, and a bus 303; wherein, the processor 301 and the memory 302 complete the communication with each other through the bus 303; the processor 301 is used for calling program instructions in the memory to execute the processing method of the operation execution state in the above. The device herein may be a server, a PC, a PAD, a mobile phone, etc.
The present application further provides a computer program product adapted to perform a program for initializing the following method steps when executed on a data processing device: receiving a calling request, wherein the calling request is used for acquiring the execution states of all execution objects of a target operation; and judging the execution object of the target operation based on the call request, and determining a global variable and a state attribute of the execution object, wherein the global variable is used for recording the execution states of all the execution objects of the target operation.
Optionally, receiving the invocation request includes: and constructing an execution component for receiving the call request, wherein the execution component comprises a component module, and the component module contains all execution objects of the target operation and the execution states of all the execution objects.
Optionally, constructing an execution component for receiving the invocation request includes: initializing an execution object list of the component module to obtain an initialized component module; the execution object list of the component module is initialized in the following way: performing iterative processing on all the execution objects, sequentially setting the state attribute corresponding to the execution object as a second state, and stuffing the second state into an execution object list; and registering the initialized component module into a task pool of the execution component to obtain the initialized execution component.
Optionally, before constructing the execution component for receiving the call request, the method includes: a global variable is set.
Optionally, the method further comprises: and adding a hook function in the execution component, wherein the hook function is used for controlling the task process of the execution object.
Optionally, determining an execution object of the target operation based on the call request, and determining state attributes of the global variable and the execution object, includes: determining a target execution object; if the target execution object is in the state before execution, changing the global variable, and setting the state attribute of the target execution object to be in a first state; and if the target execution object is after execution, changing the global variable and setting the state attribute of the operation execution to be in a second state.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a device includes one or more processors (CPUs), memory, and a bus. The device may also include input/output interfaces, network interfaces, and the like.
The memory may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip. The memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include transitory computer readable media (transmyedia) such as modulated data signals and carrier waves.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (10)

1. A method for processing an operation execution state, comprising:
receiving a calling request, wherein the calling request is used for acquiring the execution states of all execution objects of a target operation;
and judging the execution object of the target operation based on the calling request, and determining a global variable and the state attribute of the execution object, wherein the global variable is used for recording the execution states of all the execution objects of the target operation.
2. The method of claim 1, wherein receiving a call request comprises:
and constructing an execution component for receiving the call request, wherein the execution component comprises a component module, and the component module contains all execution objects of the target operation and the execution states of all the execution objects.
3. The method of claim 2, wherein building an execution component for receiving a call request comprises:
initializing an execution object list of the component module to obtain an initialized component module; the execution object list of the component module is initialized in the following way: performing iterative processing on all the execution objects, sequentially setting the state attribute corresponding to the execution object as a second state, and stuffing the second state into an execution object list;
and registering the initialized component module into a task pool of an execution component to obtain the initialized execution component.
4. The method of claim 2, prior to building an execution component for receiving a call request, comprising: a global variable is set.
5. The method of any of claims 2 to 4, further comprising: and adding a hook function in the execution component, wherein the hook function is used for controlling the task process of the execution object.
6. The method of claim 1, wherein determining the execution object of the target operation based on the call request, and determining the global variable and the state attribute of the execution object comprises:
determining a target execution object;
if the target execution object is in the state before execution, changing a global variable, and setting the state attribute of the target execution object to be in a first state;
and if the target execution object is in the second state, changing the global variable and setting the state attribute of the operation execution to be in the second state.
7. An operation execution state processing apparatus, comprising:
the device comprises a receiving unit, a processing unit and a processing unit, wherein the receiving unit is used for receiving a calling request, and the calling request is used for acquiring the execution states of all execution objects of a target operation;
and the determining unit is used for judging the execution object of the target operation based on the calling request and determining a global variable and the state attribute of the execution object, wherein the global variable is used for recording the execution states of all the execution objects of the target operation.
8. The apparatus of claim 7, wherein the receiving unit comprises:
and the construction module is used for constructing the execution component for receiving the call request, wherein the execution component comprises a component module, and the component module comprises all execution objects of the target operation and the execution states of all the execution objects.
9. A storage medium characterized in that the storage medium stores a program that realizes the processing method of the operation execution state according to any one of claims 1 to 6 when executed by a processor.
10. A device comprising at least one processor, at least one memory, and a bus, wherein the processor and the memory communicate with each other via the bus; the processor is configured to call program instructions in the memory to perform the method of processing the operation execution state of any one of claims 1 to 6.
CN201910944631.1A 2019-09-30 2019-09-30 Method and device for processing operation execution state, storage medium and equipment Pending CN112579315A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910944631.1A CN112579315A (en) 2019-09-30 2019-09-30 Method and device for processing operation execution state, storage medium and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910944631.1A CN112579315A (en) 2019-09-30 2019-09-30 Method and device for processing operation execution state, storage medium and equipment

Publications (1)

Publication Number Publication Date
CN112579315A true CN112579315A (en) 2021-03-30

Family

ID=75117326

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910944631.1A Pending CN112579315A (en) 2019-09-30 2019-09-30 Method and device for processing operation execution state, storage medium and equipment

Country Status (1)

Country Link
CN (1) CN112579315A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101910971A (en) * 2008-01-11 2010-12-08 国际商业机器公司 System and method for restartable provisioning of software components
US20160182283A1 (en) * 2014-12-17 2016-06-23 Alcatel-Lucent Canada Inc. Using global variables to data-drive rule engine evaluation
CN108108170A (en) * 2018-01-04 2018-06-01 武汉斗鱼网络科技有限公司 A kind of decoupling method and system of component
CN109597611A (en) * 2018-11-29 2019-04-09 北京京东尚科信息技术有限公司 Front end data flow control Components Development system, method, equipment and storage medium
CN109634764A (en) * 2018-12-20 2019-04-16 百度在线网络技术(北京)有限公司 Work-flow control method, apparatus, equipment, storage medium and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101910971A (en) * 2008-01-11 2010-12-08 国际商业机器公司 System and method for restartable provisioning of software components
US20160182283A1 (en) * 2014-12-17 2016-06-23 Alcatel-Lucent Canada Inc. Using global variables to data-drive rule engine evaluation
CN108108170A (en) * 2018-01-04 2018-06-01 武汉斗鱼网络科技有限公司 A kind of decoupling method and system of component
CN109597611A (en) * 2018-11-29 2019-04-09 北京京东尚科信息技术有限公司 Front end data flow control Components Development system, method, equipment and storage medium
CN109634764A (en) * 2018-12-20 2019-04-16 百度在线网络技术(北京)有限公司 Work-flow control method, apparatus, equipment, storage medium and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
林_XI: "vuex 多模块时 模块内部的mutation和action的调用方式", pages 1 - 7, Retrieved from the Internet <URL:https://blog.csdn.net/u011423258/article/details/88936744> *

Similar Documents

Publication Publication Date Title
CN110032599B (en) Data structure reading and updating method and device, and electronic equipment
CN112162753B (en) Software deployment method, device, computer equipment and storage medium
CN110032568B (en) Data structure reading and updating method and device, and electronic equipment
CN109753347A (en) A kind of system and method for realizing driving
CN109558143B (en) Method and device for deploying applications in cluster
CN109829678B (en) Rollback processing method and device and electronic equipment
CN108108258B (en) Memory leak repairing method and device
WO2020135129A1 (en) Method and device for loading plug-in of application, and terminal
CN110968406B (en) Method, device, storage medium and processor for processing task
CN112035156A (en) E-commerce platform docking device, method, equipment and medium
US10901972B2 (en) Table partition configuration method, apparatus and system for database system
CN112579315A (en) Method and device for processing operation execution state, storage medium and equipment
CN113835748B (en) Packaging method, system and readable medium for application program based on HTML5
CN111158940B (en) Method and device for docking and dynamically loading different devices in field of Internet of things
CN111045812A (en) Block chain intelligent contract reverse calling method, equipment and medium
CN113296779A (en) Code information processing system, method, device and electronic equipment
CN111124931B (en) Java code compliance checking method and device
CN110968552B (en) Application information storage method and device
CN110968888B (en) Data processing method and device
CN107678838B (en) Method and device for tracking operation of virtual machine and virtual machine management platform
CN109428915B (en) Data acquisition method and device
CN108268311B (en) Determination method and device for caller application program
CN110020066B (en) Method and device for annotating tasks to crawler platform
CN110633181A (en) Visual display method and device
CN116701349A (en) Data migration method, system, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination