CN117785080A - Chip data migration method and device, terminal equipment and storage medium - Google Patents

Chip data migration method and device, terminal equipment and storage medium Download PDF

Info

Publication number
CN117785080A
CN117785080A CN202311798942.4A CN202311798942A CN117785080A CN 117785080 A CN117785080 A CN 117785080A CN 202311798942 A CN202311798942 A CN 202311798942A CN 117785080 A CN117785080 A CN 117785080A
Authority
CN
China
Prior art keywords
data
chip
serial number
attribute data
attribute
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311798942.4A
Other languages
Chinese (zh)
Inventor
汪微微
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Zhongnuo Microelectronics Co ltd
Original Assignee
Guangzhou Zhongnuo Microelectronics Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Zhongnuo Microelectronics Co ltd filed Critical Guangzhou Zhongnuo Microelectronics Co ltd
Priority to CN202311798942.4A priority Critical patent/CN117785080A/en
Publication of CN117785080A publication Critical patent/CN117785080A/en
Pending legal-status Critical Current

Links

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The invention discloses a data transplanting method, a device, a terminal device and a storage medium of a chip, wherein the method can acquire first data in a first chip corresponding to an ink box of a printer after the ink box is detected to be used, and can generate new second attribute data based on the new serial number after finding out a second serial number different from the first serial number according to the first serial number in the first data, so that the first algorithm data and the second attribute data can be transplanted into the new second chip. The structure of the second chip is the same as that of the first chip, but the serial numbers contained in the second chip are different, so that the second chip and the ink box can be recombined and then used in the printer. Compared with the prior art, the method can realize the recycling of the ink box by extracting the new serial number and the data transplanting method without discarding the ink box, thereby reducing the waste of the ink box of the printer and ensuring the recycling of the ink box.

Description

Chip data migration method and device, terminal equipment and storage medium
Technical Field
The present invention relates to the field of data migration technologies of chips, and in particular, to a method, an apparatus, a terminal device, and a storage medium for data migration of a chip.
Background
With the popularity of automation offices, printers have become an indispensable part of modern offices. The printer generally has an ink box and a consumable chip corresponding to the ink box and used for recording the use condition of the consumable of the ink box, wherein two types of data information are arranged in the consumable chip, one type of data information is verification information, and the verification information is algorithm data required for executing an algorithm instruction of the printer; and the second is attribute information, which comprises attribute data such as ID data (serial number of consumable chip), model data, color data, capacity data, count data and the like, and the verification information in the chip can be bound with or not bound with the user information.
In the prior art, after materials in the ink box are used, the serial number of the corresponding consumable chip is identified by the printer, and the ink box under the serial number of the chip is recorded by the printer, so that the ink box and the consumable chip can only be discarded or abandoned after the ink box is used, when the problems of the ink box and the ink box chip are solved, the ink box cannot be reused because the serial number of the chip is recorded, a great amount of waste of the ink box of the printer is caused, and the reuse of the ink box cannot be guaranteed.
Disclosure of Invention
The embodiment of the invention provides a data transplanting method, a device, terminal equipment and a storage medium of a chip, which can effectively solve the problem that the ink box cannot be reused in the prior art, so that a great amount of waste of the ink box of a printer is caused, and the reuse of the ink box cannot be guaranteed.
An embodiment of the present invention provides a method for data migration of a chip, including:
after detecting that an ink box of a printer is used, acquiring first data of a first chip corresponding to the ink box; wherein the first data includes: the first algorithm data is used for indicating the first chip to execute various instructions and the first attribute data is used for indicating the first chip to execute various instructions; the attribute data includes a first serial number;
extracting a serial number different from the first serial number from a preset serial number database corresponding to the first chip to be used as a second serial number;
replacing the first serial number in the first attribute data with the second serial number to generate second attribute data;
the first algorithm data and the second attribute data are used as second data and transplanted to a second chip; the second chip and the first chip have the same structure and contain different data.
Preferably, it comprises: the first attribute data further includes: counting information; the counting information is used for representing the corresponding resource consumption when the chip executes various instructions;
after migrating the first algorithm data and the second attribute data to a second chip, further comprising:
and updating the counting information in the second attribute data.
Preferably, the updating the count information in the second attribute data includes:
resetting the counting information to a counting initial value so as to clear the corresponding counting device and restart counting.
Preferably, the method further comprises:
repeatedly executing the following chip data generation operation until the serial numbers in the preset serial number database are extracted:
extracting a target serial number from a preset serial number database corresponding to the first chip;
replacing the first serial number in the first attribute data with the target serial number to generate new target attribute data;
taking the first algorithm data and the target attribute data as target data, and transplanting the target data to a new target chip; the target chip and the first chip have the same structure and contain different data.
Preferably, after the first algorithm data and the target attribute data are transplanted to the new target chip as target data, the method further comprises:
and resetting the counting information in the target chip to generate blank counting information.
Preferably, before extracting the sequence number different from the first sequence number, the method further includes:
judging whether the first algorithm data in the first data and the first attribute data are bound or not;
if yes, the first algorithm data and the first attribute data are used as third data and transplanted to a third chip; the third chip and the first chip have the same structure and the same contained data;
if not, acquiring a preset serial number database corresponding to the first chip.
Preferably, the method further comprises:
when judging that the ink box of the printer has faults and the corresponding counting information in the fourth chip does not exceed a preset counting threshold, acquiring fourth data of the fourth chip, which comprises second algorithm data and third attribute data;
after the fourth data is extracted, transplanting the fourth data into a fifth chip; the fifth chip and the fourth chip have the same structure and contain the same data;
and updating the counting information in the fifth chip according to the actually measured counting value corresponding to the ink box.
On the basis of the method embodiment, the invention correspondingly provides the device item embodiment.
An embodiment of the present invention provides a data migration apparatus for a chip, including: the device comprises a data acquisition module, a serial number extraction module, an attribute data updating module and a data transplanting module;
the data acquisition module is used for acquiring first data of a first chip corresponding to an ink box of a printer after the ink box is detected to be used; wherein the first data includes: the first algorithm data is used for indicating the first chip to execute various instructions and the first attribute data is used for indicating the first chip to execute various instructions; the attribute data includes a first serial number;
the serial number extraction module is used for extracting serial numbers different from the first serial number from a preset serial number database corresponding to the first chip to be used as second serial numbers;
the attribute data updating module is used for generating second attribute data after replacing the first serial number in the first attribute data with the second serial number;
the data transplanting module is used for transplanting the first algorithm data and the second attribute data to a second chip as second data; the second chip and the first chip have the same structure and contain different data.
Based on the method embodiment, the invention correspondingly provides the terminal equipment item embodiment.
Another embodiment of the present invention provides a terminal device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, where the processor implements the data migration method of a chip according to the embodiment of the present invention when executing the computer program.
Based on the method embodiments described above, the present invention correspondingly provides storage medium item embodiments.
Another embodiment of the present invention provides a storage medium, where the computer readable storage medium includes a stored computer program, and when the computer program runs, the device where the computer readable storage medium is located is controlled to execute a data migration method of a chip according to the foregoing embodiment of the present invention.
The invention has the following beneficial effects:
the embodiment of the invention provides a data transplanting method, a device, a terminal device and a storage medium of a chip, wherein the data transplanting method can acquire first data in a first chip corresponding to an ink box of a printer after the ink box is used, and can generate new second attribute data based on the new serial number after finding out a second serial number different from the first serial number according to the first serial number in the first data so as to complete new fusion of the first algorithm data and the second attribute data and can be transplanted into a new second chip. The structure of the second chip is the same as that of the first chip, but the serial numbers contained in the second chip are different, so that the second chip and the ink box can be recombined and then used in the printer. Compared with the prior art, the method can realize the recycling of the ink box by extracting the new serial number and the data transplanting method without discarding the ink box, thereby reducing the waste of the ink box of the printer and ensuring the recycling of the ink box.
Drawings
Fig. 1 is a flow chart of a data migration method of a chip according to an embodiment of the invention.
Fig. 2 is a schematic structural diagram of a data migration device for chips according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. 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.
In the description of the embodiments of the present application, the technical terms "first," "second," etc. are used merely to distinguish between different objects and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated, a particular order or a primary or secondary relationship. In the description of the embodiments of the present application, the meaning of "plurality" is two or more unless explicitly defined otherwise.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the present application. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments.
Fig. 1 is a schematic flow chart of a data migration method of a chip according to an embodiment of the present invention, where the data migration method of the chip includes:
step S1: after detecting that an ink box of a printer is used, acquiring first data of a first chip corresponding to the ink box; wherein the first data includes: the first algorithm data is used for indicating the first chip to execute various instructions and the first attribute data is used for indicating the first chip to execute various instructions; the attribute data includes a first serial number;
step S2: extracting a serial number different from the first serial number from a preset serial number database corresponding to the first chip to be used as a second serial number;
step S3: replacing the first serial number in the first attribute data with the second serial number to generate second attribute data;
step S4: the first algorithm data and the second attribute data are used as second data and transplanted to a second chip; the second chip and the first chip have the same structure and contain different data.
For step S1, in a preferred embodiment, after the ink cartridge of a printer is used, the present invention can acquire the first data in the first chip corresponding to the ink cartridge, so as to transplant the data of the first chip into another chip by a data transplantation method, so that the ink cartridge can be reused based on the second chip without discarding.
Illustratively, the first chip may be a chip or the like that has been over-run or damaged due to its lifetime, and the second chip may be a recycled chip or a usable chip that has a similar structure to the first chip. It will be appreciated that in a printer cartridge, the first chip is typically the original chip, which contains both the attribute information (including information recorded during use) and the authentication information of the cartridge. When the cartridge has expired in its lifetime or the chip is damaged, the second chip, i.e. the regeneration chip, may be used to replace the first chip. The regenerated chip has similar structure and function with the original chip, and can ensure the normal identification and use of the printer. The chip transplanting method can be applied to other electronic products, such as a smart watch, a smart bracelet and the like, and the replacement scheme of the first chip and the second chip can be used. When a chip in the product fails or breaks down, a second chip may be used to replace the first chip to resume normal use of the product.
Before the data of the second chip is obtained, the invention can judge whether the data in the first chip is bound or not;
in the first chip, there are two kinds of data information, one is authentication information, which is algorithm data required for executing the algorithm instruction of the printer; and second, user information including ID data (serial number), model data, color data, capacity data, count data, and the like. It can be understood that the first algorithm data is the verification information.
While the information in the chip is in the following two cases:
(1) Authentication information is bound with user information: because the verification information and the user information are bound, an old or bad chip can only extract a set of verification information and corresponding user information, and then transplanted and burnt into a new chip. I.e. how many old chips can only have how many new reusable chips.
(2) The authentication information is not bound with the user information: this means that the authentication of the user information by the printer and the content of the authentication information are independent of each other. Therefore, only one set of verification information is required to be extracted from an old chip, a plurality of sets of other user information can be matched, but other user information is not necessarily extracted from the original chip and can be obtained in other modes.
Specifically, before extracting the sequence number different from the first sequence number, the method further includes:
judging whether first algorithm data in the first data and first attribute data are bound or not;
if yes, the first algorithm data and the first attribute data are used as third data and transplanted to a third chip; the third chip and the first chip have the same structure and the same contained data;
therefore, when the first algorithm data and the first attribute data are judged to be bound, the invention can obtain one-to-one new chip data corresponding to the original algorithm data and the original serial number data.
If not, the first algorithm data and the first attribute data are not bound, and a preset serial number database corresponding to the first chip is obtained.
For step S2 and step S3, in a preferred embodiment, a serial number different from the first serial number is extracted from a preset serial number database corresponding to the first chip and used as a second serial number, so that the second attribute data can be generated after the first serial number in the first attribute data is replaced by the second serial number.
The embodiment of the invention can customize the chip according to specific requirements by replacing the serial number, which is very important for the reuse of the printer ink cartridge, because the proper chip can be customized according to different models and serial numbers of the ink cartridge. When the data in the first chip further contains information such as capacity, color and the like of the ink box, the chip suitable for the ink box can be customized according to the extracted various attribute data, so that the ink box can be reused.
For step S4, in a preferred embodiment, after the first algorithm data and the second attribute data are migrated to the second chip as second data, a regenerated chip may be obtained; illustratively, the second chip is identical in structure to the first chip, but contains different data so that the data of the second chip can pass the verification and use of the printer.
In a preferred embodiment, the count data in the user information is not generally bound to the authentication information, since the count data is generally consumable capacity, is changing in real time, and is not bound to the authentication information. Therefore, after all the data in the first chip are extracted, the counting data is only required to be changed into a brand new state (or an original state), and then the data is written into a new chip to realize the re-counting, and the ink box can be reused. Specifically, the first attribute data further includes: counting information; the counting information is used for representing the corresponding resource consumption when the chip executes various instructions;
then after migrating the first algorithm data and the second attribute data to the second chip, further comprising the following operations of updating the count information:
and updating the counting information in the second attribute data. Specifically, the counting information is reset to the initial counting value, so that the corresponding counting device is cleared and the counting is restarted, thereby updating the counting information, namely recycling the ink box, namely re-identifying and re-counting the serial number of the current second chip on the printer.
In a preferred embodiment, after the algorithm data of the first chip is obtained, the invention can also generate a plurality of chip data based on the set of algorithm data and transplant the chip data into a new chip, so that a plurality of chip data can be obtained according to one chip data, and the ink box can be continuously used later, thereby further realizing the recycling of the ink box.
Specifically, the embodiment of the invention further comprises:
repeatedly executing the following chip data generation operation until the serial numbers in the preset serial number database are extracted:
extracting a target serial number from a preset serial number database corresponding to the first chip;
replacing the first serial number in the first attribute data with the target serial number to generate new target attribute data;
taking the first algorithm data and the target attribute data as target data, and transplanting the target data to a new target chip; the target chip and the first chip have the same structure and contain different data.
And after the first algorithm data and the target attribute data are used as target data and transplanted to a new target chip, the method further comprises the following steps:
and resetting the counting information in the target chip to generate blank counting information.
When the ink box and the chip data of the ink box need to be reused and the chip data are extracted, the algorithm data and the attribute data corresponding to the first chip can be extracted, whether the algorithm data are bound with the attribute data or not is judged, so that the algorithm data of the first chip which have no binding relation are extracted, the algorithm data are used as target data, and all other attribute data are fused to realize the data reconstruction of a plurality of chips, so that the ink box can be continuously and repeatedly used, and the transplanting method can rapidly complete the data extraction and the reconstruction to obtain a new chip which can be continuously used.
The embodiment of the invention can copy the data of one original chip into other regeneration chips, thereby obtaining a plurality of chips, and having the following advantages for the reuse of the printer ink box:
the cost is reduced: because a new chip needs to be purchased every time the ink box is replaced, the cost is high, and a plurality of chips can be obtained by copying the chip data, so that the production cost is reduced.
Efficiency is improved: by copying the chip data, a plurality of chips can be manufactured rapidly, and the production efficiency is improved.
Increased flexibility: by copying the chip data, a plurality of chips can be obtained, different chips can be manufactured according to different requirements, for example, different serial number chips are required, and different use scenes can be met.
In summary, the copying of one chip data to other chips results in a large number of chips, which has the benefits of reduced cost, increased efficiency and increased flexibility for the reuse of printer cartridges.
In a preferred embodiment, the embodiment of the present invention further comprises:
when judging that the ink box of the printer has faults and the corresponding counting information in the fourth chip does not exceed a preset counting threshold, acquiring fourth data of the fourth chip, which comprises second algorithm data and third attribute data;
after the fourth data is extracted, transplanting the fourth data into a fifth chip; the fifth chip and the fourth chip have the same structure and contain the same data;
and updating the counting information in the fifth chip according to the actually measured counting value corresponding to the ink box.
Through the above determination process, it can be determined whether the chip has a fault or not, and corresponding measures are taken. If the chip has a fault, a mode of replacing the chip and data transplanting can be adopted to obtain a new fifth chip, so that the ink box can be continuously used, and the cost of directly replacing the whole ink box is avoided. The invention can successfully transplant the chip data in the ink box with faults into a new chip and update the counting information, so that the new chip can replace the original chip to work normally in the printer. The cost is reduced, the normal working efficiency of the printer is improved, and unnecessary waste of the ink box is reduced.
As shown in fig. 2, on the basis of the embodiments of the data migration methods of the various chips, the present invention correspondingly provides an apparatus item embodiment;
an embodiment of the present invention provides a data migration apparatus for a chip, including: the device comprises a data acquisition module, a serial number extraction module, an attribute data updating module and a data transplanting module;
the data acquisition module is used for acquiring first data of a first chip corresponding to an ink box of a printer after the ink box is detected to be used; wherein the first data includes: the first algorithm data is used for indicating the first chip to execute various instructions and the first attribute data is used for indicating the first chip to execute various instructions; the attribute data includes a first serial number;
the serial number extraction module is used for extracting serial numbers different from the first serial number from a preset serial number database corresponding to the first chip to be used as second serial numbers;
the attribute data updating module is used for generating second attribute data after replacing a first serial number in the first attribute data with the second serial number;
the data transplanting module is used for transplanting the first algorithm data and the second attribute data to a second chip as second data; the second chip and the first chip have the same structure and contain different data.
It should be noted that the apparatus embodiments described above are merely illustrative, and the modules described as separate components may or may not be physically separate, and components shown as modules may or may not be physical modules, may be located in one place, or may be distributed over multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. In addition, in the drawings of the embodiment of the device provided by the invention, the connection relation between the modules represents that the modules have communication connection, and can be specifically implemented as one or more communication buses or signal lines. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
It will be clearly understood by those skilled in the art that, for convenience and brevity, the specific working process of the apparatus described above may refer to the corresponding process in the foregoing method embodiment, which is not described herein again.
Based on the embodiments of the data migration methods of the various chips, the invention correspondingly provides embodiments of terminal equipment items.
An embodiment of the present invention provides a terminal device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, where the processor implements a data migration method of a chip according to any one of the embodiments of the present invention when the processor executes the computer program.
The terminal equipment can be computing terminal equipment such as a desktop computer, a notebook computer, a palm computer, a cloud server and the like. The terminal device may include, but is not limited to, a processor, a memory.
The processor may be a central processing unit (Central Processing Unit, CPU), other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), off-the-shelf programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. The general purpose processor may be a microprocessor or the processor may be any conventional processor or the like, which is a control center of the terminal device, and which connects various parts of the entire terminal device using various interfaces and lines.
The memory may be used to store the computer program, and the processor may implement various functions of the terminal device by running or executing the computer program stored in the memory and invoking data stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function, and the like; the storage data area may store data created according to the use of the cellular phone, etc. In addition, the memory may include high-speed random access memory, and may also include non-volatile memory, such as a hard disk, memory, plug-in hard disk, smart Media Card (SMC), secure Digital (SD) Card, flash Card (Flash Card), at least one disk storage device, flash memory device, or other volatile solid state storage device.
Based on the embodiments of the data migration methods of the various chips, the invention correspondingly provides the storage medium item embodiments.
An embodiment of the present invention provides a storage medium, where the storage medium includes a stored computer program, where when the computer program runs, the device where the computer readable storage medium is located is controlled to execute a data migration method of a chip according to an embodiment of any one of the method of the present invention.
The storage medium is a computer readable storage medium, and the computer program is stored in the computer readable storage medium, and when executed by a processor, the computer program can implement the steps of the above-mentioned method embodiments. Wherein the computer program comprises computer program code which may be in source code form, object code form, executable file or some intermediate form etc. The computer readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), an electrical carrier signal, a telecommunications signal, a software distribution medium, and so forth. It should be noted that the computer readable medium contains content that can be appropriately scaled according to the requirements of jurisdictions in which such content is subject to legislation and patent practice, such as in certain jurisdictions in which such content is subject to legislation and patent practice, the computer readable medium does not include electrical carrier signals and telecommunication signals.
While the foregoing is directed to the preferred embodiments of the present invention, it will be appreciated by those skilled in the art that changes and modifications may be made without departing from the principles of the invention, such changes and modifications are also intended to be within the scope of the invention.

Claims (10)

1. A method for data migration of a chip, comprising:
after detecting that an ink box of a printer is used, acquiring first data of a first chip corresponding to the ink box; wherein the first data includes: the first algorithm data is used for indicating the first chip to execute various instructions and the first attribute data is used for indicating the first chip to execute various instructions; the attribute data includes a first serial number;
extracting a serial number different from the first serial number from a preset serial number database corresponding to the first chip to be used as a second serial number;
replacing the first serial number in the first attribute data with the second serial number to generate second attribute data;
the first algorithm data and the second attribute data are used as second data and transplanted to a second chip; the second chip and the first chip have the same structure and contain different data.
2. The method of claim 1, comprising: the first attribute data further includes: counting information; the counting information is used for representing the corresponding resource consumption when the chip executes various instructions;
after migrating the first algorithm data and the second attribute data to a second chip, further comprising:
and updating the counting information in the second attribute data.
3. The method of claim 2, wherein updating the count information in the second attribute data comprises:
resetting the counting information to a counting initial value so as to clear the corresponding counting device and restart counting.
4. The method of data migration for a chip of claim 1, further comprising:
repeatedly executing the following chip data generation operation until the serial numbers in the preset serial number database are extracted:
extracting a target serial number from a preset serial number database corresponding to the first chip;
replacing the first serial number in the first attribute data with the target serial number to generate new target attribute data;
taking the first algorithm data and the target attribute data as target data, and transplanting the target data to a new target chip; the target chip and the first chip have the same structure and contain different data.
5. A method of data migration of a chip according to claim 3, further comprising, after migrating the first algorithm data and the target attribute data as target data to a new target chip:
and resetting the counting information in the target chip to generate blank counting information.
6. The method of claim 1, further comprising, prior to extracting a sequence number different from the first sequence number:
judging whether the first algorithm data in the first data and the first attribute data are bound or not;
if yes, the first algorithm data and the first attribute data are used as third data and transplanted to a third chip; the third chip and the first chip have the same structure and the same contained data;
if not, acquiring a preset serial number database corresponding to the first chip.
7. The method for data migration of a chip of claim 3, further comprising:
when judging that the ink box of the printer has faults and the corresponding counting information in the fourth chip does not exceed a preset counting threshold, acquiring fourth data of the fourth chip, which comprises second algorithm data and third attribute data;
after the fourth data is extracted, transplanting the fourth data into a fifth chip; the fifth chip and the fourth chip have the same structure and contain the same data;
and updating the counting information in the fifth chip according to the actually measured counting value corresponding to the ink box.
8. A data migration apparatus for a chip, comprising: the device comprises a data acquisition module, a serial number extraction module, an attribute data updating module and a data transplanting module;
the data acquisition module is used for acquiring first data of a first chip corresponding to an ink box of a printer after the ink box is detected to be used; wherein the first data includes: the first algorithm data is used for indicating the first chip to execute various instructions and the first attribute data is used for indicating the first chip to execute various instructions; the attribute data includes a first serial number;
the serial number extraction module is used for extracting serial numbers different from the first serial number from a preset serial number database corresponding to the first chip to be used as second serial numbers;
the attribute data updating module is used for generating second attribute data after replacing the first serial number in the first attribute data with the second serial number;
the data transplanting module is used for transplanting the first algorithm data and the second attribute data to a second chip as second data; the second chip and the first chip have the same structure and contain different data.
9. A terminal device comprising a processor, a memory and a computer program stored in the memory and configured to be executed by the processor, the processor implementing a method of data migration of a chip according to any one of claims 1 to 7 when the computer program is executed.
10. A storage medium comprising a stored computer program, wherein the computer program, when run, controls a device in which the storage medium is located to perform a method of data migration of a chip according to any one of claims 1 to 7.
CN202311798942.4A 2023-12-25 2023-12-25 Chip data migration method and device, terminal equipment and storage medium Pending CN117785080A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311798942.4A CN117785080A (en) 2023-12-25 2023-12-25 Chip data migration method and device, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311798942.4A CN117785080A (en) 2023-12-25 2023-12-25 Chip data migration method and device, terminal equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117785080A true CN117785080A (en) 2024-03-29

Family

ID=90387662

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311798942.4A Pending CN117785080A (en) 2023-12-25 2023-12-25 Chip data migration method and device, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117785080A (en)

Similar Documents

Publication Publication Date Title
CN110370810B (en) Consumable chip data processing method and device, consumable chip and imaging box
CN103473076A (en) Issuing method and issuing system for code version
CN112764753B (en) Project deployment method and device, electronic equipment and storage medium
CN110412843B (en) Serial number switching method and system
CN101673374B (en) Bill processing method and device
CN103064752A (en) Method and device of repairing document
CN104007942A (en) Method and device for printing control of logs
CN110287684B (en) Sequence number processing method, sequence number processing device, consumable chip and imaging box
CN111984666A (en) Database access method and device, computer readable storage medium and computer equipment
CN117785080A (en) Chip data migration method and device, terminal equipment and storage medium
CN110083493A (en) A kind of embedded system failure self-recovery method, terminal device and storage medium
CN115545809B (en) Method for constructing standard library of electronic commerce commodity, data alignment method, device and equipment
CN112835564A (en) Code generation method and device
CN111078473A (en) Test item copying method and device
CN103838731A (en) Method and terminal for processing data
CN113407180B (en) Configuration page generation method, system, equipment and medium
CN115526859A (en) Method for identifying production defects, distributed processing platform, equipment and storage medium
CN114066331A (en) Shareholder investment information acquisition method and device, electronic equipment and storage medium
CN110968456A (en) Method and device for processing fault disk in distributed storage system
CN110221952B (en) Service data processing method and device and service data processing system
CN112685360B (en) Method and device for persistence of memory data, storage medium and computer equipment
US20180012119A1 (en) Robotic Conductor of Business Operations Software
CN111352824B (en) Test method and device and computer equipment
CN109145022B (en) Writing method, device and storage medium for network identity of mobile equipment
CN113434360A (en) Method and system for monitoring operation

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