CN112230957A - Equipment upgrading method based on cloud and application bridging - Google Patents

Equipment upgrading method based on cloud and application bridging Download PDF

Info

Publication number
CN112230957A
CN112230957A CN202011111117.9A CN202011111117A CN112230957A CN 112230957 A CN112230957 A CN 112230957A CN 202011111117 A CN202011111117 A CN 202011111117A CN 112230957 A CN112230957 A CN 112230957A
Authority
CN
China
Prior art keywords
file
firmware
cloud
app
equipment
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
CN202011111117.9A
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 Skyvision Technology Co ltd
Original Assignee
Shenzhen Skyvision Technology 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 Skyvision Technology Co ltd filed Critical Shenzhen Skyvision Technology Co ltd
Priority to CN202011111117.9A priority Critical patent/CN112230957A/en
Publication of CN112230957A publication Critical patent/CN112230957A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a device upgrading method based on cloud and application bridging, which is characterized by comprising the following steps: the cloud platform comprises terminal equipment, a mobile platform, background management equipment and a cloud server, wherein the mobile platform and the background management equipment are respectively connected with the server, and the terminal equipment is connected with the mobile platform; the mobile platform comprises an APP for controlling the terminal equipment, the APP assists the terminal equipment to complete upgrading by checking and comparing information of firmware, and the background management equipment is used for encrypting an upgraded firmware file and uploading the encrypted firmware file to the cloud server; in order to meet the requirements of non-software development enterprises, the ftp connection mode can be adopted to be combined with encryption and decryption of firmware files for carrying out matching upgrading. According to the invention, the support equipment updates the firmware through the mobile APP, so that the complex cloud background development is avoided, and the firmware can be updated only by a traditional network architecture; data security is enhanced, management is relatively simple, privacy and security of data transmission are guaranteed, and the risk of stealing is avoided.

Description

Equipment upgrading method based on cloud and application bridging
Technical Field
The invention belongs to the technical field of communication, and particularly relates to a device upgrading method based on cloud and application bridging.
Background
At present, since a terminal device needs to support a self-checking function and also needs to support APP checking and management, a device and a mobile platform (a mobile phone and a tablet computer) are directly connected in a point-to-point manner. In the process of using the terminal equipment, software is continuously improved at any time, the refinement of the functional requirements is realized, and the equipment has the requirement of updating the firmware. For the terminal equipment, the number of the terminal equipment has a certain scale, and manual upgrade cannot be performed one by one, so that the firmware to be updated needs to be placed in a cloud end, downloaded through the mobile equipment, updated to the terminal equipment, and then the terminal equipment completes corresponding iterative update.
In the process, due to the adoption of network information transmission, data on the network needs to be stolen to ensure the security of the data, and on the basis of conventional firmware upgrading, a series of encryption processing needs to be carried out according to specific transmission conditions, so that the security of the data is ensured.
Disclosure of Invention
The invention aims to provide a device upgrading method based on cloud and application bridging, and aims to solve the problems in the background technology. In order to realize the purpose, the invention adopts the technical scheme that:
a device upgrading method based on cloud and application bridging is characterized in that: the cloud platform comprises terminal equipment, a mobile platform, background management equipment and a cloud server, wherein the mobile platform and the background management equipment are respectively connected with the server, and the terminal equipment is connected with the mobile platform; the mobile platform comprises an APP for controlling the terminal equipment, the APP assists the terminal equipment to complete upgrading by checking and comparing information of firmware, and the background management equipment is used for encrypting an upgraded firmware file and uploading the encrypted firmware file to the cloud server; the upgrading method of the terminal equipment comprises the following working steps:
s1: the user clicks an upgrading instruction through the APP on the mobile platform, and the APP acquires the firmware state information of the current latest version from the cloud server;
s2: the APP compares the state information stored in the local and the cloud, and if the state information of the APP in the local is consistent with the cloud, the upgrading file is not downloaded; if the APP does not have the information file or the information file is inconsistent in comparison, downloading the upgrading file to the local;
s3: the APP obtains the state information of the equipment end, and compares the equipment with the latest stored firmware information of S2; if the versions are consistent, the equipment is not upgraded; otherwise, the firmware is sent to the terminal equipment;
s4: the terminal equipment starts an upgrading program according to the state information of the firmware;
s5: the terminal equipment firstly checks the upgrade package in the memory, if the upgrade package has problems, the equipment information state is changed, and the running state of the original firmware is kept; if no problem exists, copying the firmware to an upgrade file directory for upgrading;
s6: after the APP detects the state of the terminal equipment regularly, an upgrading error or success indication is sent out;
s7: and if the upgrade is successful, the equipment waits for a period of time to restart the system.
Further, the terminal device further includes a memory resident program, and the memory resident program always detects a file state in the upgrade file directory.
Further, the step of encrypting and uploading work of the background management device includes:
s11: firstly, checking through MD5, and outputting a file checking result;
s12: dividing the file into a plurality of parts, and then randomly combining and splicing;
s13: storing the segmentation sequence, and encrypting the file by a random key;
s14: a random key is retained and used for re-encryption or for attachment in an encrypted file.
Further, the step S5 further includes a file decryption step, where the file decryption step includes:
s51: after the terminal equipment acquires the file, extracting a primary key of the encrypted file in S14;
s52: obtaining a true random key of the file through calculation;
s53: acquiring the sequence of random division during encryption;
s54: recombining the divided files in combination with the random key;
s55: performing MD5 verification on the combined file;
s56: and downloading if the verification is successful, otherwise, reporting an error, and transmitting the message to the APP.
Furthermore, the mobile platform is connected with the server in an https or ftp mode.
The invention has the beneficial effects that:
1. the support equipment updates the firmware through the mobile APP, so that complex cloud background development is avoided, and the firmware can be updated only by a traditional network architecture;
2. data security is enhanced, management is relatively simple, privacy and security of data transmission are guaranteed, and the risk of stealing is avoided.
Drawings
FIG. 1 is a schematic diagram of the whole information transmission of the device according to the present invention;
fig. 2 is a schematic diagram of an upgrade process of the cloud-APP-device provided by the present invention.
Wherein, in the figures, the respective reference numerals:
1-a terminal device; 2-moving the platform; 3-a cloud server; 4-background management equipment.
Detailed Description
To facilitate an understanding of the invention, the invention will now be described more fully with reference to the accompanying drawings. Preferred embodiments of the present invention are shown in the drawings. This invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete.
It will be understood that when an element is referred to as being "secured to" another element, it can be directly on the other element or intervening elements may also be present. When an element is referred to as being "connected" to another element, it can be directly connected to the other element or intervening elements may also be present. In contrast, when an element is referred to as being "directly on" another element, there are no intervening elements present. As used herein, the terms "vertical," "horizontal," "left," "right," and the like are for illustrative purposes only and do not represent the only embodiments, and as used herein, the terms "upper," "lower," "left," "right," "front," "rear," and the like are used in a positional relationship with reference to the drawings.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used herein in the description of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
The technical solution of the present patent will be described in further detail with reference to the following embodiments.
As shown in fig. 1-2, an embodiment of the present invention provides an apparatus upgrading method based on cloud and application bridging, including a terminal apparatus 1, a mobile platform 2, a background management apparatus 4, and a cloud server 3; the mobile platform of the invention can be a mobile phone, a tablet computer or other mobile terminals.
The mobile platform 2 and the background management equipment 4 are respectively connected with the server 3, and the terminal equipment 1 is connected with the mobile platform 2; the mobile platform 2 comprises an APP for controlling the terminal equipment 1, the APP assists the terminal equipment 1 to complete upgrading through checking and comparing information of firmware, and the background management equipment 4 is used for encrypting an upgraded firmware file and uploading the encrypted firmware file to the cloud server 3; the upgrading method of the terminal equipment 1 comprises the following working steps:
s1: the user clicks the upgrading instruction through the APP on the mobile platform, and the APP acquires the firmware state information of the current latest version from the cloud server 3;
s2: the APP compares the state information stored in the local and the cloud, and if the state information of the APP in the local is consistent with the cloud, the upgrading file is not downloaded; if the APP does not have the information file or the information file is inconsistent in comparison, downloading the upgrading file to the local;
s3: the APP obtains the state information of the equipment end, and compares the equipment with the latest stored firmware information of S2; if the versions are consistent, the equipment is not upgraded; otherwise, the firmware is sent to the terminal device 1;
s4: the terminal equipment 1 starts an upgrading program according to the state information of the firmware;
s5: the terminal equipment 1 firstly checks the upgrade package in the memory, if the upgrade package has problems, the equipment information state is changed, and the running state of the original firmware is kept; if no problem exists, copying the firmware to an upgrade file directory for upgrading;
s6: after the APP detects the state of the terminal equipment 1 regularly, an upgrading error or success indication is sent out;
s7: and if the upgrade is successful, the equipment waits for a period of time to restart the system.
Further, the terminal device 1 further includes a memory resident program, and the memory resident program always detects a file state in the upgrade file directory.
Further, the step of the encrypted uploading work of the background management device 4 includes:
s11: firstly, checking through MD5, and outputting a file checking result;
s12: dividing the file into a plurality of parts, and then randomly combining and splicing;
s13: storing the segmentation sequence, and encrypting the file by a random key;
s14: the random key is retained and used for re-encryption or appended to the encrypted file.
At this point, the latest firmware is encrypted and stored in the cloud server 3, so that all the terminal devices 1 can be upgraded.
Further, the step S5 further includes a file decryption step, where the file decryption step includes:
s51: after the terminal equipment acquires the file, extracting a primary key of the encrypted file in S14;
s52: obtaining a true random key of the file through calculation;
s53: acquiring the sequence of random division during encryption;
s54: recombining the divided files by combining a random key;
s55: performing MD5 verification on the combined file;
s56: and downloading if the verification is successful, otherwise, reporting an error, and transmitting the message to the APP.
Further, the mobile platform 2 is connected with the server 3 by https or ftp. In general, enterprises can choose the https way to connect. Under special conditions, as part of enterprises have no background development foundation, traditional ftp connection can be selected to be matched with encryption and decryption of firmware files, and the data security is improved.
According to the method, the support equipment updates the firmware through the mobile APP, so that the complex cloud background development is avoided, and the firmware can be updated only by a traditional network architecture; the data security is greatly enhanced, the management is relatively simple, the privacy and the security of data transmission are ensured, and the risk of stealing is avoided.
The above embodiments are only for illustrating the invention and are not to be construed as limiting the invention, and those skilled in the art can make various changes and modifications without departing from the spirit and scope of the invention, therefore, all equivalent technical solutions also belong to the scope of the invention, and the scope of the invention is defined by the claims.

