CN117784741B - Information synchronization method and system - Google Patents
Information synchronization method and system Download PDFInfo
- Publication number
- CN117784741B CN117784741B CN202410211703.2A CN202410211703A CN117784741B CN 117784741 B CN117784741 B CN 117784741B CN 202410211703 A CN202410211703 A CN 202410211703A CN 117784741 B CN117784741 B CN 117784741B
- Authority
- CN
- China
- Prior art keywords
- alarm
- industrial personal
- personal computer
- version
- version number
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 84
- 238000012795 verification Methods 0.000 claims abstract description 155
- 238000004519 manufacturing process Methods 0.000 claims abstract description 121
- 230000001960 triggered effect Effects 0.000 claims abstract description 56
- 238000001514 detection method Methods 0.000 claims description 92
- 238000004891 communication Methods 0.000 claims description 43
- 230000002159 abnormal effect Effects 0.000 claims description 27
- 230000008676 import Effects 0.000 claims description 15
- 238000012545 processing Methods 0.000 claims description 11
- 230000008569 process Effects 0.000 description 23
- 238000010586 diagram Methods 0.000 description 9
- 230000003993 interaction Effects 0.000 description 9
- 238000003466 welding Methods 0.000 description 8
- 238000007418 data mining Methods 0.000 description 6
- 230000005540 biological transmission Effects 0.000 description 5
- 230000006870 function Effects 0.000 description 5
- 238000013507 mapping Methods 0.000 description 4
- 230000007958 sleep Effects 0.000 description 4
- 238000012546 transfer Methods 0.000 description 4
- 230000001360 synchronised effect Effects 0.000 description 3
- 238000004804 winding Methods 0.000 description 3
- JLVVSXFLKOJNIY-UHFFFAOYSA-N Magnesium ion Chemical compound [Mg+2] JLVVSXFLKOJNIY-UHFFFAOYSA-N 0.000 description 2
- PXHVJJICTQNCMI-UHFFFAOYSA-N Nickel Chemical compound [Ni] PXHVJJICTQNCMI-UHFFFAOYSA-N 0.000 description 2
- JDZCKJOXGCMJGS-UHFFFAOYSA-N [Li].[S] Chemical compound [Li].[S] JDZCKJOXGCMJGS-UHFFFAOYSA-N 0.000 description 2
- 230000005856 abnormality Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000000977 initiatory effect Effects 0.000 description 2
- 229910001416 lithium ion Inorganic materials 0.000 description 2
- 229910001425 magnesium ion Inorganic materials 0.000 description 2
- 238000005065 mining Methods 0.000 description 2
- 238000011112 process operation Methods 0.000 description 2
- 238000003860 storage Methods 0.000 description 2
- 235000015842 Hesperis Nutrition 0.000 description 1
- UFHFLCQGNIYNRP-UHFFFAOYSA-N Hydrogen Chemical compound [H][H] UFHFLCQGNIYNRP-UHFFFAOYSA-N 0.000 description 1
- 235000012633 Iberis amara Nutrition 0.000 description 1
- HBBGRARXTFLTSG-UHFFFAOYSA-N Lithium ion Chemical compound [Li+] HBBGRARXTFLTSG-UHFFFAOYSA-N 0.000 description 1
- KEAYESYHFKHZAL-UHFFFAOYSA-N Sodium Chemical compound [Na] KEAYESYHFKHZAL-UHFFFAOYSA-N 0.000 description 1
- FKNQFGJONOIPTF-UHFFFAOYSA-N Sodium cation Chemical compound [Na+] FKNQFGJONOIPTF-UHFFFAOYSA-N 0.000 description 1
- 229910000831 Steel Inorganic materials 0.000 description 1
- 230000003213 activating effect Effects 0.000 description 1
- 239000011149 active material Substances 0.000 description 1
- OJIJEKBXJYRIBZ-UHFFFAOYSA-N cadmium nickel Chemical compound [Ni].[Cd] OJIJEKBXJYRIBZ-UHFFFAOYSA-N 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 230000006866 deterioration Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000005059 dormancy Effects 0.000 description 1
- 239000003792 electrolyte Substances 0.000 description 1
- 238000004146 energy storage Methods 0.000 description 1
- 229910052739 hydrogen Inorganic materials 0.000 description 1
- 239000001257 hydrogen Substances 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 229910052744 lithium Inorganic materials 0.000 description 1
- VVNXEADCOVSAER-UHFFFAOYSA-N lithium sodium Chemical compound [Li].[Na] VVNXEADCOVSAER-UHFFFAOYSA-N 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000000178 monomer Substances 0.000 description 1
- 229910052759 nickel Inorganic materials 0.000 description 1
- 238000004806 packaging method and process Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 229910001415 sodium ion Inorganic materials 0.000 description 1
- 239000010959 steel Substances 0.000 description 1
- 239000000126 substance Substances 0.000 description 1
- 230000001502 supplementing effect Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- General Factory Administration (AREA)
Abstract
The embodiment of the application provides an information synchronization method and system, wherein the method comprises the following steps: under the condition that the information synchronization condition on the battery production line is triggered, the industrial personal computer acquires the current machine alarm configuration information of the touch screen; the industrial personal computer performs first version verification on the machine station alarm version number and the local alarm version number in the current local alarm configuration information of the industrial personal computer to obtain a first verification result; under the condition that the first verification result characterizes that the machine alarm version number is consistent with the local alarm version number, the industrial personal computer sends an alarm version verification request containing local alarm configuration information to the centralized control system; and the centralized control system receives the alarm version verification request, performs second version verification on the local alarm version number and the system alarm version number in the current system alarm configuration information of the centralized control system, and obtains a second verification result so as to realize alarm information synchronization among the touch screen, the centralized control system and the industrial personal computer. The application realizes the synchronization of alarm information of different display devices on the battery production line.
Description
Technical Field
The embodiment of the application relates to the technical field of intelligent manufacturing, and relates to an information synchronization method and system.
Background
In the production process of the battery, in order to ensure production safety, a plurality of alarm points are arranged on the production line, each alarm point corresponds to an alarm serial number, and when a certain alarm point is triggered, each display unit on the production line displays the alarm serial number of the triggered alarm point so as to remind engineers on the production line to process the alarm point.
However, the alarm point bit table at each display unit is manually entered by the user on the front page and then stored in the database of each display unit. If an engineer modifies the alarm point list on the production site without synchronously updating the alarm points on other display units, the modified alarm points may be triggered, and the alarm points displayed on other display units are different from the actually triggered alarm points on the production line. Therefore, how to determine whether alarm information at each display unit on a production line is synchronized is a current urgent problem to be solved.
Disclosure of Invention
In order to solve the problems of the related art, the embodiment of the application provides an information synchronization method and system, which are used for checking alarm information between a touch screen and an industrial personal computer as well as between the industrial personal computer and a centralized control system after an information synchronization condition is triggered, so that the problem that alarm points displayed at other display units are different from alarm points actually triggered on a production line due to different alarm information in different display units in the related art is solved.
In a first aspect, an embodiment of the present application provides an information synchronization method, where the information synchronization method includes: under the condition that the information synchronization condition on the battery production line is triggered, the industrial personal computer acquires the current machine alarm configuration information of the touch screen; the machine alarm configuration information at least comprises a machine alarm version number; the industrial personal computer performs first version verification on the machine station alarm version number and the local alarm version number in the current local alarm configuration information of the industrial personal computer to obtain a first verification result; under the condition that the first verification result characterizes that the machine station alarm version number is consistent with the local alarm version number, the industrial personal computer sends an alarm version verification request containing the local alarm configuration information to the centralized control system; and the centralized control system responds to the alarm version verification request, and performs second version verification on the local alarm version number and the system alarm version number in the current system alarm configuration information of the centralized control system to obtain a second verification result so as to realize alarm information synchronization among the touch screen, the centralized control system and the industrial personal computer.
In the above embodiment, under the condition that the information synchronization condition is triggered, the alarm information in the plurality of display devices on the battery production line is synchronously checked, so that after the engineer updates the alarm information of the touch screen, the alarm configuration tables of the centralized control system and the industrial personal computer cannot be ensured to be updated simultaneously, the alarm information at three positions of the touch screen, the centralized control system and the industrial personal computer are inconsistent, the problem that the engineers at other display devices cannot solve the alarm actually appearing on the production line is caused, the engineers at all positions on the production line can know the alarm problem appearing on the production line in time, the processing efficiency of the alarm information on the production line is improved, and the production safety of the production line is also improved.
In some embodiments, the method for acquiring the current machine alarm configuration information of the touch screen by the industrial personal computer includes: the industrial personal computer triggers version detection points in the controller; the controller calls an operation instruction of the touch screen to detect a communication channel between the industrial personal computer and the touch screen under the condition that the version detection point position is triggered, so as to obtain a detection result; and under the condition that the communication channel connection is normal, the industrial personal computer acquires the current machine alarm configuration information of the touch screen based on the communication channel.
In some embodiments, the information synchronization system further comprises a publish-subscribe service; the information synchronization method further comprises the following steps: the touch screen publishes a machine message containing the machine alarm configuration information to a version detection theme of the publishing and subscribing service under the condition that the communication channel connection is normal; wherein, the industrial personal computer subscribes to the version detection theme; the industrial personal computer obtains the current machine alarm configuration information of the touch screen based on the communication channel under the condition that the communication channel is normally connected, and the method comprises the following steps: and under the condition that the communication channel is normally connected and the machine station message appears in the version detection theme, the industrial personal computer acquires the machine station alarm configuration information in the machine station message.
In the embodiment, the data interaction between the industrial personal computer and the touch screen is realized through the publishing and subscribing service, so that the interaction efficiency and the accuracy of the interaction data are improved; meanwhile, the industrial personal computer and the touch screen are not in direct communication, so that the situation that data are lost in the transmission process due to network fluctuation and the like is reduced.
In some embodiments, the information synchronization method further comprises: the industrial personal computer determines that the publishing and subscribing service is abnormal under the condition that the version detection point position is triggered and the machine message does not appear in the version detection theme within a first preset time period after the version detection point position is triggered, and triggers the version detection point position again after a second preset time period; and under the condition that the version detection point position is not triggered, the industrial personal computer triggers the version detection point position again after a third preset time period.
In the above embodiment, a solution is provided for the problem that the version detection point is not triggered and the connection of the publish-subscribe service is abnormal, and the effective verification between the industrial personal computer and the touch screen is realized by triggering the version detection point again.
In some embodiments, the information synchronization method further comprises: under the condition that the first verification result characterizes that the machine station alarm version number is consistent with the local alarm version number, the industrial personal computer closes a version detection point in a controller; the touch screen determines that the machine station alarm version number is consistent with the local alarm version number under the condition that the touch screen receives the information of closing the version detection point position, and the machine station alarm version number is displayed on a machine station display interface of the touch screen; and under the condition that the touch screen does not receive the information of closing the version detection point position within a fourth preset time period, the touch screen determines that the machine station alarm version number is inconsistent with the local alarm version number and displays the machine station alarm version number on a machine station display interface of the touch screen.
In the embodiment, when the industrial personal computer determines that the alarm information is consistent or inconsistent with the alarm information of the touch screen, the result is fed back to the touch screen, so that verification information synchronization between the industrial personal computer and the touch screen is realized.
In some embodiments, the alarm version check request includes at least a device resource number of the industrial personal computer; the centralized control system receives the alarm version verification request, performs a second version verification on the local alarm version number and the system alarm version number in the current system alarm configuration information of the centralized control system to obtain a second verification result, and comprises: the centralized control system analyzes the alarm version verification request to obtain a device resource number corresponding to the industrial personal computer; the centralized control system queries a system alarm version number corresponding to the equipment resource number in a database corresponding to the centralized control system based on the equipment resource number to obtain a query result; the battery production line comprises a plurality of industrial personal computers, wherein the database comprises local alarm information corresponding to all the industrial personal computers on the battery production line, and the local alarm information corresponding to different industrial personal computers is the same or different; and under the condition that the query result characterizes that the system alarm version number corresponding to the equipment resource number exists in the database, the centralized control system sends a system message containing the system alarm version number and the equipment resource number to the industrial personal computer, and performs second version verification on the local alarm version number and the system alarm version number to obtain a second verification result.
In the above embodiment, the industrial personal computer initiates the verification of the alarm information of the centralized control system under the condition of being consistent with the alarm information of the touch screen, so that the consistency of the alarm information among the touch screen, the centralized control system and the industrial personal computer can be illustrated when the alarm information of the centralized control system is consistent with the alarm information of the industrial personal computer, and the synchronization of the alarm information among the touch screen, the centralized control system and the industrial personal computer is realized.
In some embodiments, the information synchronization method further comprises: displaying a popup window representing that the second verification result passes on a system display interface of the centralized control system under the condition that the second verification result represents that the local alarm version number is consistent with the system alarm version number; and displaying a popup window representing that the second checking result does not pass on the system display interface under the condition that the second checking result represents that the local alarm version number is inconsistent with the system alarm version number.
In the above embodiment, the system display interface of the centralized control system displays the verification results of the local alarm version number and the system alarm version number, so as to prompt an engineer of the centralized control system to update the alarm information of the centralized control system, thereby realizing the alarm information synchronization of the centralized control system and the industrial personal computer.
In some embodiments, the information synchronization method further comprises: under the condition that the query result characterizes that the system alarm version number corresponding to the equipment resource number does not exist in the database, the centralized control system generates an abnormal message and sends the abnormal message to the industrial personal computer; and under the condition that the industrial personal computer receives the abnormal message, displaying the abnormal message on a device display interface of the industrial personal computer.
In the above embodiment, when the centralized control system inquires that no alarm version number corresponding to the industrial personal computer exists, the centralized control system feeds back the inquiry result to the industrial personal computer to prompt the industrial personal computer, so that interaction between the industrial personal computer and the centralized control system is realized.
In some embodiments, the information synchronization method further comprises: under the condition that the industrial personal computer receives the system message, carrying out third version verification on the local alarm version number and the system alarm version number to obtain a third verification result; displaying a popup window representing that the third verification result passes through on the equipment display interface under the condition that the third verification result represents that the local alarm version number is consistent with the system alarm version number; and displaying a popup window representing that the third verification result fails on the equipment display interface under the condition that the third verification result represents that the local alarm version number is inconsistent with the system alarm version number.
In the above embodiment, the device display interface of the industrial personal computer displays the verification results of the local alarm version number and the system alarm version number, so that the alarm information synchronization of the centralized control system and the industrial personal computer is realized.
In some embodiments, the information synchronization method further comprises: the touch screen determines a plurality of alarm points corresponding to the industrial personal computer and alarm reasons and alarm types corresponding to the alarm points based on alarm configuration operation aiming at a machine display interface of the touch screen; the touch screen performs standardized processing on the at least one alarm point location to obtain an alarm array comprising at least one alarm field; wherein, one alarm field corresponds to a plurality of alarm points; the touch screen generates the machine station alarm configuration information, the local alarm configuration information and the system alarm configuration information with the same alarm version number based on the alarm array, the alarm reasons corresponding to the alarm points, the alarm types corresponding to the alarm points and a preset alarm version configuration template; the industrial personal computer imports the local alarm configuration information into a configuration file of the industrial personal computer based on a first data importing operation aiming at an equipment display interface of the industrial personal computer; the centralized control system imports the system alarm configuration information into a configuration file of the centralized control system based on a second data importation operation aiming at a system display interface of the centralized control system.
In the embodiment, the alarm point positions are standardized, so that the data volume is reduced, and the communication efficiency of data transmission is improved; meanwhile, the touch screen, the centralized control system and the industrial personal computer use the same version of alarm configuration table, so that the alarm information of the touch screen, the centralized control system and the industrial personal computer is consistent, the processing efficiency of the alarm information on the production line is improved, and the production safety of the production line is also improved.
In a second aspect, an embodiment of the present application provides an information synchronization system, where the information synchronization system includes a touch screen, a centralized control system, and an industrial personal computer; the industrial personal computer is used for acquiring the current machine alarm configuration information of the touch screen under the condition that the information synchronization condition on the battery production line is triggered; the machine alarm configuration information at least comprises a machine alarm version number; the industrial personal computer is further used for performing first version verification on the machine station alarm version number and the local alarm version number in the current local alarm configuration information of the industrial personal computer to obtain a first verification result; the industrial personal computer is further configured to send an alarm version verification request including the local alarm configuration information to the centralized control system when the first verification result characterizes that the machine alarm version number is consistent with the local alarm version number; and the centralized control system is used for responding to the alarm version verification request, carrying out second version verification on the local alarm version number and the system alarm version number in the current system alarm configuration information of the centralized control system, and obtaining a second verification result so as to realize the alarm information synchronization among the touch screen, the centralized control system and the industrial personal computer.
In the above embodiment, under the condition that the information synchronization condition is triggered, the alarm information in the plurality of display devices on the battery production line is checked synchronously, so that after the engineer updates the alarm information of the touch screen, the alarm configuration tables of the centralized control system and the industrial personal computer cannot be updated simultaneously, the alarm information at three positions of the touch screen, the centralized control system and the industrial personal computer are inconsistent, the problem that the engineer at other display devices cannot solve the alarm actually appearing on the production line is solved, the processing efficiency of the alarm information on the production line is improved, and the production safety of the production line is also improved.
In some embodiments, the information synchronization system further comprises a controller; the industrial personal computer is also used for triggering version detection points in the controller; the controller is used for calling an operation instruction of the touch screen to detect a communication channel between the industrial personal computer and the touch screen under the condition that the version detection point position is triggered, so as to obtain a detection result; the industrial personal computer is further used for acquiring the current machine alarm configuration information of the touch screen based on the communication channel under the condition that the communication channel is normally connected.
In some embodiments, the information synchronization system further comprises a publish-subscribe service; the touch screen is used for publishing the machine message containing the machine alarm configuration information to the version detection theme of the publishing and subscribing service under the condition that the communication channel connection between the industrial personal computer and the touch screen is normal; wherein, the industrial personal computer subscribes to the version detection theme; the industrial personal computer is further configured to obtain the machine alarm configuration information in the machine message when the communication channel is connected normally and the machine message appears in the version detection theme.
The foregoing description is only an overview of the present application, and is intended to be implemented in accordance with the teachings of the present application in order that the same may be more clearly understood and to make the same and other objects, features and advantages of the present application more readily apparent.
Drawings
FIG. 1 is a schematic flow chart of an alternative method for synchronizing information according to an embodiment of the present application;
FIG. 2 is a second flowchart of an alternative method for synchronizing information according to an embodiment of the present application;
FIG. 3 is a schematic diagram III of an alternative flow chart of an information synchronization method according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an information synchronization system according to an embodiment of the present application;
FIG. 5 is a schematic diagram of the structure of alarm information provided by the embodiment of the application;
FIG. 6 is a schematic diagram of a closed loop verification process of a touch screen and a data acquisition tool according to an embodiment of the present application;
fig. 7 is a schematic diagram of a centralized control system and a closed loop verification flow of a data acquisition tool according to an embodiment of the present application.
Detailed Description
The present application will be further described in detail with reference to the accompanying drawings, for the purpose of making the objects, technical solutions and advantages of the present application more apparent, and the described embodiments should not be construed as limiting the present application, and all other embodiments obtained by those skilled in the art without making any inventive effort are within the scope of the present application.
In the following description, reference is made to "some embodiments" which describe a subset of all possible embodiments, but it is to be understood that "some embodiments" can be the same subset or different subsets of all possible embodiments and can be combined with one another without conflict. Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which embodiments of this application belong. The terminology used in the embodiments of the application is for the purpose of describing embodiments of the application only and is not intended to be limiting of the application.
Currently, the application of power batteries is more widespread from the development of market situation. The power battery is not only applied to energy storage power supply systems such as hydraulic power, firepower, wind power and solar power stations, but also widely applied to electric vehicles such as electric bicycles, electric motorcycles, electric automobiles, and the like, and a plurality of fields such as military equipment, aerospace, and the like. With the continuous expansion of the application field of the power battery, the market demand of the power battery is also continuously expanding.
The inventor notes that in the battery manufacturing process, in order to ensure that the battery production line can smoothly produce qualified battery products, a plurality of alarm points are arranged on the production line, each alarm point corresponds to an alarm serial number, and when a certain alarm point is triggered, each display unit on the production line displays the alarm serial number of the triggered alarm point so as to remind engineers on the production line to process the alarm point.
However, in the related art, an alarm information table is configured by an electric engineer according to alarm points of a program of a programmable logic controller (PLC, programmable Logic Controller) and messages in a touch screen on a field machine, and then the alarm information table is imported into a centralized control system by the engineer, and after being analyzed by the centralized control system, an extensible markup language (XML, eXtensible Markup Language) file or a table (excel) file can be exported, and the engineer manually copies the content to a configuration file of an industrial personal computer. The alarm information configuration table in the related art is configured according to the fact that the actual alarm points in the production line are located on the touch screen, if an electrical engineer directly updates the alarm information in the touch screen, the alarm configuration table of the centralized control system and the alarm configuration table of the industrial personal computer cannot be guaranteed to be updated simultaneously, the problem that the alarm information at the three parts of the touch screen, the centralized control system and the industrial personal computer are inconsistent can occur, the engineer cannot determine and solve the problem actually occurring on the production line, and battery production errors are caused.
In order to solve the problem that the alarm information of all parts of the production line is inconsistent in the related art, the applicant researches and discovers that under some preset triggering conditions, the industrial personal computer can acquire the alarm information of the touch screen and carry out consistency check with the imported alarm information or the alarm information of the local industrial personal computer, and under the condition that the consistency check passes, the industrial personal computer acquires the alarm information of the centralized control system and carries out the consistency check, so that the synchronous check of the alarm information of the touch screen, the centralized control system and the industrial personal computer is realized, and the problem that the alarm information of all parts of the production line is inconsistent is solved.
Based on the above inventive concept, the embodiment of the application provides an information synchronization method, which is applied to an information synchronization system of a battery production line, wherein the information synchronization system at least comprises a centralized control system arranged on a general server of the battery production line and a touch screen and an industrial personal computer arranged in a field machine on each process section, the touch screen can be a Human-machine display module (HMI, human MACHINE INTERFACE) on the field machine, the industrial personal computer can be an upper computer positioned in the field machine, and data acquisition software is installed in the industrial personal computer and used for acquiring operation data of production equipment corresponding to the industrial personal computer from a controller. The industrial personal computer of each field machine corresponds to at least one production device on the battery production line, and the production device can refer to a manipulator, a battery core winder, a pole welding device, a battery assembling device, a product transport vehicle (AGV, automated Guided Vehicle) and other devices on the production line.
In response to the triggering of the information synchronization condition on the battery production line, the industrial personal computer acquires the current machine alarm configuration information of the touch screen, wherein the current machine alarm configuration information comprises a machine alarm version number, the industrial personal computer checks the machine alarm version number and the local alarm version number in the current local alarm configuration information of the industrial personal computer, and under the condition that the machine alarm version number is consistent with the local alarm version number, the industrial personal computer sends an alarm version check request containing the local alarm configuration information to the centralized control system, the centralized control system checks the local alarm version number and the system alarm version number in the current system alarm configuration information of the centralized control system, and the system display interface of the centralized control system is updated based on the check result, so that the alarm information synchronization among a plurality of display devices such as the touch screen, the centralized control system and the industrial personal computer on the battery production line is realized.
In this way, under the condition that the information synchronization condition is triggered, the embodiment of the application synchronously checks the alarm information in the plurality of display devices on the battery production line, so that after the engineer updates the alarm information of the touch screen, the engineer cannot ensure that the alarm configuration tables of the centralized control system and the industrial personal computer are updated simultaneously, the inconsistent alarm information of the touch screen, the centralized control system and the industrial personal computer can appear, and the engineer at other display devices cannot solve the problem of the real alarm on the production line, so that the engineer at each place on the production line can know the alarm problem on the production line in time, the processing efficiency of the alarm information on the production line is improved, and the production safety of the production line is improved.
The battery pack produced by the battery production line disclosed by the embodiment of the application can be used in electric devices such as vehicles, ships or aircrafts, but is not limited to the electric devices. The power supply system with the battery pack, the battery and the like which are disclosed by the application can be used for forming the power utilization device, so that the battery pack, the battery and the like are beneficial to alleviating and automatically adjusting the deterioration of the expansion force of the battery, supplementing the consumption of electrolyte and improving the stability of the battery performance and the service life of the battery.
The battery pack produced by the battery production line disclosed by the embodiment of the application can be used as an electric device of a power supply, and the electric device can be, but is not limited to, a mobile phone, a flat plate, a notebook computer, an electric toy, an electric tool, a battery car, an electric automobile, a ship, a spacecraft and the like. Among them, the electric toy may include fixed or mobile electric toys, such as game machines, electric car toys, electric ship toys, electric plane toys, and the like, and the spacecraft may include planes, rockets, space planes, and spacecraft, and the like.
In the embodiment of the application, the battery pack produced by the battery production line can be formed by connecting a plurality of batteries in series and parallel, wherein the batteries can be battery monomers. The battery cell is a basic unit capable of realizing the mutual conversion of chemical energy and electric energy, and can be used for manufacturing a battery module or a battery pack so as to supply power to an electric device. The battery cell may be a secondary battery, which means a battery cell that can be continuously used by activating an active material in a charging manner after the battery cell is discharged. The battery cell may be a lithium ion battery, a sodium lithium ion battery, a lithium metal battery, a sodium metal battery, a lithium sulfur battery, a magnesium ion battery, a nickel hydrogen battery, a nickel cadmium battery, a lead storage battery, etc., which is not limited by the embodiment of the application.
In some embodiments, the battery pack includes a plurality of electric cells, and the electric cells can be connected in series, in parallel or in series-parallel, where the series-parallel refers to that the electric cells are connected in series or in parallel. And the series connection, the parallel connection or the series-parallel connection among the multiple electric cores is realized through welding the electric core polar posts of the electric cores and the bus assembly. Wherein, each cell can be a secondary battery or a primary battery; but not limited to, lithium sulfur batteries, sodium ion batteries, or magnesium ion batteries. The battery cell can be in a cylinder, a flat body, a cuboid or other shapes, etc.
In the embodiment of the application, the information synchronization method can be applied to not only a battery production line but also any production line, for example, an automobile production line or a steel manufacturing line, and the embodiment of the application does not limit the specific application scene of the information synchronization method.
Next, an example will be described in which the information synchronization method is applied to a battery production line. A centralized control system is provided on a battery production line, and the centralized control system can be arranged on a total server of the battery production line. The battery production line comprises a plurality of process sections, such as pole piece winding, battery cell grouping, battery pack addressing, battery welding and the like, wherein each process section performs various process operations on the process section through a plurality of production equipment, such as a welding robot, a production equipment for moving the battery pack, a battery cell winding equipment, a battery assembling equipment and a production equipment for placing a bus bar during welding. Each process section is provided with a field machine station comprising an industrial personal computer and an HMI, the industrial personal computer collects operation data of production equipment through a controller (namely a PLC), and an on-site engineer can set alarm information based on the HMI according to the condition of the production field and guide the alarm information into the industrial personal computer and a centralized control system.
Fig. 1 is an optional flowchart of an information synchronization method provided by an embodiment of the present application, as shown in fig. 1, the information synchronization method provided by the embodiment of the present application may be implemented through steps S101 to S104:
Step S101, under the condition that information synchronization conditions on a battery production line are triggered, the industrial personal computer acquires current machine alarm configuration information of the touch screen; the machine alarm configuration information at least comprises a machine alarm version number.
In the embodiment of the application, the information synchronization condition can be the condition of leading the industrial personal computer into an alarm configuration file configured by the HMI, clicking an alarm version verification component on an industrial personal computer interface by an engineer, switching shifts on a production line and the like. The industrial personal computer importing the alarm configuration file may refer to that after an engineer generates the alarm configuration file on a touch screen of a machine, the engineer manually imports the alarm configuration file into the industrial personal computer, and at this time, the industrial personal computer compares the imported alarm configuration file with the alarm configuration file of the touch screen to confirm whether the imported alarm configuration file is the same as the current alarm configuration file of the touch screen.
In some embodiments, an alarm version verification component is arranged on a device display interface of the industrial personal computer, after an engineer clicks, the industrial personal computer compares a current alarm configuration file of the industrial personal computer with an alarm configuration file of the industrial personal computer, and whether the current alarm configuration file of the industrial personal computer is identical to a current alarm configuration file of the touch screen is confirmed.
In some embodiments, the battery production line may be 12 hours shifted once, requiring a check once every shift.
In some embodiments, an on-site engineer can set and update alarm information based on the touch screen according to the condition of the production site, and the machine alarm version number of the machine alarm configuration information changes every time the touch screen is modified, so that when the industrial personal computer performs closed loop verification with the touch screen, the alarm version numbers can be compared, and if the alarm version numbers are different, the alarm information is different. For example, an engineer defines 500 alarm points on a touch screen according to the actual field requirement to form alarm information with an alarm version number V1, and the alarm information with the alarm version number V1 is imported to an industrial personal computer and a centralized control system. However, when the scene condition is changed, an alarm point is added to the alarm information with the alarm version number V1 based on the touch screen, so that the alarm information with the alarm version number V2 is formed, and the newly added alarm information with the alarm version number V2 and the alarm information with the alarm version number V1 are not in the same version, so that the machine alarm information of the touch screen is different from the alarm information of the industrial personal computers and the centralized control system.
In some embodiments, the machine alarm configuration information may further include an identification number (ID, identity document) of each alarm point, and information such as a type, a text description, and a severity level of each alarm point. When an alarm point is triggered, for example, a safety door on a production line is opened, at this time, the display interfaces of the touch screen, the industrial personal computer and the centralized control system prompt that the alarm point is triggered, and display detailed information of the alarm point so as to prompt a corresponding processing engineer to process the alarm.
Step S102, the industrial personal computer performs first version verification on the machine station alarm version number and the local alarm version number in the current local alarm configuration information of the industrial personal computer, and a first verification result is obtained.
In some embodiments, the industrial personal computer may perform a first version check when the engineer imports the alarm configuration file, so as to determine whether the imported alarm configuration file is the same version as the current machine alarm information of the touch screen; or when the production line shifts and engineers click an alarm version verification component on the equipment display interface, the industrial personal computer verifies the local alarm version number and the machine alarm version number in the current used local alarm configuration information of the equipment to judge whether the local alarm version number and the machine alarm version number are of the same version.
In some embodiments, the first version verification may be comparing the machine alarm version number with the local alarm version number, or may be comparing machine alarm configuration information based on a touch screen with local alarm configuration information of an industrial personal computer, and comparing whether alarm information corresponding to each ID is the same. The first verification result comprises a consistent result and a non-consistent result.
Step S103, under the condition that the first verification result characterizes that the machine station alarm version number is consistent with the local alarm version number, the industrial personal computer sends an alarm version verification request containing the local alarm configuration information to a centralized control system.
In some embodiments, when the machine alarm version number of the touch screen is consistent with the local alarm version number of the industrial personal computer, that is, the machine alarm configuration information of the touch screen is consistent with the local alarm configuration information of the industrial personal computer, an alarm version verification request is sent to the centralized control system to request the centralized control system to verify the alarm information of the industrial personal computer and the centralized control system, so that closed loop verification among the touch screen, the industrial personal computer and the centralized control system is realized.
In some embodiments, the sending of the request by the industrial personal computer to the centralized control system may be implemented by a Post request, where the Post request is a request method in a hypertext transfer protocol (HTTP, hyper Text Transfer Protocol) protocol, and in the Post request, data may be included in a request body, that is, when the industrial personal computer sends an alarm version verification request to the centralized control system, the local alarm configuration information of the industrial personal computer is encapsulated in the request and sent to the centralized control system, so that the centralized control system verifies based on the local alarm configuration information.
In some embodiments, the first verification result indicates that the machine alarm version number is inconsistent with the local alarm version number, and indicates that the current alarm information of the industrial personal computer is different from the alarm information of the touch screen, and a popup window is needed at this time to prompt a field engineer to reintroduce the latest version of alarm information of the touch screen.
Step S104, the centralized control system receives the alarm version verification request, and performs second version verification on the local alarm version number and the system alarm version number in the current system alarm configuration information of the centralized control system to obtain a second verification result so as to realize alarm information synchronization among the touch screen, the centralized control system and the industrial personal computer.
In some embodiments, the centralized control system responds to the alarm version verification request, acquires the local alarm configuration information and the local alarm version number of the industrial personal computer, performs second version verification with the system alarm version number in the current system alarm configuration information of the centralized control system, and determines whether the alarm information of the centralized control system is consistent with the alarm information of the industrial personal computer.
In some embodiments, the second version verification may be comparing the system alarm version number with the local alarm version number, or may be comparing the system alarm configuration information of the centralized control system with the local alarm configuration information of the industrial personal computer, and comparing whether the alarm information corresponding to each ID is the same. The second check result includes both consistent and inconsistent results.
In some embodiments, when the centralized control system determines that the alarm information of the centralized control system is consistent with the alarm information of the industrial personal computer, the popup window prompts pass verification; when the alarm information of the centralized control system is inconsistent with the alarm information of the industrial personal computer, the popup window prompt is different from the alarm information of the industrial personal computer.
Here, because the industrial personal computer initiates the verification of the alarm information of the centralized control system under the condition that the alarm information of the centralized control system is consistent with the alarm information of the touch screen, the alarm information among the touch screen, the centralized control system and the industrial personal computer can be described to be consistent when the alarm information of the centralized control system is consistent with the alarm information of the industrial personal computer, and the synchronization of the alarm information among the touch screen, the centralized control system and the industrial personal computer is realized.
According to the embodiment of the application, under the condition that the information synchronization condition is triggered, the alarm information in a plurality of display devices on the battery production line is synchronously checked, so that after the alarm information of the touch screen is updated by engineers, the alarm configuration tables of the centralized control system and the industrial personal computer cannot be updated simultaneously, the alarm information at three positions of the touch screen, the centralized control system and the industrial personal computer are inconsistent, the problem that the engineers at other display devices cannot really realize the alarm on the production line is solved, the engineers at all positions on the production line can know the alarm problem on the production line in time, the processing efficiency of the alarm information on the production line is improved, and the production safety of the production line is also improved.
In some embodiments, the industrial personal computer and the touch screen can communicate through a message queue telemetry transmission (MQTT, message Queuing Telemetry Transport) protocol, and the problem of data loss caused by network fluctuation and other reasons when the industrial personal computer and the touch screen directly communicate can be avoided through the communication between the industrial personal computer and the touch screen through an MQTT service. Therefore, in step S101, the industrial personal computer may acquire the current machine alarm configuration information of the touch screen through steps S01 to S03:
and step S01, triggering version detection points in a controller by the industrial personal computer.
In some embodiments, the information synchronization system further includes a controller, where the controller may be any one of a Programmable Logic Controller (PLC), a single-chip microcomputer, a middle-level computer, and an upper-level computer, where the industrial personal computer determines whether an MQTT service between the industrial personal computer and the touch screen is normal by triggering a version detection point in the PLC, and where the MQTT service is normal, the touch screen sends machine alarm configuration information to the industrial personal computer.
In some embodiments, the version detection point in the controller may be a boolean point in the PLC, such as VersionCheckSysn points, and triggering the version detection point in the controller may refer to setting VersionCheckSysn points in the PLC to true to trigger the version detection point in the controller.
And step S02, under the condition that the version detection point position is triggered, the controller calls an operation instruction of the touch screen to detect a communication channel between the industrial personal computer and the touch screen, and a detection result is obtained.
In the embodiment of the application, the operation instruction of the touch screen may refer to a macro instruction of the touch screen, where the macro instruction is a predefined command or function, and the operation may be performed by the macro instruction, where, in the case that the version detection point is triggered, the controller may invoke the macro instruction of the touch screen to detect whether the communication channel (i.e., the MQTT service) between the industrial personal computer and the touch screen is connected normally, and the detection result includes that the connection is normal and abnormal.
Step S03, under the condition that the communication channel connection is normal, the industrial personal computer acquires the current machine alarm configuration information of the touch screen based on the communication channel.
In some embodiments, the touch screen sends the current machine alarm configuration information to the industrial personal computer under the condition that the communication channel connection is normal.
In some embodiments, the information synchronization system further comprises a publish-subscribe service, and the industrial personal computer subscribes to the publish-subscribe service. Here, the publishing and subscribing service is implemented based on the MQTT, and has a plurality of topics, the touch screen uploads the current machine alarm configuration information to the topics of the publishing and subscribing service, and the industrial personal computer subscribes to the topics to obtain the current machine alarm configuration information of the touch screen.
Therefore, the information synchronization method provided by the embodiment of the application can further include: and under the condition that the communication channel connection is normal, the touch screen publishes the machine message containing the machine alarm configuration information to the version detection subject of the publishing and subscribing service.
In some embodiments, the industrial personal computer subscribes to the version detection topic to obtain data in the version detection topic based on the MQTT service.
In some embodiments, the machine message may be as follows:
{
"d": {
"status": "triggered", status: triggering
"trigger_time": "2023-01-01T00:00:00",
Message alarm version number V10"
},
"ts": "2023-01-01T00:00:00.123456"
}
The trigger_time and the ts correspond to the time when the touch screen sends the machine message, and the message is the machine alarm version number in the current touch screen.
Correspondingly, step S03 may be implemented by the following steps: and under the condition that the communication channel is normally connected and the machine station message appears in the version detection theme, the industrial personal computer acquires the machine station alarm configuration information in the machine station message.
In some embodiments, the industrial personal computer subscribes to the version detection subject, when a machine message appears in the publishing and subscribing service, the industrial personal computer acquires machine alarm configuration information in the machine message, and the machine alarm configuration information is used for comparing whether the machine alarm version number uploaded by the touch screen is consistent with the local alarm version number of the industrial personal computer, if so, the version detection point is reset, and if not, the version detection point is not reset.
According to the embodiment of the application, the data interaction between the industrial personal computer and the touch screen is realized through the MQTT service, so that the problem of data loss caused by network fluctuation and other reasons when the industrial personal computer is directly communicated with the touch screen can be avoided, and the interaction efficiency and the accuracy of interaction data are improved.
In some embodiments, the information synchronization method provided by the embodiment of the present application further includes step S04 and step S05:
Step S04, the industrial personal computer determines that the publishing and subscribing service is abnormal under the condition that the version detection point position is triggered and the machine message does not appear in the version detection theme within a first preset time period after the version detection point position is triggered, and triggers the version detection point position again after a second preset time period.
In some embodiments, the first preset time period may be 15 seconds(s), the second preset time period may be 10 minutes, and if the version detection point is triggered, if no machine message appears in the version detection theme of the publish-subscribe service within 15 seconds, which indicates that the connection of the publish-subscribe service is abnormal, the industrial personal computer may trigger the version detection point again after 10 minutes, and execute the foregoing steps again.
And step S05, under the condition that the version detection point position is not triggered, the industrial personal computer triggers the version detection point position again after a third preset time period.
In some embodiments, if the industrial personal computer is not connected to the PLC, no version detection point location is in the PLC, no version detection point location is disclosed in the PLC, or the version detection point location in the PLC can only be read or written, the version detection point location is not triggered, and at this time, the industrial personal computer can trigger the version detection point location again after 15 s.
Aiming at the problems that the version detection point is not triggered and the connection of the publishing and subscribing service is abnormal, the embodiment of the application sets a solution, and realizes the effective verification between the industrial personal computer and the touch screen by triggering the version detection point again.
In some embodiments, under the condition that the alarm version number in the industrial personal computer is consistent with the alarm version number of the touch screen, the popup window prompts the alarm version to pass the verification, and closes the trigger point in the PLC. Therefore, the information synchronization method provided by the embodiment of the present application may further include steps S06 to S08:
step S06, when the first verification result indicates that the machine alarm version number is consistent with the local alarm version number, the industrial control machine closes a version detection point in the controller.
In some embodiments, under the condition that the alarm version number in the industrial personal computer is consistent with the alarm version number of the touch screen, the alarm version number in the industrial personal computer is not compared with the alarm version number of the touch screen any more before the information synchronization condition is triggered again, and at this time, the version detection point in the PLC can be closed, that is, the position of the version detection point is False.
And S07, under the condition that the touch screen receives the information of closing the version detection point position, determining that the machine station alarm version number is consistent with the local alarm version number, and displaying the machine station alarm version number on a machine station display interface of the touch screen.
In some embodiments, after the industrial personal computer closes the version detection point in the PLC, the touch screen receives the information that the version detection point is closed, and then the touch screen confirms that the alarm version number in the industrial personal computer is consistent with the alarm version number of the touch screen, and the consistent result can be prompted on the machine display interface of the touch screen through a popup window.
And step 08, under the condition that the touch screen does not receive the information of closing the version detection point position in a fourth preset time period, the touch screen determines that the machine station alarm version number is inconsistent with the local alarm version number and displays the machine station alarm version number on a machine station display interface of the touch screen.
In some embodiments, the fourth preset time period may be 5s, the touch screen does not receive the information that the version detection point is turned off within 5s, the touch screen determines that the machine alarm version number is inconsistent with the local alarm version number, and the inconsistent result may be displayed on the machine display interface of the touch screen through a popup prompt.
In the embodiment of the application, when the industrial personal computer determines that the alarm information is consistent or inconsistent with the alarm information of the touch screen, the result is fed back to the touch screen, so that the verification information synchronization is realized.
In some embodiments, the alarm version verification request at least includes a device resource number of the industrial personal computer, fig. 2 is a second flowchart of an alternative information synchronization method provided in the embodiment of the present application, as shown in fig. 2, and step S104 in the above embodiment may be implemented by steps S201 to S203:
And step 201, the centralized control system analyzes the alarm version verification request to obtain the equipment resource number corresponding to the industrial personal computer.
In some embodiments, the centralized control system analyzes the alarm version verification request sent by the industrial personal computer to obtain equipment alarm configuration information of the industrial personal computer, wherein the equipment alarm configuration information at least comprises equipment resource numbers corresponding to the industrial personal computer.
Here, the equipment resource number is a unique index identifier of each industrial personal computer in the battery production line, and the centralized control system can determine whether alarm information of the industrial personal computer exists in a database of the centralized control system according to the equipment resource number.
The centralized control system is arranged on a total server of the battery production line, and the database of the centralized control system comprises alarm information set by HMI of all field machines on the battery production line and data corresponding to industrial computers of different process sections, and the alarm information corresponding to the different process sections is different.
In some embodiments, the communication between the centralized control system and the industrial personal computer may be implemented based on a hypertext transfer protocol (HTTP, hyper Text Transfer Protocol), for example, the alarm version check request may be implemented based on a POST request in the HTTP protocol, may be "https://tomapisit.catlbattery.com/tom-app/v1/6/resource/plc/tomToClinksite={site}&resource={resource}&resPlcVersion={ resPlcVersion }",, where site refers to a base code corresponding to the battery production line, resource refers to a device resource number of the current industrial personal computer, and resPlcVersion is an alarm version number of the current industrial personal computer.
Step S202, the centralized control system queries a system alarm version number corresponding to the equipment resource number in a database corresponding to the centralized control system based on the equipment resource number to obtain a query result; the battery production line comprises a plurality of industrial personal computers, and the database contains local alarm information corresponding to all the industrial personal computers on the battery production line, wherein the local alarm information corresponding to different industrial personal computers is the same or different.
In the embodiment of the application, the battery production line comprises a plurality of industrial personal computers, and the database contains the local alarm information corresponding to all the industrial personal computers on the battery production line, namely, the centralized control system has the alarm information of all the industrial personal computers (namely, field machine stations) on the battery production line, and the local alarm information corresponding to different industrial personal computers is the same or different because the production equipment corresponding to different machine stations is different.
Here, the centralized control system queries whether a system alarm version number corresponding to the equipment resource number exists in a database corresponding to the centralized control system based on the equipment resource number of the industrial personal computer, i.e. queries whether system alarm configuration information corresponding to the equipment resource number exists. And when the corresponding system alarm configuration information exists, obtaining the system alarm version number corresponding to the industrial personal computer based on the system alarm configuration information.
Step 203, when the query result characterizes that a system alarm version number corresponding to the equipment resource number exists in the database, the centralized control system sends a system message containing the system alarm version number and the equipment resource number to the industrial personal computer, and performs a second version check on the local alarm version number and the system alarm version number to obtain a second check result.
In some embodiments, if there is a system alarm version number corresponding to the device resource number in the database, a system message including the system alarm version number may be sent to the industrial personal computer, where the system message may be as follows:
{
"code":"0",
"message": "version number_v10",
"Resource" means "device resource number"
}
Wherein, code represents whether the device resource number is queried, 0 is queried (i.e. code= 0), and non-0 is not queried (i.e. code |=0), if the centralized control system queries the device resource number, message returns the system version number, otherwise, the message returns the corresponding abnormal message; and returning the equipment resource number of the corresponding industrial personal computer by resource.
In some embodiments, after the centralized control system sends the system message including the system alarm version number to the industrial personal computer, the centralized control system may perform a second version check on the local alarm version number of the industrial personal computer and the system alarm version number, to obtain a second check result.
According to the embodiment of the application, the alarm information verification of the centralized control system is initiated under the condition that the alarm information of the industrial personal computer is consistent with that of the touch screen, so that the alarm information consistency among the touch screen, the centralized control system and the industrial personal computer can be illustrated when the alarm information of the centralized control system is consistent with that of the industrial personal computer, and the alarm information synchronization among the touch screen, the centralized control system and the industrial personal computer is realized.
In some embodiments, the information synchronization method provided by the embodiment of the present application may further include step S10 and step S11:
step S10, under the condition that the query result characterizes that the system alarm version number corresponding to the equipment resource number does not exist in the database, the centralized control system generates an abnormal message and sends the abnormal message to the industrial personal computer.
In some embodiments, if the centralized control system queries that the system alarm version number corresponding to the equipment resource number does not exist in the database, an abnormal message is generated, at this time, the code in the abnormal message is not 0, and the abnormal message is sent to the industrial personal computer.
And step S11, when the industrial personal computer receives the abnormal message, displaying the abnormal message on a device display interface of the industrial personal computer.
After the industrial personal computer receives the abnormal message, the industrial personal computer can pop a window to prompt the verification of the abnormality.
When the centralized control system provided by the embodiment of the application inquires that no alarm version number corresponding to the industrial personal computer exists, the inquiry result is fed back to the industrial personal computer so as to prompt engineers corresponding to the industrial personal computer to process, and interaction between the industrial personal computer and the centralized control system is realized.
In the embodiment of the application, the system display interface of the centralized control system displays the local alarm version number and the verification result of the system alarm version number so as to prompt an engineer of the centralized control system to update the database of the centralized control system, thereby realizing the alarm information synchronization of the centralized control system and the industrial personal computer.
In some embodiments, the information synchronization method provided by the embodiment of the present application may further include steps S12 to S14:
And step S12, under the condition that the industrial personal computer receives the system message, performing third version verification on the local alarm version number and the system alarm version number to obtain a third verification result.
In the embodiment of the application, after the centralized control system inquires the system alarm version number corresponding to the industrial personal computer, a system message containing the system alarm version number is sent to the industrial personal computer, and the industrial personal computer responds to the system message to carry out third version verification on the local alarm version number of the industrial personal computer and the system alarm version number of the centralized control system, so as to obtain a third verification result.
And step S13, displaying a popup window representing that the third verification result passes on the equipment display interface under the condition that the third verification result represents that the local alarm version number is consistent with the system alarm version number.
And step S14, displaying a popup window representing that the third verification result fails on the equipment display interface under the condition that the third verification result represents that the local alarm version number is inconsistent with the system alarm version number.
In the embodiment of the application, the device display interface of the industrial personal computer displays the verification results of the local alarm version number and the system alarm version number, thereby realizing the alarm information synchronization of the centralized control system and the industrial personal computer.
In some embodiments, when an on-site engineer sets alarm information on a touch screen, a plurality of alarm points may be set, for example, 500 alarm points are set on a production line, at this time, the data size is large, errors are easy to occur in transmission and import, the alarm configuration information is manually copied, once errors occur, configuration function abnormality is directly caused, other functions of an industrial personal computer and a centralized control system are affected, and even configuration files are damaged, so that the data can be standardized, the data size is reduced, and the communication efficiency is improved. Fig. 3 is a schematic flowchart III of an alternative information synchronization method provided by the embodiment of the present application, and as shown in fig. 3, the information synchronization method provided by the embodiment of the present application may further include steps S301 to S305:
Step 301, the touch screen determines a plurality of alarm points corresponding to the industrial personal computer and alarm reasons and alarm types corresponding to the alarm points based on alarm configuration operation of a machine display interface of the touch screen.
In some embodiments, the alert configuration operation may include, but is not limited to, a select operation, a determine operation page turning operation, a scroll operation, and the like. The selection operation may be an instruction input/selected by a user through an input component or device in a machine display interface of the touch screen. The input component or device may include, but is not limited to, a keyboard, mouse, touch screen, touch pad, audio input device, or the like. For example, an engineer may select at least one alarm point and an alarm reason and an alarm type of each alarm point in a configuration component of a machine display interface of the touch screen, for example, the alarm reason of the non-closed point of the safety door is that the safety door is not closed, the alarm type may include four levels of F-Alarm, alarm, warning, info, the alarm emergency degree is sequentially reduced, and the like.
The embodiment of the application does not limit the implementation of the device selection operation.
Step S302, the touch screen performs standardization processing on the at least one alarm point location to obtain an alarm array comprising at least one alarm field; wherein, an alarm field corresponds to a plurality of alarm points.
In some embodiments, the number of alarm points on the battery production line is large, so that in order to reduce the data volume, at least one alarm point can be standardized, and the alarm point originally discrete or randomly arranged is standardized into a Word array with a fixed name.
For example, 10000 alarm points are set on the production line, each alarm point comprises an alarm reason and an alarm type, an alarm array with 600 fields (word) can be obtained after the alarm points are standardized, and each field in the alarm array corresponds to an alarm point in an alarm configuration file one by one, for example, each 16 alarm points correspond to one field. Namely 600 fields and 10000 alarm points have mapping relation, and one Word point reads out 16 alarm points. Here, 16 alarm points corresponding to one field may refer to 16-bit binary, where each position of 0 indicates that the alarm point corresponding to the position is not triggered, and 1 indicates that the alarm point is triggered.
Step 303, the touch screen generates the machine station alarm configuration information, the local alarm configuration information and the system alarm configuration information with the same alarm version number based on the alarm array, the alarm reasons corresponding to the alarm points, the alarm types corresponding to the alarm points and a preset alarm version configuration template.
In the embodiment of the application, the preset alarm version configuration template can comprise information such as an identification number, an alarm type, an alarm text description, an alarm severity level and the like. After the alarm array is obtained, the machine alarm configuration information, the local alarm configuration information and the system alarm configuration information with the same alarm information can be generated.
Here, the preset alarm version configuration template may be as shown in table 1:
TABLE 1
Wherein the identification number (ID, identity document) is a unique identification of the alarm information, corresponds to an index of the alarm array, and one ID corresponds to one alarm field. The alarm causes (Category) are subdivisions of the alarm type (Class), for example, the alarm causes are that the safety door is not closed, the alarm type (Class) can be divided into four grades of F-Alarm, alarm, warning, info, and the severity of the four grades is reduced in turn. The alarm text description (Configuration text) is a text description of the alarm information and is used for displaying the alarm by a touch screen or a centralized control system. The Type (TOM-Type) of the centralized control system is a subdivision of the alarm in the centralized control system, and is used for showing the specific reason of the alarm in the centralized control system.
The machine station alarm configuration information is stored in the touch screen, and when a certain alarm point is triggered, the machine station of the touch screen displays specific information of the triggered alarm point by interface popup; the local alarm configuration information and the system alarm configuration information are respectively imported into the industrial personal computer and the centralized control system, and when a certain alarm point is triggered, the centralized control display interface of the centralized control system and the equipment display interface of the industrial personal computer popup specific information of the triggered alarm point.
Step S304, the industrial personal computer imports the local alarm configuration information into a configuration file of the industrial personal computer based on a first data importing operation aiming at a device display interface of the industrial personal computer.
Step S305, the centralized control system imports the system alarm configuration information into a configuration file of the centralized control system based on a second data importation operation for a system display interface of the centralized control system.
In some embodiments, the first data import operation and the second data import operation may refer to manual import through local alarm configuration information and system alarm configuration information stored in a peripheral storage device, such as a USB flash disk (USB FLASH DISK). Therefore, the touch screen, the industrial personal computer and the centralized control system adopt the same version of alarm information, so that the alarm information synchronization among the touch screen, the industrial personal computer and the centralized control system is realized.
The embodiment of the application standardizes the alarm point positions, reduces the data volume and improves the communication efficiency; meanwhile, the touch screen, the centralized control system and the industrial personal computer use the same version of alarm configuration table, so that the alarm information of the touch screen, the centralized control system and the industrial personal computer is consistent, the processing efficiency of the alarm information on the production line is improved, and the production safety of the production line is also improved.
An embodiment of the present application provides an information synchronization system, and fig. 4 is a schematic structural diagram of the information synchronization system provided in the embodiment of the present application, where, as shown in fig. 4, the information synchronization system at least includes a centralized control system 401, an industrial personal computer 402, and a touch screen 403.
In some embodiments, a centralized control system 401 is configured on a battery production line, where the centralized control system 401 may be disposed on a general server of the battery production line, and the battery production line includes a plurality of process segments to be configured, for example, process segments of pole piece winding, cell grouping, battery pack addressing, and battery welding, where each process segment performs the process operation through a plurality of production devices, for example, a welding robot in a welding process. Each process section is provided with a field machine platform comprising an industrial personal computer 402 and a touch screen 403, the touch screen 403 is a man-machine interaction module, and an on-site engineer can modify and update alarm information according to the condition of a production field based on the touch screen 403.
In some embodiments, the industrial personal computer 402 is configured to obtain current machine alarm configuration information of the touch screen 403 when an information synchronization condition on a battery production line is triggered; the machine alarm configuration information at least comprises a machine alarm version number; the machine alarm version number is further used for performing a first version check on the machine alarm version number and the local alarm version number in the current local alarm configuration information of the industrial personal computer 402, so as to obtain a first check result, the first check result is displayed on the device display interface 402-1 of the industrial personal computer 402, the first check result is sent to the touch screen 403, and the machine display interface 403-1 of the touch screen 403 can also display the first check result.
In some embodiments, the industrial personal computer 402 is further configured to send an alarm version verification request including the local alarm configuration information to the centralized control system 401 if the first verification result indicates that the machine alarm version number is consistent with the local alarm version number.
The centralized control system 401 is configured to respond to the alarm version verification request, perform a second version verification on the local alarm version number and the system alarm version number in the current system alarm configuration information of the centralized control system 401, obtain a second verification result, and update the system display interface 401-1 of the centralized control system 401 based on the second verification result, so as to realize alarm information synchronization among the touch screen, the centralized control system and the industrial personal computer.
In some embodiments, the centralized control system 401 is further configured to send the second test result to the industrial personal computer 402.
In some embodiments, the information synchronization system further comprises a controller; the industrial personal computer 402 is also used for triggering a version detection point in the controller; the controller is configured to invoke an operation instruction of the touch screen 403 to detect a communication channel between the industrial personal computer 402 and the touch screen 403 when the version detection point is triggered, so as to obtain a detection result; the industrial personal computer 402 is further configured to obtain, based on the communication channel, the current machine alarm configuration information of the touch screen 403 under the condition that the communication channel is connected normally.
In some embodiments, the information synchronization system further comprises a publish-subscribe service; the touch screen 403 is configured to issue a machine message including machine alarm configuration information to a version detection topic of a publish-subscribe service when a communication channel between the industrial personal computer 402 and the touch screen 403 is connected normally; the industrial personal computer subscribes to a version detection theme of the publishing and subscribing service; the industrial personal computer 402 is further configured to obtain the machine alarm configuration information in the machine message when the communication channel is connected normally and the machine message appears in the version detection theme.
It should be noted that, in the embodiment of the present application, the description of the system is similar to the description of the embodiment of the method, and has similar beneficial effects as the embodiment of the method, so that a detailed description is omitted. For technical details not disclosed in the present system embodiment, please refer to the description of the method embodiment of the present application for understanding.
In the following, an exemplary application of the embodiment of the present application in an actual application scenario will be described, and in particular, to an alarm checking procedure of a data acquisition tool (i.e., an industrial personal computer).
Based on the problems existing in the related art, the embodiment of the application provides an information synchronization method, wherein under the condition that the initiation of verification is satisfied, a data acquisition tool (i.e. an industrial personal computer) can import an alarm configuration file, an engineer clicks a version verification button on a data acquisition tool interface or shifts on a production line, and the like, a touch screen can send an alarm version number in the touch screen to the data acquisition tool by triggering a verification trigger point in a PLC, and after comparison of the data acquisition tool, the version is consistent, the trigger point (i.e. a version detection point) is checked and reset by the version. If the touch screen on the machine does not return the version number after triggering for more than the appointed duration, prompting the user to check timeout, and restarting the version check after 10 minutes. If the returned versions are inconsistent, the reset is not performed, the popup prompts that the versions are inconsistent, and the alarm version verification process is restarted after half an hour. Thus, the alarm version verification of the data acquisition tool and the touch screen forms a closed loop.
When the condition of initiating the verification flow is met, the data acquisition tool can upload the alarm version of the current data acquisition tool by calling the Http interface, and the centralized control system is required to return to the alarm version in the hand of the centralized control system. And the data acquisition tools and the centralized control system respectively hold the alarm version numbers in the interfaces for comparison, and the alarm version verification between the data acquisition tools and the centralized control system is completed, so that the closed loop verification between the data acquisition tools and the centralized control system is realized.
The embodiment of the application provides an information synchronous updating flow which comprises two aspects of alarm configuration standardization and alarm version verification, wherein the alarm version verification comprises closed loop alarm configuration version verification between a touch screen of a machine station and a data acquisition tool, the data acquisition tool and a centralized control system.
When an on-site engineer sets alarm information on a touch screen, a plurality of alarm points may be set, for example, 500 alarm points are set on a production line, and at this time, the alarm points can be standardized, and an originally discrete or randomly set alarm array is standardized into a character (Word) array with a fixed name.
Fig. 5 is a schematic diagram of an alarm message provided by an embodiment of the present application, where the PLC defines a data structure 50 (sMsg _pool), and the data structure 50 includes at least a shutdown cause 501 (sMsg _pool. Firstalarm), an alarm shutdown cause type 502 (sMsg _pool. Firstalarmcat), and a text array 503 (sMsg _pool. Words). The text array 503 comprises a point array 5031 (sMsg _Bool.Words.B [10000 ]) and a mapping array 5032 (sMsg _Bool.Words.Words [600 ]), wherein the text array 503 is a point position directly corresponding to all alarm points in the PLC, the alarm points in the alarm configuration file are in one-to-one correspondence, sMsg _Bool.Words.Words [600] is a standardized Word array, sMsg _Bool.Words.Words [600] and sMsg _Bool.Words.B [10000] are mapping relations, and each 16-bit B array member corresponds to one Word. Namely 600 words and 10000 alarm points have mapping relation, and one Word point reads out 16 alarm points. Here, 16 alarm points corresponding to one Word point may refer to 16-bit binary, where each position is 0 to indicate that no trigger is performed, and 1 inside indicates that the alarm point is triggered.
Based on the data structure provided in fig. 5, the embodiment of the application can provide an alarm information configuration template table, and an electrical engineer only needs to fill relevant alarm information corresponding to the touch screen in the template, and then generates three alarm configuration tables for the touch screen, the data acquisition tool and the centralized control system by one key. Here, the format of the alarm configuration table may be as shown in table 2:
TABLE 2
The identification number (ID, identity document) is a unique identification of the alarm information, and can correspond to an index of the point location array (sMsg _Bool. Words. B10000) (one ID corresponds to one alarm point location). The alarm type (Category) is a subdivision of the alarm severity level (Class), which is divided into four classes F-Alarm, alarm, warning, info, the severity of which decreases in turn. The alarm text description (Configuration text) is a text description of the alarm information and is used for displaying the alarm by a touch screen or a centralized control system. The Type of centralized control system (TOM-Type) is a subdivision of the alarm in the centralized control system.
In some embodiments, to ensure a closed loop alarm configuration version check between the touch screen of the machine and the data acquisition tool, and the centralized control system.
Here, the touch screen to data acquisition tool uses message queue telemetry transport protocol communication (MQTT, message Queuing Telemetry Transport) to implement message transmission by:
{
"d": {
"status": "triggered", status: triggering
"trigger_time": "2023-01-01T00:00:00",
Message alarm version number V10"
},
"ts": "2023-01-01T00:00:00.123456"
}
The trigger_time and the ts correspond to the time of sending a message by the touch screen, and the message is the alarm version number in the current touch screen.
In some embodiments, the data acquisition tool to centralized control system is implemented by a Post request, such as "https://tomapisit.catlbattery.com/tom-app/v1/6/resource/plc/tomToClinksite={site}&resource={resource}&resPlcVersion={ resPlcVersion }", where site refers to the base number of the battery production line, resource refers to the device resource number of the current data acquisition tool, and resPlcVersion is the alarm version number of the current data acquisition tool.
In some embodiments, after the centralized control system receives the message, the centralized control system returns the following message according to the actual fact:
{
"code":"0",
"message": "version number_v10",
"Resource" means "device resource number"
}
The code represents whether the equipment resource number is inquired (wherein 0 is inquired and non-0 is not inquired), if the centralized control system inquires the equipment resource number, the message returns a version number, otherwise, a corresponding abnormal message is returned; the resource returns the corresponding device resource number.
In some embodiments, when the verification process starts, the data acquisition tool triggers a PLC signal, and after the PLC controls the macro instruction in the touch screen to perform corresponding processing, the alarm information in the touch screen is transmitted to the data acquisition tool to perform verification. The verification process mainly comprises three parts of a PLC, a touch screen and a data acquisition tool. Fig. 6 is a schematic diagram of a closed loop verification process of a touch screen and a data acquisition tool according to an embodiment of the present application, as shown in fig. 6, where the closed loop verification process of the touch screen and the data acquisition tool is implemented by steps S601 to S615:
And step S601, triggering an alarm check point.
In some embodiments, an alarm check point VersionCheckSysn (i.e., version detection point) in the PLC is triggered in the event that the mining tool imports an alarm profile, an engineer clicks a version check button on the mining tool interface, or a shift switch on the production line, etc.
In some embodiments, triggering the alarm check point may refer to changing a logical value of the alarm check point from 0 to 1 to enable triggering the alarm check point.
Step S602, whether the alarm check point is successfully written in.
In some embodiments, if the data acquisition tool is not connected to the PLC, or the PLC has no alarm check point VersionCheckSysn, or the alarm check point VersionCheckSysn in the PLC is not disclosed, or the alarm check point VersionCheckSysn in the PLC can only be read and cannot be written, it is indicated that the alarm check point is not written successfully, at this time, after 15 seconds of dormancy, step S601 is executed again; if the alarm check point writing is successful, the data acquisition tool executes step S603, and the PLC executes step S605.
Step S603, whether the feedback result is received more than 15S.
In some embodiments, if the point trigger is successful, the data mining tool may start an asynchronous thread to time, and if the data mining tool does not receive the alarm information of the touch screen at 15S, the data mining tool is considered as abnormal MQTT service between the data mining tool and the touch screen, and step S604 is performed.
Step S604, the popup prompt is not fed back when overtime, and the sleep is carried out for 10 minutes.
In some embodiments, if the data acquisition tool fails to receive the feedback result of the successful writing of the alarm check point at 15S, the display interface of the data acquisition tool may perform popup prompt timeout without feedback, and step S601 is executed again after sleep for 10 minutes.
Step S605, triggering a check trigger point.
In some embodiments, when the PLC program finds that the trigger point VersionCheckSysn is set to True or to 1, the macro that invokes the touch screen checks whether the MQTT connection is normal. Here, a macro event or macro instruction is a predefined command or function by which an operation can be performed.
Step S606, triggering a touch screen macro event.
In some embodiments, the touch screen macro will first check whether the MQTT connection is normal, if not, the touch screen directly pops the window to prompt that the MQTT connection is abnormal, and end the related actions of the touch screen, i.e. silence after the touch screen pops the window.
Step S607, obtain the alarm configuration version number of the touch screen.
Under the condition that the MQTT connection is normal, the touch screen collects alarm configuration version numbers of the touch screen, and packages and distributes the alarm configuration version numbers to VersionCheck (namely version verification) topics of the MQTT service.
Step S608, publishing to the version verification theme.
Step S609, the version number of the touch screen is obtained.
In some embodiments, the data acquisition tool subscribes to the version verification theme of the MQTT service, and when the MQTT service generates a related message of alarm information of the touch screen, a corresponding event is triggered to acquire the version number of the touch screen.
Step S610, judging whether the alarm version number of the touch screen is consistent with the alarm version number of the touch screen.
In some embodiments, the data acquisition tool judges whether the alarm version number of the local machine is consistent with the alarm version number of the touch screen, and if so, step S611 is executed; if not, step S612 is performed.
Step S611, closing the alarm check point.
In some embodiments, if the alarm version number of the local machine is consistent with the alarm version number of the touch screen, the popup window prompts the alarm version to pass the verification, and the alarm verification point is closed.
Step S612, the popup prompt versions are inconsistent, and the sleep is performed for 30 minutes.
In some embodiments, if the alarm version number of the local machine is inconsistent with the alarm version number of the touch screen, the trigger point is not reset, and the popup window prompts that the alarm version is inconsistent, and the step S601 is returned after the sleep for 30 minutes.
Step S613, determining whether the version coincidence information is returned within 5 seconds of the data acquisition tool.
In some embodiments, the machine touch screen determines whether the version coincidence information is returned within 5 seconds of the data acquisition tool, and if so, step S614 is executed; if not, step S615 is executed.
Step S614, closing the waiting thread.
In some embodiments, when the touch screen of the machine station finds that the trigger point (namely the alarm check point) is closed, the alarm check is considered to pass, and the window is flicked to prompt, so that the check is completed.
Step S615, the popup prompt is inconsistent with the version of the data acquisition tool.
In some embodiments, the verification between the centralized control system and the data acquisition tool is initiated by the data acquisition tool, the local alarm configuration version is packaged and sent to the centralized control system, the centralized control system compares the alarm version of the machine after receiving the request, and the alarm version on the centralized control system is returned to enable the data acquisition tool to be compared. The checking flow consists of a data acquisition tool and a centralized control system. Fig. 7 is a schematic diagram of a closed loop verification flow of a centralized control system and a data acquisition tool according to an embodiment of the present application, where, as shown in fig. 7, the closed loop verification flow of the centralized control system and the data acquisition tool is implemented by steps S701 to S714:
step S701, obtaining local alarm configuration information.
In some embodiments, the data mining tool collects local alarm configuration information of the data mining tool, including information such as an alarm version number, a device resource number, a site and the like, and packages the information and sends the information to the centralized control system through a message request (i.e. a Post request).
Step S702, packaging and uploading a message request.
In some embodiments, the message request (i.e., post request) is a request method in the HTTP protocol for submitting data to a server (i.e., centralized control system), where the data is included in the request.
Step S703, parsing the message request.
In some embodiments, after receiving the message request, the centralized control system analyzes the message to obtain information such as an alarm version number, a device resource number, a site and the like of the data acquisition tool.
Step S704, determining whether the machine exists.
In some embodiments, after the centralized control system receives the alarm configuration information of the data acquisition tool, inquiring whether the equipment resource number exists in the database of the centralized control system, if the equipment resource number does not exist or the alarm version number does not exist, returning a message prompt of the data acquisition tool, setting a code to be non-0, and ending the verification.
In some embodiments, code represents whether the device resource number is queried, 0 is queried, and non-0 is not queried.
Step S705, the alarm version number of the centralized control system is sent.
In some embodiments, when the centralized control system queries an alarm version number corresponding to the equipment resource number, the data acquisition tool message code=0 is returned, and the alarm version number of the centralized control system is sent to the data acquisition tool for verification by the data acquisition tool.
Step S706, judging whether the alarm version numbers are consistent.
In some embodiments, when the centralized control system queries the alarm version number corresponding to the equipment resource number, the centralized control system is restarted to verify the alarm version number of the centralized control system and the alarm version number of the data acquisition tool, if the alarm version number is consistent with the alarm version number of the data acquisition tool, step S707 is executed, and a mark with consistent version is updated for an alarm configuration interface of the centralized control system; if the versions are inconsistent, step S708 is executed to update the verification result of the centralized control system alarm version configuration interface.
Step S707, update status display check passes.
Step S708, update status display version disagreement.
Step S709, determine whether code= 0.
In some embodiments, after receiving a message returned by the centralized control system, the data acquisition tool analyzes whether code=0, and if not, the data acquisition tool pops up window prompting the returned message information; if the code=0, the alarm version number of the centralized control system is intercepted from the message, and compared with the local alarm version number, if the version numbers are consistent, the verification is passed, step S709 is executed, if not, step S710 is executed, and the popup window prompts that the current alarm version numbers are inconsistent.
Step S710, comparing the version numbers.
Step S711, popup prompt checking exception.
Step S712, judging whether the alarm version numbers are consistent.
In some embodiments, the data acquisition tool determines whether the alarm version number sent by the centralized control system is consistent with the alarm version number of the local machine. If the version numbers are consistent, the verification is passed, step S713 is executed, and if not, step S712 is executed, and the popup window prompts that the current alarm version numbers are inconsistent.
Step S713, popup prompt version inconsistency.
Step S714, the popup prompt passes the verification.
The embodiment of the application standardizes alarm points in the PLC, maps all alarm points in one array, provides an alarm version configuration template, has macros inside, can complete configuration, and clicks one key to generate three configuration files suitable for a touch screen, a data acquisition tool and a centralized control system, because the touch screen generates configuration by using a template table, and simultaneously generates corresponding alarm configuration of the data acquisition tool and alarm configuration of the centralized control system. The alarm configuration generated in a standardized way is an Excel file, and the configuration can be completed after the alarm configuration is successfully analyzed and checked in the imported data acquisition tool. If the touch screen updates the alarm configuration, the data acquisition tool is not updated, an automatic alarm version verification process is triggered at the latest when the shift is performed, and if the versions are found to be inconsistent, the window is automatically flicked to give an alarm.
The embodiment of the application realizes the closed loop verification of the alarm configuration versions of different display devices on the production line, realizes the automatic alarm version verification function, can generate the alarm configuration tables of the touch screen, the data acquisition tool and the centralized control system of the same version through one master table by one key, can also use the configuration table to import to replace manual update configuration files, and improves the production line efficiency.
The foregoing is merely exemplary embodiments of the present application and is not intended to limit the scope of the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and scope of the present application are included in the protection scope of the present application.
Claims (13)
1. An information synchronization method, characterized in that the information synchronization method comprises:
Under the condition that the information synchronization condition on the battery production line is triggered, the industrial personal computer acquires the current machine alarm configuration information of the touch screen; the machine alarm configuration information at least comprises a machine alarm version number; the information synchronization condition includes at least one of: the alarm configuration information is imported into the industrial personal computer, an alarm version verification component on a device display interface of the industrial personal computer is triggered, and the battery production line is switched in shifts;
The industrial personal computer performs first version verification on the machine station alarm version number and the local alarm version number in the current local alarm configuration information of the industrial personal computer to obtain a first verification result;
Under the condition that the first verification result characterizes that the machine station alarm version number is consistent with the local alarm version number, the industrial personal computer sends an alarm version verification request containing the local alarm configuration information to a centralized control system;
And the centralized control system receives the alarm version verification request, performs second version verification on the local alarm version number and the system alarm version number in the current system alarm configuration information of the centralized control system, and obtains a second verification result so as to realize alarm information synchronization among the touch screen, the centralized control system and the industrial personal computer.
2. The information synchronization method according to claim 1, wherein the industrial personal computer obtains the current machine alarm configuration information of the touch screen, and the method comprises the following steps:
the industrial personal computer triggers version detection points in the controller;
The controller calls an operation instruction of the touch screen to detect a communication channel between the industrial personal computer and the touch screen under the condition that the version detection point position is triggered, so as to obtain a detection result;
and under the condition that the communication channel connection is normal, the industrial personal computer acquires the current machine alarm configuration information of the touch screen based on the communication channel.
3. The information synchronization method according to claim 2, characterized in that the information synchronization method further comprises:
The touch screen publishes the machine message containing the machine alarm configuration information to a version detection theme of a publishing and subscribing service under the condition that the communication channel connection is normal; wherein, the industrial personal computer subscribes to the version detection theme;
The industrial personal computer obtains the current machine alarm configuration information of the touch screen based on the communication channel under the condition that the communication channel is normally connected, and the method comprises the following steps:
And under the condition that the communication channel is normally connected and the machine station message appears in the version detection theme, the industrial personal computer acquires the machine station alarm configuration information in the machine station message.
4. The information synchronization method according to claim 3, characterized in that the information synchronization method further comprises:
The industrial personal computer determines that the publishing and subscribing service is abnormal under the condition that the version detection point position is triggered and the machine message does not appear in the version detection theme within a first preset time period after the version detection point position is triggered, and triggers the version detection point position again after a second preset time period;
And under the condition that the version detection point position is not triggered, the industrial personal computer triggers the version detection point position again after a third preset time period.
5. The information synchronization method according to any one of claims 1 to 4, characterized in that the information synchronization method further comprises:
Under the condition that the first verification result characterizes that the machine station alarm version number is consistent with the local alarm version number, the industrial personal computer closes a version detection point in a controller;
The touch screen determines that the machine station alarm version number is consistent with the local alarm version number under the condition that the touch screen receives the information of closing the version detection point position, and the machine station alarm version number is displayed on a machine station display interface of the touch screen;
And under the condition that the touch screen does not receive the information of closing the version detection point position within a fourth preset time period, the touch screen determines that the machine station alarm version number is inconsistent with the local alarm version number and displays the machine station alarm version number on a machine station display interface of the touch screen.
6. The information synchronization method according to any one of claims 1 to 4, wherein the alarm version verification request includes at least a device resource number of an industrial personal computer;
The centralized control system receives the alarm version verification request, performs a second version verification on the local alarm version number and the system alarm version number in the current system alarm configuration information of the centralized control system to obtain a second verification result, and comprises:
the centralized control system analyzes the alarm version verification request to obtain a device resource number corresponding to the industrial personal computer;
The centralized control system queries a system alarm version number corresponding to the equipment resource number in a database corresponding to the centralized control system based on the equipment resource number to obtain a query result; the battery production line comprises a plurality of industrial personal computers, wherein the database comprises local alarm information corresponding to all the industrial personal computers on the battery production line, and the local alarm information corresponding to different industrial personal computers is the same or different;
And under the condition that the query result characterizes that the system alarm version number corresponding to the equipment resource number exists in the database, the centralized control system sends a system message containing the system alarm version number and the equipment resource number to the industrial personal computer, and performs second version verification on the local alarm version number and the system alarm version number to obtain a second verification result.
7. The information synchronization method according to claim 6, characterized in that the information synchronization method further comprises:
Displaying a popup window representing that the second verification result passes on a system display interface of the centralized control system under the condition that the second verification result represents that the local alarm version number is consistent with the system alarm version number;
And displaying a popup window representing that the second checking result does not pass on the system display interface under the condition that the second checking result represents that the local alarm version number is inconsistent with the system alarm version number.
8. The information synchronization method according to claim 6, characterized in that the information synchronization method further comprises:
under the condition that the query result characterizes that the system alarm version number corresponding to the equipment resource number does not exist in the database, the centralized control system generates an abnormal message and sends the abnormal message to the industrial personal computer;
and under the condition that the industrial personal computer receives the abnormal message, displaying the abnormal message on a device display interface of the industrial personal computer.
9. The information synchronization method according to claim 8, characterized in that the information synchronization method further comprises:
under the condition that the industrial personal computer receives the system message, carrying out third version verification on the local alarm version number and the system alarm version number to obtain a third verification result;
displaying a popup window representing that the third verification result passes through on the equipment display interface under the condition that the third verification result represents that the local alarm version number is consistent with the system alarm version number;
And displaying a popup window representing that the third verification result fails on the equipment display interface under the condition that the third verification result represents that the local alarm version number is inconsistent with the system alarm version number.
10. The information synchronization method according to any one of claims 1 to 4, characterized in that the information synchronization method further comprises:
the touch screen determines a plurality of alarm points corresponding to the industrial personal computer and alarm reasons and alarm types corresponding to the alarm points based on alarm configuration operation aiming at a machine display interface of the touch screen;
The touch screen performs standardized processing on the at least one alarm point location to obtain an alarm array comprising at least one alarm field; wherein, one alarm field corresponds to a plurality of alarm points;
The touch screen generates the machine station alarm configuration information, the local alarm configuration information and the system alarm configuration information with the same alarm version number based on the alarm array, the alarm reasons corresponding to the alarm points, the alarm types corresponding to the alarm points and a preset alarm version configuration template;
the industrial personal computer imports the local alarm configuration information into a configuration file of the industrial personal computer based on a first data importing operation aiming at an equipment display interface of the industrial personal computer;
The centralized control system imports the system alarm configuration information into a configuration file of the centralized control system based on a second data importation operation aiming at a system display interface of the centralized control system.
11. The information synchronization system is characterized by comprising a touch screen, a centralized control system and an industrial personal computer; wherein,
The industrial personal computer is used for acquiring the current machine alarm configuration information of the touch screen under the condition that the information synchronization condition on the battery production line is triggered; the machine alarm configuration information at least comprises a machine alarm version number; the information synchronization condition includes at least one of: the alarm configuration information is imported into the industrial personal computer, an alarm version verification component on a device display interface of the industrial personal computer is triggered, and the battery production line is switched in shifts;
the industrial personal computer is further used for performing first version verification on the machine station alarm version number and the local alarm version number in the current local alarm configuration information of the industrial personal computer to obtain a first verification result;
the industrial personal computer is further configured to send an alarm version verification request including the local alarm configuration information to the centralized control system when the first verification result characterizes that the machine alarm version number is consistent with the local alarm version number;
and the centralized control system is used for responding to the alarm version verification request, carrying out second version verification on the local alarm version number and the system alarm version number in the current system alarm configuration information of the centralized control system, and obtaining a second verification result so as to realize the alarm information synchronization among the touch screen, the centralized control system and the industrial personal computer.
12. The information synchronization system of claim 11, further comprising a controller; wherein,
The industrial personal computer is also used for triggering version detection points in the controller;
The controller is used for calling an operation instruction of the touch screen to detect a communication channel between the industrial personal computer and the touch screen under the condition that the version detection point position is triggered, so as to obtain a detection result;
the industrial personal computer is further used for acquiring the current machine alarm configuration information of the touch screen based on the communication channel under the condition that the communication channel is normally connected.
13. The information synchronization system of claim 11 or 12, further comprising a publish-subscribe service;
the touch screen is used for publishing the machine message containing the machine alarm configuration information to the version detection theme of the publishing and subscribing service under the condition that the communication channel connection between the industrial personal computer and the touch screen is normal; wherein, the industrial personal computer subscribes to the version detection theme;
The industrial personal computer is further configured to obtain the machine alarm configuration information in the machine message when the communication channel is connected normally and the machine message appears in the version detection theme.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410211703.2A CN117784741B (en) | 2024-02-27 | 2024-02-27 | Information synchronization method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202410211703.2A CN117784741B (en) | 2024-02-27 | 2024-02-27 | Information synchronization method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN117784741A CN117784741A (en) | 2024-03-29 |
CN117784741B true CN117784741B (en) | 2024-07-23 |
Family
ID=90380095
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202410211703.2A Active CN117784741B (en) | 2024-02-27 | 2024-02-27 | Information synchronization method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117784741B (en) |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH09265385A (en) * | 1996-03-28 | 1997-10-07 | Hitachi Ltd | Software consistency management method |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH09319564A (en) * | 1996-05-27 | 1997-12-12 | Mitsubishi Electric Corp | Version check method and computer system for executing the same |
US8548010B2 (en) * | 2000-01-19 | 2013-10-01 | Sony Corporation | Method and apparatus for event-based synchronization of information between communication devices |
JP2007201692A (en) * | 2006-01-25 | 2007-08-09 | Nec Computertechno Ltd | Alarm signal control method and device, and electronic equipment employing same |
US20080270629A1 (en) * | 2007-04-27 | 2008-10-30 | Yahoo! Inc. | Data snychronization and device handling using sequence numbers |
CN103746840B (en) * | 2013-12-30 | 2017-05-17 | 迈普通信技术股份有限公司 | Method and system for automatic checking of software version information of network equipment |
US9948521B2 (en) * | 2016-01-11 | 2018-04-17 | Equinix, Inc. | Architecture for data center infrastructure monitoring |
US11402940B2 (en) * | 2019-02-25 | 2022-08-02 | Manufacturing Resources International, Inc. | Monitoring the status of a touchscreen |
CN113900988A (en) * | 2021-11-11 | 2022-01-07 | 中广核工程有限公司 | Drawing and data processing method and device, computer equipment and storage medium |
CN116743824A (en) * | 2023-06-12 | 2023-09-12 | 青岛海信日立空调系统有限公司 | Control method and device of centralized control equipment |
-
2024
- 2024-02-27 CN CN202410211703.2A patent/CN117784741B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH09265385A (en) * | 1996-03-28 | 1997-10-07 | Hitachi Ltd | Software consistency management method |
Also Published As
Publication number | Publication date |
---|---|
CN117784741A (en) | 2024-03-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111585344B (en) | Substation intelligent checking method and device based on total station IED simulation | |
CN109614101A (en) | Page generation method, system, device, computer equipment and storage medium | |
CN103391210A (en) | ID distribution system and method of CAN bus network | |
CN102968096A (en) | Safe error proof verifying method for master station type comprehensive intelligent error proof system | |
CN102984737A (en) | Unified parameter configuration method and device for wireless network | |
CN117784741B (en) | Information synchronization method and system | |
CN113281594A (en) | System and method for realizing remote intelligent automatic test aiming at relay protection | |
CN114896158A (en) | BMS testing method and testing device | |
CN111475388A (en) | Data push test method and device, computer equipment and storage medium | |
CN108769241B (en) | Operation method, device and system for remote control of heat pump unit | |
CN111524031B (en) | Implementation method and system for intelligently generating operation steps based on analysis operation task | |
CN113655737A (en) | System and method for rapidly upgrading vehicle-mounted electronic controller transmitted through CAN | |
CN117784740B (en) | Parameter configuration method and system | |
CN113534730B (en) | Model-based PLC control code generation method, system, device and storage medium | |
CN115829537A (en) | Operation and maintenance method and device for battery energy storage system, computer equipment and storage medium | |
CN111478433A (en) | Safe intelligent substation sequence control method and system | |
Gong et al. | Intelligent networking model at the edge of the power Internet of Things | |
CN112531631A (en) | Total-station protection constant value one-key execution method and system for infrastructure substation | |
CN106059074A (en) | Power dispatching management system | |
CN117852566B (en) | Method and system for entering station of battery cell | |
CN108928213A (en) | Method for parameter configuration, control panel and the controlled device of control panel | |
CN115242789B (en) | Method, system, equipment and medium for storing uplink of load regulation and control service data | |
CN113991846B (en) | Intelligent monitoring system and method for high-permeability distributed power distribution network | |
CN109918353A (en) | The method and terminal device of automated information processing | |
CN108428029B (en) | Bench formwork procedure information management method and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |