Non-contact read-write method, device, printer and computer readable storage medium
1. A non-contact read-write method is applied to a read-write device, the read-write device is in wireless communication with a plurality of consumable chips, and the method is characterized by comprising the following steps:
obtaining an upgrade mode and upgrade object information;
sending upgrading information to an upgrading object by adopting a data sending method corresponding to the upgrading mode so as to upgrade the upgrading object;
wherein the upgrade object is at least one determined from the plurality of consumable chips according to the upgrade object information.
2. The method according to claim 1, wherein the upgrade mode is a broadcast upgrade, the upgrade object information includes a chip model and an upgrade version, and the step of transmitting the upgrade information to the upgrade object by using a data transmission method corresponding to the upgrade mode to upgrade the upgrade object includes:
sending an upgrade entering instruction to the plurality of consumable chips, wherein the upgrade entering instruction is used for prompting the consumable chips to respond and enter an upgrade state;
generating upgrade chip information according to the upgrade object information, and sending the upgrade chip information to the plurality of consumable chips, wherein the upgrade chip information is used for the plurality of consumable chips to judge whether the consumable chips are upgrade objects;
obtaining a corresponding upgrading data packet according to the upgrading version in the upgrading object information, and generating and sending basic upgrading packet information according to the upgrading data packet, wherein the basic upgrading packet information is used for the upgrading object to receive and respond so as to verify the subsequently received upgrading data packet;
sending the upgrading data packet, wherein the upgrading data packet is used for being received by the upgrading object so as to be upgraded according to the upgrading data packet after the upgrading data packet is verified to be correct;
and when the upgrade data packet is completely sent, sending an upgrade completion instruction, wherein the upgrade completion instruction is used for the upgrade object to receive so as to start checking the upgrade data packet.
3. The method according to claim 1, wherein the plurality of consumable chips are communicatively connected to each other, the upgrade object information includes a chip model and an upgrade version, the upgrade mode is an interconnection upgrade, and the step of sending upgrade information to an upgrade object by using a data sending method corresponding to the upgrade mode to upgrade the upgrade object includes:
sending an instruction for entering an upgrade state to any target consumable chip in the plurality of consumable chips so as to enable the target consumable chip to perform data communication with the remaining consumable chips after a new upgrade is completed, and enable the consumable chip corresponding to the upgrade object information to be upgraded, wherein the upgrade state instruction is used for the target consumable chip to respond so as to enter the upgrade state;
obtaining a corresponding upgrading data packet according to the upgrading version in the upgrading object information, generating upgrading packet basic information according to the upgrading data packet, and sending the upgrading packet basic information to the target consumable chip, wherein the upgrading packet basic information is used for the target consumable chip to respond so as to verify a subsequently received upgrading data packet;
sending the upgrading data packet to the target consumable chip, wherein the upgrading data packet is used for upgrading the target consumable chip according to the upgrading data packet after the upgrading data packet is verified to be correct;
and when the upgrade data packet is completely sent, sending an upgrade completion instruction to the target consumable chip, wherein the upgrade completion instruction is used for the communication object to respond so as to start checking the upgrade data packet.
4. The method according to claim 2 or 3, wherein the number of the upgrade data packets is at least 1, and the basic information of the upgrade data packets includes a data check code, a data length and an upgrade data packet number.
5. The method according to any one of claims 1 to 3, further comprising:
sending a reading instruction to the consumable chip, and receiving return information sent by the consumable chip after responding to the reading instruction, wherein the reading instruction comprises reading first basic information, first working information and consumable information;
and sending the second basic information and/or the second working information to the consumable chip.
6. A read-write device, the read-write device wirelessly communicating with a plurality of consumable chips, the read-write device comprising:
the information acquisition module is used for acquiring the upgrading mode and the upgrading object information;
the programming module is used for sending upgrading information to an upgrading object by adopting a data sending method corresponding to the upgrading mode so as to upgrade the upgrading object;
wherein the upgrade object is at least one determined from the plurality of consumable chips according to the upgrade object information.
7. A read-write apparatus according to claim 6, characterized in that the read-write apparatus further comprises:
the reading module is used for sending a reading instruction to the consumable chip and receiving return information sent by the consumable chip after responding to the reading instruction, wherein the reading instruction comprises reading first basic information, first working information and consumable information;
and the writing module is used for sending the second basic information and/or the second working information to the consumable chip.
8. A printer comprising a plurality of consumable chips and a read-write device, the read-write device being in wireless communication with the consumable chips, the read-write device implementing the method of any one of claims 1 to 5.
9. The printer of claim 8, further comprising a transmission medium, wherein the consumable chip wirelessly communicates with the read-write device via the transmission medium, and wherein the transmission medium is used to encrypt information.
10. A computer-readable storage medium, comprising a computer program which, when executed, controls an electronic device in which the computer-readable storage medium is located to perform the method of any of claims 1 to 5.
Background
A Printer (Printer) is one of the output devices of a computer for printing the results of a computer process on an associated medium. With the development of computer technology, printers have become an indispensable setting in people's daily work. Global paper consumption is growing at a doubling rate each year, and printer sales are also growing at an average rate of approximately eight percent. In order to meet the increasing printing demand, printers around the world rapidly develop and update while displaying their own characteristics, and emerge various printers and printer consumable chips.
Conventional printer consumable chips contact the printer through contact terminals on the chip to perform data interaction. Because the variety of printing consumptive material chip, the shape of chip, contact point position also are different, if read write line device need correspond the chip of each model one by one, then need be equipped with a large amount of readwrite device to need cost a large amount of manpower and materials to set up the production operation flow, come to correspond different consumptive material chips, in addition, when using read write line device to give consumptive material chip reading and writing, also need operate each chip one by one, the operation is tedious and inconvenient.
Disclosure of Invention
In order to make the aforementioned objects, features and advantages of the present disclosure more comprehensible, preferred embodiments accompanied with figures are described in detail below.
The application aims to provide a non-contact read-write method, a non-contact read-write device, a printer and a computer readable storage medium, which can be used for carrying out batch program upgrading and information read-write on consumable chips, and are simple and convenient to operate, so that the time cost and the labor cost are reduced, and the production and maintenance efficiency is improved.
The embodiment of the application can be realized as follows:
in a first aspect, an embodiment of the present application provides a non-contact read/write method, which adopts the following technical scheme:
a non-contact read-write method is applied to a read-write device, the read-write device is in wireless communication with a plurality of consumable chips, and the method comprises the following steps:
obtaining an upgrade mode and upgrade object information;
sending upgrading information to an upgrading object by adopting a data sending method corresponding to the upgrading mode so as to upgrade the upgrading object;
wherein the upgrade object is at least one determined from the plurality of consumable chips according to the upgrade object information.
Optionally, the upgrade mode is a broadcast upgrade, the upgrade object information includes a chip model and an upgrade version, and the step of sending the upgrade information to the upgrade object by using a data sending method corresponding to the upgrade mode to upgrade the upgrade object includes:
sending an upgrade entering instruction to the plurality of consumable chips, wherein the upgrade entering instruction is used for prompting the consumable chips to respond and enter an upgrade state;
generating upgrade chip information according to the upgrade object information, and sending the upgrade chip information to the plurality of consumable chips, wherein the upgrade chip information is used for the plurality of consumable chips to judge whether the consumable chips are upgrade objects;
obtaining a corresponding upgrading data packet according to the upgrading version in the upgrading object information, and generating and sending basic upgrading packet information according to the upgrading data packet, wherein the basic upgrading packet information is used for the upgrading object to receive and respond so as to verify the subsequently received upgrading data packet;
sending the upgrading data packet, wherein the upgrading data packet is used for being received by the upgrading object so as to be upgraded according to the upgrading data packet after the upgrading data packet is verified to be correct;
and when the upgrade data packet is completely sent, sending an upgrade completion instruction, wherein the upgrade completion instruction is used for the upgrade object to receive so as to start checking the upgrade data packet.
Optionally, the plurality of consumable chips are in communication connection with each other, the upgrade object information includes a chip model and an upgrade version, the upgrade mode is an interconnection upgrade, and the upgrade information is sent to the upgrade object by a data sending method corresponding to the upgrade mode to upgrade the upgrade object, including:
sending an instruction for entering an upgrade state to any target consumable chip in the plurality of consumable chips so as to enable the target consumable chip to perform data communication with the remaining consumable chips after a new upgrade is completed, and enable the consumable chip corresponding to the upgrade object information to be upgraded, wherein the upgrade state instruction is used for the target consumable chip to respond so as to enter the upgrade state;
obtaining a corresponding upgrading data packet according to the upgrading version in the upgrading object information, generating upgrading packet basic information according to the upgrading data packet, and sending the upgrading packet basic information to the target consumable chip, wherein the upgrading packet basic information is used for the target consumable chip to respond so as to verify a subsequently received upgrading data packet;
sending the upgrading data packet to the target consumable chip, wherein the upgrading data packet is used for upgrading the target consumable chip according to the upgrading data packet after the upgrading data packet is verified to be correct;
and when the upgrade data packet is completely sent, sending an upgrade completion instruction to the target consumable chip, wherein the upgrade completion instruction is used for the communication object to respond so as to start checking the upgrade data packet.
Optionally, the number of the upgrade data packets is at least 1, and the basic information of the upgrade data packets includes a data check code, a data length, and the number of upgrade data packets.
Optionally, the method further includes:
sending a reading instruction to the consumable chip, and receiving return information sent by the consumable chip after responding to the reading instruction, wherein the reading instruction comprises reading first basic information, first working information and consumable information;
and sending the second basic information and/or the second working information to the consumable chip.
In a second aspect, the present application provides a read/write apparatus, which adopts the following technical solution:
a read-write apparatus in wireless communication with a plurality of consumable chips, the read-write apparatus comprising:
the information acquisition module is used for acquiring the upgrading mode and the upgrading object information;
the programming module is used for sending upgrading information to an upgrading object by adopting a data sending method corresponding to the upgrading mode so as to upgrade the upgrading object;
wherein the upgrade object is at least one determined from the plurality of consumable chips according to the upgrade object information.
Optionally, the read/write apparatus further includes:
the reading module is used for sending a reading instruction to the consumable chip and receiving return information sent by the consumable chip after responding to the reading instruction, wherein the reading instruction comprises reading first basic information, first working information and consumable information;
and the writing module is used for sending the second basic information and/or the second working information to the consumable chip.
In a third aspect, the present application provides a printer, which adopts the following technical solution:
a printer comprising a plurality of consumable chips and a read-write apparatus, the read-write apparatus being in wireless communication with the consumable chips, the read-write apparatus implementing any of the methods of the first aspect.
Optionally, the printer further includes a transmission medium, the consumable chip wirelessly communicates with the read/write device through the transmission medium, and the transmission medium is used for encrypting information.
In a fourth aspect, the present application provides a computer-readable storage medium, which adopts the following technical solutions:
a computer-readable storage medium comprising a computer program which, when executed, controls an electronic device in which the computer-readable storage medium is located to perform the method of any of the first aspects.
The beneficial effects of the embodiments of the present application are, for example:
the non-contact read-write method, the non-contact read-write device, the printer and the computer readable storage medium provided by the embodiment of the application adopt the read-write device which is in wireless communication with the consumable chips, the consumable chips can be upgraded in batches, the consumable chips can also be read and written, in the process, the contact with the consumable chip contact is not needed, the operation is convenient, the read-write operation of the consumable chips is greatly simplified, the time cost and the labor cost of printer production can be further reduced, and the production efficiency and the maintenance efficiency are improved.
Drawings
In order to more clearly explain the technical solutions of the present disclosure, the drawings needed for the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present disclosure and therefore should not be considered as limiting the scope, and that those skilled in the art can also derive other related drawings from these drawings without inventive effort.
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Fig. 2 is a schematic flow chart of a non-contact read-write method according to an embodiment of the present application.
Fig. 3 is a communication connection structure diagram of a read-write device and a consumable chip according to an embodiment of the present disclosure.
Fig. 4 is a schematic flow chart of the first sub-step of step S20 in fig. 2.
Fig. 5 is another communication structure diagram of the read/write device and the consumable chip according to the embodiment of the present application.
Fig. 6 is a schematic flow chart of the second sub-step of step S20 in fig. 2.
Fig. 7 is a schematic structural diagram of a read/write apparatus according to an embodiment of the present application.
Fig. 8 is a schematic block diagram of a printer according to an embodiment of the present disclosure.
Description of reference numerals: 1-an electronic device; 2-a processor; 3-a memory; 4-a read-write device; 41-an information acquisition module; 42-programming the module; 43-a reading module; 44-write module.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be described clearly and completely with reference to the accompanying drawings of the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present application, as presented in the figures, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments in the present application, are within the scope of protection of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Furthermore, the appearances of the terms "first," "second," and the like, if any, are used solely to distinguish one from another and are not to be construed as indicating or implying relative importance.
The printer generally comprises a black-and-white printer and a color printer, wherein the black-and-white printer is mostly an ink box, the color printer can comprise one, two or four ink boxes, and the like, and each ink box is provided with a corresponding consumable chip. The consumable chip of a conventional printer is contacted with the printer through contact terminals on the consumable chip to perform data interaction. Because the variety of consumptive material chip, the shape of chip, contact point position diverse to make the readwrite device of consumptive material chip also diversified, just can correspond the consumptive material chip of each model one by one. Therefore, when the printer is produced, a large amount of read-write equipment needs to be configured, and a large amount of manpower and material resources are spent on the equipment operation flow so as to correspond to different consumable chips. In the process of production, use or maintenance, if the consumable chips are to be read and written by using the read-write equipment, each chip needs to be operated one by one, so that the time cost and the labor cost are high.
Referring to fig. 1, fig. 1 is a schematic block diagram of an electronic device according to an embodiment of the present disclosure, where the electronic device 1 may include, but is not limited to, a memory 3, a processor 2, and a read/write device 4.
In detail, the memory 3 and the processor 2 are directly or indirectly communicatively connected to enable transmission or interaction of data. For example, communication with each other may be achieved via one or more communication buses or signal lines. The read-write device 4 comprises at least one software functional module which can be stored in the memory 3 in the form of software or firmware. The processor 2 is configured to execute an executable computer program stored in the memory 3, for example, a software functional module and a computer program included in the read/write apparatus 4, so as to implement the contactless read/write method provided in the embodiment of the present application.
Wherein, the processor 2 and the memory 3 are both located in the electronic device 1 and are separately arranged. It should be understood that the computer-readable storage medium is also one of the memories 3, and therefore, the memory 3 may be replaced with a computer-readable storage medium, and both the memory 3 and the computer-readable storage medium may be independent of the electronic apparatus 1. Furthermore, the memory 3 may be integrated into the processor 2, e.g. may be a cache and/or general registers.
In this embodiment, both the computer-readable storage medium and the memory 3 can be used for storing a computer program, and when the processor 2 or the computer-readable storage medium executes the computer program, the contactless read-write method provided in this embodiment of the present application can be implemented.
It should be noted that, in the structural schematic diagram of the electronic device 1 shown in fig. 1, the electronic device 1 may further include more or less components than those shown in fig. 1, or have a different configuration from that shown in fig. 1. The components in fig. 1 may be implemented in hardware, software, or a combination thereof.
The application provides a non-contact read-write method, which is applied to a read-write device 4, wherein the read-write device 4 is in wireless communication with a plurality of consumable chips. The models of the consumable chips may not be unique, and the wireless communication may be near field wireless communication, that is, as long as the consumable chips are within a communication range, both the consumable chips can communicate with the read-write device 4. In addition, the order of some steps in the non-contact read-write method can be interchanged according to actual needs, and some steps can be omitted or deleted.
Referring to fig. 2, fig. 2 is a flowchart illustrating a contactless read/write method, including step S10 and step S20.
Step S10, the upgrade mode and the upgrade object information are obtained.
And step S20, sending upgrading information to the upgrading object by adopting a data sending method corresponding to the upgrading mode so as to upgrade the upgrading object.
Wherein the upgrade object is at least one determined from the plurality of consumable chips according to the upgrade object information.
According to obtaining upgrading mode and upgrading object information, send upgrading information for the upgrading object that at least one corresponds in a plurality of consumptive material chips to upgrade, can realize upgrading in batches to the consumptive material chip promptly, and can realize upgrading in batches to the consumptive material chip of various models, thereby can greatly simplify the operation of writing by fire of consumptive material chip, help reduce time, human cost, improve production efficiency. In addition, the reading and writing device 4 is in wireless communication with the consumable chip, so that the consumable chip does not need to be in contact with the contact of the reading and writing device 4, and the operation is convenient; the problems of poor contact or no contact caused by oxidation, bending, damage and the like of the metal contact can be avoided; the method has stronger safety, and the signal level change during communication can not be directly measured by equipment in a non-contact mode, so that the information is protected to a certain extent.
In step S10, the upgrade mode and the upgrade object information may be obtained by setting a read/write device.
It should be noted that the upgrade object information includes a chip model and an upgrade version, and the read/write device 4 may store data such as an upgrade data packet.
The upgrade mode in step S10 may be various, and may be, for example, a broadcast upgrade, an interconnection upgrade, or the like.
Referring to fig. 3, a communication connection structure between the reader/writer 4 and the consumable chip is shown when the upgrade mode in step S10 is broadcast upgrade. Referring to fig. 4, a flowchart of the first sub-step of step S20 provided for the embodiment of the present application, when the upgrade mode in step S10 is broadcast upgrade, the first sub-step of step S20 is executed, which includes step S211, step S212, step S213, step S214, and step S215.
And step S211, sending an upgrading entering instruction to a plurality of consumable chips. Wherein, the upgrade entering instruction is used for prompting the consumable chip to respond and enter an upgrade state.
And S212, generating upgraded chip information according to the upgraded object information, and sending the upgraded chip information to a plurality of consumable chips. The upgrading chip information is used for the plurality of consumable chips to judge whether the consumable chips are upgrading objects.
Step S213, obtaining the corresponding upgrading data packet according to the upgrading version in the upgrading object information, and generating and sending the basic information of the upgrading packet according to the upgrading data packet. The basic information of the upgrade package is used for the upgrade object to receive and respond so as to verify the subsequently received upgrade data package.
Step S214, the upgrade data packet is sent. The upgrading data packet is used for being received by the upgrading object, so that upgrading can be carried out according to the upgrading data packet after the upgrading data packet is verified to be correct.
Step S215, when the upgrade data packet is totally sent, sending an upgrade completion instruction. The upgrade completion instruction is used for the upgrade object to receive to start checking the upgrade data packet.
In step S211, the plurality of consumable chips are all in a range communicable with the read/write device 4, and after the consumable chips enter the upgrade state, the broadcast data receiving function is turned on to receive subsequent items of data. In step S212, the upgrade chip information includes, but is not limited to, a chip model, a hardware version, a software version, and an upgrade condition, after the consumable chip receives the upgrade chip information, if each item of data of the upgrade chip information is satisfied, the consumable chip is an upgrade object, otherwise, the consumable chip is not an upgrade object, and the consumable chip that is not an upgrade object does not receive subsequent information. It can be understood that the consumable chip performs software reset and program refresh according to the received upgrade data packet after receiving all the upgrade data packets and checking that the upgrade data packets are correct.
By adopting the technical scheme of the steps S211, S212, S213, S214 and S215, the batch upgrading of a plurality of consumable chips can be realized by using one read-write device 4, namely, all consumable chips which are the upgrading objects can be upgraded in the same batch, the upgrading is not required one by one, the operation is simple and convenient, the upgrading efficiency is greatly improved, and the time and labor cost is reduced. Meanwhile, the reading and writing device 4 can be saved, and the upgrading cost is reduced.
Referring to fig. 5, a schematic structural diagram of communication connection between a plurality of consumable chips according to an embodiment of the present disclosure is provided.
Referring to fig. 6, which is a schematic flowchart of the second sub-step of step S20 provided in the embodiment of the present application, when the upgrade mode in step S10 is an interconnection upgrade, the second sub-step of step S20 is performed. It should be noted that the second substep of step S20 can be implemented only when a plurality of consumable chips are communicatively connected to each other. The second sub-step of step S20 includes step S221, step S222, step S223, and step S224.
Step S221, an instruction of entering an upgrading state is sent to any target consumable chip in the plurality of consumable chips, so that the target consumable chip is subjected to data communication with the remaining consumable chips after a new upgrade is completed, and the consumable chip corresponding to the upgrade object information is upgraded. The upgrade state instruction is used for the target consumable chip to respond so as to enter an upgrade state.
Step S222, obtaining a corresponding upgrading data packet according to the upgrading version in the upgrading object information, generating basic upgrading packet information according to the upgrading data packet, and sending the basic upgrading packet information to the target consumable chip. The basic information of the upgrade package is used for the target consumable chip to respond so as to verify the subsequently received upgrade data package.
And step S223, sending the upgrading data packet to the target consumable chip. The upgrading data packet is used for upgrading the target consumable chip according to the upgrading data packet after the upgrading data packet is checked to be correct.
And S224, sending an upgrade completion instruction to the target consumable chip when all the upgrade data packets are counted. The upgrade complete instruction is used for the communication object to respond to so as to start checking the upgrade data packet.
Target consumptive material chip to communication connection's each other in the consumptive material chip upgrades, and target consumptive material chip upgrades the consumptive material chip that upgrading object information corresponds in remaining consumptive material chip again, and target consumptive material chip upgrades the back promptly, and remaining consumptive material chip carries out data communication by oneself, independently confirms again whether need upgrading, and the consumptive material chip that needs upgrading afterwards upgrades through the mode of information such as mutual transmission upgrading data package. Therefore, batch upgrading of consumable chips can be realized, one-by-one upgrading is not needed, the operation is simple and convenient, the upgrading efficiency is greatly improved, and the time and labor cost are reduced. Moreover, only a single read-write device 4 is needed to complete the operation, so that the read-write device 4 is saved, and the upgrading cost is reduced.
In this embodiment, the target consumable chip is a consumable chip that needs to be upgraded. It should be understood that, even when the target consumable chip does not need to be upgraded, various pieces of upgrade information can be transmitted as an intermediate medium for data transmission, so that a plurality of consumable chips can be upgraded independently.
It should be noted that the number of the upgrade data packets is at least 1, and the basic information of the upgrade data packet includes, but is not limited to, a data check code, a data length, and upgrade data packet data. And the consumable chip determines whether the received upgrade data packet is accurate or not according to the data check code and the data length, and the number of the data packets is used for determining whether the data packet reception is finished or not.
In this embodiment, a contactless read/write method provided in an embodiment of the present application further includes:
sending a reading instruction to the consumable chip, and receiving return information sent by the consumable chip after responding to the reading instruction;
and sending the second basic information and/or the second working information to the consumable chip.
The reading instruction comprises reading first basic information, first work information and consumable information. The first basic information includes, but is not limited to, vendor information, chip model, color, date of factory, and printer adapted. The first job information includes, but is not limited to, the total amount of ink, the number of printed sheets, and the remaining amount of ink. The system information comprises a hardware version and a software version, the second basic information comprises a chip model, a color and an adaptive printer, and the second working information comprises a printing sheet number.
The reading instruction is sent to the consumable chip, the corresponding information of the consumable chip can be read, the second basic information, the second working information and the like can be written into the consumable chip, reading and writing of information are achieved on the premise of contactless contact, manual correction of contact connection positions is not needed, operation is simple and convenient, and reading and writing efficiency can be improved.
Referring to fig. 7, a schematic structural diagram of a read/write apparatus 4 according to an embodiment of the present application is shown, where the read/write apparatus 4 wirelessly communicates with a plurality of consumable chips. The read-write apparatus 4 includes:
an information obtaining module 41, configured to obtain an upgrade mode and upgrade object information;
the programming module 42 is configured to send upgrade information to the upgrade object by using a data sending method corresponding to the upgrade mode, so as to upgrade the upgrade object;
wherein the upgrade object is at least one determined from the plurality of consumable chips according to the upgrade object information.
It should be noted that the programming module 42 can implement the method of the first sub-step and the second sub-step of step S20 in the non-contact read-write mode, that is, the programming module 42 is configured to execute the first sub-step and the second sub-step of step S20.
Referring to fig. 7, the read/write apparatus 4 further includes a read module 43 and a write module 44.
And the reading module 43 is configured to send a reading instruction to the consumable chip, and receive return information sent by the consumable chip after responding to the reading instruction. The reading instruction comprises any one or more of reading first basic information, first work information and consumable information.
And the writing module 44 is used for sending the second basic information and/or the second working information to the consumable chip.
The reading module 43 is used for implementing a reading function, and the writing module 44 is used for implementing a writing function, so as to facilitate reading and writing of various information of the consumable chip.
It should be understood that the read-write apparatus 4 can perform batch upgrade and information reading and writing on a plurality of consumable chips of a plurality of printers that are not shipped from a factory, and also can perform batch upgrade and information reading and writing on a plurality of consumable chips on a single printer.
Referring to fig. 8, which is a schematic structural diagram of a printer according to an embodiment of the present disclosure, the printer includes a plurality of consumable chips and a read/write device 4, the read/write device 4 is connected to the consumable chips in a wireless communication manner, and the read/write device 4 is implemented by any one of non-contact read/write methods. Therefore, on the premise that the read-write device 4 and the consumable chips do not need to be contacted with each other through the contact points, the printer can realize batch upgrading of the consumable chips through the single read-write device 4, information reading and writing are achieved, operation is simple and convenient, and use cost and maintenance cost are greatly reduced. Meanwhile, the read-write device 4 and the consumable chip are in wireless communication, so that a communication terminal caused by poor contact or non-contact can not occur, and the printer can work more stably.
Referring to fig. 8, in this embodiment, the printer further includes a transmission medium, the consumable chip wirelessly communicates with the read/write device 4 through the transmission medium, and the transmission medium is used for encrypting information. The transmission medium encrypts the interactive information between the consumable chip and the read-write device 4, so that the signal level change in the interactive process of the read-write device 4 and the consumable chip cannot be measured through equipment to a certain extent, information can be protected, and the information safety is improved.
In the several embodiments provided in the present disclosure, it should be understood that the disclosed apparatus, system diagram and method may be implemented in other manners. The apparatus, system, and method embodiments described above are merely illustrative, for example, the flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, the functional modules in the embodiments of the present disclosure may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules 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 disclosure 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, an electronic device 1, or a network device) to execute all or part of the steps of the method according to the embodiments of the present disclosure. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory 3 (ROM), a Random Access Memory 3 (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes. It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The above description is intended only as an alternative embodiment of the present disclosure, and not as a limitation thereof, and it will be apparent to those skilled in the art that various modifications and variations can be made in the present disclosure. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present disclosure should be included in the protection scope of the present disclosure.
- 上一篇:石墨接头机器人自动装卡簧、装栓机
- 下一篇:一种基于嵌入式设备无需冗余空间的升级方法