CN112910948A - Protocol upgrading method, device, electronic equipment, storage medium and program product - Google Patents

Protocol upgrading method, device, electronic equipment, storage medium and program product Download PDF

Info

Publication number
CN112910948A
CN112910948A CN202110037821.2A CN202110037821A CN112910948A CN 112910948 A CN112910948 A CN 112910948A CN 202110037821 A CN202110037821 A CN 202110037821A CN 112910948 A CN112910948 A CN 112910948A
Authority
CN
China
Prior art keywords
protocol
firmware program
upgrading
version information
preset
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.)
Granted
Application number
CN202110037821.2A
Other languages
Chinese (zh)
Other versions
CN112910948B (en
Inventor
麦志望
吴远
黄平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Rajax Network Technology Co Ltd
Original Assignee
Rajax Network 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 Rajax Network Technology Co Ltd filed Critical Rajax Network Technology Co Ltd
Priority to CN202110037821.2A priority Critical patent/CN112910948B/en
Publication of CN112910948A publication Critical patent/CN112910948A/en
Application granted granted Critical
Publication of CN112910948B publication Critical patent/CN112910948B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • 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/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • H04L67/5683Storage of data provided by user terminals, i.e. reverse caching
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication

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)
  • Stored Programmes (AREA)

Abstract

The embodiment of the disclosure discloses a protocol upgrading method, a device, an electronic device, a storage medium and a program product, wherein the protocol upgrading method comprises the following steps: in response to detecting the presence of a new protocol firmware program, downloading the new protocol firmware program to a local cache through an old protocol firmware program; marking protocol upgrading parameters; in response to detecting that the protocol upgrade parameter is flagged, reading a new protocol firmware program in the local cache and overwriting the old protocol firmware program with the new protocol firmware program. This technical scheme operation flow is simple, and is efficient, and manual work, time, equipment cost are low, can realize large-scale full upgrade to make also volume production shipment when there is potential safety risk in bluetooth SOC manufacturer's protocol stack, show safety defect back at the protocol stack, can realize the urgent aerial restoration and the upgrading update of protocol stack, in order to avoid appearing the loss that the protocol stack is attacked and bring.

Description

Protocol upgrading method, device, electronic equipment, storage medium and program product
Technical Field
The present disclosure relates to the field of information transmission technologies, and in particular, to a protocol upgrading method and apparatus, an electronic device, a storage medium, and a program product.
Background
At present, the application of the Bluetooth technology in the field of Internet of things is very wide, and particularly the low-power consumption Bluetooth BLE technology which takes low power consumption as a remarkable characteristic is adopted. However, with the rapid increase of the number of bluetooth devices, the communication security of bluetooth becomes a problem that needs to be paid more and more attention, and particularly, various communication security risks exist in non-open protocol stacks provided by different bluetooth SOC (System on Chip) manufacturers, and if the protocol stacks have security problems after the bluetooth devices are used in mass production, the bluetooth devices are difficult to repair, and the risk of being attacked is very high. In the prior art, a bluetooth SOC manufacturer usually performs protocol stack upgrading by programming a hardware interface, and the protocol stack upgrading method by programming the hardware interface needs to use a data line to connect a bluetooth system and a computer, so that each bluetooth device needs to be completed manually or by devices in an auxiliary manner when upgrading, the efficiency is very low, the labor, time and device costs required to be spent are very high, and large-scale full-scale upgrading cannot be performed.
Disclosure of Invention
The embodiment of the disclosure provides a protocol upgrading method, a protocol upgrading device, electronic equipment, a storage medium and a program product.
In a first aspect, a protocol upgrading method is provided in the embodiments of the present disclosure.
Specifically, the protocol upgrading method includes:
in response to detecting the presence of a new protocol firmware program, downloading the new protocol firmware program to a local cache through an old protocol firmware program;
marking protocol upgrading parameters;
in response to detecting that the protocol upgrade parameter is flagged, reading a new protocol firmware program in the local cache and overwriting the old protocol firmware program with the new protocol firmware program.
With reference to the first aspect, in a first implementation manner of the first aspect, the present disclosure further includes:
the method comprises the steps of establishing connection with cloud equipment through connecting equipment, and sending version information of a current protocol firmware program to the connecting equipment so as to detect whether a new protocol firmware program exists or not by means of the connecting equipment.
With reference to the first aspect and the first implementation manner of the first aspect, in a second implementation manner of the first aspect, the marking a protocol upgrade parameter is implemented as:
and carrying out transmission verification on the new protocol firmware program, and marking a protocol upgrading parameter when the new protocol firmware program is determined to pass the transmission verification.
With reference to the first aspect, the first implementation manner of the first aspect, and the second implementation manner of the first aspect, in a third implementation manner of the first aspect, after the marking the protocol upgrade parameter, the embodiment of the present disclosure further includes:
and restarting.
With reference to the first aspect, the first implementation manner of the first aspect, the second implementation manner of the first aspect, and the third implementation manner of the first aspect, in a fourth implementation manner of the first aspect, the embodiment of the present disclosure further includes:
the communication is performed using the new protocol firmware program.
In a second aspect, a protocol upgrading method is provided in the embodiments of the present disclosure.
Specifically, the protocol upgrading method includes:
establishing connection with the connection equipment in response to receiving a connection request sent by the connection equipment;
acquiring the version information of a preset protocol firmware program;
when the connecting equipment is determined to meet the condition of the preset gray scale parameters, responding to a version information acquisition request sent by the connecting equipment, sending the version information of the preset protocol firmware program to the connecting equipment, or responding to the received version information of the current protocol firmware program of the protocol upgrading party sent by the connecting equipment, comparing the version information of the current protocol firmware program of the protocol upgrading party with the version information of the preset protocol firmware program, and sending the comparison result to the connecting equipment.
With reference to the second aspect, in a first implementation manner of the second aspect, the present disclosure further includes:
and receiving and storing a preset protocol firmware program and a gray scale parameter.
With reference to the second aspect and the first implementation manner of the second aspect, in a second implementation manner of the second aspect, an embodiment of the present disclosure further includes:
and sending the preset protocol firmware program to the connecting equipment in response to receiving a preset protocol firmware program acquisition request sent by the connecting equipment.
In a third aspect, an embodiment of the present disclosure provides a protocol upgrading method.
Specifically, the protocol upgrading method includes:
establishing connection with a protocol upgrading party in response to receiving a connection request sent by the protocol upgrading party;
sending a connection request to cloud equipment in response to receiving the current protocol firmware program version information sent by the protocol upgrading party, and establishing connection with the cloud equipment;
sending a version information acquisition request or the current protocol firmware program version information of the protocol upgrading party to the cloud equipment, receiving the comparison result of the preset protocol firmware program version information or the preset protocol firmware program version information sent by the cloud equipment, and determining whether a new preset protocol firmware program exists.
With reference to the third aspect, in a first implementation manner of the third aspect, the present disclosure further includes:
and in response to the fact that the new preset protocol firmware program exists, sending a preset protocol firmware program acquisition request to the cloud equipment, and sending the received preset protocol firmware program to the protocol upgrading party.
In a fourth aspect, a protocol upgrading method is provided in the embodiments of the present disclosure.
Specifically, the protocol upgrading method includes:
the method comprises the steps that a connection device establishes connection with a protocol upgrading party in response to receiving a connection request sent by the protocol upgrading party, and sends the connection request to cloud equipment in response to receiving current protocol firmware program version information sent by the protocol upgrading party;
the cloud equipment establishes connection with the connection equipment in response to receiving a connection request sent by the connection equipment, and acquires the version information of the preset protocol firmware program;
the connecting equipment sends a version information acquisition request or the version information of the current protocol firmware program of the protocol upgrading party to the cloud equipment;
when the cloud equipment determines that the connecting equipment meets the condition of a preset gray scale parameter, responding to a received version information acquisition request sent by the connecting equipment, and sending the version information of the preset protocol firmware program to the connecting equipment, or responding to the received version information of the protocol upgrading party current protocol firmware program sent by the connecting equipment, comparing the protocol upgrading party current protocol firmware program version information with the preset protocol firmware program version information, and sending a comparison result to the connecting equipment;
the method comprises the steps that a connecting device receives preset protocol firmware program version information or a comparison result of the preset protocol firmware program version information sent by the cloud device, determines whether a new preset protocol firmware program exists, and sends a preset protocol firmware program obtaining request to the cloud device in response to the fact that the new preset protocol firmware program exists;
the cloud equipment sends a preset protocol firmware program to the connecting equipment in response to receiving a preset protocol firmware program acquisition request sent by the connecting equipment;
the connecting equipment sends the received preset protocol firmware program to the protocol upgrading party;
and the protocol upgrading party downloads the new protocol firmware program to a local cache through an old protocol firmware program, marks protocol upgrading parameters, reads the new protocol firmware program in the local cache in response to detecting that the protocol upgrading parameters are marked, and uses the new protocol firmware program to cover the old protocol firmware program.
In a fifth aspect, an embodiment of the present disclosure provides a protocol upgrading apparatus.
Specifically, the protocol upgrading apparatus includes:
a download module configured to download a new protocol firmware program to a local cache through an old protocol firmware program in response to detecting the presence of the new protocol firmware program;
a marking module configured to mark the protocol upgrade parameter;
a read module configured to read a new protocol firmware program in the local cache and overwrite the old protocol firmware program with the new protocol firmware program in response to detecting that the protocol upgrade parameter is flagged.
With reference to the fifth aspect, in a first implementation manner of the fifth aspect, the present disclosure further includes:
the device comprises a first sending module and a second sending module, wherein the first sending module is configured to establish connection with cloud equipment through connecting equipment, send the version information of the current protocol firmware program to the connecting equipment, and detect whether a new protocol firmware program exists or not through the connecting equipment.
With reference to the fifth aspect and the first implementation manner of the fifth aspect, in a second implementation manner of the fifth aspect, the tagging module is configured to:
and carrying out transmission verification on the new protocol firmware program, and marking a protocol upgrading parameter when the new protocol firmware program is determined to pass the transmission verification.
With reference to the fifth aspect, the first implementation manner of the fifth aspect, and the second implementation manner of the fifth aspect, in a third implementation manner of the fifth aspect, the embodiment of the present disclosure further includes:
a start module configured to restart.
With reference to the fifth aspect, the first implementation manner of the fifth aspect, the second implementation manner of the fifth aspect, and the third implementation manner of the fifth aspect, in a fourth implementation manner of the fifth aspect, the embodiment of the present disclosure further includes:
a communication module configured to communicate using the new protocol firmware program.
In a sixth aspect, a protocol upgrading apparatus is provided in the embodiments of the present disclosure.
Specifically, the protocol upgrading apparatus includes:
the first connection module is configured to respond to the connection request sent by the connection equipment and establish connection with the connection equipment;
the acquisition module is configured to acquire the version information of the preset protocol firmware program;
and the second sending module is configured to send the version information of the preset protocol firmware program to the connecting equipment in response to receiving a version information acquisition request sent by the connecting equipment when the connecting equipment is determined to meet a preset gray parameter condition, or compare the version information of the current protocol firmware program of the protocol upgrading party with the version information of the preset protocol firmware program in response to receiving the version information of the current protocol firmware program of the protocol upgrading party sent by the connecting equipment, and send a comparison result to the connecting equipment.
With reference to the sixth aspect, the present disclosure, in a first implementation manner of the sixth aspect, further includes:
and the receiving module is configured to receive and store the preset protocol firmware program and the gray scale parameters.
With reference to the sixth aspect and the first implementation manner of the sixth aspect, in a second implementation manner of the sixth aspect, the second sending module is further configured to:
and sending the preset protocol firmware program to the connecting equipment in response to receiving a preset protocol firmware program acquisition request sent by the connecting equipment.
In a seventh aspect, an embodiment of the present disclosure provides a protocol upgrading apparatus.
Specifically, the protocol upgrading apparatus includes:
the second connection module is configured to respond to the connection request sent by the protocol upgrading party and establish connection with the protocol upgrading party;
the third connection module is configured to respond to the received current protocol firmware program version information sent by the protocol upgrading party, send a connection request to the cloud equipment, and establish connection with the cloud equipment;
a third sending module, configured to send a version information obtaining request or current protocol firmware program version information of the protocol upgrading party to the cloud device, receive the comparison result of the preset protocol firmware program version information or the preset protocol firmware program version information sent by the cloud device, and determine whether a new preset protocol firmware program exists.
With reference to the seventh aspect, in a first implementation manner of the seventh aspect, the third sending module is further configured to:
and in response to the fact that the new preset protocol firmware program exists, sending a preset protocol firmware program acquisition request to the cloud equipment, and sending the received preset protocol firmware program to the protocol upgrading party.
In an eighth aspect, an embodiment of the present disclosure provides a protocol upgrading apparatus.
Specifically, the protocol upgrading apparatus includes:
the connection device is configured to respond to a connection request sent by a protocol upgrading party, establish connection with the protocol upgrading party, respond to current protocol firmware program version information sent by the protocol upgrading party, send a connection request to cloud equipment, send a version information acquisition request or the current protocol firmware program version information of the protocol upgrading party to the cloud equipment, receive comparison results of preset protocol firmware program version information or preset protocol firmware program version information sent by the cloud equipment, determine whether a new preset protocol firmware program exists, respond to the determination that the new preset protocol firmware program exists, send a preset protocol firmware program acquisition request to the cloud equipment, and send the received preset protocol firmware program to the protocol upgrading party;
the cloud equipment is configured to respond to a connection request sent by the connection equipment, establish connection with the connection equipment, acquire the version information of the preset protocol firmware program, determine that the connection equipment meets the preset gray scale parameter condition, transmitting the preset protocol firmware program version information to the connection device in response to receiving a version information acquisition request transmitted by the connection device, or, in response to receiving the current protocol firmware program version information of the protocol upgrading party sent by the connection device, comparing the current protocol firmware program version information of the protocol upgrading party with the preset protocol firmware program version information, sending the comparison result to the connection device, and in response to receiving a preset protocol firmware program acquisition request sent by the connection device, sending the preset protocol firmware program to the connection device;
the protocol upgrading party is configured to download the new protocol firmware program to a local cache through an old protocol firmware program, mark a protocol upgrading parameter, read the new protocol firmware program in the local cache in response to detecting that the protocol upgrading parameter is marked, and use the new protocol firmware program to cover the old protocol firmware program.
In a ninth aspect, the present disclosure provides an electronic device, including a memory and at least one processor, wherein the memory is configured to store one or more computer instructions, and wherein the one or more computer instructions are executed by the at least one processor to implement the method steps of the protocol upgrade method.
In a tenth aspect, embodiments of the present disclosure provide a computer-readable storage medium for storing computer instructions for a protocol upgrading apparatus, which includes computer instructions for performing the protocol upgrading method described above as a protocol upgrading apparatus.
In an eleventh aspect, the present disclosure provides a computer program product comprising a computer program/instructions, wherein the computer program/instructions, when executed by a processor, implement the method steps of the protocol upgrade method described above.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
the technical scheme realizes the over-the-air upgrading of the protocol stack by means of over-the-air downloading and the transfer of the protocol stack file. This technical scheme operation flow is simple, and is efficient, and manual work, time, equipment cost are low, can realize large-scale full upgrade to make also volume production shipment when there is potential safety risk in bluetooth SOC manufacturer's protocol stack, show safety defect back at the protocol stack, can realize the urgent aerial restoration and the upgrading update of protocol stack, in order to avoid appearing the loss that the protocol stack is attacked and bring.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
Other features, objects, and advantages of the present disclosure will become more apparent from the following detailed description of non-limiting embodiments when taken in conjunction with the accompanying drawings. In the drawings:
FIG. 1 illustrates a flow diagram of a protocol upgrade method according to an embodiment of the present disclosure;
FIG. 2 shows a flow diagram of a protocol upgrade method according to another embodiment of the present disclosure;
FIG. 3 shows a flow diagram of a protocol upgrade method according to another embodiment of the present disclosure;
FIG. 4 illustrates a flow diagram of a protocol upgrade method according to yet another embodiment of the present disclosure;
FIG. 5 illustrates an overall flow diagram of a protocol upgrade method according to an embodiment of the present disclosure;
fig. 6 shows a block diagram of a protocol upgrading apparatus according to an embodiment of the present disclosure;
fig. 7 illustrates a block diagram of a protocol upgrading apparatus according to another embodiment of the present disclosure;
fig. 8 shows a block diagram of a protocol upgrading apparatus according to another embodiment of the present disclosure;
fig. 9 illustrates a block diagram of a protocol upgrading apparatus according to still another embodiment of the present disclosure;
FIG. 10 shows a block diagram of an electronic device according to an embodiment of the present disclosure;
FIG. 11 is a schematic block diagram of a computer system suitable for implementing a protocol upgrade method according to an embodiment of the present disclosure.
Detailed Description
Hereinafter, exemplary embodiments of the present disclosure will be described in detail with reference to the accompanying drawings so that those skilled in the art can easily implement them. Also, for the sake of clarity, parts not relevant to the description of the exemplary embodiments are omitted in the drawings.
In the present disclosure, it is to be understood that terms such as "including" or "having," etc., are intended to indicate the presence of the disclosed features, numbers, steps, behaviors, components, parts, or combinations thereof, and are not intended to preclude the possibility that one or more other features, numbers, steps, behaviors, components, parts, or combinations thereof may be present or added.
It should be further noted that the embodiments and features of the embodiments in the present disclosure may be combined with each other without conflict. The present disclosure will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
The technical scheme provided by the embodiment of the disclosure realizes the over-the-air upgrade of the protocol stack by means of over-the-air download and the transfer of the protocol stack file. This technical scheme operation flow is simple, and is efficient, and manual work, time, equipment cost are low, can realize large-scale full upgrade to make also volume production shipment when there is potential safety risk in bluetooth SOC manufacturer's protocol stack, show safety defect back at the protocol stack, can realize the urgent aerial restoration and the upgrading update of protocol stack, in order to avoid appearing the loss that the protocol stack is attacked and bring.
Fig. 1 shows a flowchart of a protocol upgrading method according to an embodiment of the present disclosure, as shown in fig. 1, the protocol upgrading method includes the following steps S101-S103:
in step S101, in response to detecting that a new protocol firmware program exists, downloading the new protocol firmware program to a local cache through an old protocol firmware program;
in step S102, the protocol upgrade parameters are marked;
in step S103, in response to detecting that the protocol upgrade parameter is marked, reading a new protocol firmware program in the local cache, and overwriting the old protocol firmware program with the new protocol firmware program.
As mentioned above, the application of bluetooth technology in the field of internet of things is very wide at present, and in particular, Bluetooth Low Energy (BLE) technology which is characterized by low power consumption is a significant feature. However, with the rapid increase of the number of bluetooth devices, the communication security of bluetooth becomes a problem that needs to be paid more and more attention, and especially, the non-open protocol stacks provided by different bluetooth SOC manufacturers have various communication security risks, and if the security problems of the protocol stacks occur after the bluetooth SOC is used in mass production, the bluetooth SOC is difficult to repair, and the risk of attack is very high. In the prior art, a bluetooth SOC manufacturer usually performs protocol stack upgrading by programming a hardware interface, and the protocol stack upgrading method by programming the hardware interface needs to use a data line to connect a bluetooth system and a computer, so that each bluetooth device needs to be completed manually or by devices in an auxiliary manner when upgrading, the efficiency is very low, the labor, time and device costs required to be spent are very high, and large-scale full-scale upgrading cannot be performed.
In view of the above-mentioned drawbacks, in this embodiment, a protocol upgrading method is proposed, which implements over-the-air upgrading of a protocol stack by means of over-the-air downloading and migration of protocol stack files. This technical scheme operation flow is simple, and is efficient, and manual work, time, equipment cost are low, can realize large-scale full upgrade to make also volume production shipment when there is potential safety risk in bluetooth SOC manufacturer's protocol stack, show safety defect back at the protocol stack, can realize the urgent aerial restoration and the upgrading update of protocol stack, in order to avoid appearing the loss that the protocol stack is attacked and bring.
In an embodiment of the present disclosure, the protocol upgrading method may be applied to a protocol upgrading party, such as a computer, a computing device, and an electronic device, that performs upgrading processing on a preset protocol.
In an embodiment of the present disclosure, the protocol refers to a data operation rule established for achieving a certain data operation purpose, such as a network data transmission protocol, a bluetooth communication protocol, and the like. When the protocol is a bluetooth communication protocol, the protocol upgrading party may be, for example, a bluetooth chip, device, terminal, system, etc. that transmits data using the bluetooth communication protocol. For ease of explanation and illustration, the present disclosure will be described below with reference to a bluetooth communication protocol as an example.
In an embodiment of the present disclosure, the local cache refers to a cache region or a cache device local to the protocol upgrading party, for example, when the protocol upgrading party is a bluetooth chip, the local cache may be an Over-the-Air (OTA) cache region in the bluetooth chip.
In an embodiment of the present disclosure, the protocol upgrade parameter refers to a parameter used to indicate whether a protocol firmware program has been updated or is to be updated, where the protocol upgrade parameter may be stored in a preset area, and when the protocol upgrade party is a bluetooth chip, the protocol upgrade parameter may be stored in an OTA parameter area in the bluetooth chip. For example, in this embodiment, when the protocol upgrade parameter is marked, it may be considered that the new protocol firmware program has been downloaded to the local cache, and the new protocol firmware program needs to be read from the local cache to overwrite or replace the previous old protocol firmware program. The protocol upgrade parameter may be marked by using a plurality of methods, for example, the protocol upgrade parameter may be marked as a preset fixed character, for example, the protocol upgrade parameter is marked as 1 whenever a new protocol firmware program is detected to exist and downloaded, and the protocol upgrade parameter is restored to 0 when the new protocol firmware program is detected not to exist and downloaded; or marking the protocol upgrading parameter according to a preset character change rule, for example, adding 1 to the protocol upgrading parameter every time a new protocol firmware program is detected to exist and the new protocol firmware program is downloaded, and keeping the protocol upgrading parameter unchanged when the new protocol firmware program is detected not to exist and the protocol firmware program is not downloaded.
In the above embodiment, if it is detected that a new protocol firmware program exists, the new protocol firmware program is downloaded to a local cache through an old protocol firmware program, then a protocol upgrade parameter is marked, and then the new protocol firmware program in the local cache is read, and the new protocol firmware program is used to cover the old protocol firmware program, thereby completing the over-the-air upgrade and update of the protocol firmware program. The steps can be guided and completed by a bootstrap program preset at the protocol upgrading party, when the protocol upgrading party is a Bluetooth chip, the bootstrap program can be burnt into the Bluetooth chip in advance, and the protocol upgrading parameters in the OTA parameter area can be guided and checked to see whether marked or not every time the Bluetooth chip is started, namely whether a new protocol firmware program exists or not.
In an embodiment of the present disclosure, the method may further include the steps of:
the method comprises the steps of establishing connection with cloud equipment through connecting equipment, and sending version information of a current protocol firmware program to the connecting equipment so as to detect whether a new protocol firmware program exists or not by means of the connecting equipment.
In this embodiment, it is determined whether a new protocol firmware program is present by means of the connection device and the cloud device, wherein the new protocol firmware program is stored in advance on the cloud device. Specifically, the protocol upgrading party is connected with the connection device through bluetooth, and the connection device can be connected with the cloud device through data transmission paths such as a mobile network, a fixed network, a WIFI network, a local area network and the like. The protocol upgrading party sends version information of the protocol firmware program currently used by the protocol upgrading party to the connecting equipment so that the connecting equipment confirms whether a new protocol firmware program exists currently or not based on communication with the cloud equipment. The connection device refers to a device for connecting the protocol upgrading party and the cloud device and establishing a communication channel between the protocol upgrading party and the cloud device, and the connection device may be a device such as a mobile phone.
In an embodiment of the present disclosure, the step S102, namely, the step of marking the protocol upgrade parameter, may be implemented as:
and carrying out transmission verification on the new protocol firmware program, and marking a protocol upgrading parameter when the new protocol firmware program is determined to pass the transmission verification.
In order to guarantee the security of downloaded data, after the new protocol firmware program is downloaded to a local cache, transmission verification is also performed on the downloaded new protocol firmware program, wherein the transmission verification can comprise verification contents such as transmission correctness verification, transmission security verification, transmission validity verification and the like, and when the new protocol firmware program is determined to pass the transmission verification, namely the new protocol firmware program is determined to be correct, safe and legal, the protocol upgrading parameter is marked so as to start a subsequent protocol firmware program upgrading process.
In an embodiment of the present disclosure, the step S102, after marking the protocol upgrade parameter, may further include the following steps:
and restarting.
As mentioned above, the bootstrap program pre-burned into the bluetooth chip checks whether the protocol upgrade parameter in the OTA parameter area is marked at each start-up, i.e. whether a new protocol firmware program exists, and therefore, in this embodiment, a restart step is performed before detecting whether the protocol upgrade parameter is marked.
In an embodiment of the present disclosure, the method may further include the steps of:
the communication is performed using the new protocol firmware program.
In this embodiment, after the old protocol firmware program is overwritten with the new protocol firmware program and the upgrade update of the protocol firmware program is completed, the communication using the new protocol firmware program is performed.
Fig. 2 shows a flowchart of a protocol upgrading method according to another embodiment of the present disclosure, as shown in fig. 2, the protocol upgrading method includes the following steps S201-S203:
in step S201, in response to receiving a connection request sent by a connection device, establishing a connection with the connection device;
in step S202, acquiring version information of a preset protocol firmware program;
in step S203, when it is determined that the connection device meets the condition of the preset grayscale parameter, in response to receiving a version information acquisition request sent by the connection device, sending the version information of the preset protocol firmware program to the connection device, or in response to receiving the version information of the protocol upgrade party 'S current protocol firmware program sent by the connection device, comparing the version information of the protocol upgrade party' S current protocol firmware program with the version information of the preset protocol firmware program, and sending a comparison result to the connection device.
As mentioned above, the application of bluetooth technology in the field of internet of things is very wide at present, and in particular, Bluetooth Low Energy (BLE) technology which is characterized by low power consumption is a significant feature. However, with the rapid increase of the number of bluetooth devices, the communication security of bluetooth becomes a problem that needs to be paid more and more attention, and especially, the non-open protocol stacks provided by different bluetooth SOC manufacturers have various communication security risks, and if the security problems of the protocol stacks occur after the bluetooth SOC is used in mass production, the bluetooth SOC is difficult to repair, and the risk of attack is very high. In the prior art, a bluetooth SOC manufacturer usually performs protocol stack upgrading by programming a hardware interface, and the protocol stack upgrading method by programming the hardware interface needs to use a data line to connect a bluetooth system and a computer, so that each bluetooth device needs to be completed manually or by devices in an auxiliary manner when upgrading, the efficiency is very low, the labor, time and device costs required to be spent are very high, and large-scale full-scale upgrading cannot be performed.
In view of the above-mentioned drawbacks, in this embodiment, a protocol upgrading method is proposed, which implements over-the-air upgrading of a protocol stack by means of over-the-air downloading and migration of protocol stack files. This technical scheme operation flow is simple, and is efficient, and manual work, time, equipment cost are low, can realize large-scale full upgrade to make also volume production shipment when there is potential safety risk in bluetooth SOC manufacturer's protocol stack, show safety defect back at the protocol stack, can realize the urgent aerial restoration and the upgrading update of protocol stack, in order to avoid appearing the loss that the protocol stack is attacked and bring.
In an embodiment of the present disclosure, the protocol upgrading method may be applied to a cloud device such as a computer, a computing device, an electronic device, a server cluster, and the like, which performs upgrading processing on a preset protocol.
In an embodiment of the present disclosure, the preset protocol firmware program refers to a preset protocol firmware program, for example, when the protocol is a network data transmission protocol, the preset protocol firmware program refers to a network data transmission protocol firmware program, and when the protocol is a bluetooth communication protocol, the preset protocol firmware program refers to a bluetooth communication protocol firmware program.
In an embodiment of the present disclosure, the grayscale parameter refers to a parameter required for performing grayscale processing, where the grayscale processing refers to a regional and batch upgrade processing method for ensuring stability of program upgrade and obtaining test verification or differentiated test results to control rhythm and range of program upgrade, and therefore, the grayscale parameter may be, for example, device identification information for performing upgrade in batches, regional range for performing upgrade in batches, upgrade program version information, system version information, related hardware version information, and other parameters. The device meeting the preset gray parameter condition can be considered as a device meeting the current upgrading operation condition, is in the range of the current upgrading operation, and can subsequently carry out upgrading operation.
In the embodiment, if a connection request sent by a connection device is received, connection is established with the connection device through data transmission paths such as a mobile network, a fixed network, a WIFI network, a local area network and the like; then obtaining version information of a preset protocol firmware program, wherein the preset protocol firmware program is stored in the cloud equipment; when the connecting equipment is determined to meet the condition of a preset gray scale parameter, if a version information acquisition request sent by the connecting equipment is received, sending the version information of the preset protocol firmware program to the connecting equipment so that the connecting equipment judges whether a new protocol firmware program exists or not according to the version information of the preset protocol firmware program, namely whether program upgrading is needed or not; if the current protocol firmware program version information of the protocol upgrading party sent by the connecting equipment is received, comparing the current protocol firmware program version information of the protocol upgrading party with the preset protocol firmware program version information, and sending a comparison result, such as consistency or inconsistency, needing to be upgraded or not needing to be upgraded to the connecting equipment, namely, judging whether the program is needed to be upgraded or not by the cloud equipment.
In an embodiment of the present disclosure, the method may further include the steps of:
and receiving and storing a preset protocol firmware program and a gray scale parameter.
In order to send the preset protocol firmware program to the connection device in time when needed, and then send the preset protocol firmware program to the protocol upgrading party through the connection device, in this embodiment, the preset protocol firmware program and the grayscale parameter need to be received in advance and stored.
In an embodiment of the present disclosure, the method may further include the steps of:
and sending the preset protocol firmware program to the connecting equipment in response to receiving a preset protocol firmware program acquisition request sent by the connecting equipment.
After the cloud equipment or the connection equipment judges that program upgrading is needed, the connection equipment sends a preset protocol firmware program obtaining request to the cloud equipment to obtain a new preset protocol firmware program, and at the moment, the cloud equipment can send the preset protocol firmware program to the connection equipment according to the request so that the connection equipment forwards the preset protocol firmware program to the protocol upgrading party for protocol upgrading.
Technical terms and technical features related to the technical terms and technical features shown in fig. 2 and related embodiments are the same as or similar to those of the technical terms and technical features shown in fig. 1 and related embodiments, and for the explanation and description of the technical terms and technical features related to the technical terms and technical features shown in fig. 2 and related embodiments, reference may be made to the above explanation of the explanation of fig. 1 and related embodiments, and no further description is provided here.
Fig. 3 shows a flowchart of a protocol upgrading method according to another embodiment of the present disclosure, as shown in fig. 3, the protocol upgrading method includes the following steps S301-S303:
in step S301, in response to receiving a connection request sent by a protocol upgrading party, establishing a connection with the protocol upgrading party;
in step S302, in response to receiving the current protocol firmware program version information sent by the protocol upgrading party, sending a connection request to a cloud device, and establishing a connection with the cloud device;
in step S303, a version information obtaining request or the current protocol firmware program version information of the protocol upgrading party is sent to the cloud device, and the comparison result of the preset protocol firmware program version information or the preset protocol firmware program version information sent by the cloud device is received, so as to determine whether a new preset protocol firmware program exists.
As mentioned above, the application of bluetooth technology in the field of internet of things is very wide at present, and in particular, Bluetooth Low Energy (BLE) technology which is characterized by low power consumption is a significant feature. However, with the rapid increase of the number of bluetooth devices, the communication security of bluetooth becomes a problem that needs to be paid more and more attention, and especially, the non-open protocol stacks provided by different bluetooth SOC manufacturers have various communication security risks, and if the security problems of the protocol stacks occur after the bluetooth SOC is used in mass production, the bluetooth SOC is difficult to repair, and the risk of attack is very high. In the prior art, a bluetooth SOC manufacturer usually performs protocol stack upgrading by programming a hardware interface, and the protocol stack upgrading method by programming the hardware interface needs to use a data line to connect a bluetooth system and a computer, so that each bluetooth device needs to be completed manually or by devices in an auxiliary manner when upgrading, the efficiency is very low, the labor, time and device costs required to be spent are very high, and large-scale full-scale upgrading cannot be performed.
In view of the above-mentioned drawbacks, in this embodiment, a protocol upgrading method is proposed, which implements over-the-air upgrading of a protocol stack by means of over-the-air downloading and migration of protocol stack files. This technical scheme operation flow is simple, and is efficient, and manual work, time, equipment cost are low, can realize large-scale full upgrade to make also volume production shipment when there is potential safety risk in bluetooth SOC manufacturer's protocol stack, show safety defect back at the protocol stack, can realize the urgent aerial restoration and the upgrading update of protocol stack, in order to avoid appearing the loss that the protocol stack is attacked and bring.
In an embodiment of the present disclosure, the protocol upgrading method may be applied to a connection device such as an electronic device and a mobile phone terminal that performs upgrading processing on a preset protocol.
In the embodiment, after receiving the connection request sent by the protocol upgrading party, the connection is established with the protocol upgrading party through Bluetooth, then after receiving the current protocol firmware program version information sent by the protocol upgrading party, sending a connection request to the cloud equipment, so as to establish connection with the cloud equipment through data transmission ways such as a mobile network, a fixed network, a WIFI network, a local area network and the like, then sending a version information acquisition request to the cloud equipment to acquire the version information of the preset protocol firmware program sent by the cloud equipment, or sending current protocol firmware program version information of the protocol upgrading party to the cloud equipment, and the cloud equipment judges whether program upgrading is needed or not, and receives a comparison result of the version information of the preset protocol firmware program sent by the cloud equipment after the cloud equipment judges that the program upgrading is needed.
In an embodiment of the present disclosure, the method may further include the steps of:
and in response to the fact that the new preset protocol firmware program exists, sending a preset protocol firmware program acquisition request to the cloud equipment, and sending the received preset protocol firmware program to the protocol upgrading party.
In this embodiment, after determining that a new preset protocol firmware program exists, a preset protocol firmware program acquisition request is sent to the cloud device to acquire the new preset protocol firmware program, and the received preset protocol firmware program is sent to the protocol upgrading party, so that the protocol upgrading party upgrades the preset protocol firmware program.
Technical terms and technical features related to the technical terms and technical features shown in fig. 3 and related embodiments are the same as or similar to those of the technical terms and technical features shown in fig. 1-2 and related embodiments, and for the explanation and description of the technical terms and technical features related to the technical terms and technical features shown in fig. 3 and related embodiments, reference may be made to the above explanation of the embodiment shown in fig. 1-2 and related embodiments, and no further description is provided here.
Fig. 4 shows a flowchart of a protocol upgrading method according to still another embodiment of the present disclosure, as shown in fig. 4, the protocol upgrading method includes the following steps S401-S408:
in step S401, in response to receiving a connection request sent by a protocol upgrading party, a connection device establishes a connection with the protocol upgrading party, and in response to receiving current protocol firmware program version information sent by the protocol upgrading party, sends a connection request to a cloud device;
in step S402, in response to receiving a connection request sent by a connection device, the cloud device establishes a connection with the connection device, and acquires version information of a preset protocol firmware program;
in step S403, the connection device sends a version information acquisition request or version information of the current protocol firmware program of the protocol upgrade party to the cloud device;
in step S404, when the cloud device determines that the connection device meets a preset grayscale parameter condition, in response to receiving a version information acquisition request sent by the connection device, sending the preset protocol firmware program version information to the connection device, or in response to receiving protocol upgrade party current protocol firmware program version information sent by the connection device, comparing the protocol upgrade party current protocol firmware program version information with the preset protocol firmware program version information, and sending a comparison result to the connection device;
in step S405, the connection device receives the version information of the preset protocol firmware program or the comparison result of the version information of the preset protocol firmware program sent by the cloud device, determines whether a new preset protocol firmware program exists, and sends a preset protocol firmware program acquisition request to the cloud device in response to determining that the new preset protocol firmware program exists;
in step S406, in response to receiving a preset protocol firmware program acquisition request sent by the connection device, the cloud device sends the preset protocol firmware program to the connection device;
in step S407, the connection device sends the received preset protocol firmware program to the protocol upgrading party;
in step S408, the protocol upgrading party downloads the new protocol firmware program to the local cache through the old protocol firmware program, marks a protocol upgrading parameter, reads the new protocol firmware program in the local cache in response to detecting that the protocol upgrading parameter is marked, and overwrites the old protocol firmware program with the new protocol firmware program.
As mentioned above, the application of bluetooth technology in the field of internet of things is very wide at present, and in particular, Bluetooth Low Energy (BLE) technology which is characterized by low power consumption is a significant feature. However, with the rapid increase of the number of bluetooth devices, the communication security of bluetooth becomes a problem that needs to be paid more and more attention, and especially, the non-open protocol stacks provided by different bluetooth SOC manufacturers have various communication security risks, and if the security problems of the protocol stacks occur after the bluetooth SOC is used in mass production, the bluetooth SOC is difficult to repair, and the risk of attack is very high. In the prior art, a bluetooth SOC manufacturer usually performs protocol stack upgrading by programming a hardware interface, and the protocol stack upgrading method by programming the hardware interface needs to use a data line to connect a bluetooth system and a computer, so that each bluetooth device needs to be completed manually or by devices in an auxiliary manner when upgrading, the efficiency is very low, the labor, time and device costs required to be spent are very high, and large-scale full-scale upgrading cannot be performed.
In view of the above-mentioned drawbacks, in this embodiment, a protocol upgrading method is proposed, which implements over-the-air upgrading of a protocol stack by means of over-the-air downloading and migration of protocol stack files. This technical scheme operation flow is simple, and is efficient, and manual work, time, equipment cost are low, can realize large-scale full upgrade to make also volume production shipment when there is potential safety risk in bluetooth SOC manufacturer's protocol stack, show safety defect back at the protocol stack, can realize the urgent aerial restoration and the upgrading update of protocol stack, in order to avoid appearing the loss that the protocol stack is attacked and bring.
In an embodiment of the present disclosure, the protocol upgrading method may be applied to a protocol upgrading system that performs upgrading processing on a preset protocol and includes a protocol upgrading party, a connection device, and a cloud device.
Technical terms and technical features related to the technical terms and technical features shown in fig. 4 and related embodiments are the same as or similar to those of the technical terms and technical features shown in fig. 1 to 3 and related embodiments, and for the explanation and description of the technical terms and technical features related to the technical terms and technical features shown in fig. 4 and related embodiments, reference may be made to the above explanation of the embodiment shown in fig. 1 to 3 and related embodiments, and no further description is provided here.
Fig. 5 is an overall flowchart of a protocol upgrading method according to an embodiment of the present disclosure, and as shown in fig. 5, a protocol upgrading party sends a connection request to a connection device, the connection device establishes a connection with the protocol upgrading party, the protocol upgrading party sends current protocol firmware program version information to the connection device, and the connection device sends a connection request to a cloud device; after receiving a connection request sent by a connection device, the cloud device establishes connection with the connection device to acquire version information of a preset protocol firmware program; the connecting equipment sends a version information acquisition request or the version information of the current protocol firmware program of the protocol upgrading party to the cloud equipment; when the cloud equipment determines that the connection equipment meets the condition of a preset gray scale parameter, if a version information acquisition request sent by the connection equipment is received, sending the version information of the preset protocol firmware program to the connection equipment, if the version information of the protocol upgrading party current protocol firmware program sent by the connection equipment is received, comparing the version information of the protocol upgrading party current protocol firmware program with the version information of the preset protocol firmware program, and sending a comparison result to the connection equipment; the method comprises the steps that a connecting device determines whether a new preset protocol firmware program exists or not, and sends a preset protocol firmware program obtaining request to the cloud device after determining that the new preset protocol firmware program exists; the cloud equipment sends the preset protocol firmware program to the connection equipment; the connecting equipment sends the preset protocol firmware program to the protocol upgrading party; and the protocol upgrading party downloads the new protocol firmware program to a local cache through an old protocol firmware program, marks protocol upgrading parameters, reads the new protocol firmware program in the local cache in response to detecting that the protocol upgrading parameters are marked, and uses the new protocol firmware program to cover the old protocol firmware program.
The following are embodiments of the disclosed apparatus that may be used to perform embodiments of the disclosed methods.
Fig. 6 shows a block diagram of a protocol upgrading apparatus according to an embodiment of the present disclosure, which may be implemented as part or all of an electronic device by software, hardware, or a combination of both. As shown in fig. 6, the protocol upgrading apparatus includes:
a downloading module 601 configured to, in response to detecting that a new protocol firmware program exists, download the new protocol firmware program to a local cache through an old protocol firmware program;
a marking module 602 configured to mark the protocol upgrade parameters;
a reading module 603 configured to read the new protocol firmware program in the local cache and overwrite the old protocol firmware program with the new protocol firmware program in response to detecting that the protocol upgrade parameter is flagged.
As mentioned above, the application of bluetooth technology in the field of internet of things is very wide at present, and in particular, Bluetooth Low Energy (BLE) technology which is characterized by low power consumption is a significant feature. However, with the rapid increase of the number of bluetooth devices, the communication security of bluetooth becomes a problem that needs to be paid more and more attention, and especially, the non-open protocol stacks provided by different bluetooth SOC manufacturers have various communication security risks, and if the security problems of the protocol stacks occur after the bluetooth SOC is used in mass production, the bluetooth SOC is difficult to repair, and the risk of attack is very high. In the prior art, a bluetooth SOC manufacturer usually performs protocol stack upgrading by programming a hardware interface, and the protocol stack upgrading method by programming the hardware interface needs to use a data line to connect a bluetooth system and a computer, so that each bluetooth device needs to be completed manually or by devices in an auxiliary manner when upgrading, the efficiency is very low, the labor, time and device costs required to be spent are very high, and large-scale full-scale upgrading cannot be performed.
In view of the above drawbacks, in this embodiment, a protocol upgrading apparatus is proposed, which implements over-the-air upgrading of a protocol stack by means of over-the-air downloading and migration of protocol stack files. This technical scheme operation flow is simple, and is efficient, and manual work, time, equipment cost are low, can realize large-scale full upgrade to make also volume production shipment when there is potential safety risk in bluetooth SOC manufacturer's protocol stack, show safety defect back at the protocol stack, can realize the urgent aerial restoration and the upgrading update of protocol stack, in order to avoid appearing the loss that the protocol stack is attacked and bring.
In an embodiment of the present disclosure, the protocol upgrading apparatus may be implemented as a protocol upgrading party, such as a computer, a computing device, and an electronic device, that performs upgrading processing on a preset protocol.
In an embodiment of the present disclosure, the protocol refers to a data operation rule established for achieving a certain data operation purpose, such as a network data transmission protocol, a bluetooth communication protocol, and the like. When the protocol is a bluetooth communication protocol, the protocol upgrading party may be, for example, a bluetooth chip, device, terminal, system, etc. that transmits data using the bluetooth communication protocol. For ease of explanation and illustration, the present disclosure will be described below with reference to a bluetooth communication protocol as an example.
In an embodiment of the present disclosure, the local cache refers to a cache region or a cache device local to the protocol upgrading party, for example, when the protocol upgrading party is a bluetooth chip, the local cache may be an Over-the-Air (OTA) cache region in the bluetooth chip.
In an embodiment of the present disclosure, the protocol upgrade parameter refers to a parameter used to indicate whether a protocol firmware program has been updated or is to be updated, where the protocol upgrade parameter may be stored in a preset area, and when the protocol upgrade party is a bluetooth chip, the protocol upgrade parameter may be stored in an OTA parameter area in the bluetooth chip. For example, in this embodiment, when the protocol upgrade parameter is marked, it may be considered that the new protocol firmware program has been downloaded to the local cache, and the new protocol firmware program needs to be read from the local cache to overwrite or replace the previous old protocol firmware program. The protocol upgrade parameter may be marked by using a plurality of methods, for example, the protocol upgrade parameter may be marked as a preset fixed character, for example, the protocol upgrade parameter is marked as 1 whenever a new protocol firmware program is detected to exist and downloaded, and the protocol upgrade parameter is restored to 0 when the new protocol firmware program is detected not to exist and downloaded; or marking the protocol upgrading parameter according to a preset character change rule, for example, adding 1 to the protocol upgrading parameter every time a new protocol firmware program is detected to exist and the new protocol firmware program is downloaded, and keeping the protocol upgrading parameter unchanged when the new protocol firmware program is detected not to exist and the protocol firmware program is not downloaded.
In the above embodiment, if it is detected that a new protocol firmware program exists, the new protocol firmware program is downloaded to a local cache through an old protocol firmware program, then a protocol upgrade parameter is marked, and then the new protocol firmware program in the local cache is read, and the new protocol firmware program is used to cover the old protocol firmware program, thereby completing the over-the-air upgrade and update of the protocol firmware program. The steps can be guided and completed by a bootstrap program preset at the protocol upgrading party, when the protocol upgrading party is a Bluetooth chip, the bootstrap program can be burnt into the Bluetooth chip in advance, and the protocol upgrading parameters in the OTA parameter area can be guided and checked to see whether marked or not every time the Bluetooth chip is started, namely whether a new protocol firmware program exists or not.
In an embodiment of the present disclosure, the apparatus may further include:
the device comprises a first sending module and a second sending module, wherein the first sending module is configured to establish connection with cloud equipment through connecting equipment, send the version information of the current protocol firmware program to the connecting equipment, and detect whether a new protocol firmware program exists or not through the connecting equipment.
In this embodiment, it is determined whether a new protocol firmware program is present by means of the connection device and the cloud device, wherein the new protocol firmware program is stored in advance on the cloud device. Specifically, the protocol upgrading party is connected with the connection device through bluetooth, and the connection device can be connected with the cloud device through data transmission paths such as a mobile network, a fixed network, a WIFI network, a local area network and the like. The protocol upgrading party sends version information of the protocol firmware program currently used by the protocol upgrading party to the connecting equipment so that the connecting equipment confirms whether a new protocol firmware program exists currently or not based on communication with the cloud equipment. The connection device refers to a device for connecting the protocol upgrading party and the cloud device and establishing a communication channel between the protocol upgrading party and the cloud device, and the connection device may be a device such as a mobile phone.
In an embodiment of the present disclosure, the tagging module 602 may be configured to:
and carrying out transmission verification on the new protocol firmware program, and marking a protocol upgrading parameter when the new protocol firmware program is determined to pass the transmission verification.
In order to guarantee the security of downloaded data, after the new protocol firmware program is downloaded to a local cache, transmission verification is also performed on the downloaded new protocol firmware program, wherein the transmission verification can comprise verification contents such as transmission correctness verification, transmission security verification, transmission validity verification and the like, and when the new protocol firmware program is determined to pass the transmission verification, namely the new protocol firmware program is determined to be correct, safe and legal, the protocol upgrading parameter is marked so as to start a subsequent protocol firmware program upgrading process.
In an embodiment of the present disclosure, the apparatus may further include:
a start module configured to restart.
As mentioned above, the bootstrap program pre-burned into the bluetooth chip checks whether the protocol upgrade parameter in the OTA parameter area is marked at each start-up, i.e. whether a new protocol firmware program exists, and therefore, in this embodiment, a restart step is performed before detecting whether the protocol upgrade parameter is marked.
In an embodiment of the present disclosure, the apparatus may further include:
a communication module configured to communicate using the new protocol firmware program.
In this embodiment, after the old protocol firmware program is overwritten with the new protocol firmware program and the upgrade update of the protocol firmware program is completed, the communication using the new protocol firmware program is performed.
Fig. 7 shows a block diagram of a protocol upgrading apparatus according to another embodiment of the present disclosure, which may be implemented as part or all of an electronic device by software, hardware, or a combination of both. As shown in fig. 7, the protocol upgrading apparatus includes:
a first connection module 701 configured to establish a connection with a connection device in response to receiving a connection request sent by the connection device;
an obtaining module 702 configured to obtain version information of a preset protocol firmware program;
a second sending module 703, configured to, when it is determined that the connection device meets a preset grayscale parameter condition, send, in response to receiving a version information acquisition request sent by the connection device, the preset protocol firmware program version information to the connection device, or, in response to receiving the protocol upgrade party current protocol firmware program version information sent by the connection device, compare the protocol upgrade party current protocol firmware program version information with the preset protocol firmware program version information, and send a comparison result to the connection device.
As mentioned above, the application of bluetooth technology in the field of internet of things is very wide at present, and in particular, Bluetooth Low Energy (BLE) technology which is characterized by low power consumption is a significant feature. However, with the rapid increase of the number of bluetooth devices, the communication security of bluetooth becomes a problem that needs to be paid more and more attention, and especially, the non-open protocol stacks provided by different bluetooth SOC manufacturers have various communication security risks, and if the security problems of the protocol stacks occur after the bluetooth SOC is used in mass production, the bluetooth SOC is difficult to repair, and the risk of attack is very high. In the prior art, a bluetooth SOC manufacturer usually performs protocol stack upgrading by programming a hardware interface, and the protocol stack upgrading method by programming the hardware interface needs to use a data line to connect a bluetooth system and a computer, so that each bluetooth device needs to be completed manually or by devices in an auxiliary manner when upgrading, the efficiency is very low, the labor, time and device costs required to be spent are very high, and large-scale full-scale upgrading cannot be performed.
In view of the above drawbacks, in this embodiment, a protocol upgrading apparatus is proposed, which implements over-the-air upgrading of a protocol stack by means of over-the-air downloading and migration of protocol stack files. This technical scheme operation flow is simple, and is efficient, and manual work, time, equipment cost are low, can realize large-scale full upgrade to make also volume production shipment when there is potential safety risk in bluetooth SOC manufacturer's protocol stack, show safety defect back at the protocol stack, can realize the urgent aerial restoration and the upgrading update of protocol stack, in order to avoid appearing the loss that the protocol stack is attacked and bring.
In an embodiment of the present disclosure, the protocol upgrading apparatus may be implemented as a cloud device such as a computer, a computing device, an electronic device, a server cluster, and the like, which performs upgrading processing on a preset protocol.
In an embodiment of the present disclosure, the preset protocol firmware program refers to a preset protocol firmware program, for example, when the protocol is a network data transmission protocol, the preset protocol firmware program refers to a network data transmission protocol firmware program, and when the protocol is a bluetooth communication protocol, the preset protocol firmware program refers to a bluetooth communication protocol firmware program.
In an embodiment of the present disclosure, the grayscale parameter refers to a parameter required for performing grayscale processing, where the grayscale processing refers to a regional and batch upgrade processing method for ensuring stability of program upgrade and obtaining test verification or differentiated test results to control rhythm and range of program upgrade, and therefore, the grayscale parameter may be, for example, device identification information for performing upgrade in batches, regional range for performing upgrade in batches, upgrade program version information, system version information, related hardware version information, and other parameters. The device meeting the preset gray parameter condition can be considered as a device meeting the current upgrading operation condition, is in the range of the current upgrading operation, and can subsequently carry out upgrading operation.
In the embodiment, if a connection request sent by a connection device is received, connection is established with the connection device through data transmission paths such as a mobile network, a fixed network, a WIFI network, a local area network and the like; then obtaining version information of a preset protocol firmware program, wherein the preset protocol firmware program is stored in the cloud equipment; when the connecting equipment is determined to meet the condition of a preset gray scale parameter, if a version information acquisition request sent by the connecting equipment is received, sending the version information of the preset protocol firmware program to the connecting equipment so that the connecting equipment judges whether a new protocol firmware program exists or not according to the version information of the preset protocol firmware program, namely whether program upgrading is needed or not; if the current protocol firmware program version information of the protocol upgrading party sent by the connecting equipment is received, comparing the current protocol firmware program version information of the protocol upgrading party with the preset protocol firmware program version information, and sending a comparison result, such as consistency or inconsistency, needing to be upgraded or not needing to be upgraded to the connecting equipment, namely, judging whether the program is needed to be upgraded or not by the cloud equipment.
In an embodiment of the present disclosure, the apparatus may further include:
and the receiving module is configured to receive and store the preset protocol firmware program and the gray scale parameters.
In order to send the preset protocol firmware program to the connection device in time when needed, and then send the preset protocol firmware program to the protocol upgrading party through the connection device, in this embodiment, the preset protocol firmware program and the grayscale parameter need to be received in advance and stored.
In an embodiment of the present disclosure, the second sending module 703 may be further configured to:
and sending the preset protocol firmware program to the connecting equipment in response to receiving a preset protocol firmware program acquisition request sent by the connecting equipment.
After the cloud equipment or the connection equipment judges that program upgrading is needed, the connection equipment sends a preset protocol firmware program obtaining request to the cloud equipment to obtain a new preset protocol firmware program, and at the moment, the cloud equipment can send the preset protocol firmware program to the connection equipment according to the request so that the connection equipment forwards the preset protocol firmware program to the protocol upgrading party for protocol upgrading.
Technical terms and technical features related to the technical terms and technical features shown in fig. 7 and related embodiments are the same as or similar to those of the technical terms and technical features shown in fig. 6 and related embodiments, and for the explanation and description of the technical terms and technical features related to the technical terms and technical features shown in fig. 7 and related embodiments, reference may be made to the above explanation of the explanation of fig. 7 and related embodiments, and no further description is provided here.
Fig. 8 shows a block diagram of a protocol upgrading apparatus according to still another embodiment of the present disclosure, which may be implemented as part or all of an electronic device by software, hardware, or a combination of both. As shown in fig. 8, the protocol upgrading apparatus includes:
a second connection module 801 configured to establish a connection with a protocol upgrading party in response to receiving a connection request sent by the protocol upgrading party;
a third connection module 802, configured to send a connection request to a cloud device in response to receiving the current protocol firmware program version information sent by the protocol upgrading party, and establish a connection with the cloud device;
a third sending module 803, configured to send a version information obtaining request or the current protocol firmware program version information of the protocol upgrading party to the cloud device, receive the preset protocol firmware program version information or the comparison result of the preset protocol firmware program version information sent by the cloud device, and determine whether a new preset protocol firmware program exists.
As mentioned above, the application of bluetooth technology in the field of internet of things is very wide at present, and in particular, Bluetooth Low Energy (BLE) technology which is characterized by low power consumption is a significant feature. However, with the rapid increase of the number of bluetooth devices, the communication security of bluetooth becomes a problem that needs to be paid more and more attention, and especially, the non-open protocol stacks provided by different bluetooth SOC manufacturers have various communication security risks, and if the security problems of the protocol stacks occur after the bluetooth SOC is used in mass production, the bluetooth SOC is difficult to repair, and the risk of attack is very high. In the prior art, a bluetooth SOC manufacturer usually performs protocol stack upgrading by programming a hardware interface, and the protocol stack upgrading method by programming the hardware interface needs to use a data line to connect a bluetooth system and a computer, so that each bluetooth device needs to be completed manually or by devices in an auxiliary manner when upgrading, the efficiency is very low, the labor, time and device costs required to be spent are very high, and large-scale full-scale upgrading cannot be performed.
In view of the above drawbacks, in this embodiment, a protocol upgrading apparatus is proposed, which implements over-the-air upgrading of a protocol stack by means of over-the-air downloading and migration of protocol stack files. This technical scheme operation flow is simple, and is efficient, and manual work, time, equipment cost are low, can realize large-scale full upgrade to make also volume production shipment when there is potential safety risk in bluetooth SOC manufacturer's protocol stack, show safety defect back at the protocol stack, can realize the urgent aerial restoration and the upgrading update of protocol stack, in order to avoid appearing the loss that the protocol stack is attacked and bring.
In an embodiment of the present disclosure, the protocol upgrading apparatus may be implemented as a connection device such as an electronic device and a mobile phone terminal that performs upgrading processing on a preset protocol.
In the embodiment, after receiving the connection request sent by the protocol upgrading party, the connection is established with the protocol upgrading party through Bluetooth, then after receiving the current protocol firmware program version information sent by the protocol upgrading party, sending a connection request to the cloud equipment, so as to establish connection with the cloud equipment through data transmission ways such as a mobile network, a fixed network, a WIFI network, a local area network and the like, then sending a version information acquisition request to the cloud equipment to acquire the version information of the preset protocol firmware program sent by the cloud equipment, or sending current protocol firmware program version information of the protocol upgrading party to the cloud equipment, and the cloud equipment judges whether program upgrading is needed or not, and receives a comparison result of the version information of the preset protocol firmware program sent by the cloud equipment after the cloud equipment judges that the program upgrading is needed.
In an embodiment of the present disclosure, the third sending module 803 may be further configured to:
and in response to the fact that the new preset protocol firmware program exists, sending a preset protocol firmware program acquisition request to the cloud equipment, and sending the received preset protocol firmware program to the protocol upgrading party.
In this embodiment, after determining that a new preset protocol firmware program exists, a preset protocol firmware program acquisition request is sent to the cloud device to acquire the new preset protocol firmware program, and the received preset protocol firmware program is sent to the protocol upgrading party, so that the protocol upgrading party upgrades the preset protocol firmware program.
Technical terms and technical features related to the technical terms and technical features shown in fig. 8 and related embodiments are the same as or similar to those of the technical terms and technical features shown in fig. 6 to 7 and related embodiments, and for explanation and explanation of the technical terms and technical features related to the technical terms and technical features shown in fig. 8 and related embodiments, reference may be made to the above explanation of the technical terms and technical features shown in fig. 6 to 7 and related embodiments, and detailed description thereof is omitted.
Fig. 9 shows a block diagram of a protocol upgrading apparatus according to still another embodiment of the present disclosure, which may be implemented as part or all of an electronic device by software, hardware, or a combination of both. As shown in fig. 9, the protocol upgrading apparatus includes:
the connection device 901 is configured to establish a connection with a protocol upgrading party in response to receiving a connection request sent by the protocol upgrading party, send a connection request to a cloud device in response to receiving current protocol firmware program version information sent by the protocol upgrading party, send a version information acquisition request or current protocol firmware program version information of the protocol upgrading party to the cloud device, receive comparison results of preset protocol firmware program version information or preset protocol firmware program version information sent by the cloud device, determine whether a new preset protocol firmware program exists, send a preset protocol firmware program acquisition request to the cloud device in response to determining that the new preset protocol firmware program exists, and send the received preset protocol firmware program to the protocol upgrading party;
the cloud device 902 is configured to, in response to receiving a connection request sent by a connection device, establish a connection with the connection device, obtain the preset protocol firmware program version information, determine that the connection device meets the preset grayscale parameter condition, transmitting the preset protocol firmware program version information to the connection device in response to receiving a version information acquisition request transmitted by the connection device, or, in response to receiving the current protocol firmware program version information of the protocol upgrading party sent by the connection device, comparing the current protocol firmware program version information of the protocol upgrading party with the preset protocol firmware program version information, sending the comparison result to the connection device, and in response to receiving a preset protocol firmware program acquisition request sent by the connection device, sending the preset protocol firmware program to the connection device;
a protocol updater 903 configured to download the new protocol firmware program to a local cache via an old protocol firmware program, tag a protocol upgrade parameter, read the new protocol firmware program in the local cache in response to detecting that the protocol upgrade parameter is tagged, and overwrite the old protocol firmware program with the new protocol firmware program
As mentioned above, the application of bluetooth technology in the field of internet of things is very wide at present, and in particular, Bluetooth Low Energy (BLE) technology which is characterized by low power consumption is a significant feature. However, with the rapid increase of the number of bluetooth devices, the communication security of bluetooth becomes a problem that needs to be paid more and more attention, and especially, the non-open protocol stacks provided by different bluetooth SOC manufacturers have various communication security risks, and if the security problems of the protocol stacks occur after the bluetooth SOC is used in mass production, the bluetooth SOC is difficult to repair, and the risk of attack is very high. In the prior art, a bluetooth SOC manufacturer usually performs protocol stack upgrading by programming a hardware interface, and the protocol stack upgrading method by programming the hardware interface needs to use a data line to connect a bluetooth system and a computer, so that each bluetooth device needs to be completed manually or by devices in an auxiliary manner when upgrading, the efficiency is very low, the labor, time and device costs required to be spent are very high, and large-scale full-scale upgrading cannot be performed.
In view of the above drawbacks, in this embodiment, a protocol upgrading apparatus is proposed, which implements over-the-air upgrading of a protocol stack by means of over-the-air downloading and migration of protocol stack files. This technical scheme operation flow is simple, and is efficient, and manual work, time, equipment cost are low, can realize large-scale full upgrade to make also volume production shipment when there is potential safety risk in bluetooth SOC manufacturer's protocol stack, show safety defect back at the protocol stack, can realize the urgent aerial restoration and the upgrading update of protocol stack, in order to avoid appearing the loss that the protocol stack is attacked and bring.
In an embodiment of the present disclosure, the protocol upgrading apparatus may be implemented as a protocol upgrading system that performs upgrading processing on a preset protocol and includes a protocol upgrading party, a connection device, and a cloud device.
Technical terms and technical features related to the technical terms and technical features shown in fig. 9 and related embodiments are the same as or similar to those of the technical terms and technical features shown in fig. 6 to 8 and related embodiments, and for explanation and explanation of the technical terms and technical features related to the technical terms and technical features shown in fig. 9 and related embodiments, reference may be made to the above explanation of the technical terms and technical features shown in fig. 6 to 8 and related embodiments, and no further description is provided here.
The present disclosure also discloses an electronic device, fig. 10 shows a block diagram of the electronic device according to an embodiment of the present disclosure, and as shown in fig. 10, the electronic device 1000 includes a memory 1001 and a processor 1002; wherein the content of the first and second substances,
the memory 1001 is used to store one or more computer instructions that are executed by the processor 1002 to implement the above-described method steps.
FIG. 11 is a schematic block diagram of a computer system suitable for implementing a protocol upgrade method according to an embodiment of the present disclosure.
As shown in fig. 11, the computer system 1100 includes a processing unit 1101, which can execute various processes in the above-described embodiments according to a program stored in a Read Only Memory (ROM)1102 or a program loaded from a storage section 1108 into a Random Access Memory (RAM) 1103. In the RAM1103, various programs and data necessary for the operation of the system 1100 are also stored. The processing unit 1101, the ROM1102, and the RAM1103 are connected to each other by a bus 1104. An input/output (I/O) interface 1105 is also connected to bus 1104.
The following components are connected to the I/O interface 1105: an input portion 1106 including a keyboard, mouse, and the like; an output portion 1107 including a signal output unit such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and a speaker; a storage section 1108 including a hard disk and the like; and a communication section 1109 including a network interface card such as a LAN card, a modem, or the like. The communication section 1109 performs communication processing via a network such as the internet. A driver 1110 is also connected to the I/O interface 1105 as necessary. A removable medium 1111 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 1110 as necessary, so that a computer program read out therefrom is mounted into the storage section 1108 as necessary. The processing unit 1101 may be implemented as a CPU, a GPU, a TPU, an FPGA, an NPU, or other processing units.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowcharts or block diagrams may represent a module, a program segment, or a portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units or modules described in the embodiments of the present disclosure may be implemented by software or hardware. The units or modules described may also be provided in a processor, and the names of the units or modules do not in some cases constitute a limitation of the units or modules themselves.
As another aspect, the present disclosure also provides a computer-readable storage medium, which may be the computer-readable storage medium included in the apparatus in the above-described embodiment; or it may be a separate computer readable storage medium not incorporated into the device. The computer readable storage medium stores one or more programs for use by one or more processors in performing the methods described in the present disclosure.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention in the present disclosure is not limited to the specific combination of the above-mentioned features, but also encompasses other embodiments in which any combination of the above-mentioned features or their equivalents is possible without departing from the inventive concept. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.

