CN112905202A - Chip upgrading method, burning device and chip upgrading system - Google Patents
Chip upgrading method, burning device and chip upgrading system Download PDFInfo
- Publication number
- CN112905202A CN112905202A CN202110169052.1A CN202110169052A CN112905202A CN 112905202 A CN112905202 A CN 112905202A CN 202110169052 A CN202110169052 A CN 202110169052A CN 112905202 A CN112905202 A CN 112905202A
- Authority
- CN
- China
- Prior art keywords
- data
- chip
- request
- decrypted
- legal
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 43
- 238000004891 communication Methods 0.000 claims abstract description 44
- 238000012545 processing Methods 0.000 claims abstract description 41
- 238000012795 verification Methods 0.000 claims abstract description 27
- 238000013500 data storage Methods 0.000 claims description 12
- 230000008569 process Effects 0.000 description 8
- 238000010586 diagram Methods 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000005674 electromagnetic induction Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000003384 imaging method Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000010355 oscillation Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
- G06F8/63—Image based installation; Cloning; Build to order
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/12—Applying verification of the received information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/34—Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/568—Storing data temporarily at an intermediate stage, e.g. caching
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- Mobile Radio Communication Systems (AREA)
- Storage Device Security (AREA)
Abstract
The invention discloses a chip upgrading method, burning equipment and a chip upgrading system, wherein the method is applied to a read-write processing chip in the burning equipment and comprises the following steps: after establishing wireless communication connection with the chip, receiving request data sent by the chip and caching the request data; decrypting the request data to obtain decrypted data; judging whether the decrypted data is legal or not according to a matching result of matching the verification key in the decrypted data with the plurality of preset keys; if the decrypted data is judged to be legal, the target data corresponding to the request content in the decrypted data is returned to the chip, and the chip is upgraded, so that the plurality of chips are upgraded simultaneously in a radio frequency mode, the burning convenience and burning efficiency are improved, and the burning cost is reduced.
Description
Technical Field
The invention relates to the technical field of chip upgrading, in particular to a chip upgrading method, burning equipment and a chip upgrading system.
Background
The chip can be used for printers such as laser printers, ink jet printers or image forming apparatuses such as multifunctional integrated machines, and stores information about printing consumable cartridges such as ink cartridges, toner cartridges, and the main functions are identification of the use of the printers and recording of the use status.
A chip applied to an imaging device is usually designed by a Micro Controller Unit (MCU), where the MCU includes a program area and a data area, a program code executable by the MCU is stored in the program area, and a communication function with a printer is realized as a result of the MCU executing the program code in the program area. And information on the cartridge of the printing supplies, such as toner usage, date of manufacture, manufacturer, model number, serial number, or ink amount information, is stored in the data area. When the CPU of most MCUs executes the program code in the program area to communicate with the printer, the program code in the program area cannot be erased and written, and is a read-only attribute for the printer, in order to avoid the program code being erased accidentally. But the data in the data area is readable and writable, so that the data in the data area can be updated or rewritten by an external burning device.
At present, different burning heads are adopted to independently burn or rewrite chips with different models by upgrading the chips. However, the data updating manner increases with the increasing of the chip models and the number of the chips, the number of the burning heads to be configured also increases, the burning convenience and efficiency are low, and the burning cost is high.
Disclosure of Invention
The invention provides a chip upgrading method, burning equipment and a chip upgrading system, and solves the technical problems of low burning convenience and efficiency and high burning cost in the existing chip upgrading process due to the fact that corresponding burning heads are required to be respectively configured according to the types and the number of chips.
The invention provides a chip upgrading method applied to a read-write processing chip in burning equipment, which comprises the following steps:
after establishing wireless communication connection with a chip, receiving request data sent by the chip and caching the request data;
decrypting the request data to obtain decrypted data;
judging whether the decrypted data is legal or not according to a matching result of matching the verification key in the decrypted data with a plurality of preset keys;
and if the decrypted data is judged to be legal, returning target data corresponding to the request content in the decrypted data to the chip, and finishing upgrading the chip.
Optionally, before the step of receiving the request data sent by the chip after establishing the wireless communication connection with the chip, the method further includes:
acquiring ID data of the chip;
verifying whether the ID data is legal;
and if the ID data is judged to be legal, establishing wireless communication connection with the chip.
Optionally, the method further comprises:
if the ID data are judged to be illegal, skipping to execute the step of acquiring the ID data of the chip, and accumulating the acquisition times;
and when the acquisition times reach a first preset time, disconnecting the chip.
Optionally, the step of determining whether the decrypted data is legal according to a matching result of matching the verification key in the decrypted data with a plurality of preset keys includes:
extracting an authentication key from the decrypted data;
traversing a plurality of preset keys, and judging whether the verification key is successfully matched with any preset key;
if the verification key is successfully matched with any one of the preset keys, judging that the decrypted data is legal;
and if the verification key is failed to be matched with all the preset keys, judging that the decrypted data is illegal.
Optionally, the method further comprises:
if the decrypted data is judged to be illegal, skipping to execute the step of decrypting the request data to obtain decrypted data, and accumulating the decryption times;
and when the decryption times reach a second preset time, disconnecting the wireless communication connection with the chip.
Optionally, the requesting content includes a data rewriting request, and if it is determined that the decrypted data is legal, returning target data corresponding to the requesting content in the decrypted data to the chip to complete upgrading of the chip, including:
if the decrypted data is judged to be legal, acquiring data to be written corresponding to the data rewriting request;
judging whether the data to be written is legal or not;
if the data to be written is judged to be legal, converting the data to be written into radio frequency data;
and returning the radio frequency data serving as target data to the chip to finish upgrading the chip.
The second aspect of the present invention provides a burning device, in which a read-write processing chip to which the chip upgrading method according to any one of the first aspect of the present invention is applied is built, and the read-write processing chip includes an interface module;
the interface module includes:
the data buffer sub-module is used for receiving and caching request data sent by the chip after establishing wireless communication connection with the chip;
the data encryption and decryption submodule is used for decrypting the request data to obtain decrypted data;
the control submodule is used for judging whether the decrypted data is legal or not according to a matching result of matching the verification key in the decrypted data with a plurality of preset keys; and if the decrypted data is judged to be legal, returning target data corresponding to the request content in the decrypted data to the chip, and finishing upgrading the chip.
Optionally, the read-write processing chip further includes a radio frequency module, and the radio frequency module includes a power supply circuit; and the power supply circuit is used for supplying power to the read-write processing chip.
Optionally, the radio frequency module further comprises a modem;
the modem is used for demodulating the request data after receiving the request data; and modulating the target data.
The third aspect of the present invention provides a chip upgrade system, which includes a chip and the burning device of the second aspect of the present invention;
the chip comprises a data storage module and a wireless communication module;
the wireless communication module is used for receiving the target data returned by the burning equipment and writing the target data into the data storage module after sending the request data;
and the data storage module is used for receiving the target data written by the wireless communication module and finishing upgrading the chip.
According to the technical scheme, the invention has the following advantages:
after the wireless communication connection is established between the read-write processing chip in the burning device and the chip, the request data sent by the chip is received and cached, the cached request data is decrypted to obtain decrypted data, whether the decrypted data is legal or not is judged according to the matching result of the verification key and the preset keys in the decrypted data, and if yes, the processing operation corresponding to the request content in the decrypted data is executed, so that the chip is upgraded. Therefore, the technical problems that in the existing chip upgrading process, corresponding burning heads are required to be respectively configured according to the chip models and the number, burning convenience and efficiency are low, and burning cost is high are solved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a flowchart illustrating steps of a chip upgrading method according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating steps of a chip upgrading method according to a second embodiment of the present invention;
fig. 3 is a block diagram of a recording apparatus according to a third embodiment of the present invention;
fig. 4 is a block diagram of a chip upgrade system according to a fourth embodiment of the present invention.
Detailed Description
The embodiment of the invention provides a chip upgrading method, burning equipment and a chip upgrading system, which are used for solving the technical problems of low burning convenience and efficiency and high burning cost in the existing chip upgrading process because corresponding burning heads are required to be respectively configured according to the types and the number of chips.
In order to make the objects, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the embodiments described below are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a flowchart illustrating a chip upgrading method according to an embodiment of the present invention.
The invention provides a chip upgrading method, which is applied to a read-write processing chip in burning equipment, and comprises the following steps:
in the embodiment of the invention, after the read-write processing chip in the burning device establishes wireless communication connection with the chip, the request data can be sent to the burning device through the chip, and the burning device provides a data base for upgrading the chip by caching on the read-write processing chip.
The request data refers to a chip upgrading request generated by the chip in response to the wireless communication connection established with the burning device.
in a specific implementation, in order to prevent illegal writing of an illegal burning device, the chip encrypts the request data before sending the request data. And after the read-write processing chip in the burning device receives the request data, the request data can be decrypted by adopting a corresponding decryption mode to obtain decrypted data.
It should be noted that the decryption mode may be set in advance according to the type of the chip to be upgraded, which is not limited in the embodiment of the present invention.
103, judging whether the decrypted data is legal or not according to a matching result of matching the verification key in the decrypted data with a plurality of preset keys;
after the read-write processing chip successfully decrypts the request data to obtain decrypted data, in order to further verify the validity of the decrypted data, the verification key can be extracted from the decrypted data. Searching and matching are carried out in a plurality of preset keys stored in the read-write processing chip, whether a preset key which is the same as the verification key exists or not is judged, and if yes, the decrypted data is judged to be legal; if not, the decrypted data is judged to be illegal. ,
and 104, if the decrypted data is judged to be legal, returning target data corresponding to the request content in the decrypted data to the chip, and finishing upgrading the chip.
And under the condition that the decrypted data is legal, the read-write processing chip further reads the request content in the decrypted data, determines the target data corresponding to the request content and returns the target data to the chip so as to finish upgrading the chip.
It should be noted that the request content may be the upgrade direction of the chip, or the update data, the rewrite data, etc. of the chip.
In the embodiment of the invention, after the wireless communication connection is established between the read-write processing chip in the burning device and the chip, the request data sent by the chip is received and cached, the cached request data is decrypted to obtain decrypted data, whether the decrypted data is legal or not is judged according to the matching result of the verification key and the preset keys in the decrypted data, and if yes, the processing operation corresponding to the request content in the decrypted data is executed, so that the upgrading of the chip is completed. Therefore, the technical problems that in the existing chip upgrading process, corresponding burning heads are required to be respectively configured according to the chip models and the number, burning convenience and efficiency are low, and burning cost is high are solved.
Referring to fig. 2, fig. 2 is a flowchart illustrating a chip upgrading method according to a second embodiment of the present invention.
The invention provides a chip upgrading method, which is applied to a read-write processing chip in burning equipment, and comprises the following steps:
the ID data refers to identity information of the chip, such as a serial number, identification, or serial number.
In the embodiment of the invention, when the burning equipment is close to the chip, the ID data of the chip can be acquired, and a data base is provided for the wireless communication connection of the chip.
It is worth mentioning that the chip comprises a data storage component, an LC oscillation component and a wireless communication component. When the burning device is close to the chip, the wireless communication assembly is coupled with a coil of the read-write processing chip in a space high-frequency alternating magnetic field, high-voltage energy is obtained in an electromagnetic induction mode, and the obtained high-voltage energy is rectified through the LC oscillating assembly to obtain working voltage and working current of the chip.
in the embodiment of the invention, whether the ID data exists in a preset list on the read-write processing chip or not can be verified; if so, judging that the ID data is legal, otherwise, judging that the ID data is illegal.
After the ID data is judged to be legitimate, a wireless communication connection can be established with the chip to prepare for receiving the request data sent by the chip.
Optionally, the method further comprises the following steps S11-S12:
s11, if the ID data are judged to be illegal, skipping to execute the step of acquiring the ID data of the chip, and accumulating the acquisition times;
and S12, when the acquisition times reach a first preset time, disconnecting the chip.
In the embodiment of the invention, if the ID data is judged to be illegal, the ID data corresponding to the chip can be obtained again, the obtained times are accumulated, the newly obtained ID data is verified again, if the ID data is judged to be illegal again, whether the obtained times reach a first preset time or not is judged, and if the obtained times reach the first preset time, the connection with the chip is disconnected; if not, the ID data of the chip is acquired again and the acquisition times are accumulated.
The first predetermined number of times may be set to 3 times or 5 times, which is not limited in this embodiment of the present invention.
in actual operation, one read-write processing chip can establish wireless communication connection with a plurality of chips at the same time, and after the read-write processing chip establishes wireless communication connection with the plurality of chips, request data sent by the plurality of chips can be received at the same time, and the received request data is cached in a buffer area in the read-write processing chip.
Optionally, if the request data is modulated, the request data may be demodulated and buffered by a modem built in the read/write processing chip.
in the embodiment of the present invention, the request data of each chip may be decrypted in sequence from the buffer to obtain corresponding decrypted data.
Optionally, after the read-write processing chip receives the request data, if the request data cannot be decrypted for multiple times by using a corresponding decryption method, it may be determined that a sender of the request data is not a chip or other illegal device that can be upgraded by the burning device, and at this time, the wireless communication connection with the chip or the illegal device is disconnected.
in one example of the present invention, step 206 may include the following sub-steps:
extracting an authentication key from the decrypted data;
traversing a plurality of preset keys, and judging whether the verification key is successfully matched with any preset key;
if the verification key is successfully matched with any one of the preset keys, judging that the decrypted data is legal;
and if the verification key is failed to be matched with all the preset keys, judging that the decrypted data is illegal.
In this embodiment, the verification key corresponding to the chip may be extracted from the decrypted data, and a plurality of preset keys are also stored in the read-write processing chip, and it is possible to determine whether the verification key is successfully matched with any of the preset keys by traversing the plurality of preset keys, and if the verification key is successfully matched with any of the preset keys, it is determined that the decrypted data is legal, which indicates that subsequent data rewriting or data upgrading can be performed with the chip; if all the matching fails, the decrypted data is judged to be illegal, the chip is possibly a fake chip or other illegal equipment, and at the moment, the wireless communication connection with the chip can be disconnected.
And step 207, if the decrypted data is judged to be legal, returning target data corresponding to the request content in the decrypted data to the chip, and finishing upgrading the chip.
Optionally, the request content includes a data rewriting request, and step 207 may further include the following sub-steps:
if the decrypted data is judged to be legal, acquiring data to be written corresponding to the data rewriting request;
judging whether the data to be written is legal or not;
if the data to be written is judged to be legal, converting the data to be written into radio frequency data;
and returning the radio frequency data serving as target data to the chip to finish upgrading the chip.
In the embodiment of the present invention, the request content may include a data rewriting request, and in a case that it is determined that the decrypted data is legal, data corresponding to the data rewriting request is acquired from a data storage area of the read-write processing chip as data to be written; in order to prevent the illegal device analog chip from acquiring the burning data of the burning device, whether the data to be written is legal or not can be judged, for example, a data white list and a black list can be set, the data on the data black list is illegal data, and the data on the data white list is legal data; and converting the data to be written into radio frequency data and returning the radio frequency data to the chip under the condition that the data to be written is judged to be legal, thereby finishing upgrading the chip.
The radio frequency data can be written into the chip in an NFC, RFID or Bluetooth mode.
It should be noted that the request content may further include a data update request, a data upgrade request, a data clear request, and the like; when the request content is a data updating request, chip updating data corresponding to the data updating request can be obtained, and the data in the chip is cleared and then written into the chip updating data; when the request content is a data upgrading request, upgrading data corresponding to the data upgrading request can be obtained and directly written into the chip; when the request content is a data clearing request, the data in the chip can be cleared directly.
Alternatively, the radio frequency data may be modulated by a modem built in the read/write processing chip and then written into the chip.
Further, the method further includes the following steps S21-S22:
s21, if the decrypted data is judged to be illegal, skipping to execute the step of decrypting the request data to obtain decrypted data, and accumulating the decryption times;
and S22, when the decryption times reach a second preset time, disconnecting the wireless communication connection with the chip.
In the embodiment of the invention, if the decrypted data is judged to be illegal, in order to prevent random errors in the data judgment process, the request data can be decrypted again and the decryption times are accumulated to obtain the decrypted data, when the decryption times reach a second preset time, the chip is judged to be illegal, and at the moment, the wireless communication connection with the chip is disconnected.
Optionally, the second predetermined number of times may be set to be equal to or different from the first predetermined number of times, and may be set to be 3 times or 5 times in a specific operation, which is not limited in this embodiment of the present invention.
In the embodiment of the invention, after the wireless communication connection is established between the read-write processing chip in the burning device and the chip, the request data sent by the chip is received and cached, the cached request data is decrypted to obtain decrypted data, whether the decrypted data is legal or not is judged according to the matching result of the verification key and the preset keys in the decrypted data, and if yes, the processing operation corresponding to the request content in the decrypted data is executed, so that the upgrading of the chip is completed. Therefore, the technical problems that in the existing chip upgrading process, corresponding burning heads are required to be respectively configured according to the chip models and the number, burning convenience and efficiency are low, and burning cost is high are solved.
Referring to fig. 3, fig. 3 is a block diagram illustrating a recording apparatus according to a third embodiment of the present invention.
The invention provides a burning device, which is internally provided with a read-write processing chip 311 applying the chip upgrading method according to any embodiment, wherein the read-write processing chip 311 comprises an interface module 321;
the interface module 321 includes:
the data buffer sub-module is used for receiving and caching request data sent by the chip after establishing wireless communication connection with the chip;
the data encryption and decryption submodule is used for decrypting the request data to obtain decrypted data;
the control submodule is used for judging whether the decrypted data is legal or not according to a matching result of matching the verification key in the decrypted data with a plurality of preset keys; and if the decrypted data is judged to be legal, returning target data corresponding to the request content in the decrypted data to the chip, and finishing upgrading the chip.
Optionally, the read-write processing chip further includes a radio frequency module 322, where the radio frequency module 322 includes a power supply circuit;
and the power supply circuit is used for supplying power to the read-write processing chip.
Optionally, the radio frequency module 322 further comprises a modem;
the modem is used for demodulating the request data after receiving the request data; and modulating the target data.
Referring to fig. 4, fig. 4 is a block diagram illustrating a chip upgrade system according to a fourth embodiment of the present invention.
The invention provides a chip upgrading system, which comprises a chip 401 and burning equipment 402 according to any embodiment;
the chip 401 includes a data storage module 412 and a wireless communication module 411;
the wireless communication module 411 is configured to receive target data returned by the burning device after sending request data, and write the target data into the data storage module 412;
the data storage module 412 is configured to receive the target data written by the wireless communication module 411, and complete upgrading of the chip.
In embodiments of the present invention, the chip may include a data storage component and a wireless communication component. When the burning device is close to the chip, the wireless communication assembly is coupled with a coil of the read-write processing chip in a space high-frequency alternating magnetic field, high-voltage energy is obtained in an electromagnetic induction mode, and then the obtained high-voltage energy is rectified to obtain working voltage and working current of the chip.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process of the system described above may refer to the corresponding process in the foregoing method embodiment, and is not described herein again.
In the embodiments provided in the present invention, it should be understood that the disclosed system and method can be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or wireless communication connection may be through some interfaces, indirect coupling or wireless communication connection of devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a service unit, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
Claims (10)
1. A chip upgrading method is characterized in that the method is applied to a read-write processing chip in burning equipment, and the method comprises the following steps:
after establishing wireless communication connection with a chip, receiving request data sent by the chip and caching the request data;
decrypting the request data to obtain decrypted data;
judging whether the decrypted data is legal or not according to a matching result of matching the verification key in the decrypted data with a plurality of preset keys;
and if the decrypted data is judged to be legal, returning target data corresponding to the request content in the decrypted data to the chip, and finishing upgrading the chip.
2. The chip upgrade method according to claim 1, wherein, before the step of receiving the request data transmitted by the chip after establishing the wireless communication connection with the chip, the method further comprises:
acquiring ID data of the chip;
verifying whether the ID data is legal;
and if the ID data is judged to be legal, establishing wireless communication connection with the chip.
3. The chip upgrade method according to claim 2, further comprising:
if the ID data are judged to be illegal, skipping to execute the step of acquiring the ID data of the chip, and accumulating the acquisition times;
and when the acquisition times reach a first preset time, disconnecting the chip.
4. The chip upgrading method according to claim 1, wherein the step of determining whether the decrypted data is legal according to a matching result of matching the verification key in the decrypted data with a plurality of preset keys includes:
extracting an authentication key from the decrypted data;
traversing a plurality of preset keys, and judging whether the verification key is successfully matched with any preset key;
if the verification key is successfully matched with any one of the preset keys, judging that the decrypted data is legal;
and if the verification key is failed to be matched with all the preset keys, judging that the decrypted data is illegal.
5. The chip upgrade method according to claim 1, further comprising:
if the decrypted data is judged to be illegal, skipping to execute the step of decrypting the request data to obtain decrypted data, and accumulating the decryption times;
and when the decryption times reach a second preset time, disconnecting the wireless communication connection with the chip.
6. The chip upgrading method according to claim 1, wherein the request content includes a data rewriting request, and if it is determined that the decrypted data is legitimate, the step of returning target data corresponding to the request content in the decrypted data to the chip to complete upgrading of the chip includes:
if the decrypted data is judged to be legal, acquiring data to be written corresponding to the data rewriting request;
judging whether the data to be written is legal or not;
if the data to be written is judged to be legal, converting the data to be written into radio frequency data;
and returning the radio frequency data serving as target data to the chip to finish upgrading the chip.
7. A burning device, characterized in that a read-write processing chip applying the chip upgrading method according to any one of claims 1-6 is built in, the read-write processing chip comprises an interface module;
the interface module includes:
the data buffer sub-module is used for receiving and caching request data sent by the chip after establishing wireless communication connection with the chip;
the data encryption and decryption submodule is used for decrypting the request data to obtain decrypted data;
the control submodule is used for judging whether the decrypted data is legal or not according to a matching result of matching the verification key in the decrypted data with a plurality of preset keys; and if the decrypted data is judged to be legal, returning target data corresponding to the request content in the decrypted data to the chip, and finishing upgrading the chip.
8. The burning device of claim 7, wherein the read-write processing chip further comprises a radio frequency module, the radio frequency module comprising a power supply circuit;
and the power supply circuit is used for supplying power to the read-write processing chip.
9. The burning device of claim 7, wherein the radio frequency module further comprises a modem;
the modem is used for demodulating the request data after receiving the request data; and modulating the target data.
10. A chip upgrade system, comprising a chip and the burning apparatus of claim 7;
the chip comprises a data storage module and a wireless communication module;
the wireless communication module is used for receiving the target data returned by the burning equipment and writing the target data into the data storage module after sending the request data;
and the data storage module is used for receiving the target data written by the wireless communication module and finishing upgrading the chip.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110169052.1A CN112905202B (en) | 2021-02-07 | 2021-02-07 | Chip upgrading method, burning device and chip upgrading system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110169052.1A CN112905202B (en) | 2021-02-07 | 2021-02-07 | Chip upgrading method, burning device and chip upgrading system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112905202A true CN112905202A (en) | 2021-06-04 |
CN112905202B CN112905202B (en) | 2024-01-02 |
Family
ID=76123650
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110169052.1A Active CN112905202B (en) | 2021-02-07 | 2021-02-07 | Chip upgrading method, burning device and chip upgrading system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112905202B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113442594A (en) * | 2021-06-24 | 2021-09-28 | 广州众诺电子技术有限公司 | Wireless connection equipment, consumable box, method for upgrading consumable chip data and terminal |
CN113778354A (en) * | 2021-09-14 | 2021-12-10 | 广州众诺电子技术有限公司 | Device management system and device management method |
CN114253560A (en) * | 2021-11-29 | 2022-03-29 | 广州众诺电子技术有限公司 | Wireless programming method, device, chip and computer-readable storage medium |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1949241A (en) * | 2006-11-02 | 2007-04-18 | 北京飞天诚信科技有限公司 | Method and system of software identify identification |
CN103763697A (en) * | 2013-10-29 | 2014-04-30 | 上海斐讯数据通信技术有限公司 | Wireless access point multi-secret key support system and method |
CN106293859A (en) * | 2016-09-22 | 2017-01-04 | 珠海格力电器股份有限公司 | Software upgrading or burning method, device and system based on controller |
CN107729723A (en) * | 2017-11-08 | 2018-02-23 | 深圳市希顿科技有限公司 | A kind of integrated circuit burning program method and programming system |
CN107871068A (en) * | 2017-10-27 | 2018-04-03 | 深圳怡化电脑股份有限公司 | Firmware burning method, cd-rom recorder and computer-readable recording medium |
CN109408097A (en) * | 2018-12-11 | 2019-03-01 | 深圳市英威腾电气股份有限公司 | A kind of firmware upgrade method, device, system and a kind of electronic equipment |
CN110816089A (en) * | 2019-10-15 | 2020-02-21 | 佛山普瑞威尔科技有限公司 | Safe burning method of printing program, chip and printing consumable |
US20200097278A1 (en) * | 2018-09-21 | 2020-03-26 | Inventec (Pudong) Technology Corporation | Method for online updating firmware of complex programmable logic device |
CN111309339A (en) * | 2020-02-14 | 2020-06-19 | 佛山普瑞威尔科技有限公司 | Chip burning method and system based on Internet of things and readable storage medium |
-
2021
- 2021-02-07 CN CN202110169052.1A patent/CN112905202B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1949241A (en) * | 2006-11-02 | 2007-04-18 | 北京飞天诚信科技有限公司 | Method and system of software identify identification |
CN103763697A (en) * | 2013-10-29 | 2014-04-30 | 上海斐讯数据通信技术有限公司 | Wireless access point multi-secret key support system and method |
CN106293859A (en) * | 2016-09-22 | 2017-01-04 | 珠海格力电器股份有限公司 | Software upgrading or burning method, device and system based on controller |
CN107871068A (en) * | 2017-10-27 | 2018-04-03 | 深圳怡化电脑股份有限公司 | Firmware burning method, cd-rom recorder and computer-readable recording medium |
CN107729723A (en) * | 2017-11-08 | 2018-02-23 | 深圳市希顿科技有限公司 | A kind of integrated circuit burning program method and programming system |
US20200097278A1 (en) * | 2018-09-21 | 2020-03-26 | Inventec (Pudong) Technology Corporation | Method for online updating firmware of complex programmable logic device |
CN109408097A (en) * | 2018-12-11 | 2019-03-01 | 深圳市英威腾电气股份有限公司 | A kind of firmware upgrade method, device, system and a kind of electronic equipment |
CN110816089A (en) * | 2019-10-15 | 2020-02-21 | 佛山普瑞威尔科技有限公司 | Safe burning method of printing program, chip and printing consumable |
CN111309339A (en) * | 2020-02-14 | 2020-06-19 | 佛山普瑞威尔科技有限公司 | Chip burning method and system based on Internet of things and readable storage medium |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113442594A (en) * | 2021-06-24 | 2021-09-28 | 广州众诺电子技术有限公司 | Wireless connection equipment, consumable box, method for upgrading consumable chip data and terminal |
CN113778354A (en) * | 2021-09-14 | 2021-12-10 | 广州众诺电子技术有限公司 | Device management system and device management method |
CN114253560A (en) * | 2021-11-29 | 2022-03-29 | 广州众诺电子技术有限公司 | Wireless programming method, device, chip and computer-readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN112905202B (en) | 2024-01-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112905202B (en) | Chip upgrading method, burning device and chip upgrading system | |
JP5521764B2 (en) | Information processing apparatus, authentication system, authentication method, authentication program, and recording medium | |
JP5035001B2 (en) | Printing device management system, printing device management method, and printing device management program | |
CN102333305A (en) | Communication equipment, communication means and communication system | |
CN101785014B (en) | Authentication information managing unit, authentication information managing program and method thereof, authentication unit, and authentication program and method thereof | |
CN101316120A (en) | Radio frequency user identification module, member card information processing method and processing system | |
CN110816089B (en) | Safe burning method of printing program, chip and printing consumable | |
US9246910B2 (en) | Determination of apparatus configuration and programming data | |
CN113442594A (en) | Wireless connection equipment, consumable box, method for upgrading consumable chip data and terminal | |
JP2009083211A (en) | Image forming apparatus | |
KR101837364B1 (en) | Printing material cartridge | |
CN105306781A (en) | System, device and method for billing processing | |
CN111459425A (en) | Printing method based on consumable chip, consumable chip and printing consumable | |
US10318933B2 (en) | Settlement terminal and method of protecting data stored in the settlement terminal against tampering | |
JP5423280B2 (en) | COMMUNICATION DEVICE, COMMUNICATION METHOD, INFORMATION PROCESSING DEVICE, INFORMATION PROCESSING METHOD, PROGRAM, AND COMMUNICATION SYSTEM | |
JP5467315B2 (en) | Information processing apparatus, information processing method, and program | |
CN113524913A (en) | Ink authorization use method, server, upper computer, printing equipment and system | |
CN108491745B (en) | Data acquisition method and device and computer readable storage medium | |
JP5235460B2 (en) | Terminal, information storage medium, service providing system, and data updating method | |
JP5223488B2 (en) | Information communication system and its authentication program | |
CN109976928B (en) | Chip, chip resetting method and consumable container | |
JP5170550B2 (en) | Information communication system and its authentication program | |
JP6801448B2 (en) | Electronic information storage media, authentication systems, authentication methods, and authentication application programs | |
CN119696816B (en) | Dynamic authentication method for communication equipment and optical module | |
CN114415991B (en) | File processing method and device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 510000 Room 202, building G10, South China new material innovation park, No. 31 Kefeng Road, Guangzhou high tech Industrial Development Zone, Guangzhou, Guangdong Province Applicant after: Guangzhou Zhongnuo Microelectronics Co.,Ltd. Address before: 510663 Room 202, building G10, South China new material innovation park, 31 Kefeng Road, Guangzhou high tech Industrial Development Zone, Guangdong Province Applicant before: GUANGZHOU ZHONO ELECTRONIC TECHNOLOGY Co.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |