CN107222553A - Pass through the method for Internet of Things adapter upgrade equipment, system and Internet of Things adapter - Google Patents

Pass through the method for Internet of Things adapter upgrade equipment, system and Internet of Things adapter Download PDF

Info

Publication number
CN107222553A
CN107222553A CN201710496997.8A CN201710496997A CN107222553A CN 107222553 A CN107222553 A CN 107222553A CN 201710496997 A CN201710496997 A CN 201710496997A CN 107222553 A CN107222553 A CN 107222553A
Authority
CN
China
Prior art keywords
internet
file
things adapter
industrial equipment
upgrade
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710496997.8A
Other languages
Chinese (zh)
Inventor
刘文豪
聂鑫
常仁杰
刘往
霍文灏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Mixlinker Network Co Ltd
Original Assignee
Shenzhen Mixlinker Network Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Mixlinker Network Co Ltd filed Critical Shenzhen Mixlinker Network Co Ltd
Priority to CN201710496997.8A priority Critical patent/CN107222553A/en
Publication of CN107222553A publication Critical patent/CN107222553A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 

Abstract

The invention belongs to Internet technical field there is provided a kind of by the method for Internet of Things adapter upgrade equipment, system and Internet of Things adapter, methods described includes:Internet of Things adapter sends remote upgrade and instructed to cloud server;Internet of Things adapter downloads upgrade file to local from cloud server;Internet of Things adapter sends the upgrade file to industrial equipment, is upgraded by industrial equipment according to the upgrade file., there are labor intensive material resources in the method that the upgrading industrial equipment that prior art is provided can be effectively solved by the present invention, and the problem of with Personal Risk.

Description

Pass through the method for Internet of Things adapter upgrade equipment, system and Internet of Things adapter
Technical field
The invention belongs to Internet technical field, more particularly to a kind of method by Internet of Things adapter upgrade equipment, System and Internet of Things adapter.
Background technology
With the development of industry internet, in order to realize manufacturing industry complete upgrading, it is necessary to by machine intelligence, intelligence machine It is that the machine in real world, equipment, team and network are passed through into advanced sensor, controller and software in brand-new method Application program is connected.In this case, the Internet of Things adapter application being installed on industrial equipment will be more and more wider It is general.
Internet of Things adapter is installed on industrial equipment, industrial equipment is carried out data friendship with remote server to reach Mutually, realize that equipment networking, data acquisition, data report, receive the service of the equipment such as remote control commands Internet of Things, make device intelligence Change.Accordingly, it would be desirable to regard it as Internet of Things adapter as a part as a device used for a long time in industrial equipment On some industrial equipment, industrial equipment such as boiler plant, compressor apparatus, generator set device, heat-pump apparatus, frequency conversion Device equipment, charging pile equipment, water treatment facilities, new-energy automobile or other various sensors and controller etc..Industrial mutual In networking, the use of Internet of Things adapter and the service that it is provided will be extended to the whole life cycle of industrial equipment.
, can be with order to carry out function and service upgrade to industrial equipment in the whole product life cycle of industrial equipment Software is carried out by local side mode to be locally-downloaded and upgrade.However, industrial equipment local environment is probably than relatively hazardous, example Generator set device such as in mine, being upgraded by local side mode needs tester to carry out software at the scene to equipment Upgrading and debugging, test, the manpower and materials of consuming are larger, and may have uncontrollable person at industrial equipment operation scene It is dangerous.
To sum up, there are labor intensive material resources in the method for the upgrading industrial equipment that prior art is provided, and with Personal Risk The problem of.
The content of the invention
In consideration of it, the embodiment of the present invention provides a kind of method, system and Internet of Things by Internet of Things adapter upgrade equipment Net adapter, it is intended to the method by Internet of Things adapter upgrade equipment of prior art offer is provided, there is labor intensive thing Power, and with Personal Risk the problem of.
There is provided a kind of method by Internet of Things adapter upgrade equipment, the side for the first aspect of the embodiment of the present invention Method includes:
Internet of Things adapter sends remote upgrade and instructed to cloud server;
Internet of Things adapter downloads upgrade file to local from cloud server;
Internet of Things adapter sends the upgrade file to industrial equipment, is carried out by industrial equipment according to the upgrade file Upgrading.
Further, upgrade file is downloaded from cloud server to after local in the Internet of Things adapter, the side Method also includes:
Internet of Things adapter initiates to send file request at predetermined intervals to industrial equipment;
If receiving the reception file response of industrial equipment transmission within the default time, Internet of Things adapter is sent The upgrade file is to industrial equipment.
Further, UART Universal Asynchronous Receiver Transmitter interface or control general ability are passed through between Internet of Things adapter and industrial equipment Domain network interface connection, Internet of Things adapter sends the liter by UART Universal Asynchronous Receiver Transmitter interface or controller LAN interface Level file is to industrial equipment.
Further, Internet of Things adapter sends the upgrade file to industrial equipment according to FTP.
Further, while the Internet of Things adapter downloads upgrade file from cloud server, methods described is also Including:
Security verification is carried out to the upgrade file.
The second aspect of the embodiment of the present invention provides a kind of Internet of Things adapter, and the Internet of Things adapter includes:
Instruction sending module, is instructed to cloud server for sending remote upgrade;
File download module, for downloading upgrade file to local from cloud server;
File sending module, for sending the upgrade file to industrial equipment, by industrial equipment according to the upgrading text Part is upgraded.
Further, the Internet of Things adapter also includes:
Request sending module, initiates to send file request, if pre- at predetermined intervals to industrial equipment If time in receive the reception file response of industrial equipment transmission, then the file sending module sends the upgrade file To industrial equipment.
Further, UART Universal Asynchronous Receiver Transmitter interface or control general ability are passed through between Internet of Things adapter and industrial equipment Domain network interface connection, the file sending module sends institute by UART Universal Asynchronous Receiver Transmitter interface or controller LAN interface Upgrade file is stated to industrial equipment.
Further, the file sending module sends the upgrade file to industrial equipment according to FTP.
Further, the Internet of Things adapter also includes:
Correction verification module, for carrying out security verification to the upgrade file.
The third aspect of the embodiment of the present invention provides a kind of Internet of Things adapter, including memory, processor and deposits Store up the computer program that can be run in the memory and on the processor, it is characterised in that the computing device Realized during the computer program such as the step of any one of first aspect methods described.
The fourth aspect of the embodiment of the present invention provides a kind of computer-readable recording medium, the computer-readable storage Media storage has computer program, is realized when the computer program is executed by processor such as any one of first aspect methods described The step of.
5th aspect of the embodiment of the present invention provides a kind of system by Internet of Things adapter upgrade equipment, the system System includes cloud server, industrial equipment, in addition to the Internet of Things adapter such as second aspect or as described in the third aspect.
The beneficial effect that the embodiment of the present invention exists compared with prior art is:The Internet of Things adapter of the embodiment of the present invention Remote upgrade can be sent to instruct to cloud server, upgrade file is downloaded to local from cloud server, and send the liter Level file is upgraded to industrial equipment by industrial equipment according to the upgrade file.The process of whole industrial equipment upgrading, entirely Portion is automatically performed by Internet of Things adapter, it is not necessary to artificial to participate in, simple, safety.Compared to the side of existing upgrading industrial equipment Method, it is not necessary to labor intensive material resources, also without Personal Risk.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art In required for the accompanying drawing that uses be briefly described, it should be apparent that, drawings in the following description are only some of the present invention Embodiment, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these Accompanying drawing obtains other accompanying drawings.
Fig. 1 is the schematic flow diagram for the method by Internet of Things adapter upgrade equipment that the embodiment of the present invention one is provided;
Fig. 2 is the schematic block diagram for the Internet of Things adapter that the embodiment of the present invention two is provided;
Fig. 3 is the schematic block diagram for the Internet of Things adapter that the embodiment of the present invention three is provided;
Fig. 4 is the schematic block diagram for the system by Internet of Things adapter upgrade equipment that the embodiment of the present invention four is provided.
Embodiment
In describing below, in order to illustrate rather than in order to limit, it is proposed that such as tool of particular system structure, technology etc Body details, thoroughly to understand the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specific The present invention can also be realized in the other embodiments of details.In other situations, omit to well-known system, device, electricity Road and the detailed description of method, in case unnecessary details hinders description of the invention.
In order to illustrate technical solutions according to the invention, illustrated below by specific embodiment.
It is the signal stream for the method by Internet of Things adapter upgrade equipment that the embodiment of the present invention one is provided referring to Fig. 1 Cheng Tu, wherein, Internet of Things adapter is built in industrial equipment, passes through UART Universal Asynchronous Receiver Transmitter between industrial equipment (USART, universal asynchronous receiver and transmitter) interface or controller LAN (Control Area Network, CAN) interface is connected, and this method may comprise steps of as shown in the figure:
Step S101, Internet of Things adapter sends remote upgrade and instructed to cloud server.
In embodiments of the present invention, cloud server is a ftp server.The upgrade file of industrial equipment is by industry What the production firm of equipment provided, the upgrade file of industrial equipment is stored in ftp server by production firm.
Internet of Things adapter can send remote upgrade and instruct to ftp server, and request downloads upgrading text from ftp server Part.
Remote upgrade instruction includes the ip addresses and port of ftp server, the file name of upgrade file and Store path of the upgrade file in ftp server.
Specifically, Internet of Things adapter includes processor module, ethernet module, WIFI module, mobile communication module.Thing Networking adapter can access ftp server by Ethernet wired mode, WIFI modes or 2G/3G/4G modes, send long-range Upgrade command downloads upgrade file to ftp server, and from ftp server.
Specifically, when Internet of Things adapter is using RS485 interfaces, RS232 interfaces connection industrial equipment, processor module Communication is carried out data transmission by Modbus agreements between industrial equipment;When Internet of Things adapter is connected using CAN interface When connecing industrial equipment, communication is carried out data transmission by CAN agreement between processor module and industrial equipment.
Wherein, processor module preferred STM32 405 or STM32 407.
Specifically, ethernet module includes Ethernet chip and the Ethernet interface being connected with each other, wherein, Ethernet chip Processor module is connected, by the way that netting twine is inserted into Ethernet interface, processor module is networked by wired mode, realizes Internet of Things The data cube computation communication of net adapter and cloud server.
Wherein, the preferred LAN8720 chips of Ethernet chip, the preferred RJ45 interfaces of Ethernet interface.
WIFI module includes the WIFI chips and WIFI antennas being connected with each other, and the WIFI chips connect processor module, By WIFI connected modes, make processor module access network, realize the data cube computation of Internet of Things adapter and cloud server Communication.
Wherein, the preferred ESP8266 chips of WIFI chips, the preferred 2.5G antennas of WIFI antennas.
Mobile communication module includes the Mobile Communication Chip and antenna being connected with each other, the Mobile Communication Chip connection processing Device module, realizes by network service connected modes such as 2G/GPRS/3G/4G, makes processor module access network, realize Internet of Things The data cube computation communication of net adapter and cloud server.
Wherein, Mobile Communication Chip is preferably SIM800C chips.
Step S102, Internet of Things adapter downloads upgrade file from cloud server.
In embodiments of the present invention, Internet of Things adapter can download upgrade file to local from ftp server.
Preferably due to the inside flash limited storage spaces of Internet of Things adapter, and outside flash memory space Than larger, 16Mbyte can be typically stored at present, and therefore, upgrade file is stored in the outer of Internet of Things adapter by prioritizing selection In portion flash.
Preferably, security can be carried out to the upgrade file while upgrade file is downloaded from cloud server Verification, it is ensured that data are complete, safety.
Specifically, when carrying out security verification, can be parsed when downloading upgrade file to upgrade file, then lead to Cross MD5 check codes and judge whether upgrade file is correct, if correctly, storage upgrade file to the outside of Internet of Things adapter In flash.
Step S103, Internet of Things adapter sends the upgrade file to industrial equipment, by industrial equipment according to the liter Level file is upgraded.
In embodiments of the present invention, Internet of Things adapter can send download by USART interfaces or by CAN interface Upgrade file into industrial equipment, upgraded by industrial equipment according to the upgrade file.
Specifically, Internet of Things adapter sends upgrade file into industrial equipment by FTP.
Specifically, after Internet of Things adapter downloads upgrade file to local outside flash, can be between the default time Every such as 100ms time interval is constantly initiated to send file request (mix to industrial equipment to be upgraded:0x6D 0x69 0x78), until receiving the reception file response (linker of industrial equipment transmission:0x6C 0X69 0x6E 0x6B 0x65 0x72).If overtime preset time, such as half an hour, Internet of Things adapter is also not received by connecing for industrial equipment transmission Message in-coming part is responded, then it represents that industrial equipment is not supported to receive upgrade file, or does not support upgrading, and Internet of Things adapter exits liter Level flow.
If receiving the reception file response of industrial equipment transmission in preset time, Internet of Things adapter sends work The upgrade file of industry equipment is to industrial equipment.
Specifically, when sending upgrade file, Internet of Things adapter first sends the file name of upgrade file to industrial equipment, After the file name response of industrial equipment return is received, the file size of upgrade file is retransmited to industrial equipment, is being connect After the file size response for receiving industrial equipment return, data frame is then sent to industrial equipment, and receives industrial equipment and is returned The data frame response returned.
Specifically, upgrade file is sent in the form of communication information frame to industrial equipment, the form of universal information frame As shown in table 1:
Table 1
Specifically, the meaning of each type in communication information frame is as shown in table 2:
Table 2
Wherein, ∑ (length+Command+Command parameter+Checksum)=0.
Specifically, Command meaning is as shown in table 3:
ID COMMANDS COMMENTATION Remarks
0x01 SEND_FILE_NAME Send file name APRUS->DEVICE
0xFE RECV_FILE_NAME Receive file name DEVICE->APRUS
0x02 SEND_FILE_LENGTH Send file size APRUS->DEVICE
0xFD RECV_FILE_LENGTH Receive file size DEVICE->APRUS
0x03 SEND_DATA_FRAME Send data frame APRUS->DEVICE
0xFC RECV_DATA_FRAME Receive data frame DEVICE->APRUS
Table 3
Each bar Command specific explanations are as shown in table 4 to table 9:
Command 0x01:SEND_FILE_NAME
This order is sent to industrial equipment by Internet of Things adapter, and expression thing networking adapter sends the text of current file Part title is to industrial equipment.
Number Value Mark
0 0x5A Head byte1
1 0xA5 Head byte2
1 0xNN Length
2 0x08 Command:SEND_FILE_NAME
3~N 0xNN File name
N+1 0xNN Checksum
Table 4
Command 0xFE:RECV_FILE_NAME
This order is sent to Internet of Things adapter by industrial equipment, represents that industrial equipment receives Internet of Things adapter hair The file name sent.
Number Value Mark
0 0x5A Head byte1
1 0xA5 Head byte2
2 0x02 Length
3 0xFE Command:RECV_FILE_NAME
4 0xNN Checksum
Table 5
Command 0x02:SEND_FILE_LENGTH
This order is sent to industrial equipment by Internet of Things adapter, and expression thing networking adapter sends the text of current file Part length is to industrial equipment.
Number Value Mark
0 0x5A Head byte1
1 0xA5 Head byte2
2 0x03 Length
3 0x08 Command:SEND_FILE_LENGTH
4 0xNN File length---high byte
5 0xNN File name---low byte
6 0xNN Checksum
Table 6
Command 0xFD:RECV_FILE_LENGTH
This order is sent to Internet of Things adapter by industrial equipment, represents that industrial equipment receives Internet of Things adapter hair The file size sent.
Number Value Mark
0 0x5A Head byte1
1 0xA5 Head byte2
2 0x02 Length
3 0xFD Command:RECV_FILE_LENGTH
4 0xNN Checksum
Table 7
Command 0x03:SEND_DATA_FRAME
This order is sent to industrial equipment by Internet of Things adapter, and expression thing networking adapter sends current data frame extremely Industrial equipment.
Number Value Mark
0 0x5A Head byte1
1 0xA5 Head byte2
2 0x03 Length
3 0x08 Command:SEND_FILE_LENGTH
4 0xNN DATA BLOCK---High byte, current packet, the size of a bag data is 1K bytes
5 0xNN DATA BLOCK---Low byte, current packet, the size of a bag data is 1K bytes
6~1030 0xNN DATA
1031 0xNN Checksum
Table 8
Command 0xFC:RECV_DATA_FRAME
This order is sent to Internet of Things adapter by industrial equipment, represents that industrial equipment receives Internet of Things adapter hair The current data frame sent.
Number Value Mark
0 0x5A Head byte1
1 0xA5 Head byte2
2 0x02 Length
3 0xFC Command:RECV_FILE_LENGTH
4 0xNN DATA BLOCK---High byte, current packet, the size of a bag data is 1K bytes
5 0xNN DATA BLOCK---Low byte, current packet, the size of a bag data is 1K bytes
6 0xNN Checksum
Table 9
The Internet of Things adapter of the embodiment of the present invention can send remote upgrade and instruct to cloud server, from cloud service Device downloads upgrade file to local, and sends the upgrade file to industrial equipment, by industrial equipment according to the upgrade file Upgraded.The process of whole industrial equipment upgrading, is all automatically performed, it is not necessary to artificial to participate in, letter by Internet of Things adapter Single, safety.Compared to the method for existing upgrading industrial equipment, it is not necessary to labor intensive material resources, also without Personal Risk.
It should be understood that the size of the sequence number of each step is not meant to the priority of execution sequence, each process in above-described embodiment Execution sequence should determine that the implementation process without tackling the embodiment of the present invention constitutes any limit with its function and internal logic It is fixed.
It is the schematic block diagram by Internet of Things adapter that the embodiment of the present invention two is provided, for the ease of saying referring to Fig. 2 It is bright, it illustrate only the part related to the embodiment of the present invention.The Internet of Things adapter 2 includes:Instruction sending module 21, file Download module 22 and file sending module 23.
Wherein, instruction sending module 21, are instructed to cloud server for sending remote upgrade;
File download module 22, for downloading upgrade file to local from cloud server;
File sending module 23, for sending the upgrade file to industrial equipment, by industrial equipment according to the upgrading File is upgraded.
Further, the Internet of Things adapter 2 also includes:
Request sending module, initiates to send file request, if pre- at predetermined intervals to industrial equipment If time in receive the reception file response of industrial equipment transmission, then the file sending module sends the upgrade file To industrial equipment.
Specifically, passing through UART Universal Asynchronous Receiver Transmitter interface or controller local between Internet of Things adapter and industrial equipment Network interface is connected, and the file sending module 23 sends institute by UART Universal Asynchronous Receiver Transmitter interface or controller LAN interface Upgrade file is stated to industrial equipment.
Specifically, the file sending module 23 sends the upgrade file to industrial equipment according to FTP.
Further, the Internet of Things adapter 2 also includes:
Correction verification module, for carrying out security verification to the upgrade file.
Fig. 3 is the schematic block diagram for the Internet of Things adapter that the embodiment of the present invention three is provided.As shown in figure 3, the embodiment Internet of Things adapter 3 includes:Processor 30, memory 31 and it is stored in the memory 31 and can be in the processor 30 The computer program 32 of upper operation, for example, pass through the program of the method for Internet of Things adapter upgrade equipment.The processor 30 is held The step in each above-mentioned embodiment of the method by Internet of Things adapter upgrade equipment is realized during the row computer program 32, Step 101 for example shown in Fig. 1 is to 102.Or, the processor 30 is realized shown in Fig. 2 when performing the computer program 32 The function of each module/unit in Internet of Things adapter embodiments, such as function of module 21 to 23 shown in Fig. 2.
Exemplary, the computer program 32 can be divided into one or more module/units, it is one or Multiple module/units are stored in the memory 31, and are performed by the processor 30, to complete the present invention.Described one Individual or multiple module/units can complete the series of computation machine programmed instruction section of specific function, and the instruction segment is used for Implementation procedure of the computer program 32 in the Internet of Things adapter 3 is described.For example, the computer program 32 can be with It is divided into instruction sending module 21, file download module 22 and file sending module 23.
Each module concrete function is as follows:
Wherein, instruction sending module 21, are instructed to cloud server for sending remote upgrade;
File download module 22, for downloading upgrade file to local from cloud server;
File sending module 23, for sending the upgrade file to industrial equipment, by industrial equipment according to the upgrading File is upgraded.
Further, the computer program 32 can also include:
Request sending module, initiates to send file request, if pre- at predetermined intervals to industrial equipment If time in receive the reception file response of industrial equipment transmission, then the file sending module sends the upgrade file To industrial equipment.
Specifically, passing through UART Universal Asynchronous Receiver Transmitter interface or controller local between Internet of Things adapter and industrial equipment Network interface is connected, and the file sending module 23 sends institute by UART Universal Asynchronous Receiver Transmitter interface or controller LAN interface Upgrade file is stated to industrial equipment.
Specifically, the file sending module 23 sends the upgrade file to industrial equipment according to FTP.
Further, the computer program 32 can also include:
Correction verification module, for carrying out security verification to the upgrade file.
The Internet of Things adapter 3 may include, but be not limited only to, processor 30, memory 31.Those skilled in the art can With understand, Fig. 3 is only the example of Internet of Things adapter 3, does not constitute the restriction to Internet of Things adapter 3, can include than More or less parts are illustrated, some parts or different parts is either combined, such as described Internet of Things adapter may be used also With including input-output equipment, network access equipment, bus etc..
Alleged processor 30 can be CPU (Central Processing Unit, CPU), can also be Other general processors, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) or other PLDs, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor can also be any conventional processor Deng.
The memory 31 can be the internal storage unit of the Internet of Things adapter 3, such as Internet of Things adapter 3 Hard disk or internal memory.The memory 31 can also be the External memory equipment of the Internet of Things adapter 3, such as described Internet of Things The plug-in type hard disk being equipped with adapter 3, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card) etc..Further, the memory 31 can also both include the Internet of Things The internal storage unit of net adapter 3 also includes External memory equipment.The memory 31 is used to store the computer program And other programs and data needed for the Internet of Things adapter.The memory 31 can be also used for temporarily storing Output or the data that will be exported.
Fig. 4 is the schematic block diagram for the system by Internet of Things adapter upgrade equipment that the embodiment of the present invention four is provided, institute State includes cloud server 41, industrial equipment 42 also including such as embodiment two by the system 4 of Internet of Things adapter upgrade equipment Or the Internet of Things adapter 43 described in embodiment three.Wherein, by general between Internet of Things adapter 43 and industrial equipment 42 Asynchronism transceiver interface or controller LAN interface connection, Internet of Things adapter 43 can by Ethernet wired mode, WIFI modes or 2G/3G/4G modes access cloud server 41.Industrial equipment 42 is upgraded by Internet of Things adapter 43 Process include:Internet of Things adapter 43 first sends remote upgrade and instructed to cloud server 41, then under cloud server 41 Upgrade file is carried to local, the upgrade file is finally sent to industrial equipment 42, by industrial equipment 42 according to the upgrading text Part is upgraded.
It is apparent to those skilled in the art that, for convenience of description and succinctly, only with above-mentioned each work( Energy unit, the division progress of module are for example, in practical application, as needed can distribute above-mentioned functions by different Functional unit, module are completed, i.e., the internal structure of described device is divided into different functional unit or module, more than completion The all or part of function of description.Each functional unit, module in embodiment can be integrated in a processing unit, also may be used To be that unit is individually physically present, can also two or more units it is integrated in a unit, it is above-mentioned integrated Unit can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.In addition, each function list Member, the specific name of module are also only to facilitate mutually differentiation, is not limited to the protection domain of the application.Said system The specific work process of middle unit, module, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, without detailed description or note in some embodiment The part of load, may refer to the associated description of other embodiments.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein Member and algorithm steps, can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually Performed with hardware or software mode, depending on the application-specific and design constraint of technical scheme.Professional and technical personnel Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed The scope of the present invention.
, can be with embodiment provided by the present invention, it should be understood that disclosed device/terminal device and method Realize by another way.For example, device described above/terminal device embodiment is only schematical, for example, institute The division of module or unit is stated, only a kind of division of logic function there can be other dividing mode, for example when actually realizing Multiple units or component can combine or be desirably integrated into another system, or some features can be ignored, or not perform.Separately A bit, shown or discussed coupling or direct-coupling or communication connection each other can be by some interfaces, device Or INDIRECT COUPLING or the communication connection of unit, can be electrical, machinery or other forms.
The unit illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list Member can both be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated module/unit realized using in the form of SFU software functional unit and as independent production marketing or In use, can be stored in a computer read/write memory medium.Understood based on such, the present invention realizes above-mentioned implementation All or part of flow in example method, can also instruct the hardware of correlation to complete, described meter by computer program Calculation machine program can be stored in a computer-readable recording medium, and the computer program can be achieved when being executed by processor The step of stating each embodiment of the method..Wherein, the computer program includes computer program code, the computer program Code can be source code form, object identification code form, executable file or some intermediate forms etc..Computer-readable Jie Matter can include:Can carry any entity or device of the computer program code, recording medium, USB flash disk, mobile hard disk, Magnetic disc, CD, computer storage, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that described The content that computer-readable medium is included can carry out appropriate increasing according to legislation in jurisdiction and the requirement of patent practice Subtract, such as in some jurisdictions, according to legislation and patent practice, computer-readable medium include be electric carrier signal and Telecommunication signal.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although with reference to foregoing reality Example is applied the present invention is described in detail, it will be understood by those within the art that:It still can be to foregoing each Technical scheme described in embodiment is modified, or carries out equivalent substitution to which part technical characteristic;And these are changed Or replace, the essence of appropriate technical solution is departed from the spirit and scope of various embodiments of the present invention technical scheme, all should Within protection scope of the present invention.

Claims (13)

1. a kind of method by Internet of Things adapter upgrade equipment, it is characterised in that methods described includes:
Internet of Things adapter sends remote upgrade and instructed to cloud server;
Internet of Things adapter downloads upgrade file to local from cloud server;
Internet of Things adapter sends the upgrade file to industrial equipment, is risen by industrial equipment according to the upgrade file Level.
2. according to the method described in claim 1, it is characterised in that download and rise from cloud server in the Internet of Things adapter Level file is to after local, and methods described also includes:
Internet of Things adapter initiates to send file request at predetermined intervals to industrial equipment;
If receiving the reception file response of industrial equipment transmission within the default time, Internet of Things adapter sends described Upgrade file is to industrial equipment.
3. according to the method described in claim 1, it is characterised in that by general different between Internet of Things adapter and industrial equipment Transceiver interface or the connection of controller LAN interface are walked, Internet of Things adapter passes through UART Universal Asynchronous Receiver Transmitter interface or control Device lan interfaces processed send the upgrade file to industrial equipment.
4. according to the method described in claim 1, it is characterised in that Internet of Things adapter is according to being sent FTP Upgrade file is to industrial equipment.
5. according to the method described in claim 1, it is characterised in that download and rise from cloud server in the Internet of Things adapter While level file, methods described also includes:
Security verification is carried out to the upgrade file.
6. a kind of Internet of Things adapter, it is characterised in that the Internet of Things adapter includes:
Instruction sending module, is instructed to cloud server for sending remote upgrade;
File download module, for downloading upgrade file to local from cloud server;
File sending module, for sending the upgrade file to industrial equipment, is entered by industrial equipment according to the upgrade file Row upgrading.
7. Internet of Things adapter according to claim 6, it is characterised in that the Internet of Things adapter also includes:
Request sending module, initiates to send file request, if default at predetermined intervals to industrial equipment The reception file response of industrial equipment transmission is received in time, then the file sending module sends the upgrade file to work Industry equipment.
8. Internet of Things adapter according to claim 6, it is characterised in that lead between Internet of Things adapter and industrial equipment UART Universal Asynchronous Receiver Transmitter interface or the connection of controller LAN interface are crossed, the file sending module passes through universal asynchronous receiving-transmitting Device interface or controller LAN interface send the upgrade file to industrial equipment.
9. Internet of Things adapter according to claim 6, it is characterised in that the file sending module is transmitted according to file Agreement sends the upgrade file to industrial equipment.
10. Internet of Things adapter according to claim 6, it is characterised in that the Internet of Things adapter also includes:
Correction verification module, for carrying out security verification to the upgrade file.
11. a kind of Internet of Things adapter, including memory, processor and it is stored in the memory and can be in the processing The computer program run on device, it is characterised in that realize such as claim 1 described in the computing device during computer program The step of to any one of 5 methods described.
12. a kind of computer-readable recording medium, the computer-readable recording medium storage has computer program, its feature exists In the step of realizing such as any one of claim 1 to 5 methods described when the computer program is executed by processor.
13. a kind of system by Internet of Things adapter upgrade equipment, it is characterised in that the system include cloud server, Industrial equipment, in addition to such as claim 6 to 10 or Internet of Things adapter as claimed in claim 11.
CN201710496997.8A 2017-06-26 2017-06-26 Pass through the method for Internet of Things adapter upgrade equipment, system and Internet of Things adapter Pending CN107222553A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710496997.8A CN107222553A (en) 2017-06-26 2017-06-26 Pass through the method for Internet of Things adapter upgrade equipment, system and Internet of Things adapter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710496997.8A CN107222553A (en) 2017-06-26 2017-06-26 Pass through the method for Internet of Things adapter upgrade equipment, system and Internet of Things adapter

Publications (1)

Publication Number Publication Date
CN107222553A true CN107222553A (en) 2017-09-29

Family

ID=59950408

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710496997.8A Pending CN107222553A (en) 2017-06-26 2017-06-26 Pass through the method for Internet of Things adapter upgrade equipment, system and Internet of Things adapter

Country Status (1)

Country Link
CN (1) CN107222553A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109189445A (en) * 2018-10-12 2019-01-11 武汉微智创大科技有限公司 A kind of method of internet of things equipment program upgrading
CN109286688A (en) * 2018-11-28 2019-01-29 深圳市元征科技股份有限公司 A kind of data download method and device
CN109639448A (en) * 2017-10-09 2019-04-16 阿里巴巴集团控股有限公司 The method and upgrade-system of updating apparatus
CN110177454A (en) * 2017-11-30 2019-08-27 南京德朔实业有限公司 Electric tool system and upgrade method for the system
CN111277435A (en) * 2020-01-16 2020-06-12 南京大鱼半导体有限公司 Method and device for upgrading network equipment, storage medium and electronic equipment
CN111741087A (en) * 2020-06-09 2020-10-02 科华恒盛股份有限公司 Remote upgrading method, terminal equipment and readable storage medium
CN112118091A (en) * 2020-09-22 2020-12-22 郑州嘉晨电器有限公司 Data encryption bus self-adaptive industrial equipment remote system upgrading method
CN113518004A (en) * 2021-06-17 2021-10-19 青岛海尔空调电子有限公司 Management and control method and system for gateway of Internet of things

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11338518A (en) * 1998-05-27 1999-12-10 Omron Corp I/o device, input and output method, and control system using i/o device
CN103164244A (en) * 2013-03-15 2013-06-19 南京工业大学 Firmware system long-distance updating methods based on unified extensible firmware interface
CN103207791A (en) * 2012-01-17 2013-07-17 深圳市宏电技术股份有限公司 Method, system and data terminal for remote updating
CN103414741A (en) * 2013-07-02 2013-11-27 深圳市汇川技术股份有限公司 Method and system for remote upgrade of PLC (Programmable Logic Controller)
CN104836848A (en) * 2015-04-14 2015-08-12 闪联信息技术工程中心有限公司 Method for remotely upgrading intelligent household electrical appliances

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11338518A (en) * 1998-05-27 1999-12-10 Omron Corp I/o device, input and output method, and control system using i/o device
CN103207791A (en) * 2012-01-17 2013-07-17 深圳市宏电技术股份有限公司 Method, system and data terminal for remote updating
CN103164244A (en) * 2013-03-15 2013-06-19 南京工业大学 Firmware system long-distance updating methods based on unified extensible firmware interface
CN103414741A (en) * 2013-07-02 2013-11-27 深圳市汇川技术股份有限公司 Method and system for remote upgrade of PLC (Programmable Logic Controller)
CN104836848A (en) * 2015-04-14 2015-08-12 闪联信息技术工程中心有限公司 Method for remotely upgrading intelligent household electrical appliances

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109639448A (en) * 2017-10-09 2019-04-16 阿里巴巴集团控股有限公司 The method and upgrade-system of updating apparatus
CN110177454A (en) * 2017-11-30 2019-08-27 南京德朔实业有限公司 Electric tool system and upgrade method for the system
CN110226154A (en) * 2017-11-30 2019-09-10 南京德朔实业有限公司 Can remote upgrade portable power and remote upgrade method
CN110226154B (en) * 2017-11-30 2023-08-04 南京泉峰科技有限公司 Portable power supply capable of being upgraded remotely and remote upgrading method
CN109189445A (en) * 2018-10-12 2019-01-11 武汉微智创大科技有限公司 A kind of method of internet of things equipment program upgrading
CN109286688A (en) * 2018-11-28 2019-01-29 深圳市元征科技股份有限公司 A kind of data download method and device
CN111277435A (en) * 2020-01-16 2020-06-12 南京大鱼半导体有限公司 Method and device for upgrading network equipment, storage medium and electronic equipment
CN111741087A (en) * 2020-06-09 2020-10-02 科华恒盛股份有限公司 Remote upgrading method, terminal equipment and readable storage medium
CN112118091A (en) * 2020-09-22 2020-12-22 郑州嘉晨电器有限公司 Data encryption bus self-adaptive industrial equipment remote system upgrading method
CN113518004A (en) * 2021-06-17 2021-10-19 青岛海尔空调电子有限公司 Management and control method and system for gateway of Internet of things

Similar Documents

Publication Publication Date Title
CN107222553A (en) Pass through the method for Internet of Things adapter upgrade equipment, system and Internet of Things adapter
CN110402209A (en) For establishing method, vehicle communication device and the charging station communication device of communication connection
CN109542485A (en) A kind of firmware upgrade method and its device based on bluetooth BLE equipment end
CN107438833A (en) A kind of data-updating method, device, system and server
CN107636602A (en) A kind of data processing method and data processing equipment
CN110430096A (en) A kind of gateway test method and equipment
CN109272733A (en) It is a kind of that multilist is supported to close the multiterminal multimode Internet of Things communicating terminal and its meter register method copied
CN106597901B (en) Distributed Integration managing power consumption and analysis method and system based on cloud service
US9503380B2 (en) Communication apparatus, communication method, and computer readable medium
CN206461640U (en) A kind of gateway system of compatible multiplex roles
CN207625604U (en) A kind of system and Internet of Things adapter by Internet of Things adapter upgrade equipment
CN104679634A (en) Self-adapted random verification method used for simulating ultra-large-scale chip
CN109327338A (en) A kind of electricity information acquisition system master station method for testing pressure and system based on virtual terminal
CN103854244A (en) Hospital drug management system
CN109165156A (en) A kind of bar code test method, device and terminal device
CN107919993A (en) A kind of alert processing method and system
CN102788898A (en) Electric energy meter self-adapting multiple pluggable communication modules
CN110493294A (en) Update method, system, readable storage medium storing program for executing and the terminal of vehicle electronic circuit module
CN202421242U (en) Electric energy meter self-adaptive to various pluggable communication modules
CN110362965A (en) Firmware processing method, device, system, equipment and the medium of IC chip
CN109711053A (en) Based on industrial big data Research on Fan Fault Forecasting method and system
CN110032385A (en) Component update method, device and electronic equipment
CN109727646A (en) The processing method and processing device of cdna sample, mobile terminal
CN109543845A (en) The method for transformation and device of single quantum bit logic gate
CN105005486B (en) A kind of smart substation equipment program on-line upgrading method

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170929