Claims (10)

1. A protocol upgrade method, comprising:
in response to detecting the presence of a new protocol firmware program, downloading the new protocol firmware program to a local cache through an old protocol firmware program;
marking protocol upgrading parameters;
in response to detecting that the protocol upgrade parameter is flagged, reading a new protocol firmware program in the local cache and overwriting the old protocol firmware program with the new protocol firmware program.
2. A protocol upgrade method, comprising:
establishing connection with the connection equipment in response to receiving a connection request sent by the connection equipment;
acquiring the version information of a preset protocol firmware program;
when the connecting equipment is determined to meet the condition of the preset gray scale parameters, responding to a version information acquisition request sent by the connecting equipment, sending the version information of the preset protocol firmware program to the connecting equipment, or responding to the received version information of the current protocol firmware program of the protocol upgrading party sent by the connecting equipment, comparing the version information of the current protocol firmware program of the protocol upgrading party with the version information of the preset protocol firmware program, and sending the comparison result to the connecting equipment.
3. A protocol upgrade method, comprising:
establishing connection with a protocol upgrading party in response to receiving a connection request sent by the protocol upgrading party;
sending a connection request to cloud equipment in response to receiving the current protocol firmware program version information sent by the protocol upgrading party, and establishing connection with the cloud equipment;
sending a version information acquisition request or the current protocol firmware program version information of the protocol upgrading party to the cloud equipment, receiving the comparison result of the preset protocol firmware program version information or the preset protocol firmware program version information sent by the cloud equipment, and determining whether a new preset protocol firmware program exists.
4. A protocol upgrade method, comprising:
the method comprises the steps that a connection device establishes connection with a protocol upgrading party in response to receiving a connection request sent by the protocol upgrading party, and sends the connection request to cloud equipment in response to receiving current protocol firmware program version information sent by the protocol upgrading party;
the cloud equipment establishes connection with the connection equipment in response to receiving a connection request sent by the connection equipment, and acquires the version information of the preset protocol firmware program;
the connecting equipment sends a version information acquisition request or the version information of the current protocol firmware program of the protocol upgrading party to the cloud equipment;
when the cloud equipment determines that the connecting equipment meets the condition of a preset gray scale parameter, responding to a received version information acquisition request sent by the connecting equipment, and sending the version information of the preset protocol firmware program to the connecting equipment, or responding to the received version information of the protocol upgrading party current protocol firmware program sent by the connecting equipment, comparing the protocol upgrading party current protocol firmware program version information with the preset protocol firmware program version information, and sending a comparison result to the connecting equipment;
the method comprises the steps that a connecting device receives preset protocol firmware program version information or a comparison result of the preset protocol firmware program version information sent by the cloud device, determines whether a new preset protocol firmware program exists, and sends a preset protocol firmware program obtaining request to the cloud device in response to the fact that the new preset protocol firmware program exists;
the cloud equipment sends a preset protocol firmware program to the connecting equipment in response to receiving a preset protocol firmware program acquisition request sent by the connecting equipment;
the connecting equipment sends the received preset protocol firmware program to the protocol upgrading party;
and the protocol upgrading party downloads the new protocol firmware program to a local cache through an old protocol firmware program, marks protocol upgrading parameters, reads the new protocol firmware program in the local cache in response to detecting that the protocol upgrading parameters are marked, and uses the new protocol firmware program to cover the old protocol firmware program.
5. A protocol upgrading apparatus comprising:
a download module configured to download a new protocol firmware program to a local cache through an old protocol firmware program in response to detecting the presence of the new protocol firmware program;
a marking module configured to mark the protocol upgrade parameter;
a read module configured to read a new protocol firmware program in the local cache and overwrite the old protocol firmware program with the new protocol firmware program in response to detecting that the protocol upgrade parameter is flagged.
6. A protocol upgrading apparatus comprising:
the first connection module is configured to respond to the connection request sent by the connection equipment and establish connection with the connection equipment;
the acquisition module is configured to acquire the version information of the preset protocol firmware program;
and the second sending module is configured to send the version information of the preset protocol firmware program to the connecting equipment in response to receiving a version information acquisition request sent by the connecting equipment when the connecting equipment is determined to meet a preset gray parameter condition, or compare the version information of the current protocol firmware program of the protocol upgrading party with the version information of the preset protocol firmware program in response to receiving the version information of the current protocol firmware program of the protocol upgrading party sent by the connecting equipment, and send a comparison result to the connecting equipment.
7. A protocol upgrading apparatus comprising:
the second connection module is configured to respond to the connection request sent by the protocol upgrading party and establish connection with the protocol upgrading party;
the third connection module is configured to respond to the received current protocol firmware program version information sent by the protocol upgrading party, send a connection request to the cloud equipment, and establish connection with the cloud equipment;
a third sending module, configured to send a version information obtaining request or current protocol firmware program version information of the protocol upgrading party to the cloud device, receive the comparison result of the preset protocol firmware program version information or the preset protocol firmware program version information sent by the cloud device, and determine whether a new preset protocol firmware program exists.
8. An electronic device comprising a memory and at least one processor; wherein the memory is to store one or more computer instructions, wherein the one or more computer instructions are to be executed by the at least one processor to implement the method steps of any one of claims 1-4.
9. A computer readable storage medium having stored thereon computer instructions which, when executed by a processor, carry out the method steps of any of claims 1-4.
10. A computer program product comprising computer programs/instructions, wherein the computer programs/instructions, when executed by a processor, implement the method steps of any of claims 1-4.
CN202110037821.2A 2021-01-12 2021-01-12 Protocol upgrading method, device, electronic equipment, storage medium and program product Active CN112910948B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110037821.2A CN112910948B (en) 2021-01-12 2021-01-12 Protocol upgrading method, device, electronic equipment, storage medium and program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110037821.2A CN112910948B (en) 2021-01-12 2021-01-12 Protocol upgrading method, device, electronic equipment, storage medium and program product

Publications (2)

Publication Number Publication Date
CN112910948A true CN112910948A (en) 2021-06-04
CN112910948B CN112910948B (en) 2023-05-09

Family

ID=76112490

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110037821.2A Active CN112910948B (en) 2021-01-12 2021-01-12 Protocol upgrading method, device, electronic equipment, storage medium and program product

Country Status (1)

Country Link
CN (1) CN112910948B (en)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1991761A (en) * 2005-12-30 2007-07-04 北京华旗资讯数码科技有限公司 Firmware program on-line upgrading method and hardware equipment
CN102779056A (en) * 2012-06-28 2012-11-14 深圳市芯海科技有限公司 Long-distance program updating method and system
CN103246536A (en) * 2013-04-28 2013-08-14 常州南京大学高新技术研究院 Method for wirelessly upgrading firmware of instrumented positioning system
CN106210102A (en) * 2016-07-20 2016-12-07 广州小鸡快跑网络科技有限公司 The method and device of radio upgrade handle firmware based on bluetooth BLE
CN107239302A (en) * 2017-05-10 2017-10-10 努比亚技术有限公司 A kind of firmware upgrade method, terminal and server
CN107301064A (en) * 2017-05-19 2017-10-27 深圳Tcl新技术有限公司 Upgrade method, television terminal and the computer-readable recording medium of bluetooth firmware
WO2017198015A1 (en) * 2016-05-17 2017-11-23 中兴通讯股份有限公司 Software upgrading method and apparatus
WO2018086478A1 (en) * 2016-11-08 2018-05-17 深圳创维数字技术有限公司 Method and device for upgrading wifi module in set top box, set top box and system
CN108804118A (en) * 2018-04-25 2018-11-13 顺丰科技有限公司 Firmware upgrade method, equipment and storage medium
CN108958781A (en) * 2018-07-05 2018-12-07 嘉兴天控信息科技有限公司 A kind of remote embedded firmware on line upgrading method
CN109905256A (en) * 2017-12-07 2019-06-18 阿里巴巴集团控股有限公司 A kind of firmware update and device
US20190199834A1 (en) * 2017-12-27 2019-06-27 UBTECH Robotics Corp. Method, apparatus and terminal device for communication protocol compatibility
CN111741087A (en) * 2020-06-09 2020-10-02 科华恒盛股份有限公司 Remote upgrading method, terminal equipment and readable storage medium

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1991761A (en) * 2005-12-30 2007-07-04 北京华旗资讯数码科技有限公司 Firmware program on-line upgrading method and hardware equipment
CN102779056A (en) * 2012-06-28 2012-11-14 深圳市芯海科技有限公司 Long-distance program updating method and system
CN103246536A (en) * 2013-04-28 2013-08-14 常州南京大学高新技术研究院 Method for wirelessly upgrading firmware of instrumented positioning system
WO2017198015A1 (en) * 2016-05-17 2017-11-23 中兴通讯股份有限公司 Software upgrading method and apparatus
CN106210102A (en) * 2016-07-20 2016-12-07 广州小鸡快跑网络科技有限公司 The method and device of radio upgrade handle firmware based on bluetooth BLE
WO2018086478A1 (en) * 2016-11-08 2018-05-17 深圳创维数字技术有限公司 Method and device for upgrading wifi module in set top box, set top box and system
CN107239302A (en) * 2017-05-10 2017-10-10 努比亚技术有限公司 A kind of firmware upgrade method, terminal and server
CN107301064A (en) * 2017-05-19 2017-10-27 深圳Tcl新技术有限公司 Upgrade method, television terminal and the computer-readable recording medium of bluetooth firmware
CN109905256A (en) * 2017-12-07 2019-06-18 阿里巴巴集团控股有限公司 A kind of firmware update and device
US20190199834A1 (en) * 2017-12-27 2019-06-27 UBTECH Robotics Corp. Method, apparatus and terminal device for communication protocol compatibility
CN108804118A (en) * 2018-04-25 2018-11-13 顺丰科技有限公司 Firmware upgrade method, equipment and storage medium
CN108958781A (en) * 2018-07-05 2018-12-07 嘉兴天控信息科技有限公司 A kind of remote embedded firmware on line upgrading method
CN111741087A (en) * 2020-06-09 2020-10-02 科华恒盛股份有限公司 Remote upgrading method, terminal equipment and readable storage medium

