Movatterモバイル変換


[0]ホーム

URL:


CN111681261B - Gantt chart processing method and system based on motion positioning and storage medium - Google Patents

Gantt chart processing method and system based on motion positioning and storage medium
Download PDF

Info

Publication number
CN111681261B
CN111681261BCN202010323100.3ACN202010323100ACN111681261BCN 111681261 BCN111681261 BCN 111681261BCN 202010323100 ACN202010323100 ACN 202010323100ACN 111681261 BCN111681261 BCN 111681261B
Authority
CN
China
Prior art keywords
actions
action
process cycle
relative
gantt chart
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010323100.3A
Other languages
Chinese (zh)
Other versions
CN111681261A (en
Inventor
陈旻琪
韩勤
任孝江
贺毅
左志军
徐华昕
姚维兵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mino Automotive Equipment Shanghai Co ltd
Guangzhou Mino Automotive Equipment Co Ltd
Original Assignee
Mino Automotive Equipment Shanghai Co ltd
Guangzhou Mino Automotive Equipment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mino Automotive Equipment Shanghai Co ltd, Guangzhou Mino Automotive Equipment Co LtdfiledCriticalMino Automotive Equipment Shanghai Co ltd
Priority to CN202010323100.3ApriorityCriticalpatent/CN111681261B/en
Publication of CN111681261ApublicationCriticalpatent/CN111681261A/en
Priority to PCT/CN2020/140084prioritypatent/WO2021212895A1/en
Application grantedgrantedCritical
Publication of CN111681261BpublicationCriticalpatent/CN111681261B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

The invention discloses a Gantt chart processing method, a Gantt chart processing system and a storage medium based on motion positioning, wherein the method comprises the following steps: receiving setting information of relative positions between actions; acquiring position information of a target action of a process cycle; searching all actions in the process cycle according to the position information of the target action and the setting information of the relative position; calculating relative timestamps for all actions within the process cycle; and generating an action time sequence Gantt chart according to the relative time stamp. According to the invention, all actions in the process CYCLE are searched according to the setting information of the relative position and the position information of the target action, and the action time sequence Gantt chart is generated according to the relative time stamp of the actions, so that the condition that the CYCLE calculation error is caused by overlapping factors among a plurality of CYCLEs is effectively avoided, and the accuracy of the CYCLE calculation result is improved. The invention can be widely applied to the technical field of big data analysis.

Description

Gantt chart processing method and system based on motion positioning and storage medium
Technical Field
The invention relates to the technical field of big data analysis, in particular to a Gantt chart processing method and system based on motion positioning and a storage medium.
Background
Interpretation of terms:
station: a production line is divided into a plurality of stations, and each station is a fixed area and is used for processing a specific process.
CYCLE: the term "process cycle" refers to a continuous repetition of a first process to a last process in a workstation, or a continuous repetition of a first action to a last action in a workstation.
Cycle: the Chinese name is process beat, which refers to the time to perform all actions in the same CYCLE.
In the global trend of industrial informatization and digitization, the collection, storage analysis and application of workshop production data are developed unprecedentedly. Process sequencing has been widely used in recent years as an important parameter in the manufacturing industry. The process time sequence Gantt chart is used as a brand-new process report type, and process flow datamation can be realized. Because the process time sequence Gantt chart is continuously circulated, the process beat in the single CYCLE process is effectively calculated, and the analysis and the application of workshop production data are facilitated.
At present, the following two ways are mainly adopted for calculating CYCLE in the CYCLE process: the first is to set the first action flag bit and the last action flag bit of the station respectively, and calculate the time length from the first action to the last action; and the second method is that only one action flag bit is set, and the time length from the first action to the next action till now is calculated.
In both of the above two calculation manners, for the cases where there is no overlap as shown in fig. 1 during CYCLE, CYCLE time of each CYCLE can be correctly calculated. However, when there is an overlap condition as shown in fig. 2, that is, the last action in the previous CYCLE in the workstation has not been finished, and the first action in the next CYCLE is started again, the above two calculation methods cannot accurately calculate CYCLE time.
Disclosure of Invention
In order to solve the above technical problems, the present invention aims to: a Gantt chart processing method, system and storage medium based on motion localization are provided, which can effectively calculate the process beat under the condition of process cycle overlapping.
A first aspect of an embodiment of the present invention provides:
a Gantt chart processing method based on motion positioning comprises the following steps:
receiving setting information of relative positions between actions;
acquiring position information of a target action of a process cycle;
searching all actions in the process cycle according to the position information of the target action and the setting information of the relative position;
calculating relative timestamps for all actions within the process cycle;
and generating an action time sequence Gantt chart according to the relative time stamp.
Further, the searching all actions in the process cycle according to the position information of the target action and the setting information of the relative position specifically includes:
calculating the position information of the residual action according to the position information of the target action and the setting information of the relative position;
and searching all actions in the process cycle according to the position information of the target action and the position information of the residual actions.
Further, the searching for all actions in the process cycle according to the position information of the target action and the position information of the remaining actions specifically includes:
searching all actions meeting a first preset requirement according to the position information of the residual actions;
and searching all actions meeting a second preset requirement from all the actions meeting the first preset requirement according to the position information of the target action, and taking all the actions meeting the second preset requirement as the actions in the process cycle.
Further, the calculating of the relative time stamp of all actions within the process cycle specifically comprises:
converting the start time and end time of all actions within the process cycle to a Unix timestamp;
and respectively calculating the relative time stamps of the starting time and the ending time of the residual action and the starting time of the target action according to the Unix time stamps of all the actions, wherein the residual action is the action which does not contain the target action in the process cycle.
Further, the generating an action timing gantt chart according to the relative timestamp specifically includes:
converting the relative time stamp into time data in a specific format;
and generating an action time sequence Gantt chart according to the time data.
Further, all actions of the process cycle are actions in the same period.
Further, the setting information of the relative position includes position information between two adjacent actions.
A second aspect of an embodiment of the present invention provides:
a gantt chart processing system based on motion localization, comprising:
the receiving module is used for receiving setting information of relative positions between actions;
the acquisition module is used for acquiring the position information of the target action of the process cycle;
the searching module is used for searching all actions in the process cycle according to the position information of the target action and the setting information of the relative position;
a calculation module for calculating relative timestamps for all actions within the process cycle;
and the generating module is used for generating an action time sequence Gantt chart according to the relative timestamp.
A third aspect of an embodiment of the present invention provides:
a gantt chart processing system based on motion localization, comprising:
at least one memory for storing a program;
at least one processor, configured to load the program to perform the above-mentioned method for processing a gantt chart based on motion estimation.
A fourth aspect of an embodiment of the present invention provides:
a storage medium having stored therein processor-executable instructions for implementing a motion-localization-based gantt chart processing method as described above when executed by a processor.
The invention has the beneficial effects that: according to the invention, the setting information of the relative position between the actions is received, all the actions in the process CYCLE are searched by combining the position information of the target action of the process CYCLE, and then the action time sequence Gantt chart is generated according to the calculated relative time stamps of all the actions, so that the condition that the CYCLE calculation error is caused by overlapping factors among a plurality of CYCLEs is effectively avoided, and the accuracy of the CYCLE calculation result is improved.
Drawings
FIG. 1 is a timing chart of operations without overlap in one embodiment;
FIG. 2 is a gantt chart illustrating the timing of actions in the presence of an overlap condition in one embodiment;
FIG. 3 is a flowchart of a Gantt chart processing method based on motion location according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of an operation timing sequence according to an embodiment of the present invention.
Detailed Description
The invention is described in further detail below with reference to the figures and the specific embodiments. The step numbers in the following embodiments are provided only for convenience of illustration, the order between the steps is not limited at all, and the execution order of each step in the embodiments can be adapted according to the understanding of those skilled in the art.
Referring to fig. 3, an embodiment of the present invention provides a gantt chart processing method based on motion positioning, and this embodiment is applied to a control end of process timing analysis software, where the control end communicates with multiple terminals respectively, and the multiple terminals may be data acquisition terminals.
The present embodiment includes steps S310 to S350:
s310, receiving setting information of relative positions between actions; the setting information may be position information between two adjacent actions in a process cycle, for example, orientation information of a second action relative to a first action and orientation information of a third action relative to the second action in the same process cycle of the same time series gantt chart. The orientation information may be left, right, up, down, left up, left down, right up, right down, etc., and specifically, the orientation information of the second action is different between the different actions, for example, the orientation information of the second action is below the first action relative to the first action, and may be left, right, and right below the first action, where the right below may be understood as two actions occurring at the same time; the second action is above the third action relative to the third action, and may be left, right, or above the third action, where directly above may also mean that the two actions occur simultaneously. The spacing between the relative positions between different adjacent actions may be different or the same during a same process cycle. When the intervals are the same, a fixed value can be set according to the process; when the intervals are different, the interval data of the relative positions need to be set respectively by combining with the actual process information. The start timestamp of the second action described in this embodiment is to the right of the start timestamp of the first action, i.e. the start timestamp of the following action is later than the start timestamp of the preceding action.
S320, acquiring position information of a target action of the process cycle; the target action may be the first action in the current process cycle or may be other actions. When all actions of the current process cycle need to be acquired, the target action is the first action of the current process cycle; when only part of actions in the current process cycle need to be acquired, the target action is one of the part of actions needing to be acquired.
S330, searching all actions in the process cycle according to the position information of the target action and the setting information of the relative position; all actions of the process cycle are actions in the same period.
In some embodiments, assuming that the current process cycle includes actions a, B, C, D, and a, action a is a target action, the position information of action B is determined according to the position information of action a in combination with the setting information of the relative position, then the position information of action C is determined according to the position information of action B in combination with the setting information of the relative position, then the position information of action D is determined according to the position information of C in combination with the setting information of the relative position, and the determination is sequentially performed until the position information of the last action is determined, and then all actions are sequentially found in combination with the position information of all actions.
In other embodiments, rather than specifying a target action, the remaining actions may be looked up based on any one action and the relative position to another action.
The two embodiments have different calculation modes, and in an actual application process, the calculation modes can be switched according to actual requirements.
S340, calculating relative time stamps of all actions in the process cycle; after all actions are determined, the relative time stamp of each action relative to the target action is calculated according to the position information of all actions.
And S350, generating an action time sequence Gantt chart according to the relative timestamp.
According to the method and the device, the setting information of the relative positions between the actions is received, all the actions in the process CYCLE are searched by combining the position information of the target action of the process CYCLE, and then the action time sequence Gantt chart is generated according to the calculated relative time stamps of all the actions, so that the condition that the CYCLE calculation errors are caused by overlapping factors among a plurality of CYCLEs is effectively avoided, and the accuracy of the CYCLE calculation result is improved.
As a preferred embodiment, the searching for all actions in the process cycle according to the position information of the target action and the setting information of the relative position specifically includes:
calculating the position information of the residual action according to the position information of the target action and the setting information of the relative position; specifically, the position vector of the next action and the position vector of the previous action are calculated according to the position information of the target action and the setting information of the relative position, and the specific position of the next action relative to the previous action is determined according to the position vectors.
And searching all actions in the process cycle according to the position information of the target action and the position information of the residual actions.
The embodiment searches the residual actions by calculating the position vectors of the residual actions and the target actions, and improves the accuracy of the search result.
As a preferred embodiment, the searching for all actions in the process cycle according to the position information of the target action and the position information of the remaining actions specifically includes:
searching all actions meeting a first preset requirement according to the position information of the residual actions; the first preset requirement is a preset azimuth range.
And searching all actions meeting a second preset requirement from all the actions meeting the first preset requirement according to the position information of the target action, and taking all the actions meeting the second preset requirement as the actions in the process cycle. The second preset requirement is a position vector between adjacent actions.
As shown in fig. 4, in the first process cycle, the target action is action A1, the remaining actions include actions A2, A3, A4, and A5, and the actions meeting the first preset requirement include action A2 in the first process cycle and action A1 in the second process cycle, however, in the same process cycle, the position vector between adjacent actions is preset and unchanged, as can be seen from fig. 4, only action A2 in the first process cycle meets the second preset requirement in actions A2 in the first process cycle and action A1 in the second process cycle.
Therefore, in the embodiment, the actions meeting the first preset requirement and the second preset requirement are searched as the actions in the same cycle according to the position information of the remaining actions, so that the actions of the searched process cycles all belong to the same process cycle, and the searching result is more accurate.
As a preferred embodiment, said calculating the relative time stamp of all actions within said process cycle specifically comprises:
converting the start time and end time of all actions within the process cycle to a Unix timestamp; the Unix timestamp is the number of seconds elapsed since 1 month 1 day 1970 (UTC/GMT), regardless of leap seconds. One hour is expressed in the Unix timestamp format as: 3600 seconds, with a Unix timestamp of 86400 seconds for one day.
And respectively calculating the relative time stamps of the start time and the end time of the residual action and the start time of the target action according to the Unix time stamps of all the actions, wherein the residual action is the action which does not comprise the target action in the process cycle.
The invention calculates the relative time between each action by converting the time of the action of the process cycle into the Unix time stamp, so as to improve the accuracy of the calculation result.
As a preferred embodiment, the generating an action timing gantt chart according to the relative timestamp specifically includes:
converting the relative time stamp into time data in a specific format; the time data in the specific format can be Beijing time or time of other countries, and is converted according to actual needs.
And generating an action time sequence Gantt chart according to the time data.
In the embodiment, by converting the relative time stamp into the time data in a specific format, analysis of the meaning expressed by the human understanding action time sequence Gantt chart is facilitated.
The embodiment of the invention also provides a Gantt chart processing system based on action positioning corresponding to the method in the figure 3, which comprises the following steps:
the receiving module is used for receiving setting information of relative positions between actions;
the acquisition module is used for acquiring the position information of the target action of the process cycle;
the searching module is used for searching all actions in the process cycle according to the position information of the target action and the setting information of the relative position;
a calculation module for calculating relative timestamps for all actions within the process cycle;
and the generating module is used for generating an action time sequence Gantt chart according to the relative timestamp.
The content of the embodiment of the method of the invention is all applicable to the embodiment of the system, the function of the embodiment of the system is the same as the embodiment of the method, and the beneficial effect achieved by the embodiment of the system is the same as the beneficial effect achieved by the method.
The embodiment of the invention also provides a Gantt chart processing system based on action positioning, which comprises:
at least one memory for storing a program;
at least one processor for loading the program to execute a Gantt chart processing method based on motion positioning.
The content of the embodiment of the method of the invention is all applicable to the embodiment of the system, the function of the embodiment of the system is the same as the embodiment of the method, and the beneficial effect achieved by the embodiment of the system is the same as the beneficial effect achieved by the method.
Furthermore, a storage medium is provided in an embodiment of the present invention, in which processor-executable instructions are stored, and when the processor-executable instructions are executed by a processor, the storage medium is configured to implement a gantt chart processing method based on motion positioning.
In summary, in the embodiments of the present invention, setting information of relative positions between actions is received, all actions in a process CYCLE are searched by combining position information of a target action of the process CYCLE, and then an action timing gantt chart is generated according to the calculated relative timestamps of all actions, so that a situation that CYCLE calculation errors occur due to overlapping factors among multiple CYCLEs is effectively avoided, and accuracy of CYCLE calculation results is improved.
While the preferred embodiments of the present invention have been illustrated and described, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (7)

CN202010323100.3A2020-04-222020-04-22Gantt chart processing method and system based on motion positioning and storage mediumActiveCN111681261B (en)

Priority Applications (2)

Application NumberPriority DateFiling DateTitle
CN202010323100.3ACN111681261B (en)2020-04-222020-04-22Gantt chart processing method and system based on motion positioning and storage medium
PCT/CN2020/140084WO2021212895A1 (en)2020-04-222020-12-28Action-positioning-based gantt chart processing method and system, and storage medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202010323100.3ACN111681261B (en)2020-04-222020-04-22Gantt chart processing method and system based on motion positioning and storage medium

Publications (2)

Publication NumberPublication Date
CN111681261A CN111681261A (en)2020-09-18
CN111681261Btrue CN111681261B (en)2022-12-13

Family

ID=72451689

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202010323100.3AActiveCN111681261B (en)2020-04-222020-04-22Gantt chart processing method and system based on motion positioning and storage medium

Country Status (2)

CountryLink
CN (1)CN111681261B (en)
WO (1)WO2021212895A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN111681261B (en)*2020-04-222022-12-13广州明珞汽车装备有限公司Gantt chart processing method and system based on motion positioning and storage medium
CN112859762B (en)*2020-12-042022-07-26广州明珞装备股份有限公司Control logic checking method and device, computer equipment and storage medium
CN113256833A (en)*2021-05-122021-08-13安徽巨一科技股份有限公司PLC-based line body process duration analysis method and application thereof
CN114393578B (en)*2021-12-312024-06-14广州明珞装备股份有限公司Process action judging method, system, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
JP2007087421A (en)*2006-11-302007-04-05Hitachi East Japan Solutions LtdWork planning system and work planning program
CN106055914A (en)*2016-06-242016-10-26广州埃克森生物科技有限公司Medical inspection equipment control time sequence visual generation method and system
CN107015554A (en)*2011-12-062017-08-04比特有限责任公司Method and system for capturing automation data
CN110135678A (en)*2019-03-292019-08-16广州明珞汽车装备有限公司A kind of process timing sequence analysis method, system and storage medium based on station

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
JP5460393B2 (en)*2010-03-152014-04-02株式会社神戸製鋼所 Operation method of converter facilities
US9081466B2 (en)*2012-09-102015-07-14Sap SeDynamic chart control that triggers dynamic contextual actions
CN106485458A (en)*2015-08-282017-03-08阿里巴巴集团控股有限公司Gunter drawing generating method and device, webpage generating method and device
CN110245374B (en)*2019-04-262023-06-16广州明珞汽车装备有限公司Process time sequence interval analysis method, system, device and storage medium
CN110699863B (en)*2019-09-242022-02-25杰克科技股份有限公司Timing method, system, computer readable storage medium and server
CN111681261B (en)*2020-04-222022-12-13广州明珞汽车装备有限公司Gantt chart processing method and system based on motion positioning and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
JP2007087421A (en)*2006-11-302007-04-05Hitachi East Japan Solutions LtdWork planning system and work planning program
CN107015554A (en)*2011-12-062017-08-04比特有限责任公司Method and system for capturing automation data
CN106055914A (en)*2016-06-242016-10-26广州埃克森生物科技有限公司Medical inspection equipment control time sequence visual generation method and system
CN110135678A (en)*2019-03-292019-08-16广州明珞汽车装备有限公司A kind of process timing sequence analysis method, system and storage medium based on station

Also Published As

Publication numberPublication date
CN111681261A (en)2020-09-18
WO2021212895A1 (en)2021-10-28

Similar Documents

PublicationPublication DateTitle
CN111681261B (en)Gantt chart processing method and system based on motion positioning and storage medium
CN104346267A (en)Method and device for generating program bug positioning information
CN110727602B (en)Coverage rate data processing method, coverage rate data processing device and storage medium
CN110245374A (en)A kind of process timing sequence compartment analysis method, system, device and storage medium
CN103533504A (en)Method for automatically signing in by mobile terminal and the mobile terminal
CN105338541B (en)A kind of abnormal track-detecting method and device based on mobile wireless network data
CN112859762B (en)Control logic checking method and device, computer equipment and storage medium
JP2007188152A (en)Clock skew correction system, clock skew correction method and clock skew correction program
CN106557352A (en)A kind of method for realizing the two-way execution of instruction set simulator forward and reverse
CN113468235A (en)Information acquisition method, device, server and storage medium
CN112325907A (en)Method, device, equipment and medium for testing robot path planning algorithm
CN109327354B (en)Method, device and test system for generating signal forwarding test case
CN116244169B (en)Regression testing system based on time sequence type coverage database
CN116245056B (en)Regression test debugging system based on time sequence type coverage database
CN115408867B (en) Method, device and related equipment for improving calculation accuracy in real-time power simulation
CN114981797A (en)Method and device for detecting synchronous data, server and data synchronization system
CN109031360B (en) A method and device for capturing weak GPS signals
CN112507180B (en)Method and device for converting time of analog machine, electronic equipment and storage medium
JP4253112B2 (en) Contour shape measuring method and apparatus
CN113129438B (en)Method and device for improving precision of lane line and readable storage medium
CN111949506B (en)Teaching track modification method and device based on three-dimensional program rollback function
CN116112130B (en) Data correction and supplement method, device, equipment and system
CN111221821A (en)AI model iterative updating method, electronic equipment and storage medium
CN115952159B (en) Data verification method, device and equipment for storage system
CN116245057B (en)Effective execution area determining system based on time sequence type coverage database

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp