CN105630581A - Task processing method and device, and computer storage medium - Google Patents
Task processing method and device, and computer storage medium Download PDFInfo
- Publication number
- CN105630581A CN105630581A CN201410626094.3A CN201410626094A CN105630581A CN 105630581 A CN105630581 A CN 105630581A CN 201410626094 A CN201410626094 A CN 201410626094A CN 105630581 A CN105630581 A CN 105630581A
- Authority
- CN
- China
- Prior art keywords
- task
- function
- configuration file
- signal
- generating
- 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
Links
- 238000003860 storage Methods 0.000 title claims abstract description 38
- 238000003672 processing method Methods 0.000 title claims abstract description 21
- 230000009471 action Effects 0.000 claims abstract description 88
- 238000000034 method Methods 0.000 claims abstract description 36
- 230000006870 function Effects 0.000 claims description 127
- 230000003993 interaction Effects 0.000 claims description 43
- 230000004048 modification Effects 0.000 claims description 20
- 238000012986 modification Methods 0.000 claims description 20
- 238000003825 pressing Methods 0.000 claims description 18
- 230000003247 decreasing effect Effects 0.000 claims description 11
- 238000012545 processing Methods 0.000 claims description 11
- 238000004458 analytical method Methods 0.000 claims description 9
- 230000001174 ascending effect Effects 0.000 claims description 6
- 238000012512 characterization method Methods 0.000 claims description 2
- 230000008569 process Effects 0.000 abstract description 18
- 230000005540 biological transmission Effects 0.000 description 20
- 238000010586 diagram Methods 0.000 description 13
- 230000006399 behavior Effects 0.000 description 9
- 238000004590 computer program Methods 0.000 description 7
- 230000033001 locomotion Effects 0.000 description 5
- 230000009467 reduction Effects 0.000 description 4
- 238000012790 confirmation Methods 0.000 description 3
- 230000001960 triggered effect Effects 0.000 description 3
- 230000007547 defect Effects 0.000 description 2
- 238000005259 measurement Methods 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 238000010248 power generation Methods 0.000 description 2
- 238000004422 calculation algorithm Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 125000004122 cyclic group Chemical group 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000004886 process control Methods 0.000 description 1
Landscapes
- Programmable Controllers (AREA)
Abstract
Embodiments of the invention disclose a task processing method and device, and a computer storage medium. The task processing method comprises: configuring task process information, and generating a task configuration file characterized by a script language according to the task process information; scanning the task configuration file, generating a data structure according to the task configuration file, and generating at least one task based on the data structure; and respectively issuing at least one action signal according to the at least one task, and respectively performing action characterized by the at least one action signal.
Description
Technical Field
The invention relates to the field of power electronics, in particular to a task processing method, a task processing device and a computer storage medium.
Background
In recent years, with unprecedented growth of power grid construction, rapid growth of secondary equipment in power systems is driven. The wide application of the protection measurement and control equipment also puts forward more extensive and flexible requirements on a graph building and script control mechanism. The traditional protection measurement and control task adopts a firmware mode, hard coding is carried out according to required functional characteristics, when application requirements change, the firmware needs to be recoded, programs are difficult to write, flexibility and operability are poor, and a large amount of manpower and material resources need to be consumed.
Disclosure of Invention
In order to solve the existing technical problems, embodiments of the present invention provide a task processing method, a task processing device, and a computer storage medium, which can solve the problems of hard coding and program programming difficulty in conventional sequential process control.
In order to achieve the above purpose, the technical solution of the embodiment of the present invention is realized as follows:
the embodiment of the invention provides a task processing method, which comprises the following steps:
configuring task flow information, and generating a task configuration file represented by a script language according to the task flow information;
scanning the task configuration file, generating a data structure according to the task configuration file, and generating at least one task based on the data structure;
and respectively sending out at least one action signal according to the at least one task, and respectively executing the action represented by the at least one action signal.
In the foregoing solution, after the generating at least one task based on the data structure, the method further includes:
distributing the at least one task into at least two queues according to the attribute parameters of the at least one task;
wherein the at least two queues include at least: an open-loop queue requiring human-computer interaction and a closed-loop queue requiring no human-computer interaction.
In the foregoing solution, the allocating the at least one task to at least two queues based on the attribute parameter of the at least one task includes:
when the attribute parameters of any task in the at least one task have specific parameters, distributing the task to an open-loop queue needing human-computer interaction;
when the attribute parameters of any task in the at least one task do not have the specific parameters, the task is allocated to a closed-loop queue without human-computer interaction.
In the foregoing solution, after generating the task configuration file characterized by the scripting language according to the flow information, the method further includes:
storing the task configuration file in a shared memory;
correspondingly, the scanning the task configuration file and generating a data structure according to the task configuration file include:
reading the task configuration file from the shared memory, and loading the task configuration file to a system memory;
and analyzing the task configuration file in the system memory according to a preset analysis mode to generate a data structure at least comprising a symbol table, a syntax tree and an interpreter.
In the foregoing solution, the configuring task flow information includes:
configuring a preset logic rule; the preset logic rule at least comprises: four arithmetic, logic operation, conditional statement, skip statement, loop statement and function functional block; wherein the function blocks include at least one of the following function blocks: a switch on/off function, a gear ascending function/descending function/stopping function, a soft pressing plate switching function/retreating function and a fixed value modification function;
and generating task flow information represented by the flow chart according to the preset logic rule.
In the above solution, the data structure at least includes: symbol tables, syntax trees and interpreters; the sending out the action signal according to the at least one task respectively comprises:
triggering a callback function according to a logic result of an interpreter in a task and a function represented by a function call attribute parameter in the task, and sending an action signal based on the callback function;
the action signal comprises at least one of the following action signals: switch signal dividing/closing signal, gear signal increasing/decreasing/stopping signal, soft press plate signal switching/signal returning, and fixed value modifying signal.
In the above solution, the actions of performing the at least one action signal characterization respectively include at least one of the following actions: switch on/off, gear up/down/stop, soft pressing plate on/off and fixed value modification.
An embodiment of the present invention further provides an apparatus, where the apparatus includes: the device comprises a configuration unit, a first generation unit, a second generation unit and an execution unit; wherein,
the configuration unit is used for configuring task flow information;
the first generating unit is used for generating a task configuration file represented by a script language according to the task flow information configured by the configuration unit;
the second generating unit is used for scanning the task configuration file generated by the first generating unit, generating a data structure according to the task configuration file, and generating at least one task based on the data structure;
the execution unit is configured to send at least one action signal according to the at least one task generated by the second generation unit, and execute an action represented by the at least one action signal.
In the foregoing solution, the apparatus further includes an allocating unit, configured to allocate, after the second generating unit generates at least one task based on the data structure, the at least one task to at least two queues according to an attribute parameter of the at least one task; wherein the at least two queues include at least: an open-loop queue requiring human-computer interaction and a closed-loop queue requiring no human-computer interaction.
In the above scheme, the allocating unit is configured to allocate the task to an open-loop queue that requires human-computer interaction when a specific parameter exists in an attribute parameter of any task in the at least one task; when the attribute parameters of any task in the at least one task do not have the specific parameters, the task is allocated to a closed-loop queue without human-computer interaction.
In the above scheme, the apparatus further includes a first storage unit and a second storage unit;
the first storage unit is used for storing the task configuration file after the first generation unit generates the task configuration file;
the second generating unit is configured to read the task configuration file from the first storage unit, load the task configuration file into the second storage unit, parse the task configuration file in the second storage unit according to a preset parsing manner, and generate a data structure at least including a symbol table, a syntax tree, and an interpreter.
In the above scheme, the configuration unit is configured to configure a preset logic rule; generating task flow information represented by a flow chart according to the preset logic rule; the preset logic rule at least comprises: four arithmetic, logic operation, conditional statement, skip statement, loop statement and function functional block; wherein the function blocks include at least one of the following function blocks: switch on/off function, gear up/down function/stop function, soft press plate on/off function, and constant value modification function.
In the above solution, the data structure at least includes: symbol tables, syntax trees and interpreters;
the execution unit is used for triggering a callback function according to a logic result of an interpreter in a task and a function represented by a function call attribute parameter in the task, and sending an action signal based on the callback function; the action signal comprises at least one of the following action signals: switch signal dividing/closing signal, gear signal increasing/decreasing/stopping signal, soft press plate signal switching/signal returning, and fixed value modifying signal.
In the foregoing solution, the executing unit is configured to respectively execute actions represented by the at least one action signal, where the actions at least include at least one of the following actions: switch on/off, gear up/down/stop, soft pressing plate on/off and fixed value modification.
The embodiment of the invention also provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used for executing the task processing method in the embodiment of the invention.
According to the task processing method, the task processing equipment and the computer storage medium, the task flow information is configured, and the task configuration file represented by the script language is generated according to the task flow information; scanning the task configuration file, generating a data structure according to the task configuration file, and generating at least one task based on the data structure; and respectively sending out at least one action signal according to the at least one task, and respectively executing the action represented by the at least one action signal. Therefore, by adopting the technical scheme of the embodiment of the invention, the independence and flexibility of the embedded system sequential flow control are improved, the defects of hard coding, program programming difficulty and poor flexibility and operability of the traditional sequential flow control are overcome, and the consumption of manpower and material resources is greatly reduced.
Drawings
FIG. 1 is a flowchart illustrating a task processing method according to an embodiment of the present invention;
FIG. 2 is a diagram illustrating task processing according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of the structure of the apparatus according to the embodiment of the present invention;
fig. 4 is a detailed flowchart illustrating a task processing method according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and specific embodiments.
The embodiment of the invention provides a task processing method. FIG. 1 is a flowchart illustrating a task processing method according to an embodiment of the present invention; as shown in fig. 1, the task processing method includes:
step 101: and configuring task flow information.
Here, the configuring task flow information includes:
configuring a preset logic rule; the preset logic rule at least comprises: four arithmetic, logic operation, conditional statement, skip statement, loop statement and function functional block; wherein the function blocks include at least one of the following function blocks: a switch on/off function, a gear ascending function/descending function/stopping function, a soft pressing plate switching function/retreating function and a fixed value modification function;
and generating task flow information represented by the flow chart according to the preset logic rule.
Specifically, the configuration preset logic rule is configured according to the script language requirement, that is: configuring basic language elements according to the requirements of a script language, wherein the basic language elements at least comprise: four arithmetic operations, logical operations, conditional statements (statement key fields such as if/else), jump statements (statement key fields such as goto), loop statements (statement key fields such as dowhill), and configuring function blocks according to the requirements of the scripting language, wherein the function blocks at least comprise at least one of the following function blocks: on/off of a switch (key fields are corresponding to cbOpen or cbClose), gear ascending/descending/stopping (key fields are corresponding to tapeUp, tapeDown and tapeStop), soft pressing plate on/off and fixed value modification; wherein the four arithmetic operations comprise: plus (+) operation, minus (-) operation, multiply (#) operation, and divide (/) operation; the logical operation comprises: a logical AND (& &) operation, a logical OR (| |) operation, a logical NOT (!) operation, a logical XOR (^) operation; after the preset logic rule configuration is completed, task flow information represented by a flow chart is configured and generated according to application requirements based on the preset logic rule, and different task flow information can be configured and generated according to different application requirements; therefore, in the embodiment of the invention, a user can configure and generate different task flow information according to different application requirements, so that the firmware does not need to be recoded and all application programs do not need to be programmed.
Step 102: and generating a task configuration file represented by a script language according to the task flow information.
Here, the task profile includes at least the following key fields:
a file summary field (GENERAL) which describes attributes such as file format version, generation time, intelligent device name (IEDname), intelligent device description (IEDDesc) and the like and is used for managing configuration text;
a file SIZE field (SIZE) which describes the input number, the output number, the formula number and the script number and makes a summary explanation for establishing a grammatical relationship;
an INPUT variable field (INPUT _ x) describing attributes of an INPUT, comprising: signal characteristics, signal source, data reference (DataRef), short address, description, etc.;
an OUTPUT variable field (OUTPUT _ x) describing attributes of the OUTPUT, including: behavior characteristics, signal virtuality and reality characteristics, short addresses, descriptions, parameters and the like;
a FORMULA (FORMULA _ x) field, the FORMULA _ x field describing a FORMULA expression, associating an input with an output;
and a SCRIPT (SCRIPT _ x) field, wherein the SCRIPT _ x field describes a SCRIPT rule, and results such as the OUTPUT _ x field are adopted as variables to participate in the SCRIPT to complete sequential flow control.
A FILE CHECK (FILE _ CHECK) field describing a FILE checksum, preventing a FILE from being damaged or tampered.
Step 103: and scanning the task configuration file, generating a data structure according to the task configuration file, and generating at least one task based on the data structure.
The task processing method in this embodiment can be applied to a device having a shared memory and a system memory; the shared memory may be a storage space of the device that is primarily for an operating system; the system memory may be a storage space in the device that is primarily directed to real-time operations; after generating the task configuration file characterized by the scripting language according to the task flow information in step 102, the method further includes:
storing the task configuration file in a shared memory;
correspondingly, the scanning the task configuration file and generating a data structure according to the task configuration file in this step includes: reading the task configuration file from the shared memory, and loading the task configuration file to a system memory; and analyzing the task configuration file in the system memory according to a preset analysis mode to generate a data structure at least comprising a symbol table, a syntax tree and an interpreter.
Specifically, the task configuration file is loaded to a system memory, and the task configuration file is analyzed, where the analysis mode includes processes of lexical scanning, syntactic scanning, semantic analysis, and the like, and based on each field in the task configuration file, the method specifically includes: and forming an incidence relation according to the INPUT variable field (INPUT _ x), the OUTPUT variable field (OUTPUT _ x), the FORMULA (FORMULA _ x) field and the SCRIPT (SCRIPT _ x), and generating data structures such as a symbol table, an expression tree and an interpreter based on the incidence relation.
In another embodiment according to the embodiment of the present invention, after the generating at least one task based on the data structure, the method further includes: distributing the at least one task into at least two queues according to the attribute parameters of the at least one task; wherein the at least two queues include at least: an open-loop queue requiring human-computer interaction and a closed-loop queue requiring no human-computer interaction.
The allocating the at least one task into at least two queues based on the attribute parameters of the at least one task comprises: when the attribute parameters of any task in the at least one task have specific parameters, distributing the task to an open-loop queue needing human-computer interaction; when the attribute parameters of any task in the at least one task do not have the specific parameters, the task is allocated to a closed-loop queue without human-computer interaction.
Specifically, the task described in this embodiment is generated by a data structure, and therefore the task is also represented by the data structure; here, the attribute parameter of the task may specifically be a linguistic feature parameter extracted from a syntax tree in the data structure, and when the linguistic feature parameter includes a specific parameter indicating a human-computer interaction interface, such as a sending report (sendReport), a wait for user confirmation command (waitForUserCmd), and the like, the task is allocated to an open-loop queue requiring human-computer interaction, an open-loop operation mode is provided in the device, and a behavior after the corresponding task is determined by a human-computer interaction operation; when the language characteristic parameters do not comprise the specific parameters, the tasks are distributed to a closed-loop queue without human-computer interaction, a closed-loop operation mode is provided in the equipment, human-computer interaction operation is not needed, and an independent outlet is provided for corresponding applications.
In this embodiment, the at least one task forms at least one independent process, or forms a plurality of threads under one independent process.
Step 104: and respectively sending out at least one action signal according to the at least one task, and respectively executing the action represented by the at least one action signal.
Here, the issuing of the action signal according to the at least one task, respectively, includes: triggering a callback function according to a logic result of an interpreter in a task and a function represented by a function call attribute parameter in the task, and sending an action signal based on the callback function; wherein the action signal comprises at least one of the following action signals: switch signal dividing/closing signal, gear signal increasing/decreasing/stopping signal, soft press plate signal switching/signal returning, and fixed value modifying signal.
Respectively executing actions represented by the at least one action signal based on the callback function sending action signals, wherein the actions at least comprise one of the following actions: switch on/off, gear up/down/stop, soft pressing plate on/off and fixed value modification.
The switch on/off represents the opening/closing of a switch (namely the disconnection/connection of a line), the switch on/off can be used for a switch device of a transformer substation, and when the action is the switch on/off, the switch on/off represents the switch-off operation of the switch, namely the disconnection of a power transmission line; correspondingly, when the action is used as 'switch on', the switch-on operation of the switch is represented, namely, the transmission line is communicated.
The gear step-up/down/stop can be used in a transformer of a transformer substation, when the transmission voltage jitters (namely, the transmission voltage is increased or decreased), the transformer needs to adjust the transmission voltage, and according to the jittering condition of the transmission voltage, the transmission voltage is correspondingly decreased or increased, and the gear step-up represents the increase of the transmission voltage; the 'gear reduction' represents the reduction of the transmission voltage; "gear stop" means stopping the regulation of the transmission voltage.
The 'soft pressing plate switching on/off' can be any functional switch of the transformer substation, and the 'soft pressing plate switching on' represents the opening of the functional switch; the "soft press plate recedes" represents the closing of the function switch. Specifically, the function switch is a switch written by a software program, that is, a virtual switch. The function switch can be characterized by an assignment of "0" or "1" to the closing or opening of the function switch.
The "fixed value modification" may be any settable value in the substation, for example, the opening pulse width is 500 ms.
Specifically, when the at least one task forms at least one independent process or forms a plurality of threads under one independent process, a callback function is triggered according to a logic result of an interpreter in the process or the thread and a function represented by a function call attribute parameter in the task, and an action signal is sent based on the callback function, so that a corresponding trigger table is triggered, and an action represented by the trigger table is executed. Here, the at least one task is instantiated as at least one task entity, the task entity being characterized by data structures, such as syntax trees, whose execution depends on the interpreter; providing an independent interpreter library in the system, wherein the interpreter library is in a dynamic library mode and provides independent code space and partial system data space for all tasks; each task is interpreted and executed through library call, and finally a series of actions such as opening/closing of a switch are obtained.
In the embodiment, a parallel mechanism is adopted, the open-loop queue and the closed-loop queue are instantiated into at least one task entity, and the task entities are not interacted with each other and are executed independently; FIG. 2 is a diagram illustrating task processing according to an embodiment of the present invention; as shown in fig. 2, the task set is instantiated with N tasks, such as task 1, task 2 through task N shown in the figure; each task entity is interpreted and executed by an interpreter; and triggering a callback function according to the logic result of the interpreter and the function represented by the function call attribute parameters in the task, and synchronously triggering the callback function so as to trigger a corresponding trigger table and send an action signal to a system bus to cause action behaviors such as control, Sequence Control (SC), automatic voltage control (AVR), automatic power generation control (AGC) and the like.
In another embodiment according to the present invention, the data structure of each task includes the number of times of executing the action, and the number of times of executing the action represents the life cycle of the corresponding task; after the action of the task is executed for corresponding times, the life cycle of the task is ended; and when the life cycle of the task is finished, automatically constructing resources corresponding to the task.
By adopting the technical scheme of the embodiment of the invention, the independence and the flexibility of the embedded system sequential flow control are improved, the defects of hard coding, program programming difficulty and poor flexibility and operability of the traditional sequential flow control are overcome, and the consumption of manpower and material resources is greatly reduced.
The embodiment of the invention also provides equipment. FIG. 3 is a schematic diagram of the structure of the apparatus according to the embodiment of the present invention; as shown in fig. 3, the apparatus includes: a configuration unit 31, a first generation unit 32, a second generation unit 33, and an execution unit 34; wherein,
the configuration unit 31 is configured to configure task flow information;
the first generating unit 32 is configured to generate a task configuration file represented by a scripting language according to the task flow information configured by the configuring unit 31;
the second generating unit 33 is configured to scan the task configuration file generated by the first generating unit 32, generate a data structure according to the task configuration file, and generate at least one task based on the data structure;
the executing unit 34 is configured to send at least one action signal according to the at least one task generated by the second generating unit 33, and respectively execute an action represented by the at least one action signal.
In this embodiment, the configuring unit 31 specifically configures the task flow information by: configuring a preset logic rule; generating task flow information represented by a flow chart according to the preset logic rule; wherein the preset logic rule at least comprises: four arithmetic, logic operation, conditional statement, skip statement, loop statement and function functional block; wherein the function blocks include at least one of the following function blocks: switch on/off function, gear up/down function/stop function, soft press plate on/off function, and constant value modification function.
Specifically, the configuration unit 31 configures preset logic rules according to the script language requirement, that is: configuring basic language elements according to the requirements of a script language, wherein the basic language elements at least comprise: four arithmetic operations, logical operations, conditional statements (statement key fields such as if/else), jump statements (statement key fields such as goto), loop statements (statement key fields such as dowhill), and configuring function blocks according to the requirements of the scripting language, wherein the function blocks at least comprise at least one of the following function blocks: on/off of a switch (key fields are corresponding to cbOpen or cbClose), gear ascending/descending/stopping (key fields are corresponding to tapeUp, tapeDown and tapeStop), soft pressing plate on/off and fixed value modification; wherein the four arithmetic operations comprise: plus (+) operation, minus (-) operation, multiply (#) operation, and divide (/) operation; the logical operation comprises: a logical AND (& &) operation, a logical OR (| |) operation, a logical NOT (!) operation, a logical XOR (^) operation; after the preset logic rule configuration is completed, task flow information represented by a flow chart is configured and generated according to application requirements based on the preset logic rule, and different task flow information can be configured and generated according to different application requirements; therefore, in the embodiment of the invention, a user can configure and generate different task flow information according to different application requirements, so that the firmware does not need to be recoded and all application programs do not need to be programmed.
Here, the task profile includes at least the following key fields:
a file summary field (GENERAL) which describes attributes such as file format version, generation time, intelligent device name (IEDname), intelligent device description (IEDDesc) and the like and is used for managing configuration text;
a file SIZE field (SIZE) which describes the input number, the output number, the formula number and the script number and makes a summary explanation for establishing a grammatical relationship;
an INPUT variable field (INPUT _ x) describing attributes of an INPUT, comprising: signal characteristics, signal source, DataRef, short address, description, etc.;
an OUTPUT variable field (OUTPUT _ x) describing attributes of the OUTPUT, including: behavior characteristics, signal virtuality and reality characteristics, short addresses, descriptions, parameters and the like;
a FORMULA (FORMULA _ x) field, the FORMULA _ x field describing a FORMULA expression, associating an input with an output;
and a SCRIPT (SCRIPT _ x) field, wherein the SCRIPT _ x field describes a SCRIPT rule, and results such as the OUTPUT _ x field are adopted as variables to participate in the SCRIPT to complete sequential flow control.
A FILE CHECK (FILE _ CHECK) field describing a FILE checksum, preventing a FILE from being damaged or tampered.
In another embodiment, the apparatus further includes an allocating unit 35, configured to, after the second generating unit 33 generates at least one task based on the data structure, allocate the at least one task into at least two queues according to the attribute parameter of the at least one task; wherein the at least two queues include at least: an open-loop queue requiring human-computer interaction and a closed-loop queue requiring no human-computer interaction.
The allocating unit 35 is configured to, when there is a specific parameter in an attribute parameter of any task in the at least one task, allocate the task to an open-loop queue that needs human-computer interaction; when the attribute parameters of any task in the at least one task do not have the specific parameters, the task is allocated to a closed-loop queue without human-computer interaction.
Specifically, the task described in this embodiment is generated by a data structure, and therefore the task is also represented by the data structure; here, the attribute parameter of the task may specifically be a linguistic feature parameter extracted from a syntax tree in the data structure, and when the linguistic feature parameter includes a specific parameter indicating a human-computer interaction interface, such as a sending report (sendReport), a wait for user confirmation command (waitForUserCmd), and the like, the task is allocated to an open-loop queue requiring human-computer interaction, an open-loop operation mode is provided in the device, and a behavior after the corresponding task is determined by a human-computer interaction operation; when the language characteristic parameters do not comprise the specific parameters, the tasks are distributed to a closed-loop queue without human-computer interaction, a closed-loop operation mode is provided in the equipment, human-computer interaction operation is not needed, and an independent outlet is provided for corresponding applications.
In another embodiment, the apparatus further comprises a first storage unit 36 and a second storage unit 37;
the first storage unit 36 is configured to store the task configuration file after the first generating unit 32 generates the task configuration file;
the second generating unit 33 is configured to read the task configuration file from the first storage unit 36, load the task configuration file into the second storage unit 37, parse the task configuration file in the second storage unit 37 according to a preset parsing manner, and generate a data structure at least including a symbol table, a syntax tree, and an interpreter.
In this embodiment, the device further has a shared memory and a system memory; the shared memory may be a storage space of the device that is primarily for an operating system; the system memory may be a storage space in the device that is primarily directed to real-time operations; after the first generating unit 32 generates a task configuration file represented by a scripting language according to the task flow information, storing the task configuration file in a shared memory;
correspondingly, the second generating unit 33 scans the task configuration file, and generates a data structure according to the task configuration file, including: reading the task configuration file from the shared memory, and loading the task configuration file to a system memory; and analyzing the task configuration file in the system memory according to a preset analysis mode to generate a data structure at least comprising a symbol table, a syntax tree and an interpreter.
Specifically, the second generating unit 33 loads the task configuration file to a system memory, and analyzes the task configuration file, where the analysis mode includes processes such as lexical scanning, syntactic scanning, and semantic analysis, and based on each field in the task configuration file, the method specifically includes: and forming an incidence relation according to the INPUT variable field (INPUT _ x), the OUTPUT variable field (OUTPUT _ x), the FORMULA (FORMULA _ x) field and the SCRIPT (SCRIPT _ x), and generating data structures such as a symbol table, an expression tree and an interpreter based on the incidence relation.
In another embodiment, the configuration unit 31 is configured to configure a preset logic rule; generating task flow information represented by a flow chart according to the preset logic rule; the preset logic rule at least comprises: four arithmetic, logic operation, conditional statement, skip statement, loop statement and function functional block; wherein the function block includes at least: switch on/off, gear up/down/stop, soft pressing plate on/off and fixed value modification.
Based on the above embodiment, the data structure at least includes: symbol tables, syntax trees and interpreters;
the execution unit 34 is configured to trigger a callback function according to a logic result of an interpreter in a task and a function represented by a function call attribute parameter in the task, and send an action signal based on the callback function; the action signal comprises at least one of the following action signals: switch signal dividing/closing signal, gear signal increasing/decreasing/stopping signal, soft press plate signal switching/signal returning, and fixed value modifying signal.
Correspondingly, the executing unit 34 is configured to respectively execute the actions represented by the at least one action signal, where the actions include at least one of the following actions: switch on/off, gear up/down/stop, soft pressing plate on/off and fixed value modification.
Specifically, the at least one task forms at least one independent process, or forms a plurality of threads under one independent process, triggers a callback function according to a logic result of an interpreter in the process or the thread and a function characterized by a function call attribute parameter in the task, and sends an action signal based on the callback function, so as to trigger a corresponding trigger table and execute an action characterized by the trigger table.
In this embodiment, the configuration unit 31, the first generation unit 32, the second generation unit 33, the execution unit 34, and the allocation unit 35 may be implemented by a Central Processing Unit (CPU), a Digital Signal Processor (DSP), or a programmable gate array (FPGA) in the device in practical application.
The embodiment of the invention also provides a task processing method; FIG. 4 is a detailed flowchart of a task processing method according to an embodiment of the present invention; as shown in fig. 4, the task processing method includes:
step 401: and configuring task flow information.
In this embodiment, the task flow information may be represented by a task flow control diagram; the step is to configure a preset logic rule at first; generating task flow information represented by a flow chart according to the preset logic rule; wherein the preset logic rule at least comprises: four arithmetic, logic operation, conditional statement, skip statement, loop statement and function functional block; wherein the function blocks include at least one of the following function blocks: switch on/off function, gear up/down function/stop function, soft press plate on/off function, and constant value modification function.
Specifically, the configuration preset logic rule is configured according to the script language requirement, that is: configuring basic language elements according to the requirements of a script language, wherein the basic language elements at least comprise: four arithmetic operations, logical operations, conditional statements (statement key fields such as if/else), jump statements (statement key fields such as goto), loop statements (statement key fields such as dowhill), and configuring function blocks according to the requirements of the scripting language, wherein the function blocks at least comprise at least one of the following function blocks: on/off of a switch (key fields are corresponding to cbOpen or cbClose), gear ascending/descending/stopping (key fields are corresponding to tapeUp, tapeDown and tapeStop), soft pressing plate on/off and fixed value modification; wherein the four arithmetic operations comprise: plus (+) operation, minus (-) operation, multiply (#) operation, and divide (/) operation; the logical operation comprises: a logical AND (& &) operation, a logical OR (| |) operation, a logical NOT (!) operation, a logical XOR (^) operation; after the preset logic rule configuration is completed, task flow information represented by a flow chart is configured and generated according to application requirements based on the preset logic rule, and different task flow information can be configured and generated according to different application requirements; therefore, in the embodiment of the invention, a user can configure and generate different task flow information according to different application requirements, so that the firmware does not need to be recoded and all application programs do not need to be programmed.
Step 402: and generating a task configuration file according to the task flow information.
Here, the task profile includes at least the following key fields:
a file summary field (GENERAL) which describes attributes such as file format version, generation time, intelligent device name (IEDname), intelligent device description (IEDDesc) and the like and is used for managing configuration text;
a file SIZE field (SIZE) which describes the input number, the output number, the formula number and the script number and makes a summary explanation for establishing a grammatical relationship;
an INPUT variable field (INPUT _ x) describing attributes of an INPUT, comprising: signal characteristics, signal source, DataRef, short address, description, etc.;
an OUTPUT variable field (OUTPUT _ x) describing attributes of the OUTPUT, including: behavior characteristics, signal virtuality and reality characteristics, short addresses, descriptions, parameters and the like;
a FORMULA (FORMULA _ x) field, the FORMULA _ x field describing a FORMULA expression, associating an input with an output;
and a SCRIPT (SCRIPT _ x) field, wherein the SCRIPT _ x field describes a SCRIPT rule, and results such as an OUTPUT _ x field are used as variables to participate in the SCRIPT to complete sequential flow control.
A FILE CHECK (FILE _ CHECK) field describing a FILE checksum, preventing a FILE from being damaged or tampered.
Step 403: and the operating system loads the task configuration file to a shared memory.
The task processing method in this embodiment can be applied to a device having a shared memory and a system memory; the shared memory may be a storage space of the device that is primarily for an operating system; the system memory may be a storage space in the device primarily for real-time operations
Step 404: and the processor reads the task configuration file from the shared memory and performs Cyclic Redundancy Check (CRC) check on the task configuration file.
Here, a preset field in the task configuration file is provided with a check code, and the preset field is, for example, the last four bytes in the task configuration file; the processor reads a binary information check code from a file header of the task configuration file, calculates the binary information check code according to a preset algorithm, and when the calculated binary information check code is matched with the check code in the task configuration file, the CRC check is successful, the file is not tampered or damaged, and the subsequent operation flow is continuously executed; and when the calculated binary check code is inconsistent with the check code in the task configuration file in a matching way, the file is falsified or damaged, and the subsequent operation flow is not executed.
Step 405: and establishing a summary table item, an input table item, an output table item, a formula table item and a script table item in sequence according to the task configuration file.
Wherein, a summary table entry can be established according to a GENERAL field and a SIZE field in the task configuration file; an INPUT table entry can be established according to an INPUT _ x field in the task configuration file; an OUTPUT table entry can be established according to an OUTPUT _ x field in the task configuration file; a FORMULA item can be established according to a FORMULA _ x field in the task configuration file; SCRIPT entries may be created according to the SCRIPT _ x field in the task configuration file.
Step 406: according to the elements of input table item, output table item, formula table item and script table item, the data structures of symbol table, grammar tree and interpreter are built through lexical scanning, grammar scanning and semantic analysis.
Step 407: at least one task is allocated to at least two queues, and the at least one task is processed in parallel.
In this step, the at least two queues at least include: an open-loop queue requiring human-computer interaction and a closed-loop queue requiring no human-computer interaction. When the attribute parameters of any task in the at least one task have specific parameters, distributing the task to an open-loop queue needing human-computer interaction; when the attribute parameters of any task in the at least one task do not have the specific parameters, the task is allocated to a closed-loop queue without human-computer interaction.
Specifically, the task described in this embodiment is generated by a data structure, and therefore the task is also represented by the data structure; here, the attribute parameter of the task may specifically be a linguistic feature parameter extracted from a syntax tree in the data structure, and when the linguistic feature parameter includes a specific parameter indicating a human-computer interaction interface, such as a sending report (sendReport), a wait for user confirmation command (waitForUserCmd), and the like, the task is allocated to an open-loop queue requiring human-computer interaction, an open-loop operation mode is provided in the device, and a behavior after the corresponding task is determined by a human-computer interaction operation; when the language characteristic parameters do not comprise the specific parameters, the tasks are distributed to a closed-loop queue without human-computer interaction, a closed-loop operation mode is provided in the equipment, human-computer interaction operation is not needed, and an independent outlet is provided for corresponding applications. The specific parameters need not be configured manually.
In this embodiment, the at least one task forms at least one independent process, or forms a plurality of threads under one independent process; and the open-loop queue and the closed-loop queue are instantiated into at least one task entity, and the task entities are not interacted with each other and are executed independently.
Step 408: and interpreting and executing the at least one task through library calling.
Here, the at least one task is instantiated as at least one task entity, the task entity being characterized by data structures, such as syntax trees, whose execution depends on the interpreter; providing an independent interpreter library in the system, wherein the interpreter library is in a dynamic library mode and provides independent code space and partial system data space for all tasks; and each task executes the task through library call interpretation.
Step 409: extracting a trigger behavior from the trigger table entry, triggering a callback function, and sending an action signal to a system bus; the action signal comprises at least one of the following action signals: switch signal dividing/closing signal, gear signal increasing/decreasing/stopping signal, soft press plate signal switching/signal returning, and fixed value modifying signal.
Here, when the at least one task forms at least one independent process or forms a plurality of threads under one independent process, a callback function is triggered according to a logic result of an interpreter in the process or the thread and a function represented by a function call attribute parameter in the task, an action signal is sent based on the callback function, so as to trigger a corresponding trigger table, and an action represented by the trigger table is executed, so as to send an action signal to a system bus, thereby causing action behaviors such as control, Sequence Control (SC), automatic voltage control (AVR), automatic power generation control (AGC), and the like.
Based on the motion signals, respectively executing the motion represented by the at least one motion signal, wherein the motion at least comprises one of the following motions: switch on/off, gear up/down/stop, soft pressing plate on/off and fixed value modification.
The switch on/off represents the opening/closing of a switch (namely the disconnection/connection of a line), the switch on/off can be used for a switch device of a transformer substation, and when the action is the switch on/off, the switch on/off represents the switch-off operation of the switch, namely the disconnection of a power transmission line; correspondingly, when the action is used as 'switch on', the switch-on operation of the switch is represented, namely, the transmission line is communicated.
The gear step-up/down/stop can be used in a transformer of a transformer substation, when the transmission voltage jitters (namely, the transmission voltage is increased or decreased), the transformer needs to adjust the transmission voltage, and according to the jittering condition of the transmission voltage, the transmission voltage is correspondingly decreased or increased, and the gear step-up represents the increase of the transmission voltage; the 'gear reduction' represents the reduction of the transmission voltage; "gear stop" means stopping the regulation of the transmission voltage.
The 'soft pressing plate switching on/off' can be any functional switch of the transformer substation, and the 'soft pressing plate switching on' represents the opening of the functional switch; the "soft press plate recedes" represents the closing of the function switch. Specifically, the function switch is a switch written by a software program, that is, a virtual switch. The function switch can be characterized by an assignment of "0" or "1" to the closing or opening of the function switch.
The "fixed value modification" may be any settable value in the substation, for example, the opening pulse width is 500 ms.
An embodiment of the present invention further provides a computer storage medium, where computer-executable instructions are stored in the computer storage medium, and the computer-executable instructions are used to execute the task processing method according to the embodiment of the present invention shown in fig. 1 or fig. 4.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of a hardware embodiment, a software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention 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, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. 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.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention.
Claims (15)
1. A method for processing a task, the method comprising:
configuring task flow information, and generating a task configuration file represented by a script language according to the task flow information;
scanning the task configuration file, generating a data structure according to the task configuration file, and generating at least one task based on the data structure;
and respectively sending out at least one action signal according to the at least one task, and respectively executing the action represented by the at least one action signal.
2. The method of claim 1, wherein after the generating at least one task based on the data structure, the method further comprises:
distributing the at least one task into at least two queues according to the attribute parameters of the at least one task;
wherein the at least two queues include at least: an open-loop queue requiring human-computer interaction and a closed-loop queue requiring no human-computer interaction.
3. The method of claim 2, wherein the allocating the at least one task into at least two queues based on attribute parameters of the at least one task comprises:
when the attribute parameters of any task in the at least one task have specific parameters, distributing the task to an open-loop queue needing human-computer interaction;
when the attribute parameters of any task in the at least one task do not have the specific parameters, the task is allocated to a closed-loop queue without human-computer interaction.
4. The method of claim 1, wherein after generating a task configuration file characterized by a scripting language from the flow information, the method further comprises:
storing the task configuration file in a shared memory;
correspondingly, the scanning the task configuration file and generating a data structure according to the task configuration file include:
reading the task configuration file from the shared memory, and loading the task configuration file to a system memory;
and analyzing the task configuration file in the system memory according to a preset analysis mode to generate a data structure at least comprising a symbol table, a syntax tree and an interpreter.
5. The method of claim 1, wherein configuring task flow information comprises:
configuring a preset logic rule; the preset logic rule at least comprises: four arithmetic, logic operation, conditional statement, skip statement, loop statement and function functional block; wherein the function blocks include at least one of the following function blocks: a switch on/off function, a gear ascending function/descending function/stopping function, a soft pressing plate switching function/retreating function and a fixed value modification function;
and generating task flow information represented by the flow chart according to the preset logic rule.
6. The method according to claim 5, characterized in that said data structure comprises at least: symbol tables, syntax trees and interpreters; the sending out the action signal according to the at least one task respectively comprises:
triggering a callback function according to a logic result of an interpreter in a task and a function represented by a function call attribute parameter in the task, and sending an action signal based on the callback function;
the action signal comprises at least one of the following action signals: switch signal dividing/closing signal, gear signal increasing/decreasing/stopping signal, soft press plate signal switching/signal returning, and fixed value modifying signal.
7. The method according to claim 6, characterized in that said action of performing said at least one action signal characterization, respectively, comprises at least one of the following actions: switch on/off, gear up/down/stop, soft pressing plate on/off and fixed value modification.
8. An apparatus, characterized in that the apparatus comprises: the device comprises a configuration unit, a first generation unit, a second generation unit and an execution unit; wherein,
the configuration unit is used for configuring task flow information;
the first generating unit is used for generating a task configuration file represented by a script language according to the task flow information configured by the configuration unit;
the second generating unit is used for scanning the task configuration file generated by the first generating unit, generating a data structure according to the task configuration file, and generating at least one task based on the data structure;
the execution unit is configured to send at least one action signal according to the at least one task generated by the second generation unit, and execute an action represented by the at least one action signal.
9. The apparatus according to claim 8, further comprising an allocating unit, configured to allocate at least one task into at least two queues according to an attribute parameter of the at least one task after the second generating unit generates the at least one task based on the data structure; wherein the at least two queues include at least: an open-loop queue requiring human-computer interaction and a closed-loop queue requiring no human-computer interaction.
10. The device according to claim 9, wherein the allocating unit is configured to allocate the task to an open-loop queue requiring human-computer interaction when there is a specific parameter in an attribute parameter of any task in the at least one task; when the attribute parameters of any task in the at least one task do not have the specific parameters, the task is allocated to a closed-loop queue without human-computer interaction.
11. The apparatus of claim 8, further comprising a first storage unit and a second storage unit;
the first storage unit is used for storing the task configuration file after the first generation unit generates the task configuration file;
the second generating unit is configured to read the task configuration file from the first storage unit, load the task configuration file into the second storage unit, parse the task configuration file in the second storage unit according to a preset parsing manner, and generate a data structure at least including a symbol table, a syntax tree, and an interpreter.
12. The apparatus according to claim 8, wherein the configuration unit is configured to configure a preset logic rule; generating task flow information represented by a flow chart according to the preset logic rule; the preset logic rule at least comprises: four arithmetic, logic operation, conditional statement, skip statement, loop statement and function functional block; wherein the function blocks include at least one of the following function blocks: switch on/off function, gear up/down function/stop function, soft press plate on/off function, and constant value modification function.
13. The apparatus according to claim 12, characterized in that said data structure comprises at least: symbol tables, syntax trees and interpreters;
the execution unit is used for triggering a callback function according to a logic result of an interpreter in a task and a function represented by a function call attribute parameter in the task, and sending an action signal based on the callback function; the action signal comprises at least one of the following action signals: switch signal dividing/closing signal, gear signal increasing/decreasing/stopping signal, soft press plate signal switching/signal returning, and fixed value modifying signal.
14. The apparatus according to claim 13, wherein the execution unit is configured to perform the actions characterized by the at least one action signal, respectively, the actions comprising at least one of: switch on/off, gear up/down/stop, soft pressing plate on/off and fixed value modification.
15. A computer storage medium having stored therein computer-executable instructions for performing the task processing method of any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410626094.3A CN105630581A (en) | 2014-11-07 | 2014-11-07 | Task processing method and device, and computer storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410626094.3A CN105630581A (en) | 2014-11-07 | 2014-11-07 | Task processing method and device, and computer storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105630581A true CN105630581A (en) | 2016-06-01 |
Family
ID=56045560
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410626094.3A Pending CN105630581A (en) | 2014-11-07 | 2014-11-07 | Task processing method and device, and computer storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105630581A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107632819A (en) * | 2016-07-14 | 2018-01-26 | 南京南瑞继保电气有限公司 | A kind of method and system of the FPGA debugging based on symbol table |
CN108762824A (en) * | 2018-04-18 | 2018-11-06 | 青岛海尔科技有限公司 | A kind of apparatus logic processing method and processing device based on configuration file |
CN110061861A (en) * | 2019-03-21 | 2019-07-26 | 广东瑞恩科技有限公司 | Internet protocol configuration method, device, equipment and computer readable storage medium |
CN110597611A (en) * | 2019-09-19 | 2019-12-20 | 中国银行股份有限公司 | Task scheduling method and device |
CN113947071A (en) * | 2021-10-21 | 2022-01-18 | 北京四方继保工程技术有限公司 | Analysis execution system and method for transformer substation five-prevention file |
CN114816349A (en) * | 2022-04-22 | 2022-07-29 | 珠海市奥德维科技有限公司 | Development method, system and storage medium for automation equipment control software |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090276274A1 (en) * | 2007-03-15 | 2009-11-05 | Fujitsu Limited | Program and apparatus for workflow analysis |
CN101630275A (en) * | 2009-07-31 | 2010-01-20 | 清华大学 | Realizing method of configuration information for generating cycle task and device thereof |
CN102751785A (en) * | 2012-05-21 | 2012-10-24 | 中国电力科学研究院 | Modularization sequential control system and realization method thereof |
CN102799515A (en) * | 2011-05-24 | 2012-11-28 | 腾讯科技(深圳)有限公司 | Application program testing method and device |
CN103177045A (en) * | 2011-12-26 | 2013-06-26 | 中国移动通信集团广东有限公司 | Text analysis method and text analysis device |
-
2014
- 2014-11-07 CN CN201410626094.3A patent/CN105630581A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090276274A1 (en) * | 2007-03-15 | 2009-11-05 | Fujitsu Limited | Program and apparatus for workflow analysis |
CN101630275A (en) * | 2009-07-31 | 2010-01-20 | 清华大学 | Realizing method of configuration information for generating cycle task and device thereof |
CN102799515A (en) * | 2011-05-24 | 2012-11-28 | 腾讯科技(深圳)有限公司 | Application program testing method and device |
CN103177045A (en) * | 2011-12-26 | 2013-06-26 | 中国移动通信集团广东有限公司 | Text analysis method and text analysis device |
CN102751785A (en) * | 2012-05-21 | 2012-10-24 | 中国电力科学研究院 | Modularization sequential control system and realization method thereof |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107632819A (en) * | 2016-07-14 | 2018-01-26 | 南京南瑞继保电气有限公司 | A kind of method and system of the FPGA debugging based on symbol table |
CN108762824A (en) * | 2018-04-18 | 2018-11-06 | 青岛海尔科技有限公司 | A kind of apparatus logic processing method and processing device based on configuration file |
CN110061861A (en) * | 2019-03-21 | 2019-07-26 | 广东瑞恩科技有限公司 | Internet protocol configuration method, device, equipment and computer readable storage medium |
CN110597611A (en) * | 2019-09-19 | 2019-12-20 | 中国银行股份有限公司 | Task scheduling method and device |
CN113947071A (en) * | 2021-10-21 | 2022-01-18 | 北京四方继保工程技术有限公司 | Analysis execution system and method for transformer substation five-prevention file |
CN114816349A (en) * | 2022-04-22 | 2022-07-29 | 珠海市奥德维科技有限公司 | Development method, system and storage medium for automation equipment control software |
CN114816349B (en) * | 2022-04-22 | 2023-09-29 | 珠海市奥德维科技有限公司 | Automatic equipment control software development method, system and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105630581A (en) | Task processing method and device, and computer storage medium | |
CN110825488A (en) | Business processing method and device, electronic equipment and storage medium | |
US11215960B2 (en) | Engineering apparatus, control method of engineering apparatus, and program for generating executable code for controlling target hardware | |
CN109976723B (en) | Algorithm development platform, algorithm development method and computer readable storage medium | |
CN111061743B (en) | Data processing method and device and electronic equipment | |
CN111352620B (en) | Visual configuration programming method and system | |
KR102280116B1 (en) | Engineering apparatus, control method of engineering apparatus, and program | |
US20170139693A1 (en) | Code execution method and device | |
CN104133676A (en) | Function execution method and function execution device based on scripts | |
CN105204837B (en) | Method and device for realizing logic programming | |
CN108345451B (en) | Continuous function diagram programming method | |
US9117020B2 (en) | Determining control flow divergence due to variable value difference | |
US20190196798A1 (en) | Executable program creation device, executable program creation method, and executable program creation program | |
CN117573255A (en) | Interface refreshing method, device and medium for graphical application | |
CN106569838A (en) | QP frame-based automatic code generator | |
US10996987B2 (en) | Progress visualization of computational job | |
CN115113922A (en) | Method, device, equipment and storage medium for realizing stack-free coroutine | |
CN113609101A (en) | Real-time data task issuing method and device, electronic equipment and storage medium | |
EP4204960A1 (en) | Thread-local return structure for asynchronous state machine | |
CN104570913B (en) | A kind of PLC control process methods of frequency converter | |
CN104834513B (en) | A kind of method and system that fully-mechanized mining working surface hydraulic support controller software automatically generates | |
Obster et al. | Development and execution of PLC programs on real-time capable mobile devices | |
US11429358B2 (en) | Representing asynchronous state machine in intermediate code | |
CN114168151A (en) | Container-based program compiling method and device, electronic equipment and storage medium | |
CN111596923A (en) | Haxe static link library construction method and device and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160601 |