System, method and device for automatically executing tasks by identifying status identifiers
By identifying a single state identifier system, presetting work templates and status identifiers, and using the timing refresh mechanism to filter and execute automatic execution tasks, the problem of intelligent manufacturing system being difficult to make logical judgments when processing a large amount of complex information is solved, and efficient information is achieved Process and automate tasks.
Patent Information
- Application Number
- CN202211602562.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-13
- Publication Date
- 2025-02-07
- Estimated Expiration
- 2042-12-13
AI Technical Summary
In the prior art, when intelligent manufacturing systems process large amounts of complex information, it is difficult to make logical judgments, prone to incorrect calculation results, and the information processing efficiency is low.
By identifying a single state identifier, the system that automatically determines the execution of tasks is achieved, the work template and status identifier are preset, and the timing refresh mechanism is used to filter and execute automatic execution of tasks, and the status identifier is updated for automatic judgment.
It effectively reduces the difficulty of logical judgment, reduces computing power consumption, improves information processing efficiency, avoids logical loopholes and deviations, and realizes the efficiency of automatic tasks.
Smart Images

Figure CN116125862B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of software implementation of artificial intelligence, and specifically to a system, method and device for automatically executing tasks in a production operation system. Background Art
[0002] Intelligent manufacturing originates from the research of artificial intelligence, which is the intelligence realized on computers by artificial methods. With the improvement of product performance, the complexity and refinement of its structure, and the diversification of its functions, the amount of design information and process information contained in the product has increased sharply. As the information flow inside the production line and production equipment increases, the amount of information in the manufacturing process and management work will inevitably increase sharply, which has prompted the hot spots and frontiers of manufacturing technology development to turn to improving the ability, efficiency and scale of manufacturing systems to process explosively growing manufacturing information. Advanced manufacturing equipment cannot operate without information input, and flexible manufacturing systems will stop working immediately once the information source is cut off. The manufacturing system is changing from the original energy-driven type to the information-driven type, which requires the manufacturing system to be not only flexible, but also intelligent, otherwise it is difficult to handle such a large and complex information workload. Secondly, the ever-changing market demand and the complex environment of fierce competition also require the manufacturing system to show higher flexibility, agility and intelligence. Therefore, intelligent manufacturing is receiving more and more attention.
[0003] For example, the publication number is CN113029130B, and the patent name is a data processing method, device, computer equipment and storage medium. The application fields include but are not limited to maps, navigation, vehicle networking, automatic driving, smart transportation, vehicle-road collaboration and other fields. It can be used to measure the posture of a moving object, including: when measuring the posture of a moving object, obtaining a signal parameter set of the moving object at the moment of posture measurement; the signal parameter set includes N signal parameters, N is a positive integer; obtaining the first object posture of the moving object; determining a fusion measurement strategy based on the N signal parameters; the fusion measurement strategy includes M signal parameters selected from the N signal parameters, M is a positive integer and M is less than or equal to N; correcting the first object posture according to the fusion measurement strategy to obtain the second object posture of the moving object; the second object posture includes the driving direction of the moving object at the moment of posture measurement. It can be seen that in the prior art, in the process of obtaining the second object posture from the first object posture, it is necessary to obtain the parameters and state of the first object posture. The calculation based on multiple parameters and multiple states makes the problem judgment logic complicated, and the trigger condition is realized by a complex algorithm, which is easy to obtain an erroneous calculation result. Therefore, developing a method that can effectively reduce the difficulty of logical judgment and reference parameter execution is one of the important issues that need to be solved in the current field of artificial intelligence automatic operation. Summary of the invention
[0004] In view of this, an object of the present invention is to provide a system for automatically determining the execution of a task by identifying a single state identifier.
[0005] Another object of the present application is to provide a method for automatically executing a task by identifying a status identifier.
[0006] Another object of the present application is to provide a device for automatically executing tasks by identifying status identifiers.
[0007] Based on the above purpose, the present invention provides a system for automatically executing tasks by identifying status identifiers. The system presets a work template for the process node of the task based on the task executed by the system. The work template is stored as a feature table. The feature table sets the status identifier of the automatically executed task.
[0008] The work data acquired by any process node is stored in the characteristic table in the form of a work record, and the execution status of the work record is marked as false as the first node state;
[0009] The system sets a time refresh mechanism Timer event to regularly filter the work records of the first node state and execute the corresponding automatic execution task; after the automatic execution task is completed, the work record state flag is updated to true as the second node state;
[0010] Refresh in sequence at the set frequency until all work records in the first node status are updated to the second node status, and all execution status marks that are false are updated to True.
[0011] The first node state is a starting condition for the second node state.
[0012] The first node state is one of the starting conditions of the second node state, and the other starting conditions are used as preset states of the first node state. When the other conditions are not met, the first node state record is not generated.
[0013] In the system, any process node contains several pieces of work data during the production operation process, and each piece of work data generates a corresponding work record, and the execution status is marked as false.
[0014] The system, based on the set refresh frequency, when entering a refresh cycle, if the system is executing a task in the previous cycle, then the task acquired in this refresh is abandoned and the next refresh is waited for.
[0015] A method for automatically executing a task by identifying a status identifier, the method comprising the steps of:
[0016] S1. The work data acquired by any process node is stored in the characteristic table in the form of a work record, and the execution status of the work record is false, which serves as the first node status;
[0017] S2. The system sets a time refresh mechanism Timer event to filter the work records with a status mark of false in the data entity table and execute the corresponding automatic execution tasks; after the first node task is completed, the work record status mark is refreshed to true as the second node status;
[0018] S3. The refresh mechanism Timer event is refreshed at the set frequency until all tasks with status marked as false are updated to True.
[0019] In the step S1, any work node involves several work data, and each time production data is obtained, a corresponding work record is generated, and the work record status is marked as false.
[0020] When the system refreshes and filters out multiple tasks with status marks of false, the first filtered work record is executed, and the remaining work records are obtained and processed at the next refresh.
[0021] A device involved in a method for automatically executing a task by identifying a state identifier, comprising a preset unit for presetting a work template for each process node of a task involved in the system, wherein the work template is stored as a characteristic table, and the characteristic table sets a state identifier of the automatically executed task;
[0022] An acquisition unit, used for acquiring work data of any process node and storing it in a characteristic table in the form of a work record, wherein the execution state of the work record is false as a first node state;
[0023] The refresh unit is used to set a refresh mechanism, regularly screen the work records of the first node state, and execute the corresponding automatic execution task; after the automatic execution task is completed, the work record state flag is updated to true as the second node state.
[0024] It includes a query unit for querying the execution status of any process node in the system.
[0025] The present invention has at least the following beneficial technical effects:
[0026] 1. This application is based on the objective laws and process nodes of task operation; analyzes the logical order and starting conditions of each node, and records its completion status by presetting the work template and status identification of each node. Because this application establishes a refresh mechanism, it screens the work records with the status identification as false and executes the relevant procedures. After the execution is completed, the status identification is updated to true; the updated status identification of this application is used as the judgment basis for starting the second node, and automatic execution is realized, avoiding the logical loopholes and deviations that may occur in the prior art when calculating and judging the multi-parameter and multi-state data in the previous node, while reducing computing power and improving efficiency;
[0027] 2. For any work data on a process node in this application, if a node contains multiple work data, each work data generates a work record, and the default state is false; it is screened and executed by the refresh mechanism, so that the system adjusts the work data granularity according to the actual production situation to adapt to the actual work needs;
[0028] 3. In this application, the node status identification is used as the basis for judgment. The measurement unit of BIT information is small, which avoids the problem of complex computing power caused by referring to multiple parameters and multiple states in the prior art, saves space and improves efficiency
[0029] 4. This application automatically identifies the work record with the status marked as false through the Timer event, and updates false to true after the operation is completed, effectively avoiding the problem of repeated execution;
[0030] 5. When multiple tasks are screened, this application will only execute the current task to avoid functional errors caused by data locking. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other embodiments can be obtained based on these drawings without paying creative work.
[0032] In the figure:
[0033] Figure 1 A schematic diagram of an embodiment of the system according to the present application is shown;
[0034] Figure 2 A flow chart of an embodiment of the method described in the present application is shown;
[0035] Figure 3 A structural diagram of an embodiment of the device described in the present application is shown. DETAILED DESCRIPTION
[0036] In order to make the objectives, technical solutions and advantages of the present invention more clearly understood, the embodiments of the present invention are further described in detail below in combination with specific embodiments and with reference to the accompanying drawings.
[0037] It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are intended to distinguish two non-identical entities or non-identical parameters with the same name. It can be seen that "first" and "second" are only for the convenience of expression and should not be understood as limitations on the embodiments of the present invention. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, other steps or units inherent to a process, method, system, product or device that includes a series of steps or units.
[0038] Example 1
[0039] The present application describes a system for automatically executing tasks by identifying status identifiers. Based on the tasks executed by the system, a work template is preset for the process node of the task, and the work template is stored as a feature table. The feature table sets the state identifier of the automatic execution of the task; the work data obtained by any process node is stored in the feature table in the form of a work record, and the execution state identifier of the work record is false, which serves as the first node state; these states automatically execute tasks and update the state identifier under the screening of the refresh mechanism timer event.
[0040] The operating principle of the system described in this application is that the system sets a time refresh mechanism Timer event, regularly screens the work records of the first node state, and executes the corresponding automatic execution task; after the automatic execution task is completed, the first node state is updated to true, as the second node state, and the first node state is the starting condition for the second node state; it is refreshed in sequence at the set frequency until all the work records of the first node state are updated to the second node state, and the execution status mark false is all updated to True.
[0041] Figure 1 An embodiment of the present application and its operation are schematically shown in more detail. Specifically, the system described in the present application is applied to the production operation system, and the mailing list shipment link of the production operation system is taken as an example. This embodiment is based on the objective law and process of mailing list shipment; the logical sequence and starting conditions of each node are analyzed, that is, after the production is completed and the shipment data is generated, the goods are shipped according to the system operation process, and the mailing list work template and status identifier are preset to record the completion status of the mailing list shipment link; Figure 2 The method for automatically executing a task by identifying a status identifier in the present application is shown, including:
[0042] S1. The work data acquired by any process node is stored in the characteristic table in the form of a work record, and the execution status of the work record is false, which serves as the first node status;
[0043] S2. The system sets a time refresh mechanism Timer event to filter the work records with a status mark of false in the data entity table and execute the corresponding automatic execution tasks; after the first node task is completed, the work record status mark is refreshed to true as the second node status;
[0044] S3. The refresh mechanism Timer event is refreshed at the set frequency until all tasks with status marked as false are updated to True.
[0045] The method is applied to the present application. Based on the refresh mechanism Timer event established in the present application, the shipping records with a status mark of false are screened and the program corresponding to the shipping record is executed, that is, a mailing list is formed and sent out. After the execution is completed, the status mark is updated to true.
[0046] The specific implementation method is:
[0047] S11, based on the shipping link of the shipping list of the production operation system, in the shipping list shipping node, after the production is completed, a shipping record is generated and stored in the shipping list characteristic table as the first node state, and the execution state of the shipping record is false as the first node state;
[0048] S12, the system sets a time refresh mechanism Timer event, filters the work records of the first node state according to the set frequency, and executes the corresponding automatic execution task to form a mailing list; after the task of generating the mailing list is completed, the work record state flag is refreshed to true, which is used as the second node state;
[0049] S13, the refresh mechanism Timer event is refreshed at the set frequency until all tasks with status flags of false are updated to True.
[0050] The first state identifier is used as the basis for judging the starting second node, and automatic execution is realized, which avoids the logical loopholes and deviations that may occur when calculating and judging the multi-parameter and multi-state data in the previous node in the prior art, while reducing computing power and improving efficiency.
[0051] Example 2
[0052] In some embodiments, the first node state is one of the starting conditions for the second node state, and the other conditions are used as preset states of the first node state. When the other conditions are not met, the first node state record is not generated.
[0053] The specific implementation method is:
[0054] S21. Based on the scanning code shipment link of the production operation system, at the shipment node, after the production is completed and the product is packed, the packing record is obtained by scanning the code; if the packing record is one of the shipment start conditions, the shipping order is used as the preset state of the packing record;
[0055] S22. After obtaining the shipping order number, the packing record and the shipping order number are stored in the shipping characteristic table as the first node state, and the execution state of the scanning code shipment is false;
[0056] S23, the system sets a time refresh mechanism Timer event, filters the work records of the first node state according to the set frequency, and executes the corresponding automatic execution task, that is, executes the shipment; after the shipment task is completed, the shipment status flag is refreshed to true as the second node state;
[0057] S24, the refresh mechanism Timer event is refreshed at the set frequency until all tasks with status marks of false are updated to True.
[0058] It should be noted that when the system refreshes and filters out multiple tasks with status marks of false, the first filtered work record is executed, and the remaining work records are obtained and processed at the next refresh.
[0059] For example, when the system simultaneously filters out the shipping and settlement tasks with the status indicator as false, the shipping task is the first task filtered out, so the shipping task is executed and the settlement task is abandoned and will be obtained and processed at the next refresh.
[0060] Example 3
[0061] In the production operation link, if any process node contains several work data in the production operation process, a work record is generated for each work data, and the execution status is marked as false. For example, in the shipping node, there are multiple packing records and shipping order number work data, and a work record is generated for each packing record and shipping order number, and the shipping execution status is marked as false.
[0062] Example 4
[0063] like Figure 3 As shown, another aspect of the present application is to provide a device involved in a method for automatically executing a task by identifying a state identifier, comprising:
[0064] A preset unit, used to preset a work template for each process node of the task involved in the system, wherein the work template is stored as a characteristic table, and the characteristic table sets a state identifier of automatically executing the task;
[0065] An acquisition unit, used for acquiring work data of any process node and storing it in a characteristic table in the form of a work record, wherein the execution state of the work record is false as a first node state;
[0066] The refresh unit is used to set a refresh mechanism, regularly screen the work records of the first node state, and execute the corresponding automatic execution task; after the automatic execution task is completed, the work record state flag is updated to true as the second node state.
[0067] The query unit is used to query the execution status of any process node in the system.
[0068] The above are exemplary embodiments disclosed in the present invention, but it should be noted that various changes and modifications may be made without departing from the scope disclosed in the embodiments of the present invention as defined in the claims. The functions, steps and / or actions of the method claims according to the disclosed embodiments described herein do not need to be performed in any particular order. In addition, although the elements disclosed in the embodiments of the present invention may be described or required in individual form, they may also be understood as multiple unless explicitly limited to the singular.
[0069] It should be understood that, as used herein, the singular form "a" or "an" is intended to include the plural form as well, unless the context clearly supports an exception. It should also be understood that, as used herein, "and / or" refers to any and all possible combinations of one or more of the items listed in association. The serial numbers of the embodiments disclosed in the above embodiments of the present invention are for description only and do not represent the advantages and disadvantages of the embodiments.
[0070] A person skilled in the art should understand that the discussion of any of the above embodiments is only exemplary and is not intended to imply that the scope of the disclosure of the embodiments of the present invention (including the claims) is limited to these examples; under the concept of the embodiments of the present invention, the technical features in the above embodiments or different embodiments can also be combined, and there are many other changes in different aspects of the embodiments of the present invention as above, which are not provided in detail for the sake of simplicity. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present invention should be included in the protection scope of the embodiments of the present invention.
Claims
1. A system for automatically executing tasks by identifying status identifiers, characterized in that: Based on the task executed by the system, a work template is preset for the process node of the task, and the work template is stored as a characteristic table, and the characteristic table sets a state identifier of automatically executing the task; The work data acquired by any process node is stored in the characteristic table in the form of work records, and the execution status mark of the work record is false, which is used as the first node state; the system sets a time refresh mechanism Timer event to regularly filter the work records of the first node state and execute the corresponding automatic execution task; after the automatic execution task is completed, the work record status mark is updated to true, which is used as the second node state; it is refreshed in sequence according to the set frequency until all the work records of the first node state are updated to the second node state, and all the execution status marks of false are updated to True; The first node state is a starting condition for the second node state; if the first node state is one of the starting conditions for the second node state, the other starting conditions are used as preset states of the first node state, and when the other starting conditions are not met, the first node state record is not generated; In the system, any process node contains several work data during the production operation process, and each work data generates a corresponding work record, and the execution status is marked as false; based on the set refresh frequency, when entering the refresh cycle, if the system is executing the task of the previous cycle, it will abandon the task obtained by this refresh and wait for the next refresh.
2. The method for automatically executing a task by identifying a status mark according to claim 1, characterized in that: The method comprises the steps of: S1. The work data acquired by any process node is stored in the characteristic table in the form of a work record, and the execution status of the work record is false. As the first node status, any work node involves several work data. Each time production data is acquired, a corresponding work record is generated, and the work record status is marked as false; S2. The system sets a sequential refresh mechanism Timer event to filter out work records with a status mark of false in the data entity table and execute the corresponding automatic execution tasks; after the first node task is executed, the work record status mark is refreshed to true as the second node status; when the system refreshes and filters out multiple tasks with a status mark of false, the first filtered work record is executed, and the remaining work records are obtained and processed at the next refresh; S3. The refresh mechanism Timer event is refreshed at the set frequency until all tasks with a status mark of false are updated to True.
3. The device according to claim 2, wherein the method for automatically executing a task by identifying a status mark is characterized in that: It includes a preset unit, which is used to preset a work template for each process node of the task involved in the system, and the work template is stored as a characteristic table, and the characteristic table is provided with a state identifier of automatically executing the task; An acquisition unit, used for acquiring work data of any process node and storing it in a characteristic table in the form of a work record, wherein the execution state of the work record is false as a first node state; The refresh unit is used to set a refresh mechanism, regularly screen the work records of the first node state, and execute the corresponding automatic execution task; after the automatic execution task is completed, the work record state flag is updated to true as the second node state.
4. The device for automatically executing tasks by identifying status marks according to claim 3, characterized in that: It includes a query unit for querying the execution status of any process node in the system.
Citation Information
Patent Citations
Data processing methods, apparatus, computer equipment and storage media
CN113029130B
Synchronization data system based on intelligent manufacturing and operation step and creation method thereof
CN109615554A
Periodic task allocation method and device, computer equipment and storage medium
CN110245009A