Claims (5)

1. A device upgrading method based on cloud and application bridging is characterized in that: the cloud platform comprises terminal equipment, a mobile platform, background management equipment and a cloud server, wherein the mobile platform and the background management equipment are respectively connected with the server, and the terminal equipment is connected with the mobile platform; the mobile platform comprises an APP for controlling the terminal equipment, the APP assists the terminal equipment to complete upgrading by checking and comparing information of firmware, and the background management equipment is used for encrypting an upgraded firmware file and uploading the encrypted firmware file to the cloud server; the upgrading method of the terminal equipment comprises the following working steps:
s1: the user clicks an upgrading instruction through the APP on the mobile platform, and the APP acquires the firmware state information of the current latest version from the cloud server;
s2: the APP compares the state information stored in the local and the cloud, and if the state information of the APP in the local is consistent with the cloud, the upgrading file is not downloaded; if the APP does not have the information file or the information file is inconsistent in comparison, downloading the upgrading file to the local;
s3: the APP obtains the state information of the equipment end, and compares the equipment with the latest stored firmware information of S2; if the versions are consistent, the equipment is not upgraded; otherwise, the firmware is sent to the terminal equipment;
s4: the terminal equipment starts an upgrading program according to the state information of the firmware;
s5: the terminal equipment firstly checks the upgrade package in the memory, if the upgrade package has problems, the equipment information state is changed, and the running state of the original firmware is kept; if no problem exists, copying the firmware to an upgrade file directory for upgrading;
s6: after the APP detects the state of the terminal equipment regularly, an upgrading error or success indication is sent out;
s7: and if the upgrade is successful, the equipment waits for a period of time to restart the system.
2. The cloud and application bridging-based device upgrade method according to claim 1, wherein: the terminal equipment also comprises a memory resident program which always detects the file state under the upgrade file directory.
3. The cloud and application bridging-based device upgrade method according to claim 2, wherein: the step of the encrypted uploading work of the background management equipment comprises the following steps:
s11: firstly, checking through MD5, and outputting a file checking result;
s12: dividing the file into a plurality of parts, and then randomly combining and splicing;
s13: storing the segmentation sequence, and encrypting the file by a random key;
s14: a random key is retained and used for re-encryption or for attachment in an encrypted file.
4. The cloud and application bridging-based device upgrade method according to claim 3, wherein: the step of S5 further includes a file decryption step, the file decryption step including:
s51: after the terminal equipment acquires the file, extracting a primary key of the encrypted file in S14;
s52: obtaining a true random key of the file through calculation;
s53: acquiring the sequence of random division during encryption;
s54: recombining the divided files in combination with the random key;
s55: performing MD5 verification on the combined file;
s56: and downloading if the verification is successful, otherwise, reporting an error, and transmitting the message to the APP.
5. The cloud and application bridging-based device upgrade method according to any one of claims 1 to 4, wherein: the mobile platform is connected with the server in an https or ftp mode.
CN202011111117.9A 2020-10-16 2020-10-16 Equipment upgrading method based on cloud and application bridging Pending CN112230957A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011111117.9A CN112230957A (en) 2020-10-16 2020-10-16 Equipment upgrading method based on cloud and application bridging

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011111117.9A CN112230957A (en) 2020-10-16 2020-10-16 Equipment upgrading method based on cloud and application bridging

Publications (1)

Publication Number Publication Date
CN112230957A true CN112230957A (en) 2021-01-15

Family

ID=74118538

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011111117.9A Pending CN112230957A (en) 2020-10-16 2020-10-16 Equipment upgrading method based on cloud and application bridging

Country Status (1)

Country Link
CN (1) CN112230957A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116627456A (en) * 2023-05-15 2023-08-22 深圳市易优电气有限公司 Firmware upgrading system and method

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102981879A (en) * 2012-12-03 2013-03-20 中国联合网络通信集团有限公司 Supply method, acquisition method, equipment and processing system of application software installation package
CN103248650A (en) * 2012-02-09 2013-08-14 中兴通讯股份有限公司 Document download method and system
CN103279693A (en) * 2013-05-30 2013-09-04 付弦 File encryption method
CN105376054A (en) * 2015-11-25 2016-03-02 电子科技大学 Method for extracting ciphertext based on random matrix
CN105592479A (en) * 2014-11-14 2016-05-18 董建平 Method for performing wireless upgrading on monitoring terminal device through mobile phone
CN108023778A (en) * 2017-12-14 2018-05-11 深圳市斑点猫信息技术有限公司 Firmware upgrade method and its system
CN109542486A (en) * 2018-11-23 2019-03-29 珠海格力电器股份有限公司 A kind of terminal device firmware upgrade system and its method and air-conditioning
CN109656597A (en) * 2018-12-19 2019-04-19 广东美的暖通设备有限公司 Firmware upgrade method, device and computer readable storage medium
CN110865841A (en) * 2019-11-26 2020-03-06 北谷电子有限公司上海分公司 System and method for upgrading ECU software in engineering machinery vehicle

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103248650A (en) * 2012-02-09 2013-08-14 中兴通讯股份有限公司 Document download method and system
CN102981879A (en) * 2012-12-03 2013-03-20 中国联合网络通信集团有限公司 Supply method, acquisition method, equipment and processing system of application software installation package
CN103279693A (en) * 2013-05-30 2013-09-04 付弦 File encryption method
CN105592479A (en) * 2014-11-14 2016-05-18 董建平 Method for performing wireless upgrading on monitoring terminal device through mobile phone
CN105376054A (en) * 2015-11-25 2016-03-02 电子科技大学 Method for extracting ciphertext based on random matrix
CN108023778A (en) * 2017-12-14 2018-05-11 深圳市斑点猫信息技术有限公司 Firmware upgrade method and its system
CN109542486A (en) * 2018-11-23 2019-03-29 珠海格力电器股份有限公司 A kind of terminal device firmware upgrade system and its method and air-conditioning
CN109656597A (en) * 2018-12-19 2019-04-19 广东美的暖通设备有限公司 Firmware upgrade method, device and computer readable storage medium
CN110865841A (en) * 2019-11-26 2020-03-06 北谷电子有限公司上海分公司 System and method for upgrading ECU software in engineering machinery vehicle

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116627456A (en) * 2023-05-15 2023-08-22 深圳市易优电气有限公司 Firmware upgrading system and method

Similar Documents

Publication Publication Date Title
US7657884B2 (en) Electronic device supporting multiple update agents
EP3975503A1 (en) Esim card replacement method and related device
US10911939B2 (en) Embedded universal integrated circuit card profile management method and apparatus
US9984255B2 (en) Methods and apparatus to enable runtime checksum verification of block device images
US10387856B2 (en) Online payment method, system, and apparatus
CN109787774B (en) Upgrade downloading method and device based on digital signature verification, server and terminal
US20040098715A1 (en) Over the air mobile device software management
CN107547239B (en) Configuration object updating method and device
CN105308560A (en) Method and apparatus for setting profile
CN102255887A (en) Method and system for providing online services corresponding to multiple mobile devices
CN109862099B (en) Upgrade checking method, device, terminal and system
CN104052818A (en) Version upgrade method and device for mobile terminal
CN114465998A (en) Multi-device file transmission method and device, terminal device and readable storage medium
CN114467320A (en) System, method and computer program for transferring Subscriber Identity Module (SIM) information for SIM card or ESIM activation
US10691424B2 (en) Method for programming and terminal device
CN112230957A (en) Equipment upgrading method based on cloud and application bridging
CN102622251A (en) Method and server for managing navigation software upgrading
EP3764224B1 (en) Resource permission processing method and apparatus, and storage medium and chip
CN111182527B (en) OTA (over the air) firmware upgrading method and device, terminal equipment and storage medium thereof
US11775274B2 (en) Application software installation method, device, and server
CN110554884A (en) Configuration method, device, background server and storage medium
CN113672264B (en) System upgrading method and device of embedded universal integrated circuit card and electronic equipment
CN112084254A (en) Data synchronization method and system
CN107911218A (en) A kind of firmware signature device, system and method
CN113961218A (en) Remote batch upgrading method, device, equipment and storage medium for switch

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: 20210115