Also Published As

Publication number Publication date
CN112910948B (en) 2023-05-09

Similar Documents

Publication Publication Date Title
EP3333704B1 (en) Method and apparatus for repairing kernel vulnerability
CN107920112B (en) Configuration file pushing method supporting gray mode, central server and storage medium
CN109413186B (en) Application program updating method, terminal, server and system
CN109388417B (en) Communication protocol updating method, system and terminal equipment
KR101201276B1 (en) Method, software and apparatus for performing actions on a wireless device using action lists and versioning
CN106850241A (en) A kind of vehicle-mounted OBD terminals and its remote upgrade method
US20220229654A1 (en) Enabling upgrading firmware of a target device
CN112134961B (en) Client use control method, client and computer storage medium
CN104519105A (en) Method and device for acquiring applications matched with terminals
US7392518B1 (en) Robust remote flash ROM upgrade system and method
CN109582344A (en) Increment updating method, device, Cloud Server and computer readable storage medium
CN112953994B (en) Data acquisition method, acquisition device, terminal equipment and readable storage medium
CN112910948A (en) Protocol upgrading method, device, electronic equipment, storage medium and program product
US11775274B2 (en) Application software installation method, device, and server
CN113050960A (en) OTA (over the air) upgrading method and device, vehicle-mounted terminal and storage medium
CN112379902A (en) Method, apparatus and computer-readable storage medium for adapting a plurality of end devices
CN113867756A (en) Software upgrading method, terminal equipment and readable storage medium
CN110825406A (en) Software upgrading method and related equipment
CN101854442A (en) Network device and firmware updating method thereof
CN111124456A (en) Method and device for upgrading firmware of single chip microcomputer through master control and readable storage medium
CN112887389B (en) Version-based equipment interoperation method, system, device and storage medium
US20230036444A1 (en) System, method, and non-transitory storage medium
CN113886047A (en) Task processing method and device
CN117851981A (en) Software registration method, device, vehicle, storage medium and software release system
CN117714281A (en) Upgrading method and device of switch firmware and related products

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant