A process flowchart-based batch data display method and device

By inserting equipment numbers into the full queue and performing status classification and pagination in the process flow diagram, the problem that existing process flow diagrams cannot intuitively display the status of equipment in the same batch is solved, thereby improving the work efficiency of operators and production safety.

CN119861672BActive Publication Date: 2026-06-02SUPCON TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
SUPCON TECH CO LTD
Filing Date
2025-01-10
Publication Date
2026-06-02

AI Technical Summary

Technical Problem

The existing process flow diagrams do not allow operators to intuitively view the real-time status of all equipment in the same batch, which affects the operators' work efficiency.

Method used

The equipment numbers in the initial process flow diagram are inserted into the full queue, and the equipment is divided according to its status. Pagination is performed based on the preset number of display devices and batch number to generate the target process flow diagram to display the equipment information.

Benefits of technology

It enables a more intuitive batch display of equipment information, improves the work efficiency of operators, and contributes to safe production.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119861672B_ABST
    Figure CN119861672B_ABST
Patent Text Reader

Abstract

The application belongs to the technical field of device distributed control, and discloses a batch data display method and device based on a process flowchart. All device numbers in an initial process flowchart are inserted into a full-quantity queue, and the full-quantity queue is divided and processed according to the device states corresponding to each device number, so that the differentiation of all device numbers corresponding to different device states is realized. Then, the processed full-quantity queue is subjected to paging processing based on a preset number of display devices and all batch numbers, at least two paging information is obtained, so that at least one batch number and all device numbers corresponding to each batch number are included in each paging information. Then, a target process flowchart can also be generated according to user page code operation and all paging information, and the target process flowchart is displayed, so that all device information is displayed in batches more intuitively, the work efficiency of operators is improved, and safe production is facilitated.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of distributed control technology, and specifically relates to a method and apparatus for displaying batch data based on a process flow diagram. Background Technology

[0002] Distributed Control System (DCS) is a microprocessor-based control technology that integrates computer technology, communication technology, display technology, and control strategies to achieve decentralized control and centralized management of industrial production processes. It has been widely used in industries such as fine chemicals, pharmaceuticals, and food.

[0003] In order to provide operators with real-time equipment data, the distributed control system displays all detected equipment information to the operators through a process flow diagram. However, the existing process flow diagram cannot allow operators to intuitively view the real-time status of all equipment in the same batch, thus affecting the operators' work efficiency. Summary of the Invention

[0004] To address the aforementioned technical shortcomings of existing process flow diagrams, such as their inability to allow operators to intuitively view the real-time status of all equipment in the same batch, thus affecting operator efficiency, this application proposes a batch data display method and apparatus based on process flow diagrams. The technical solution is as follows:

[0005] In a first aspect, embodiments of this application provide a method for displaying batch data based on a process flow diagram, including:

[0006] Insert all equipment numbers in the initial process flow diagram into the full queue, and divide the full queue according to the equipment status corresponding to each equipment number; wherein, the initial process flow diagram includes at least two equipment numbers, the equipment status corresponding to each equipment number, and the batch number;

[0007] Based on the preset number of display devices and all batch numbers, the processed full queue is paginated to obtain at least two pagination information; each pagination information includes at least one batch number and all device numbers corresponding to each batch number;

[0008] Generate and display the target process flow diagram based on the user's page number operation and all pagination information.

[0009] In one alternative approach of the first aspect, the entire queue is divided according to the device status corresponding to each device number, including:

[0010] When any device number in the full queue is in an idle state, insert the device number at the end of the batch idle queue.

[0011] When any device number in the full queue is in the running state, the batch number corresponding to the device number is obtained from the process flow diagram, and the device number and the corresponding batch number are inserted into the batch running queue.

[0012] In another alternative to the first aspect, the device number and the corresponding batch number are inserted into the batch run queue, including:

[0013] When no batch number is detected in the batch run queue, a new first group queue corresponding to the batch number is created in the batch run queue, and the device number and the corresponding batch number are inserted into the tail of the first group queue.

[0014] When a batch number is detected in the batch run queue, the second group queue corresponding to the batch number is determined, and the device number and the corresponding batch number are inserted into the second group queue.

[0015] In yet another alternative to the first aspect, the batch run queue comprises at least two group queues;

[0016] Based on the preset number of display devices and all batch numbers, the processed full queue is paginated to obtain at least two pagination information entries, including:

[0017] Identify the batch date from the batch number corresponding to each group queue, and sort all group queues according to the preset date order and all batch dates;

[0018] In all sorted group queues, count the number of first device IDs contained in the first n group queues, and when the number of first device IDs exceeds the preset number of display devices, perform page numbering on the first n-1 group queues; where n is a positive integer greater than 1.

[0019] From all sorted group queues, filter out all group queues that have not undergone page numbering, and count the number of second device numbers contained in the first m group queues; where m is a positive integer greater than 1;

[0020] When the number of second device numbers exceeds the preset number of display devices, page numbering is performed on the first m-1 group queues until page numbering is completed on all group queues; wherein, the page number of n-1 group queues is less than the page number of m-1 group queues;

[0021] Based on all page numbers, all group queues corresponding to each page number, and the batch idle queue, at least two page information entries are obtained.

[0022] In another alternative to the first aspect, the initial process flow diagram also includes the equipment parameters corresponding to each equipment number;

[0023] Based on all page numbers, all group queues corresponding to each page number, and the batch idle queue, at least two page information entries are obtained, including:

[0024] Each page number, the corresponding batch numbers of all group queues, all device numbers, and all device parameters are used as the corresponding page information;

[0025] The number of third device IDs contained in each page of information is counted, and the number of differences between the number of third device IDs and the preset number of display devices is calculated.

[0026] Filter out all device IDs corresponding to the number of differences in the batch idle queue, and add all the filtered device IDs and their corresponding device parameters to the corresponding pagination information.

[0027] In another alternative to the first aspect, after adding all the filtered device numbers and corresponding device parameters to the relevant pagination information, it also includes:

[0028] When there is at least one device number in the idle queue of the filtered batch, a supplementary number is determined based on all page numbers;

[0029] Based on the preset number of display devices, supplementary numbers, all device numbers in the batch idle queue after filtering, and all corresponding device parameters, at least one pagination information is obtained.

[0030] In another alternative to the first aspect, a target process flow diagram is generated based on the user's page number operation and all pagination information, including:

[0031] Determine the page number corresponding to the user's page number operation from all page numbers, and fill the page information containing the page number into the preset overview page list to obtain the target process flow diagram;

[0032] Mark all equipment numbers and all equipment parameters corresponding to each batch number in the target process flow diagram.

[0033] Secondly, embodiments of this application provide a batch data display device based on a process flow chart, comprising:

[0034] The queue partitioning module is used to insert all equipment numbers in the initial process flow diagram into the full queue, and to partition the full queue according to the equipment status corresponding to each equipment number; wherein, the initial process flow diagram includes at least two equipment numbers, the equipment status corresponding to each equipment number, and the batch number;

[0035] The paging processing module is used to paging the processed full queue based on a preset number of display devices and all batch numbers to obtain at least two paging information; wherein, each paging information includes at least one batch number and all device numbers corresponding to each batch number;

[0036] The data display module is used to generate and display the target process flow diagram based on the user's page number operation and all pagination information.

[0037] Thirdly, embodiments of this application also provide a batch data display device based on a process flow chart, including a processor and a memory;

[0038] The processor is connected to the memory;

[0039] Memory, used to store executable program code;

[0040] The processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory, so as to implement the batch data display method based on the process flow chart provided by the first aspect or any implementation of the first aspect of the embodiments of this application.

[0041] Fourthly, embodiments of this application provide a computer storage medium storing a computer program, which includes program instructions. When executed by a processor, the program instructions can implement the batch data display method based on a process flow chart provided by the first aspect or any implementation of the first aspect of this application.

[0042] The beneficial effects of this application are:

[0043] When displaying batch data, all equipment numbers in the initial process flow diagram can be inserted into the full queue. The full queue can then be divided according to the equipment status corresponding to each equipment number, thereby distinguishing all equipment numbers corresponding to different equipment statuses. Next, based on the preset number of display devices and all batch numbers, the processed full queue is paginated to obtain at least two pagination information, ensuring that each pagination information contains at least one batch number and all equipment numbers corresponding to each batch number. Finally, a target process flow diagram can be generated and displayed based on user page number operations and all pagination information, thus providing a more intuitive batch-by-batch display of all equipment information. This not only improves the work efficiency of operators but also facilitates safe production. Attached Figure Description

[0044] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0045] Figure 1 An overall flowchart of a batch data display method based on a process flow diagram is provided in this application embodiment;

[0046] Figure 2 A schematic overview of a conventional process flow diagram provided for an embodiment of this application;

[0047] Figure 3 A schematic overview of a process flow diagram provided in this application embodiment;

[0048] Figure 4 A schematic overview of another process flow diagram provided in this application embodiment;

[0049] Figure 5 A schematic diagram of a batch data display device based on a process flow chart provided in this application embodiment;

[0050] Figure 6 This is a schematic diagram of another batch data display device based on a process flow diagram provided in an embodiment of this application. Detailed Implementation

[0051] The technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings.

[0052] In the following description, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance. The following description provides multiple embodiments of this application, which can be substituted or combined with each other. Therefore, this application can also be considered to include all possible combinations of the same and / or different embodiments described. Thus, if one embodiment includes features A, B, and C, and another embodiment includes features B and D, then this application should also be considered to include embodiments containing one or more other possible combinations of A, B, C, and D, even if such embodiments are not explicitly described in the following text.

[0053] The following description provides examples and does not limit the scope, applicability, or examples set forth in the claims. Changes may be made to the function and arrangement of the described elements without departing from the scope of this application. Various processes or components may be appropriately omitted, substituted, or added to the examples. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Furthermore, features described with respect to some examples may be combined into other examples.

[0054] Please see Figure 1 , Figure 1 The diagram shows an overall flowchart of a batch data display method based on a process flow chart provided in this application.

[0055] like Figure 1 As shown, the batch data display method based on the process flow diagram can include at least the following steps:

[0056] Step 102: Insert all equipment numbers in the initial process flow diagram into the full queue, and divide the full queue according to the equipment status corresponding to each equipment number.

[0057] In this embodiment, the batch data display method based on the process flow diagram can be applied, but is not limited to, to the processing terminal of a distributed control system. This processing terminal can rearrange the process flow diagram generated by the distributed control system based on manual configuration, thereby obtaining a more intuitive batch-by-batch display of all equipment information. Here, the distributed control system can establish connections with all equipment to obtain the equipment number (i.e., equipment model, or a preset number corresponding to the equipment model) output by each device. It can also determine the corresponding equipment status based on the operating parameters output by each device. For example, but not limited to, determining whether a device is in a running or idle state based on its startup voltage, the device number and status of each device can be displayed in the generated process flow diagram.

[0058] In addition, the distributed control system can connect to the parameter detection device of each device to obtain one or more device parameters for each device, and display all device parameters for each device in the generated process flow diagram. Here, the type of parameter detection device can be, but is not limited to, a temperature sensor to obtain the temperature value of each device when it is in operation or idle; or it can be a pressure sensor to obtain the pressure value of each device when it is in operation or idle; of course, other types of parameter detection devices are also possible, without limitation.

[0059] Understandably, a process flow diagram generated by a distributed control system (DCS) based on manual configuration can at least include the device numbers of all devices connected to the DCS, the device status corresponding to each device number, the batch number, and all device parameters. The batch number can be understood as the batch number of the product produced by each device, which can be, but is not limited to, pre-stored by the operator in the processing terminal, or obtained from the output of each device (e.g., the operator pre-inputs the batch number into each device, and then each device outputs the batch number to the processing terminal). Because the display positions of the device number, device status, batch number, and all device parameters for each device in this process flow diagram are relatively fixed, it is impossible for operators to intuitively view the real-time status of all devices in the same batch, nor can it centrally perceive the operating status of all devices in the same batch, thus affecting the operator's work efficiency.

[0060] See also: Figure 2 This illustration shows an overview of a conventional process flow diagram provided in an embodiment of this application, such as... Figure 2 As shown, the process flow diagram generated by the distributed control system based on manual configuration can include equipment numbers, batch numbers, equipment status, temperature, pressure, and volume for four devices. It can be seen that equipment number 1 and equipment number 4 correspond to the same batch number, but this is not readily apparent to the operator. Secondly, equipment number 2 is in an idle state and has no corresponding batch number, while equipment numbers 1, 3, and 4 are all in an operating state. Because the display positions of the equipment number, equipment status, batch number, and all equipment parameters for each device are relatively fixed, the overall display of the process flow diagram becomes overly cluttered, severely impacting the operator's work efficiency. Furthermore, when the distributed control system connects a large number of devices, the overall display of the process flow diagram can become overly congested, further affecting the operator's work efficiency.

[0061] It is also understandable that the processing terminal inserts all the equipment numbers in the initial process flow diagram into the full queue, and divides the full queue according to the equipment status corresponding to each equipment number, thereby distinguishing all the equipment numbers corresponding to different equipment statuses. Then, based on the preset number of display devices and all batch numbers, the processed full queue is paginated to obtain at least two pagination information to ensure that each pagination information contains at least one batch number and all the equipment numbers corresponding to each batch number. Next, the target process flow diagram can be generated and displayed according to the user's page number operation and all pagination information, thereby displaying all equipment information in batches more intuitively, which not only improves the work efficiency of operators, but also facilitates safe production.

[0062] Specifically, when displaying batch data, the processing terminal can, but is not limited to, acquiring the initial process flow diagram generated by the distributed control system based on manual configuration at preset intervals, extracting all equipment numbers from the initial process flow diagram, and inserting all equipment numbers into the full queue. Here, the full queue can be used to store and process each equipment number in a queue format, and can also, but is not limited to, sorting all equipment numbers according to a preset arrangement order; it is not limited to this.

[0063] It is understandable that the initial process flow diagram may include the equipment number of all devices connected to the distributed control system, the equipment status corresponding to each equipment number, and the batch number. The equipment number, equipment status, and batch number of each device can be obtained from the output of the corresponding device, and are not limited to this.

[0064] Furthermore, after inserting all device numbers into the full queue, the processing terminal can, but is not limited to, obtain the device status corresponding to each device number sequentially arranged in the full queue from the initial process flow diagram. When any device number corresponds to a device status that is idle, the device number can be inserted to the end of the batch idle queue, until all device numbers with an idle status have been inserted into the batch idle queue. Here, the batch idle queue can be used to store and process each device number with an idle status in a queue format, and each device number inserted into the batch idle queue is at the end of all device numbers currently stored in the batch idle queue.

[0065] Understandably, when the device status corresponding to any device number is "running," the processing terminal can extract the batch number corresponding to the current device number from the initial process flow diagram and insert the current device number and the corresponding batch number into the batch run queue. Here, the batch run queue can be used to store and process each device number in the "running" state and its corresponding batch number in a queue format. This batch run queue may include at least one group queue, each group queue containing one or more device numbers, and all device numbers contained in each group queue have the same batch number.

[0066] As an optional embodiment of this application, inserting the device number and the corresponding batch number into the batch run queue includes:

[0067] When no batch number is detected in the batch run queue, a new first group queue corresponding to the batch number is created in the batch run queue, and the device number and the corresponding batch number are inserted into the tail of the first group queue.

[0068] When a batch number is detected in the batch run queue, the second group queue corresponding to the batch number is determined, and the device number and the corresponding batch number are inserted into the second group queue.

[0069] Specifically, when inserting each device number in the running state and its corresponding batch number into the batch running queue, if no batch number corresponding to the current device number is detected among all the batch numbers currently contained in the batch running queue, a new group queue (i.e., the first group queue) corresponding to the batch number can be created in the batch running queue, and the current device number and the batch number can be inserted into the tail of the newly created group queue. At this time, the batch number is included among all the batch numbers contained in the batch running queue.

[0070] Understandably, when a batch number corresponding to the current device number is detected among all the batch numbers currently contained in the batch run queue, a group queue (i.e., the second group queue) containing that batch number can be determined in the batch run queue, and the current device number and the corresponding batch number can be inserted into the tail of the group queue containing that batch number, until all device numbers in the running state and all corresponding batch numbers are inserted into the batch run queue.

[0071] It should be noted that before inserting the device number and the corresponding batch number into the batch run queue, the batch run queue does not contain the group queue corresponding to any batch number. Whenever a new batch number is detected, a new group queue can be created, and whenever the same batch number is detected, the batch number and device number can be inserted into the tail of the corresponding group queue.

[0072] Step 104: Based on the preset number of display devices and all batch numbers, perform paging on the processed full queue to obtain at least two paging information.

[0073] Specifically, after dividing the batch run queue and the batch idle queue, the processing terminal can, but is not limited to, filter each group queue contained in the batch run queue, and identify the batch number corresponding to each group queue to obtain the batch date in each batch number. It is understood that each batch number may include a specified number of characters, where multiple characters at specified positions can be used to represent the batch date.

[0074] Furthermore, after obtaining the batch date in each batch number, the processing terminal can sort the group queues corresponding to each batch date according to a preset date order. For example, but not limited to, sorting the group queue with the earliest batch date as the first group queue and the group queue with the latest batch date as the last group queue. In all sorted group queues, the number of all device numbers contained in the first n group queues is counted, which is the number of first device numbers.

[0075] Here, n is a positive integer greater than 1. For example, when n is 5, the number of device numbers contained in the first to fifth group queues can be counted in all the group queues after sorting.

[0076] Understandably, when the number of device IDs contained in the current n group queues exceeds the preset number of display devices, it indicates that it is impossible to synchronously display all device IDs contained in the n group queues. Therefore, page numbering can be performed on all device IDs contained in the first n-1 group queues (that is, all device IDs contained in the first group queue to the n-1 group queues). For example, but not limited to, setting the page number corresponding to all device IDs contained in the first n-1 group queues to the first page.

[0077] It should be noted that the preset number of display devices can be used to represent the number of all device numbers displayed simultaneously. In this embodiment, it can be, but is not limited to, 16, to ensure the pagination display effect of the process flow diagram, and is not limited to this.

[0078] Furthermore, after paging all device IDs contained in the first n-1 group queues, the processing terminal can also filter out all group queues that have not undergone paging processing from all sorted group queues, while maintaining the original sorting order of all filtered group queues. Then, from these filtered group queues, the number of device IDs contained in the first m group queues is counted, which is also the number of second device IDs. Here, the first group queue in the first m group queues is equivalent to the nth group queue in the aforementioned sorted group queues, and the last group queue is equivalent to the (n+m-1)th group queue in the aforementioned sorted group queues.

[0079] Furthermore, if the number of device IDs contained in the current m group queues exceeds the preset number of display devices, it indicates that it is impossible to synchronously display all device IDs contained in the m group queues. Therefore, in all the filtered group queues, the device IDs contained in the first m-1 group queues can be paginated. For example, but not limited to, setting the pagination number corresponding to all device IDs contained in the first m-1 group queues to the second page, and repeating the above steps until the pagination numbering is completed for all group queues. The subsequent pagination numbers can be set to the third page, the fourth page, and so on.

[0080] Furthermore, after processing the page numbers for all group queues, the processing terminal can obtain at least two page information entries based on all page numbers, all group queues corresponding to each page number, and the batch idle queue. Here, each page information entry includes a page number, the batch number contained in at least one group queue corresponding to each page number, and all corresponding device numbers, but is not limited to these.

[0081] As another optional embodiment of this application, the initial process flow diagram also includes the equipment parameters corresponding to each equipment number;

[0082] Based on all page numbers, all group queues corresponding to each page number, and the batch idle queue, at least two page information entries are obtained, including:

[0083] Each page number, the corresponding batch numbers of all group queues, all device numbers, and all device parameters are used as the corresponding page information;

[0084] The number of third device IDs contained in each page of information is counted, and the number of differences between the number of third device IDs and the preset number of display devices is calculated.

[0085] Filter out all device IDs corresponding to the number of differences in the batch idle queue, and add all the filtered device IDs and their corresponding device parameters to the corresponding pagination information.

[0086] Specifically, after obtaining at least two page information entries based on all page numbers, all group queues corresponding to each page number, and batch idle queues, the processing terminal can also obtain all equipment parameters corresponding to each equipment number whose equipment status is running in the initial process flow diagram. Each page number, all batch numbers corresponding to all group queues, all equipment numbers, and all equipment parameters are used as the corresponding page information. For example, when the page number is the first page, all batch numbers, all equipment numbers, and all equipment parameters corresponding to all group queues for the first page can be used as the page information for the first page. The number of all equipment numbers, i.e., the number of third equipment numbers, is then counted in each page information entry. Here, the all equipment parameters corresponding to each equipment number can include, but are not limited to, parameters such as real-time detected temperature, pressure, volume, and rotation speed, and are not limited to these.

