CN112905202B - Chip upgrading method, burning device and chip upgrading system - Google Patents
Chip upgrading method, burning device and chip upgrading system Download PDFInfo
- Publication number
- CN112905202B CN112905202B CN202110169052.1A CN202110169052A CN112905202B CN 112905202 B CN112905202 B CN 112905202B CN 202110169052 A CN202110169052 A CN 202110169052A CN 112905202 B CN112905202 B CN 112905202B
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 41
- 230000006854 communication Effects 0.000 claims abstract description 45
- 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 26
- 238000013500 data storage Methods 0.000 claims description 12
- 239000000872 buffer Substances 0.000 claims description 9
- 230000003139 buffering effect Effects 0.000 claims description 8
- 230000009191 jumping Effects 0.000 claims description 5
- 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
- 230000006870 function Effects 0.000 description 3
- 238000003860 storage Methods 0.000 description 3
- 230000005674 electromagnetic induction Effects 0.000 description 2
- 238000003384 imaging method Methods 0.000 description 2
- 238000007639 printing Methods 0.000 description 2
- BUGBHKTXTAQXES-UHFFFAOYSA-N Selenium Chemical compound [Se] BUGBHKTXTAQXES-UHFFFAOYSA-N 0.000 description 1
- 238000005516 engineering process 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
- 239000000843 powder Substances 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 238000010926 purge Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 229910052711 selenium Inorganic materials 0.000 description 1
- 239000011669 selenium Substances 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
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)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Software Systems (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- Storage Device Security (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a chip upgrading method, a burning device and a chip upgrading system, wherein the method is applied to a read-write processing chip in the burning device, 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 a 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 to finish the upgrading of the chip, so that the upgrading of a plurality of chips is finished in a wireless radio frequency mode, the burning convenience and the burning efficiency are improved, and the burning cost is reduced.
Description
Technical Field
The present invention relates to the field of chip upgrade technologies, and in particular, to a chip upgrade method, a recording device, and a chip upgrade system.
Background
The chip can be used for an imaging device such as a laser printer, an ink-jet printer or a multifunctional integrated machine, and the like, stores information about a printing consumable cartridge such as an ink cartridge, a selenium drum, a powder cartridge and the like, and has the main functions of identifying the use identity and recording the use state of the printer.
The chip applied to the imaging device is generally designed by a micro control unit (micro controller unit, MCU), wherein the MCU includes a program area and a data area, the program area stores therein program codes executable by the MCU, and the communication function with the printer is realized as a result of the MCU executing the program codes of the program area. And information about the printing consumable cartridge, such as toner usage amount, production date, manufacturer, model number, serial number, or ink amount information, is stored in the data area. While most of the CPU of the MCU performs the communication process between the program code and the printer in the program area, in order to avoid accidental erasure of the program code, the program code in the program area cannot be erased and written, and is a read-only attribute for the printer. But the data of the data area is of a readable and writable property, so that the data of the data area can be updated or rewritten by an external burning device.
At present, the mode of upgrading the chip is to use different burning heads to separately burn or rewrite the chips with different models. However, with the increasing number and number of chip types, the number of recording heads to be configured is also increased, so that the convenience and efficiency of recording are low, and the recording cost is high.
Disclosure of Invention
The invention provides a chip upgrading method, a programming device and a chip upgrading system, which solve the technical problems of low programming convenience and efficiency and high programming cost in the existing chip upgrading process because corresponding programming heads are required to be respectively configured according to the types and the quantity of chips.
The invention provides a chip upgrading method applied to a read-write processing chip in a burning device, 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 to finish upgrading the chip.
Optionally, before the step of receiving the request data sent by the chip after the wireless communication connection is established 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 is judged to be illegal, the step of acquiring the ID data of the chip is carried out in a jumping way, and the acquisition times are accumulated;
and when the acquisition times reach a first preset times, disconnecting the connection with the chip.
Optionally, the step of determining whether the decrypted data is legal according to a matching result of the verification key in the decrypted data and 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 and all the preset keys are failed to be matched, judging that the decrypted data are illegal.
Optionally, the method further comprises:
if the decrypted data is judged to be illegal, the step of decrypting the request data is carried out in a jumping mode to obtain decrypted data, and the decryption times are accumulated;
and when the decryption times reach a second preset times, disconnecting the wireless communication connection with the chip.
Optionally, the request content includes a data rewriting request, and if it is determined that the decrypted data is legal, returning target data corresponding to the request content in the decrypted data to the chip, so as to complete upgrading of the chip, including:
if the decrypted data is judged to be legal, obtaining 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 recording 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, the read-write processing chip including an interface module;
the interface module includes:
the data buffering sub-module is used for receiving and buffering the request data sent by the chip after the wireless communication connection is established with the chip;
the data encryption and decryption sub-module is used for decrypting the request data to obtain decrypted data;
the control sub-module is used for judging whether the decrypted data is legal or not according to a matching result of the verification key in the decrypted data and 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 to finish upgrading the chip.
Optionally, the read-write processing chip further comprises a radio frequency module, wherein the radio frequency module comprises a power supply circuit; 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 invention provides a chip upgrading system, which comprises a chip and the burning device according to the second aspect of the invention;
the chip comprises a data storage module and a wireless communication module;
the wireless communication module is used for receiving target data returned by the burning device and writing the target data into the data storage module after sending the request data;
the data storage module is used for receiving the target data written by the wireless communication module and finishing upgrading of the chip.
From the above 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 invention receives and caches the request data sent by the chip, decrypts the cached request data to obtain decrypted data, judges whether the decrypted data is legal or not according to the matching result of the verification key and a plurality of preset keys in the decrypted data, and if yes, executes the processing operation corresponding to the request content in the decrypted data to finish the upgrading of the chip. Therefore, the technical problems that the corresponding burning heads are required to be configured according to the types and the number of the chips in the existing chip upgrading process are solved, the burning convenience and the burning efficiency are low, and the burning cost is high are solved, and the upgrading of a plurality of chips can be finished simultaneously in a wireless radio frequency mode, so that the burning convenience and the burning efficiency are improved, and the burning cost is reduced.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions of the prior art, the drawings which are used in the description of the embodiments or the prior art will be briefly described, it being obvious that the drawings in the description below are only some embodiments of the invention, and that other drawings can be obtained from these drawings without inventive faculty for a person skilled in the art.
Fig. 1 is a flowchart of a method for upgrading a chip according to a first embodiment of the present invention;
fig. 2 is a flowchart of a method for upgrading a chip according to a second embodiment of the present invention;
fig. 3 is a block diagram of a burning device 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 that the burning convenience and efficiency are low and the burning cost is high because corresponding burning heads are required to be respectively configured according to the types and the quantity of chips in the existing chip upgrading process.
In order to make the objects, features and advantages of the present invention more comprehensible, the technical solutions in the embodiments of the present invention are described in detail below with reference to the accompanying drawings, and it is apparent that the embodiments described below are only some embodiments of the present invention, but not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Referring to fig. 1, fig. 1 is a flowchart illustrating steps of a method for upgrading a chip according to an embodiment of the invention.
The invention provides a chip upgrading method which is applied to a read-write processing chip in a burning device, and comprises the following steps:
step 101, after establishing wireless communication connection with a chip, receiving request data sent by the chip and caching the request data;
in the embodiment of the invention, after the read-write processing chip in the recording device is in wireless communication connection with the chip, the request data can be sent to the recording device through the chip, and the recording device provides a data base for chip upgrading 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.
Step 102, decrypting the request data to obtain decrypted data;
in a specific implementation, to prevent illegal writing by an illegal writing device, the chip encrypts the request data before sending the request data. And after receiving the request data, the read-write processing chip in the burning device can decrypt the request data 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.
Step 103, judging whether the decrypted data is legal or not according to a matching result of the verification key in the decrypted data and 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, a verification key can be extracted from the decrypted data. Searching and matching among a plurality of preset keys stored in a read-write processing chip, judging whether the preset keys which are the same as the verification key exist or not, and judging that the decrypted data are legal if the preset keys exist; if not, judging that the decrypted data is 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 to finish upgrading the chip.
Under the condition that the decrypted data is legal, the read-write processing chip further reads the request content in the decrypted data, determines 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 and the chip in the burning device, 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 are legal or not is judged according to the matching result of the verification key and a plurality of preset keys in the decrypted data, and if yes, the processing operation corresponding to the request content in the decrypted data is executed by a rule, so that the chip is updated. Therefore, the technical problems that the corresponding burning heads are required to be configured according to the types and the number of the chips in the existing chip upgrading process are solved, the burning convenience and the burning efficiency are low, and the burning cost is high are solved, and the upgrading of a plurality of chips can be finished simultaneously in a wireless radio frequency mode, so that the burning convenience and the burning efficiency are improved, and the burning cost is reduced.
Referring to fig. 2, fig. 2 is a flowchart illustrating steps of a chip upgrade 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 a burning device, and comprises the following steps:
step 201, obtaining ID data of the chip;
the ID data refers to identity information of the chip, such as a serial number, an identification, or a serial number.
In the embodiment of the invention, when the burning device is close to the chip, the ID data of the chip can be obtained, and a data base is provided for wireless communication connection of the chip.
It is worth mentioning that the chip comprises a data storage component, an LC oscillating component and a wireless communication component. When the burning device is close to the chip, the wireless communication component is coupled with the 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 component to obtain the working voltage and the working current of the chip.
Step 202, verifying whether the ID data is legal;
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 yes, judging that the ID data is legal, and if not, judging that the ID data is illegal.
And 203, if the ID data is judged to be legal, establishing wireless communication connection with the chip.
After the ID data is determined to be legal, a wireless communication connection may be established with the chip in preparation 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, the step of acquiring the ID data of the chip is carried out in a jumping way, and the acquisition times are accumulated;
and S12, disconnecting the connection with the chip when the acquisition times reach a first preset times.
In the embodiment of the invention, if the ID data is judged to be illegal, the ID data corresponding to the chip can be re-acquired, meanwhile, the acquired times are accumulated, the re-acquired ID data is re-verified, if the ID data is judged to be illegal again, whether the acquired times reach the first preset times is judged, and if the ID data is judged to be illegal again, the connection with the chip is disconnected; if not, acquiring the ID data of the chip again and accumulating the acquisition times.
Wherein the first predetermined number of times may be set to 3 times or 5 times, which is not limited in the embodiment of the present invention.
Step 204, after establishing wireless communication connection with the chip, receiving and caching request data sent by the chip;
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 a buffer area in the read-write processing chip buffers the received request data.
Optionally, if the request data is modulated, the request data may be demodulated by a modem built in the read-write processing chip and then cached.
Step 205, decrypting the request data to obtain decrypted data;
in the embodiment of the invention, the request data of each chip can be decrypted from the buffer area in sequence to obtain the corresponding decrypted data.
Optionally, after receiving the request data, the read-write processing chip adopts a corresponding decryption mode, if the request data cannot be decrypted for multiple times, it can be determined that the sender of the request data is not a chip or other illegal equipment that can be upgraded by the burning equipment, and at the moment, the wireless communication connection with the chip or illegal equipment is disconnected.
Step 206, judging whether the decrypted data is legal or not according to a matching result of the verification key in the decrypted data and a plurality of preset keys;
in one example of the invention, step 206 may comprise the sub-steps of:
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 and all the preset keys are failed to be matched, judging that the decrypted data are 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 whether the verification key is successfully matched with any preset key may be determined by traversing the plurality of preset keys, if so, the decrypted data is determined to be legal, which indicates that subsequent data rewriting or data upgrading may be performed with the chip; if all the matching fails, the decrypted data is judged to be illegal, which means that the chip can be a masquerade chip or other illegal equipment, and the wireless communication connection with the chip can be disconnected at the moment.
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 to finish upgrading the chip.
Optionally, the request content includes a data overwrite request, and step 207 may further include the sub-steps of:
if the decrypted data is judged to be legal, obtaining 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 invention, the request content can comprise a data rewriting request, and under the condition that the decrypted data is judged to be legal, the data corresponding to the data rewriting request is obtained from the data storage area of the read-write processing chip and is used as the data to be written; in order to prevent the illegal device simulation 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 data 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 under the condition that the data to be written is legal, converting the data to be written into radio frequency data and returning the radio frequency data to the chip, thereby finishing the upgrading of the chip.
The radio frequency data can be written into the chip in a mode of NFC, RFID or Bluetooth.
It should be noted that, the request content may further include a data update request, a data upgrade request, a data purge request, etc.; when the request content is a data update request, chip update data corresponding to the data update request can be obtained, and the data in the chip is cleared and then written into the chip update 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 comprises the following steps S21-S22:
s21, if the decrypted data are judged to be illegal, skipping to execute the step of decrypting the request data to obtain decrypted data, and accumulating the decryption times;
s22, when the decryption times reach a second preset times, the wireless communication connection with the chip is disconnected.
In the embodiment of the invention, if the decrypted data is judged to be illegal, in order to prevent random errors in the data judging process, the request data can be decrypted again and the decryption times can be accumulated to obtain the decrypted data, and when the decryption times reach the second preset times, the chip is judged to be illegal, and the wireless communication connection with the chip is disconnected at the moment.
Alternatively, the second predetermined number of times may be set to be equal to or unequal to the first predetermined number of times, and may be set to 3 times or 5 times in a specific operation, to which the embodiment of the present invention is not limited.
In the embodiment of the invention, after the wireless communication connection is established between the read-write processing chip and the chip in the burning device, 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 are legal or not is judged according to the matching result of the verification key and a plurality of preset keys in the decrypted data, and if yes, the processing operation corresponding to the request content in the decrypted data is executed by a rule, so that the chip is updated. Therefore, the technical problems that the corresponding burning heads are required to be configured according to the types and the number of the chips in the existing chip upgrading process are solved, the burning convenience and the burning efficiency are low, and the burning cost is high are solved, and the upgrading of a plurality of chips can be finished simultaneously in a wireless radio frequency mode, so that the burning convenience and the burning efficiency are improved, and the burning cost is reduced.
Referring to fig. 3, fig. 3 is a block diagram illustrating a burning 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 buffering sub-module is used for receiving and buffering the request data sent by the chip after the wireless communication connection is established with the chip;
the data encryption and decryption sub-module is used for decrypting the request data to obtain decrypted data;
the control sub-module is used for judging whether the decrypted data is legal or not according to a matching result of the verification key in the decrypted data and 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 to finish 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;
the power supply circuit is used for supplying power to the read-write processing chip.
Optionally, the radio frequency module 322 further includes 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 a burning device 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 and write the target data into the data storage module 412 after sending the request data;
the data storage module 412 is configured to receive the target data written by the wireless communication module 411, and complete the upgrade of the chip.
In an embodiment of the 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 the 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 to obtain working voltage and working current of the chip.
It will be clear to those skilled in the art that, for convenience and brevity of description, reference may be made to the corresponding process in the foregoing method embodiment for the specific working process of the above-described system, which is not described herein again.
In the several embodiments provided by the present invention, it should be understood that the disclosed systems and methods may be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or wireless communication connection shown or discussed may be an indirect coupling or wireless communication connection via interfaces, devices or units, which may be in electrical, mechanical or other forms.
The units described as separate units may or may not be physically separate, and units shown 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 may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in whole or in part in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a service unit, or a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the 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 scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims (10)
1. A method for upgrading a chip, which is applied to a read-write processing chip in a burning device, the method comprising:
after establishing wireless communication connection with a plurality of chips, receiving request data sent by each chip and caching the request data in a buffer area;
decrypting each piece of request data from the buffer area in sequence 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 to finish upgrading the chip.
2. The method of claim 1, wherein after the step of receiving the request data transmitted from each of the chips and buffering the request data in the buffer after the wireless communication connection with the plurality of chips is established, 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 is judged to be illegal, the step of acquiring the ID data of the chip is carried out in a jumping way, and the acquisition times are accumulated;
and when the acquisition times reach a first preset times, disconnecting the connection with the chip.
4. The chip upgrade method according to claim 1, wherein the step of judging whether the decrypted data is legal according to a matching result of the verification key in the decrypted data and a plurality of preset keys, comprises:
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 and all the preset keys are failed to be matched, judging that the decrypted data are illegal.
5. The chip upgrade method according to claim 1, further comprising:
if the decrypted data are judged to be illegal, the step of sequentially decrypting the request data from the buffer area to obtain the decrypted data is carried out in a jumping mode, and the decryption times are accumulated;
and when the decryption times reach a second preset times, disconnecting the wireless communication connection with the chip.
6. The method for upgrading a chip according to claim 1, wherein the request content includes a data rewriting request, and the step of returning target data corresponding to the request content in the decrypted data to the chip if it is determined that the decrypted data is legal, and completing the upgrading of the chip includes:
if the decrypted data is judged to be legal, obtaining 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 recording apparatus, characterized in that a read-write processing chip to which the chip upgrade method according to any one of claims 1 to 6 is applied is built, the read-write processing chip including an interface module;
the interface module includes:
the data buffering submodule is used for receiving request data sent by each chip and buffering the request data in a buffer area after wireless communication connection is established between the data buffering submodule and the plurality of chips;
the data encryption and decryption sub-module is used for sequentially decrypting all the request data from the buffer area to obtain decrypted data;
the control sub-module is used for judging whether the decrypted data is legal or not according to a matching result of the verification key in the decrypted data and 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 to finish upgrading the chip.
8. The recording 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;
the power supply circuit is used for supplying power to the read-write processing chip.
9. The recording apparatus of claim 8, 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 device according to claim 7;
the chip comprises a data storage module and a wireless communication module;
the wireless communication module is used for receiving target data returned by the burning device and writing the target data into the data storage module after sending the request data;
the data storage module is used for receiving the target data written by the wireless communication module and finishing upgrading of 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 CN112905202A (en) | 2021-06-04 |
CN112905202B true 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) |
Families Citing this family (2)
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 |
Citations (8)
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 |
CN111309339A (en) * | 2020-02-14 | 2020-06-19 | 佛山普瑞威尔科技有限公司 | Chip burning method and system based on Internet of things and readable storage medium |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109189435A (en) * | 2018-09-21 | 2019-01-11 | 英业达科技有限公司 | The firmware update of Complex Programmable Logic Devices |
-
2021
- 2021-02-07 CN CN202110169052.1A patent/CN112905202B/en active Active
Patent Citations (8)
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 |
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 |
Also Published As
Publication number | Publication date |
---|---|
CN112905202A (en) | 2021-06-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112905202B (en) | Chip upgrading method, burning device and chip upgrading system | |
JP5521803B2 (en) | COMMUNICATION DEVICE, COMMUNICATION METHOD, AND COMMUNICATION SYSTEM | |
JP5272637B2 (en) | Information processing apparatus, encryption switching method, and program | |
EP3929780A1 (en) | Communication method for consumables chip, consumables chip, and consumable | |
CN106133739A (en) | Data are to the safeguard protection of the loading in the nonvolatile memory of safety element | |
CN111404706B (en) | Application downloading method, secure element, client device and service management device | |
US20100243736A1 (en) | Storage device management systems and methods | |
EP2705455B1 (en) | Determination of apparatus configuration and programming data | |
CN115129332A (en) | Firmware burning method, computer equipment and readable storage medium | |
US10318933B2 (en) | Settlement terminal and method of protecting data stored in the settlement terminal against tampering | |
JP2010506280A (en) | Portable electronic entity and method for personalization of such electronic entity | |
CN102203790A (en) | Memory device upgrade | |
JP4765608B2 (en) | Data processing apparatus, data processing program, and data processing system | |
CN115080075B (en) | Firmware deployment system and method of embedded hardware security module | |
JP2012044395A (en) | Communication device, information processing system, and encryption changeover method | |
CN115857986A (en) | Control method, system and storage medium for off-line upgrading | |
CN113524913B (en) | Ink authorization use method, server, upper computer, printing equipment and system | |
CN108491745B (en) | Data acquisition method and device and computer readable storage medium | |
JP2005348250A (en) | Image forming device, data encipher method, program, and recording medium | |
CN113442594A (en) | Wireless connection equipment, consumable box, method for upgrading consumable chip data and terminal | |
JP5235460B2 (en) | Terminal, information storage medium, service providing system, and data updating method | |
JP4636531B2 (en) | COMMUNICATION SYSTEM, SERVER DEVICE, CLIENT DEVICE, COMMUNICATION METHOD, AND PROGRAM | |
JP2010093663A (en) | Ic card system, high-order device therefor, and program | |
EP2566207A1 (en) | Computer network, mobile telephone device, and computer program for writing encrypted files to a telecommunications access card | |
JP5692441B2 (en) | Information processing apparatus, information processing method, and program |
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 |