CN111741087A - Remote upgrading method, terminal equipment and readable storage medium - Google Patents

Remote upgrading method, terminal equipment and readable storage medium Download PDF

Info

Publication number
CN111741087A
CN111741087A CN202010517113.4A CN202010517113A CN111741087A CN 111741087 A CN111741087 A CN 111741087A CN 202010517113 A CN202010517113 A CN 202010517113A CN 111741087 A CN111741087 A CN 111741087A
Authority
CN
China
Prior art keywords
upgrading
remote
upgrade
target server
information
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
CN202010517113.4A
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.)
Xiamen Kecan Information Technology Co ltd
Xiamen Kehua Hengsheng Co Ltd
Kehua Hengsheng Co Ltd
Original Assignee
Xiamen Kecan Information Technology Co ltd
Xiamen Kehua Hengsheng 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 Xiamen Kecan Information Technology Co ltd, Xiamen Kehua Hengsheng Co Ltd filed Critical Xiamen Kecan Information Technology Co ltd
Priority to CN202010517113.4A priority Critical patent/CN111741087A/en
Publication of CN111741087A publication Critical patent/CN111741087A/en
Pending legal-status Critical Current

Links

Images

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/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • 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
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40006Architecture of a communication node
    • 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 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40208Bus networks characterized by the use of a particular bus standard
    • H04L2012/40228Modbus

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a remote upgrading method, terminal equipment and a readable storage medium, wherein the method is applied to the technical field of software updating and comprises the following steps: the remote end carries out logic interaction with the upgrading end through a Modbus protocol, and in the logic interaction process of the remote end and the upgrading end, the remote end carries out transmission of an upgrading packet with the upgrading end through a file transmission protocol; the upgrading end carries out remote upgrading based on the upgrading packet and the logic interaction command sent by the remote end. The remote upgrading method, the terminal equipment and the readable storage medium effectively improve the remote upgrading efficiency through the combination of the Modbus protocol and the file transfer protocol.

Description

Remote upgrading method, terminal equipment and readable storage medium
Technical Field
The invention belongs to the technical field of software updating, and particularly relates to a remote upgrading method, terminal equipment and a readable storage medium.
Background
When remote upgrade is performed, file transmission from a remote end to an upgrade end needs to be performed. In the prior art, a common remote end monitoring protocol of the embedded device is a Modbus communication protocol, but the remote upgrading by using the Modbus communication protocol has the following defects: as the Modbus single frame can transmit 256 bytes at most, and the online upgrade packages at the upgrade end are different in size and not fixed in quantity, if the Modbus is used for transmitting the upgrade packages, the remote upgrade process is long and tedious.
Therefore, how to improve the upgrading efficiency of remote upgrading becomes an urgent problem to be solved.
Disclosure of Invention
The invention aims to provide a remote upgrading method, terminal equipment and a readable storage medium so as to improve the upgrading efficiency of remote upgrading.
In a first aspect of the embodiments of the present invention, a remote upgrade method is provided, where the method is applied to a remote end and an upgrade end, and includes:
the remote end carries out logic interaction with the upgrading end through a Modbus protocol, and in the logic interaction process of the remote end and the upgrading end, the remote end carries out transmission of an upgrading packet with the upgrading end through a file transmission protocol;
and the upgrading end carries out remote upgrading on the basis of the upgrading packet and a logic interaction command sent by the remote end.
In a second aspect of the embodiments of the present invention, there is provided a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the above-mentioned remote upgrade method when executing the computer program.
In a third aspect of the embodiments of the present invention, a computer-readable storage medium is provided, which stores a computer program, and the computer program, when executed by a processor, implements the steps of the above-mentioned remote upgrade method.
The remote upgrading method, the terminal device and the readable storage medium provided by the embodiment of the invention have the beneficial effects that: on the first hand, compared with the prior art, the embodiment of the invention transmits the upgrade package based on the file transmission protocol, thereby effectively solving the problem of large file transmission and improving the upgrade speed; in the second aspect, in the upgrading method provided by this embodiment, the remote end only needs to control the downloading and installing actions of the upgrade package through the existing Modbus communication protocol, so that the logic interaction between the remote end and the upgrade end is greatly reduced, the development difficulty of the remote end software is reduced, and the universality of remote upgrading is improved; in a third aspect, the embodiment of the present invention transmits the upgrade package by using a file transfer protocol, and since a server used by the file transfer protocol supports multi-client connection, the remote upgrade method provided by the embodiment of the present invention can support simultaneous upgrade of multiple devices, thereby effectively improving upgrade efficiency.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed for the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a schematic flowchart of a remote upgrade method according to an embodiment of the present invention;
fig. 2 is a schematic block diagram of a terminal device according to an embodiment of the present invention.
Detailed Description
In order to make the technical problems, technical solutions and advantageous effects to be solved by the present invention more clearly apparent, the present invention is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, fig. 1 is a schematic flow chart of a remote upgrade method according to an embodiment of the present invention, where the method is applied to a remote end and an upgrade end, and includes:
s101: the remote end carries out logic interaction with the upgrading end through a Modbus protocol, and in the logic interaction process of the remote end and the upgrading end, the remote end carries out transmission of the upgrading packet with the upgrading end through a file transmission protocol.
In the present embodiment, the Modbus protocol includes, but is not limited to, Modbus TCP protocol, Modbus RTU protocol, and the file transfer protocol includes, but is not limited to, FTP protocol, TFTP protocol.
S102: the upgrading end carries out remote upgrading based on the upgrading packet and the logic interaction command sent by the remote end.
In this embodiment, the logic interaction command may represent a confirmation upgrade command, and the upgrade end performs remote upgrade based on the upgrade package and the confirmation upgrade command sent by the remote end.
In this embodiment, on the first hand, compared with the prior art, in the embodiment of the present invention, the transmission of the upgrade package is performed based on the file transfer protocol, so that the problem of large file transmission is effectively solved, and the upgrade speed is increased. In a second aspect, in the upgrading method provided by this embodiment, the remote end only needs to control the downloading and installing actions of the upgrade package through the existing Modbus communication protocol, so that the logic interaction between the remote end and the upgrade end is greatly reduced, the development difficulty of the remote end software is reduced, and the universality of remote upgrading is improved. In a third aspect, the embodiment of the present invention transmits the upgrade package by using a file transfer protocol, and since a server used by the file transfer protocol supports multi-client connection, the remote upgrade method provided by the embodiment of the present invention can support simultaneous upgrade of multiple devices, thereby effectively improving upgrade efficiency.
Optionally, as a specific implementation manner of the remote upgrade method provided by the embodiment of the present invention, on the basis of the above embodiment, the remote end performs logic interaction with the upgrade end through a Modbus protocol, which may be detailed as follows:
and the remote end sends the target server information and the upgrade package path to the upgrade end. And after receiving the target server information and the upgrade package path, the upgrade end returns first response information to the remote end.
In this embodiment, after receiving the target server information and the upgrade package path, the upgrade end returns the first response information to the remote end, that is, when the remote end receives the first response information, it indicates that the upgrade end has successfully received the target server information and the upgrade package path. The target server information includes, but is not limited to, an IP address of a target server where the upgrade package is located, a port of the target server where the upgrade package is located, an account of the upgrade terminal accessing the target server, and a password of the upgrade terminal accessing the target server.
In this embodiment, the target server is a server used by the file transfer protocol.
And after receiving the first response information, the remote end sends an upgrade preparation command to the upgrade end at a preset moment, wherein the upgrade preparation command is used for indicating the upgrade end to download the upgrade package according to the target server information and the upgrade package path. And the upgrading end downloads the upgrading packet according to the target server information and the upgrading packet path and then returns a downloading result to the remote end.
In this embodiment, the upgrade preparation command is mainly used to prompt the upgrade end to prepare before upgrading, and specifically may be to download the upgrade package according to the target server information and the upgrade package path, and return a download result.
And after the remote end receives the download result returned by the upgrading end, if the download result returned by the upgrading end shows that the download of the upgrading package is completed, sending an upgrading confirmation command to the upgrading end, wherein the upgrading confirmation command is used for indicating the upgrading end to carry out remote upgrading on the upgrading package which is completed based on the download.
In this embodiment, the downloading process of the upgrade package includes the upgrade package downloading and the upgrade package checking, and it can be determined that the upgrade package downloading is completed only when the upgrade package is successfully downloaded and the upgrade package checking is successful.
After the remote end receives the downloading result, if the upgrading package is judged to be successfully downloaded, a determined upgrading command is sent to the upgrading end.
In this embodiment, after receiving the determined upgrade command from the remote end, the upgrade end may perform remote upgrade based on the downloaded upgrade package.
Optionally, as a specific implementation manner of the remote upgrade method provided in the embodiment of the present invention, on the basis of the foregoing embodiment, the remote end performs logic interaction with the upgrade end through a Modbus protocol, and may further include:
and after the upgrading end carries out remote upgrading on the basis of the downloaded upgrading packet, returning an upgrading result to the remote end.
In this embodiment, the upgrade result may be simple text information such as success or failure of upgrade, or may be a detailed upgrade log, which is not limited herein.
Optionally, as a specific implementation manner of the remote upgrade method provided in the embodiment of the present invention, on the basis of the above embodiment, the remote end performs transmission of the upgrade package with the upgrade end through a file transfer protocol, which may be detailed as follows:
and the remote end uploads the upgrade package to a target server through a file transfer protocol.
The upgrading end establishes connection with the target server through the target server information and the upgrading packet path, and downloads the upgrading packet based on the upgrading preparation command.
In this embodiment (taking an example that the file transfer protocol is an FTP protocol and the target server is an FTP server), a TCP/FTP proxy may be set at the remote end, the remote end is connected to the TCP/FTP proxy, the TCP/FTP proxy is connected to the target FTP server, the remote end uploads the upgrade packet to the target FTP server through the TCP/FTP proxy, and after the upgrade packet is successfully uploaded, FTP server information and an upgrade packet path are generated.
In this embodiment (taking the file transfer protocol as the FTP protocol and the target server as the FTP server as an example), an FTP/TCP proxy may be set at the upgrade end, the target FTP server is connected to the FTP/TCP proxy, and the FTP/TCP proxy is connected to the upgrade end, and the upgrade end downloads the upgrade package from the target FTP server through the FTP/TCP proxy.
In the above embodiment, the upgrading efficiency of remote upgrading is effectively improved by combining the Modbus protocol and the file transfer protocol, but how to solve the communication conversion between different protocols is the key for implementing the scheme. In this embodiment, a protocol conversion method is provided, that is, protocol conversion between a remote end, a target server, and an upgrade end is implemented by setting protocol conversion agents with different conversion directions, so as to implement cross-system and cross-region file transmission. On this basis, the remote upgrading method provided by the embodiment of the invention can overcome the limitations of the region and the operating system, and therefore, the remote upgrading method provided by the embodiment of the invention also has higher universality.
Optionally, as a specific implementation manner of the remote upgrade method provided in the embodiment of the present invention, on the basis of the foregoing embodiment, the target server information includes an IP address and a port of the target server where the upgrade package is located, and an account and a password for the upgrade terminal to access the target server.
The upgrade package path is a file path of the upgrade package in the target server.
In this embodiment, the target server information is used to provide a target server access address of the upgrade package, and the upgrade package path is used to provide a file path of the upgrade package in the target server. The upgrade end can download the upgrade package according to the target server information and the upgrade package path provided by the embodiment.
Optionally, as a specific implementation manner of the remote upgrade method provided by the embodiment of the present invention, on the basis of the foregoing embodiment, the method for determining the preset time may be detailed as follows:
the remote end acquires the current version information and the operation information of the upgrading end, compares the current version information with the preset version information of the upgrading end, and determines the preset time according to the operation information of the upgrading end if the current version information of the upgrading end is inconsistent with the preset version information.
In this embodiment, the upgrade time of the upgrade end, that is, the preset time, may be determined by the remote end. The specific determination method may be: the remote end sends an upgrading information request to the upgrading end, and the upgrading end returns the current version information and the running information of the upgrading end to the remote end according to the upgrading information request. And the remote end compares the current version information of the upgrading end with the preset version information, if the current version information of the upgrading end is inconsistent with the preset version information, the upgrading end is indicated to be upgraded, and the preset time is determined according to the running information of the upgrading end.
In this embodiment, determining the preset time according to the operation information of the upgrade end may be detailed as follows: and determining the operation active time range of the upgrading end according to the operation information of the upgrading end, and selecting a certain time period outside the operation active time range as an upgrading time period to carry out remote upgrading of the upgrading end. Wherein, the first t hours of the upgrading time period is the preset time. Wherein t can be determined according to the file size of the upgrade package and the logic interaction speed of the remote end and the upgrade end.
In this embodiment, for the upgrade end, the upgrade end detects whether an upgrade detection request of the remote end is received, and sends current version information and operation information of the upgrade end to the remote end if the upgrade detection request of the remote end is received.
Optionally, as a specific implementation manner of the remote upgrade method provided by the embodiment of the present invention, on the basis of the foregoing embodiment, the method for determining the preset time may further be detailed as follows:
the remote end detects whether an upgrading request of the upgrading end is received, and if the upgrading request of the upgrading end is received, the preset moment is determined according to the upgrading request. The upgrading request comprises upgrading version information and upgrading time.
In this embodiment, the upgrade time of the upgrade end, that is, the preset time, may be determined by the upgrade end itself. The specific determination method may be: the upgrading end automatically checks the current version information, if the upgrading is needed, the upgrading time is determined according to the operation information, the upgrading request is generated according to the upgrading time and the version information (namely upgrading version information) needed to be upgraded, and the upgrading request is sent to the remote end. The remote end detects whether an upgrading request of the upgrading end is received, and if the upgrading request of the upgrading end is received, the preset moment is determined according to the upgrading request. The first t hours of the upgrading time can be used as the preset time, and t can be determined according to the file size of the upgrading packet and the logic interaction speed of the remote end and the upgrading end. The upgrade version information is used for indicating the remote end to upload an upgrade package corresponding to the upgrade version to the target server through a file transfer protocol, so that the upgrade end can download the upgrade package.
In this embodiment, for the upgrade end, the upgrade end acquires the preset version information of the remote end, and if the current version information of the upgrade end is inconsistent with the preset version information of the remote end, generates an upgrade request according to the current version information and the operation information of the upgrade end, and sends the upgrade request to the remote end. The preset version information is the version information that the upgrading end needs to upgrade to.
Optionally, as a specific implementation manner of the remote upgrade method provided by the embodiment of the present invention, on the basis of the foregoing embodiment, the upgrade end establishes a connection with the target server through the target server information and the upgrade package path, and downloads the upgrade package based on the upgrade preparation command, which may be detailed as follows:
the upgrading end establishes connection with the target server according to the target server information and the upgrading packet path, determines an upgrading packet downloading address, and downloads the upgrading packet based on the upgrading preparation command and the upgrading packet downloading address.
Referring to fig. 2, fig. 2 is a schematic block diagram of a terminal device according to an embodiment of the present invention. The terminal 200 in the present embodiment as shown in fig. 2 may include: one or more processors 201, one or more input devices 202, one or more output devices 203, and one or more memories 204. The processor 201, the input device 202, the output device 203 and the memory 204 are communicated with each other through a communication bus 205. The memory 204 is used to store a computer program comprising program instructions. The processor 201 is operable to execute program instructions stored by the memory 204. Wherein the processor 201 is configured to invoke program instructions to perform the various method embodiments described above.
It should be understood that, in the embodiment of the present invention, the Processor 201 may be a Central Processing Unit (CPU), and the Processor may also be other general processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, and the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The input device 202 may include a touch pad, a fingerprint sensor (for collecting fingerprint information of a user and direction information of the fingerprint), a microphone, etc., and the output device 203 may include a display (LCD, etc.), a speaker, etc.
The memory 204 may include both read-only memory and random access memory and provides instructions and data to the processor 201. A portion of memory 204 may also include non-volatile random access memory. For example, memory 204 may also store device type information.
In a specific implementation, the processor 201, the input device 202, and the output device 203 described in this embodiment of the present invention may execute the implementation manners described in the first embodiment and the second embodiment of the remote upgrade method provided in this embodiment of the present invention, and may also execute the implementation manner of the terminal described in this embodiment of the present invention, which is not described herein again.
In another embodiment of the present invention, a computer-readable storage medium is provided, in which a computer program is stored, where the computer program includes program instructions, and the program instructions, when executed by a processor, implement all or part of the processes in the method of the above embodiments, and may also be implemented by a computer program instructing associated hardware, and the computer program may be stored in a computer-readable storage medium, and the computer program, when executed by a processor, may implement the steps of the above methods embodiments. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer readable medium may include: any entity or device capable of carrying computer program code, recording medium, U.S. disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution media, and the like. It should be noted that the computer readable medium may include any suitable increase or decrease as required by legislation and patent practice in the jurisdiction, for example, in some jurisdictions, computer readable media may not include electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.
The computer readable storage medium may be an internal storage unit of the terminal of any of the foregoing embodiments, for example, a hard disk or a memory of the terminal. The computer readable storage medium may also be an external storage device of the terminal, such as a plug-in hard disk provided on the terminal, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like. Further, the computer-readable storage medium may also include both an internal storage unit and an external storage device of the terminal. The computer-readable storage medium is used for storing a computer program and other programs and data required by the terminal. The computer-readable storage medium may also be used to temporarily store data that has been output or is to be output.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be embodied in electronic hardware, computer software, or combinations of both, and that the components and steps of the examples have been described in a functional general in the foregoing description for the purpose of illustrating clearly the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the terminal and the unit described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed terminal and method can be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of a unit is merely a logical division, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces or units, and may also be an electrical, mechanical or other form of connection.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment of the present invention.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
While the invention has been described with reference to specific embodiments, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A remote upgrading method is applied to a remote end and an upgrading end and is characterized by comprising the following steps:
the remote end carries out logic interaction with the upgrading end through a Modbus protocol, and in the logic interaction process of the remote end and the upgrading end, the remote end carries out transmission of an upgrading packet with the upgrading end through a file transmission protocol;
and the upgrading end carries out remote upgrading on the basis of the upgrading packet and a logic interaction command sent by the remote end.
2. The remote upgrading method according to claim 1, wherein the remote end logically interacts with the upgrading end through a Modbus protocol, and the method comprises the following steps:
the remote end sends target server information and an upgrade package path to the upgrade end; after receiving the target server information and the upgrade package path, the upgrade end returns first response information to the remote end;
after receiving the first response message, the remote end sends an upgrade preparation command to the upgrade end at a preset moment, wherein the upgrade preparation command is used for instructing the upgrade end to download an upgrade package according to the target server information and an upgrade package path; the upgrading end downloads the upgrading packet according to the target server information and the upgrading packet path and then returns a downloading result to the remote end;
and after the remote end receives the download result returned by the upgrading end, if the download result returned by the upgrading end shows that the download of the upgrade package is completed, sending an upgrade confirmation command to the upgrading end, wherein the upgrade confirmation command is used for indicating the upgrading end to perform remote upgrade on the upgrade package after the download is completed.
3. The remote upgrading method according to claim 2, wherein the remote end logically interacts with the upgrading end through a Modbus protocol, further comprising:
and after the upgrading end carries out remote upgrading on the basis of the downloaded upgrading packet, returning an upgrading result to the remote end.
4. The remote upgrade method of claim 2, wherein the remote end performs transmission of the upgrade package with the upgrade end via a file transfer protocol, comprising:
the remote end uploads the upgrade package to a target server through a file transfer protocol;
and the upgrading end establishes connection with the target server through the target server information and the upgrading packet path and downloads the upgrading packet based on the upgrading preparation command.
5. The remote upgrade method according to claim 2, wherein the target server information includes an IP address and a port of the target server where the upgrade package is located, an account and a password for the upgrade terminal to access the target server; the upgrade package path is a file path of the upgrade package in the target server.
6. The remote upgrading method according to claim 2, wherein the method for determining the preset time comprises:
the remote end acquires the current version information and the operation information of the upgrading end, compares the current version information of the upgrading end with the preset version information, and determines the preset time according to the operation information of the upgrading end if the current version information of the upgrading end is inconsistent with the preset version information.
7. The remote upgrading method according to claim 2, wherein the method for determining the preset time comprises:
the remote end detects whether an upgrading request of an upgrading end is received, and if the upgrading request of the upgrading end is received, a preset moment is determined according to the upgrading request; the upgrading request comprises upgrading version information and upgrading time.
8. The remote upgrade method of claim 4, wherein the upgrade client establishes a connection with a target server through the target server information and an upgrade package path, and downloads an upgrade package based on the upgrade preparation command, including:
and the upgrading end establishes connection with the target server according to the target server information and the upgrading packet path, determines an upgrading packet downloading address, and downloads the upgrading packet based on the upgrading preparation command and the upgrading packet downloading address.
9. A terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1 to 8 when executing the computer program.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 8.
CN202010517113.4A 2020-06-09 2020-06-09 Remote upgrading method, terminal equipment and readable storage medium Pending CN111741087A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010517113.4A CN111741087A (en) 2020-06-09 2020-06-09 Remote upgrading method, terminal equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010517113.4A CN111741087A (en) 2020-06-09 2020-06-09 Remote upgrading method, terminal equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN111741087A true CN111741087A (en) 2020-10-02

Family

ID=72648533

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010517113.4A Pending CN111741087A (en) 2020-06-09 2020-06-09 Remote upgrading method, terminal equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN111741087A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112910948A (en) * 2021-01-12 2021-06-04 拉扎斯网络科技(上海)有限公司 Protocol upgrading method, device, electronic equipment, storage medium and program product
CN115904462A (en) * 2023-02-10 2023-04-04 中航金网(北京)电子商务有限公司 Application program upgrading method and device, electronic equipment and readable storage medium

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1996885A (en) * 2006-12-14 2007-07-11 杭州华为三康技术有限公司 Method, management server and device for remote control of the device upgrade time
CN101079732A (en) * 2007-05-21 2007-11-28 武汉虹信通信技术有限责任公司 Remote upgrade method of built-in system software based on FTP protocol
CN101951410A (en) * 2010-10-13 2011-01-19 国电南瑞科技股份有限公司 Method for automatically and remotely upgrading embedded terminal
CN102075564A (en) * 2010-12-23 2011-05-25 李华嵩 Remote software upgrading technique
CN102736929A (en) * 2012-08-03 2012-10-17 太原理工大学 Remote on-line upgrade method for terminal controller software of hydraulic support electrohydraulic control system
CN103414741A (en) * 2013-07-02 2013-11-27 深圳市汇川技术股份有限公司 Method and system for remote upgrade of PLC (Programmable Logic Controller)
CN107222553A (en) * 2017-06-26 2017-09-29 深圳市智物联网络有限公司 Pass through the method for Internet of Things adapter upgrade equipment, system and Internet of Things adapter
CN107508874A (en) * 2017-08-15 2017-12-22 四川东方电气自动控制工程有限公司 A kind of automatic continuous acquisition method of blower fan main operation controller data
CN207625604U (en) * 2017-06-26 2018-07-17 深圳市智物联网络有限公司 A kind of system and Internet of Things adapter by Internet of Things adapter upgrade equipment
CN110162323A (en) * 2019-05-28 2019-08-23 广州小鹏汽车科技有限公司 Onboard system upgrade method, device, storage medium and vehicle
CN110413310A (en) * 2018-04-28 2019-11-05 深圳市优必选科技有限公司 Programme upgrade method and terminal device

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1996885A (en) * 2006-12-14 2007-07-11 杭州华为三康技术有限公司 Method, management server and device for remote control of the device upgrade time
CN101079732A (en) * 2007-05-21 2007-11-28 武汉虹信通信技术有限责任公司 Remote upgrade method of built-in system software based on FTP protocol
CN101951410A (en) * 2010-10-13 2011-01-19 国电南瑞科技股份有限公司 Method for automatically and remotely upgrading embedded terminal
CN102075564A (en) * 2010-12-23 2011-05-25 李华嵩 Remote software upgrading technique
CN102736929A (en) * 2012-08-03 2012-10-17 太原理工大学 Remote on-line upgrade method for terminal controller software of hydraulic support electrohydraulic control system
CN103414741A (en) * 2013-07-02 2013-11-27 深圳市汇川技术股份有限公司 Method and system for remote upgrade of PLC (Programmable Logic Controller)
CN107222553A (en) * 2017-06-26 2017-09-29 深圳市智物联网络有限公司 Pass through the method for Internet of Things adapter upgrade equipment, system and Internet of Things adapter
CN207625604U (en) * 2017-06-26 2018-07-17 深圳市智物联网络有限公司 A kind of system and Internet of Things adapter by Internet of Things adapter upgrade equipment
CN107508874A (en) * 2017-08-15 2017-12-22 四川东方电气自动控制工程有限公司 A kind of automatic continuous acquisition method of blower fan main operation controller data
CN110413310A (en) * 2018-04-28 2019-11-05 深圳市优必选科技有限公司 Programme upgrade method and terminal device
CN110162323A (en) * 2019-05-28 2019-08-23 广州小鹏汽车科技有限公司 Onboard system upgrade method, device, storage medium and vehicle

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112910948A (en) * 2021-01-12 2021-06-04 拉扎斯网络科技(上海)有限公司 Protocol upgrading method, device, electronic equipment, storage medium and program product
CN115904462A (en) * 2023-02-10 2023-04-04 中航金网(北京)电子商务有限公司 Application program upgrading method and device, electronic equipment and readable storage medium

Similar Documents

Publication Publication Date Title
CN107979493B (en) Platform is construction method, server and the storage medium for servicing PAAS container platform
US9485134B2 (en) Managing configurations of system management agents in a distributed environment
CN110888662A (en) Vehicle remote silent upgrading method and device, vehicle and storage medium
US20220326938A1 (en) Upgrade method and apparatus
KR20030052506A (en) Method and system for remote-updating for functions of home devices
WO2011076146A1 (en) Method for downloading application data, digital television reception terminal and system
CN111741087A (en) Remote upgrading method, terminal equipment and readable storage medium
US10404568B2 (en) Agent manager for distributed transaction monitoring system
CN110166547B (en) Terminal remote access control method
CN111078266A (en) Client processing method and device for low-coupling incremental upgrading of voice software and server processing method
CN114035830A (en) Software upgrading method and device and electronic equipment
CN109189419B (en) System upgrading method, device and system, server and client
CN114064091A (en) OTA (over the air) upgrade control method and device, electronic equipment and automatic driving vehicle
CN114637549A (en) Data processing method, system and storage medium for service grid-based application
CN113094064A (en) Gateway software module upgrading method, device, equipment and storage medium
CN112379938A (en) Cross-browser safe local application calling method based on domestic operating system
CN110493644B (en) Television application upgrading method, television terminal and server
NO324486B1 (en) Method and terminals for providing data
KR100524588B1 (en) succeeding method of data in mobile
CN114925135A (en) Data export method, device, system, electronic equipment and storage medium
WO2022262444A1 (en) File management method and apparatus, and electronic device and readable storage medium
CN110781014B (en) Recording data multi-process distribution method and system based on Android device
CN112748943A (en) Upgrading method and upgrading system for non-intelligent interactive electronic whiteboard
CN112860300A (en) Distributed SDK (software development kit) hot update processing method and application server cluster
CN112333262A (en) Data updating prompting method and device, computer equipment and readable storage medium

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