[0087] Understandably, when the total number of device IDs is less than the preset number of display devices mentioned above, it indicates that the corresponding page information needs to be completed. Then, the number of differences between the preset number of display devices and the total number of device IDs can be calculated, and all device IDs that match the number of differences can be selected from the batch idle queue, starting from the first device ID. For example, when the number of differences is 3, the first three device IDs can be selected from the batch idle queue, and all the selected device IDs and their corresponding device parameters can be added to the pagination information corresponding to the number of differences.

[0088] It is also understandable that when the total number of device IDs is equal to the preset number of display devices mentioned above, it means that there is no need to complete the corresponding page information, and the corresponding page number, all batch numbers, all device IDs, and all device parameters can be directly used as page information.

[0089] It should be noted that after completing the completion processing for all page information requiring completion, the processing terminal can also determine whether there are still device numbers in the filtered batch idle queue. When at least one device number is detected in the filtered batch idle queue, a supplementary number can be determined based on the last page number among all page numbers. For example, if the last page number is page 5, page 6 can be used as the supplementary number. It is important to note that when the total number of device numbers in the filtered batch idle queue exceeds the preset number of display devices, at least two supplementary numbers can be determined based on the last page number among all page numbers. For example, if the preset number of display devices is 16 and the total number of device numbers in the filtered batch idle queue is 20, two supplementary numbers can be determined.

[0090] Next, after determining one or more supplementary numbers, the processing terminal can also use each supplementary number, all device numbers corresponding to the filtered batch idle queue, and all device parameters as the corresponding pagination information.

[0091] Step 106: Generate the target process flow diagram based on the user's page number operation and all pagination information, and display the target process flow diagram.

[0092] Specifically, after obtaining all pagination information, the processing terminal can, but is not limited to, receive user page number operations through the touch interface of the distributed control system to determine the pagination information corresponding to the user page number operation from all pagination information. For example, when the user page number operation is the first page, the pagination number contained in the filtered pagination information is the first page, and all equipment numbers, all batch numbers, and all equipment parameters in the filtered pagination information are filled into the preset overview page list to obtain the target process flow diagram.

[0093] Understandably, in order to better distinguish between different batch numbers, the processing terminal can also mark all equipment numbers and all equipment parameters corresponding to each batch number in the target process flow diagram. Moreover, the marking methods for all equipment numbers and all equipment parameters corresponding to each batch number are different. For example, they can be distinguished by different colored outer frames, and the target process flow diagram is displayed to the user in real time on the touch interface.

[0094] See also: Figure 3 The diagram shown is an overview of a process flow chart provided in an embodiment of this application. Figure 3As shown, the process flow diagram displays all equipment information contained in the page numbered first. Equipment numbers 1, 2, and 3 all share batch number b20241016001, and their corresponding batch numbers, equipment status, temperature, pressure, volume, and rotational speed are distinguished by a colored border (color not shown in the diagram). Equipment numbers 4 and 5 both share batch number b20241016002, and their corresponding batch numbers, equipment status, temperature, pressure, volume, and rotational speed are distinguished by a colored border (color not shown in the diagram). Equipment number 6 is in an idle state and therefore has no batch number; its corresponding batch number, equipment status, temperature, pressure, volume, and rotational speed are distinguished by a colored border (color not shown in the diagram).

[0095] See also: Figure 4 The diagram shown is an overview of another process flow chart provided in this application embodiment, such as... Figure 4 As shown, the process flow diagram displays all the equipment information contained in the page numbered third page. All equipment numbers are in an idle state, meaning no batch number exists. This indicates that the page information on the third page was obtained from the aforementioned batch idle queue. Each equipment number corresponds to an equipment status, temperature, pressure, volume, and rotational speed.

[0096] Please see Figure 5 , Figure 5 The diagram shows a schematic representation of a batch data display device based on a process flow chart, as provided in an embodiment of this application.

[0097] like Figure 5 As shown, the batch data display device based on the process flow diagram may include at least a queue partitioning module 501, a pagination processing module 502, and a data display module 503, wherein:

[0098] The queue partitioning module 501 is used to insert all equipment numbers in the initial process flow diagram into the full queue, and to partition the full queue according to the equipment status corresponding to each equipment number; wherein, the initial process flow diagram includes at least two equipment numbers, the equipment status corresponding to each equipment number, and the batch number.

[0099] The paging processing module 502 is used to perform paging processing on the processed full queue based on a preset number of display devices and all batch numbers to obtain at least two paging information; wherein, each paging information includes at least one batch number and all device numbers corresponding to each batch number;

[0100] The data display module 503 is used to generate and display the target process flow diagram based on the user's page number operation and all pagination information.

[0101] In some possible embodiments, the entire queue is divided according to the device status corresponding to each device number, including:

[0102] When any device number in the full queue is in an idle state, insert the device number at the end of the batch idle queue.

[0103] When any device number in the full queue is in the running state, the batch number corresponding to the device number is obtained from the process flow diagram, and the device number and the corresponding batch number are inserted into the batch running queue.

[0104] In some possible embodiments, inserting the device number and the corresponding batch number into the batch run queue includes:

[0105] When no batch number is detected in the batch run queue, a new first group queue corresponding to the batch number is created in the batch run queue, and the device number and the corresponding batch number are inserted into the tail of the first group queue.

[0106] When a batch number is detected in the batch run queue, the second group queue corresponding to the batch number is determined, and the device number and the corresponding batch number are inserted into the second group queue.

[0107] In some possible embodiments, the batch run queue includes at least two group queues;

[0108] Based on the preset number of display devices and all batch numbers, the processed full queue is paginated to obtain at least two pagination information entries, including:

[0109] Identify the batch date from the batch number corresponding to each group queue, and sort all group queues according to the preset date order and all batch dates;

[0110] In all sorted group queues, count the number of first device IDs contained in the first n group queues, and when the number of first device IDs exceeds the preset number of display devices, perform page numbering on the first n-1 group queues; where n is a positive integer greater than 1.

[0111] From all sorted group queues, filter out all group queues that have not undergone page numbering, and count the number of second device numbers contained in the first m group queues; where m is a positive integer greater than 1;

[0112] When the number of second device numbers exceeds the preset number of display devices, page numbering is performed on the first m-1 group queues until page numbering is completed on all group queues; wherein, the page number of n-1 group queues is less than the page number of m-1 group queues;

[0113] Based on all page numbers, all group queues corresponding to each page number, and the batch idle queue, at least two page information entries are obtained.

[0114] In some possible embodiments, the initial process flow diagram also includes equipment parameters corresponding to each equipment number;

[0115] Based on all page numbers, all group queues corresponding to each page number, and the batch idle queue, at least two page information entries are obtained, including:

[0116] Each page number, the corresponding batch numbers of all group queues, all device numbers, and all device parameters are used as the corresponding page information;

[0117] The number of third device IDs contained in each page of information is counted, and the number of differences between the number of third device IDs and the preset number of display devices is calculated.

[0118] Filter out all device IDs corresponding to the number of differences in the batch idle queue, and add all the filtered device IDs and their corresponding device parameters to the corresponding pagination information.

[0119] In some possible embodiments, after adding all the filtered device numbers and corresponding device parameters to the relevant pagination information, the method further includes:

[0120] When there is at least one device number in the idle queue of the filtered batch, a supplementary number is determined based on all page numbers;

[0121] Based on the preset number of display devices, supplementary numbers, all device numbers in the batch idle queue after filtering, and all corresponding device parameters, at least one pagination information is obtained.

[0122] In some possible embodiments, a target process flow diagram is generated based on the user's page number operation and all pagination information, including:

[0123] Determine the page number corresponding to the user's page number operation from all page numbers, and fill the page information containing the page number into the preset overview page list to obtain the target process flow diagram;

[0124] Mark all equipment numbers and all equipment parameters corresponding to each batch number in the target process flow diagram.

[0125] Please see Figure 6 , Figure 6 This illustration shows a schematic diagram of another batch data display device based on a process flow diagram provided in an embodiment of this application.

[0126] like Figure 6 As shown, the batch data display device 600 based on the process flow diagram may include at least one processor 601, at least one network interface 604, user interface 603, memory 605, and at least one communication bus 602.

[0127] The communication bus 602 can be used to realize the connection and communication of the above components.

[0128] The user interface 603 may include buttons, and the optional user interface may also include a standard wired interface or a wireless interface.

[0129] The network interface 604 may include, but is not limited to, Bluetooth modules, NFC modules, Wi-Fi modules, etc.

[0130] The processor 601 may include one or more processing cores. The processor 601 connects to various parts within the process flow chart-based batch data display device 600 using various interfaces and lines. It executes various functions and processes data within the process flow chart-based batch data display device 600 by running or executing instructions, programs, code sets, or instruction sets stored in memory 605, and by calling data stored in memory 605. Optionally, the processor 601 may be implemented using at least one hardware form of DSP, FPGA, or PLA. The processor 601 may integrate one or more of the following: CPU, GPU, and modem. The CPU primarily handles the operating system, user interface, and applications; the GPU is responsible for rendering and drawing the content to be displayed on the screen; and the modem handles wireless communication. It is understood that the modem may also not be integrated into the processor 601 and may be implemented as a separate chip.

[0131] The memory 605 may include RAM or ROM. Optionally, the memory 605 may include a non-transitory computer-readable medium. The memory 605 may be used to store instructions, programs, code, code sets, or instruction sets. The memory 605 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as touch function, sound playback function, image playback function, etc.), instructions for implementing the above-described method embodiments, etc.; the data storage area may store data involved in the above-described method embodiments, etc. Optionally, the memory 605 may also be at least one storage device located remotely from the aforementioned processor 601. Figure 6 As shown, the memory 605, which serves as a computer storage medium, may include an operating system, a network communication module, a user interface module, and a batch data display application based on a process flow chart.

[0132] Specifically, processor 601 can be used to call the batch data display application based on the process flow chart stored in memory 605, and specifically perform the following operations:

[0133] Insert all equipment numbers in the initial process flow diagram into the full queue, and divide the full queue according to the equipment status corresponding to each equipment number; wherein, the initial process flow diagram includes at least two equipment numbers, the equipment status corresponding to each equipment number, and the batch number;

[0134] Based on the preset number of display devices and all batch numbers, the processed full queue is paginated to obtain at least two pagination information; each pagination information includes at least one batch number and all device numbers corresponding to each batch number;

[0135] Generate and display the target process flow diagram based on the user's page number operation and all pagination information.

[0136] In some possible embodiments, the entire queue is divided according to the device status corresponding to each device number, including:

[0137] When any device number in the full queue is in an idle state, insert the device number at the end of the batch idle queue.

[0138] When any device number in the full queue is in the running state, the batch number corresponding to the device number is obtained from the process flow diagram, and the device number and the corresponding batch number are inserted into the batch running queue.

[0139] In some possible embodiments, inserting the device number and the corresponding batch number into the batch run queue includes:

[0140] When no batch number is detected in the batch run queue, a new first group queue corresponding to the batch number is created in the batch run queue, and the device number and the corresponding batch number are inserted into the tail of the first group queue.

[0141] When a batch number is detected in the batch run queue, the second group queue corresponding to the batch number is determined, and the device number and the corresponding batch number are inserted into the second group queue.

[0142] In some possible embodiments, the batch run queue includes at least two group queues;

[0143] Based on the preset number of display devices and all batch numbers, the processed full queue is paginated to obtain at least two pagination information entries, including:

[0144] Identify the batch date from the batch number corresponding to each group queue, and sort all group queues according to the preset date order and all batch dates;

[0145] In all sorted group queues, count the number of first device IDs contained in the first n group queues, and when the number of first device IDs exceeds the preset number of display devices, perform page numbering on the first n-1 group queues; where n is a positive integer greater than 1.

[0146] From all sorted group queues, filter out all group queues that have not undergone page numbering, and count the number of second device numbers contained in the first m group queues; where m is a positive integer greater than 1;

[0147] When the number of second device numbers exceeds the preset number of display devices, page numbering is performed on the first m-1 group queues until page numbering is completed on all group queues; wherein, the page number of n-1 group queues is less than the page number of m-1 group queues;

[0148] Based on all page numbers, all group queues corresponding to each page number, and the batch idle queue, at least two page information entries are obtained.

[0149] In some possible embodiments, the initial process flow diagram also includes equipment parameters corresponding to each equipment number;

[0150] Based on all page numbers, all group queues corresponding to each page number, and the batch idle queue, at least two page information entries are obtained, including:

[0151] Each page number, the corresponding batch numbers of all group queues, all device numbers, and all device parameters are used as the corresponding page information;

[0152] The number of third device IDs contained in each page of information is counted, and the number of differences between the number of third device IDs and the preset number of display devices is calculated.

[0153] Filter out all device IDs corresponding to the number of differences in the batch idle queue, and add all the filtered device IDs and their corresponding device parameters to the corresponding pagination information.

[0154] In some possible embodiments, after adding all the filtered device numbers and corresponding device parameters to the relevant pagination information, the method further includes:

[0155] When there is at least one device number in the idle queue of the filtered batch, a supplementary number is determined based on all page numbers;

[0156] Based on the preset number of display devices, supplementary numbers, all device numbers in the batch idle queue after filtering, and all corresponding device parameters, at least one pagination information is obtained.

[0157] In some possible embodiments, a target process flow diagram is generated based on the user's page number operation and all pagination information, including:

[0158] Determine the page number corresponding to the user's page number operation from all page numbers, and fill the page information containing the page number into the preset overview page list to obtain the target process flow diagram;

[0159] Mark all equipment numbers and all equipment parameters corresponding to each batch number in the target process flow diagram.

[0160] This application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the above-described method. The computer-readable storage medium may include, but is not limited to, any type of disk, including floppy disks, optical disks, DVDs, CD-ROMs, microdrives, as well as magneto-optical disks, ROMs, RAMs, EPROMs, EEPROMs, DRAMs, VRAMs, flash memory devices, magnetic cards or optical cards, nanosystems (including molecular memory ICs), or any type of medium or device suitable for storing instructions and / or data.

[0161] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, as some steps may be performed in other orders or simultaneously according to this application. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions and modules involved are not necessarily essential to this application.

[0162] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.

[0163] In the several embodiments provided in this application, it should be understood that the disclosed apparatus can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some service interface; the indirect coupling or communication connection between apparatuses or units may be electrical or other forms.

[0164] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0165] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

Claims

1. A method for displaying batch data based on a process flow diagram, characterized in that, include: All equipment numbers in the initial process flow diagram are inserted into the full queue, and the full queue is divided according to the equipment status corresponding to each equipment number; wherein, the initial process flow diagram includes at least two equipment numbers, the equipment status corresponding to each equipment number, and the batch number; Based on the preset number of display devices and all the batch numbers, the processed full queue is paginated to obtain at least two pagination information; wherein, each pagination information includes at least one batch number and all the device numbers corresponding to each batch number; Generate and display the target process flow diagram based on the user's page number operation and all the pagination information; The step of dividing the entire queue according to the device status corresponding to each device number includes: When any device number in the full queue is in an idle state, the device number is inserted at the end of the batch idle queue. When any device number in the full queue is in the running state, the batch number corresponding to the device number is obtained from the process flow diagram, and the device number and the corresponding batch number are inserted into the batch running queue. The batch run queue includes at least two group queues; Based on a preset number of display devices and all batch numbers, the processed full queue is paginated to obtain at least two pagination pieces, including: The batch date is identified from the batch number corresponding to each group queue, and all the group queues are sorted according to the preset date order and all the batch dates; In all the sorted group queues, the number of first device IDs contained in the first n group queues is counted, and when the number of first device IDs exceeds the preset number of display devices, the first n-1 group queues are paginated and numbered; where n is a positive integer greater than 1. From all the sorted group queues, select all the group queues that have not undergone page numbering, and count the number of second device numbers contained in the first m group queues; where m is a positive integer greater than 1; When the number of the second device IDs exceeds the preset number of display devices, page numbering is performed on the first m-1 group queues until page numbering is completed on all group queues; wherein, the page number of the n-1 group queues is less than the page number of the m-1 group queues; Based on all the page numbers, all the group queues corresponding to each page number, and the batch idle queue, at least two page information are obtained.

2. The method according to claim 1, characterized in that, The step of inserting the device number and the corresponding batch number into the batch run queue includes: When the batch number is not detected in the batch running queue, a first group queue corresponding to the batch number is created in the batch running queue, and the device number and the corresponding batch number are inserted into the tail of the first group queue. When the batch number is detected in the batch running queue, the second group queue corresponding to the batch number is determined, and the device number and the corresponding batch number are inserted into the second group queue.

3. The method according to claim 1, characterized in that, The initial process flow diagram also includes the equipment parameters corresponding to each of the equipment numbers; The step of obtaining at least two pagination information items based on all the pagination numbers, all the group queues corresponding to each pagination number, and the batch idle queue includes: Each page number, all batch numbers corresponding to all the group queues, all the device numbers, and all the device parameters are used as the corresponding page information; The number of third device IDs contained in each of the pagination information is counted, and the number of differences between the number of third device IDs and the preset number of display devices is calculated. In the batch idle queue, all device numbers corresponding to the number of differences are filtered out, and all the filtered device numbers and corresponding device parameters are added to the corresponding pagination information.

4. The method according to claim 3, characterized in that, After adding all the filtered device numbers and corresponding device parameters to the corresponding pagination information, the process further includes: When at least one of the device numbers exists in the batch idle queue after filtering, a supplementary number is determined based on all the page numbers; Based on the preset number of display devices, the supplementary number, all device numbers in the batch idle queue after filtering, and all corresponding device parameters, at least one pagination information is obtained.

5. The method according to claim 3, characterized in that, The step of generating the target process flow diagram based on the user's page number operation and all the pagination information includes: The page number corresponding to the user's page number operation is determined from all the page numbers, and the page information containing the page number is filled into the preset overview page list to obtain the target process flow diagram; In the target process flow diagram, all equipment numbers and all equipment parameters corresponding to each batch number are marked.

6. A batch data display device based on a process flow chart, characterized in that, include: The queue partitioning module is used to insert all equipment numbers in the initial process flow diagram into the full queue, and to partition the full queue according to the equipment status corresponding to each equipment number; wherein, the initial process flow diagram includes at least two equipment numbers, the equipment status corresponding to each equipment number, and the batch number; The paging processing module is used to perform paging processing on the processed full queue based on a preset number of display devices and all batch numbers to obtain at least two paging information; wherein, each paging information includes at least one batch number and all device numbers corresponding to each batch number; The data display module is used to generate a target process flow diagram based on the user's page number operation and all the pagination information, and to display the target process flow diagram. The step of dividing the entire queue according to the device status corresponding to each device number includes: When any device number in the full queue is in an idle state, the device number is inserted at the end of the batch idle queue. When any device number in the full queue is in the running state, the batch number corresponding to the device number is obtained from the process flow diagram, and the device number and the corresponding batch number are inserted into the batch running queue. The batch run queue includes at least two group queues; Based on a preset number of display devices and all batch numbers, the processed full queue is paginated to obtain at least two pagination pieces, including: The batch date is identified from the batch number corresponding to each group queue, and all the group queues are sorted according to the preset date order and all the batch dates; In all the sorted group queues, the number of first device IDs contained in the first n group queues is counted, and when the number of first device IDs exceeds the preset number of display devices, the first n-1 group queues are paginated and numbered; where n is a positive integer greater than 1. From all the sorted group queues, select all the group queues that have not undergone page numbering, and count the number of second device numbers contained in the first m group queues; where m is a positive integer greater than 1; When the number of the second device IDs exceeds the preset number of display devices, page numbering is performed on the first m-1 group queues until page numbering is completed on all group queues; wherein, the page number of the n-1 group queues is less than the page number of the m-1 group queues; Based on all the page numbers, all the group queues corresponding to each page number, and the batch idle queue, at least two page information are obtained.

7. A batch data display device based on a process flow chart, characterized in that, Including the processor and memory; The processor is connected to the memory; The memory is used to store executable program code; The processor runs a program corresponding to the executable program code stored in the memory to perform the steps of the method as described in any one of claims 1-5.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that, The computer-readable storage medium stores instructions that, when executed on a computer or processor, cause the computer or processor to perform the steps of the method as described in any one of claims 1-5.