Disclosure of Invention
In order to solve at least one technical problem, the invention provides a printing program burning method, a chip and a printing consumable.
In order to achieve the above object, a first aspect of the present invention provides a method for burning a printing program, the method including:
scanning an identification code corresponding to a printer to be used through a terminal device to obtain characteristic information of the printer, and transmitting the characteristic information to a cloud server;
matching a corresponding printing program in a database by the cloud server according to the characteristic information, and issuing the printing program to the terminal equipment;
after the terminal equipment receives the printing program, carrying out caching processing and generating a burning instruction;
and receiving a burning command sent by the terminal equipment in a near-end communication mode, and burning the printing program into a chip.
In the scheme, the characteristic information comprises any one or more of printer type, printer brand, printer model and communication address; the identification code is a bar code or a two-dimensional code.
In this scheme, the matching of the corresponding printing program in the database by the cloud server according to the characteristic information specifically includes:
comparing the characteristic information with sample information of all printers preset in the database by the cloud server;
when the matching degree of the characteristic information and the corresponding sample information reaches a preset threshold value, determining the sample information;
and extracting the corresponding printing program according to the determined sample information.
In this scheme, before the cloud server matches a corresponding printing program in the database according to the feature information, the method further includes:
and receiving the printing program and the corresponding sample information thereof by the cloud server, storing the printing program in a preset position of the database, generating a link address, and writing the sample information and the link address into a mapping table in an associated manner.
Further, after writing the sample information and the link address association into a mapping table, the method further includes:
comparing, by the cloud server, the feature information with all sample information in the mapping table;
when the matching degree of the characteristic information and the corresponding sample information reaches a preset threshold value, determining the sample information and the associated link address thereof;
and extracting a corresponding printing program according to the link address.
In this scheme, after the cloud server matches a corresponding printing program in a database according to the feature information, the method further includes:
sending a payment request to the terminal equipment by the cloud server according to a charging standard;
after the terminal equipment receives the payment request, paying the amount of money by means of a third-party payment platform;
and after the cloud server receives the payment amount, issuing a printing program to the terminal equipment.
In this scheme, burn the printing procedure to the chip in, specifically include:
erasing an original printing program in the chip;
and after the erasing is finished, burning the printing program into the chip.
In this scheme, burn the printing procedure to the chip in, specifically include:
upgrading the original printing program in the chip according to the printing program; and/or
And formatting the parameters of the original printing program in the chip according to the printing program.
The third aspect of the present invention further provides a chip, the chip being communicatively connected to a printer, the chip comprising:
the near-end communication module is used for carrying out near-end communication with the terminal equipment and receiving a burning command and a burning printing program sent by the terminal equipment;
the storage module is used for providing a burning space to store the printing program;
wherein, the burning step of the printing program is as follows: scanning an identification code corresponding to a printer to be used through a terminal device to obtain characteristic information of the printer, and transmitting the characteristic information to a cloud server; matching a corresponding printing program in a database by the cloud server according to the characteristic information, and issuing the printing program to the terminal equipment; after the terminal equipment receives the printing program, carrying out caching processing and generating a burning instruction; and receiving a burning command sent by the terminal equipment in a near-end communication mode, and burning the printing program into the chip.
The third aspect of the invention also provides a printing consumable, which comprises a processing box and a chip, wherein the chip is detachably connected to the processing box and is in communication connection with a printer.
The method comprises the steps that the identification code corresponding to the printer to be used is scanned through the terminal equipment to obtain the characteristic information of the printer, and the characteristic information is transmitted to the cloud server; matching a corresponding printing program in a database by the cloud server according to the characteristic information, and issuing the printing program to the terminal equipment; after the terminal equipment receives the printing program, carrying out caching processing and generating a burning instruction; and finally, receiving a burning command sent by the terminal equipment in a near-end communication mode, and burning the printing program into a chip. After the traditional printing consumables are used up, the chips in the traditional printing consumables are discarded along with the printing consumables, and further waste of chip resources is caused. Compared with the traditional mode, the invention can realize the reutilization of the chip, effectively avoids the waste of chip resources and further saves the cost of purchasing printing consumables by customers.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Detailed Description
In order that the above objects, features and advantages of the present invention can be more clearly understood, a more particular description of the invention will be rendered by reference to the appended drawings. It should be noted that the embodiments and features of the embodiments of the present application may be combined with each other without conflict.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, however, the present invention may be practiced in other ways than those specifically described herein, and therefore the scope of the present invention is not limited by the specific embodiments disclosed below.
Fig. 1 shows a flowchart of a method for burning a printing program according to the present invention.
As shown in fig. 1, a first aspect of the present invention provides a method for burning a printing program, where the method includes:
s102, scanning an identification code corresponding to a printer to be used through a terminal device to acquire characteristic information of the printer, and transmitting the characteristic information to a cloud server;
s104, matching a corresponding printing program in a database by the cloud server according to the characteristic information, and issuing the printing program to the terminal equipment;
s106, after the terminal equipment receives the printing program, caching and generating a burning instruction;
and S108, receiving a burning command sent by the terminal equipment in a near-end communication mode, and burning the printing program into a chip.
It should be noted that the terminal device may be a communication device such as a mobile phone, a PC, an IPAD, and the like.
It should be noted that the characteristic information may include any one or more of a printer type, a printer brand, a printer model, and a communication address; the printer type may be a stylus printer, a color ink jet printer, a laser printer, etc. It can be understood that printers of different types, brands and even models can normally use the printing consumables to execute the printing action only by matching with the corresponding chip printing program, and if the printing program in the chip is not matched with the program of the printer, the printer cannot execute the printing action. Therefore, developers develop printing programs corresponding to the printers based on the printers, the printing programs are stored in the cloud server, the characteristic information of the printers is obtained by scanning the identification codes corresponding to the printers to be used according to the terminal equipment of the clients, then the printing programs corresponding to the characteristic information can be found out according to the characteristic information and provided for the terminal equipment of the clients, and finally the printing programs are burnt into the chips through the terminal equipment, so that the printing consumable chips can be recycled, and the printing cost of the clients is saved.
It should be noted that the identification code may be a bar code or a two-dimensional code, but is not limited thereto.
It should be noted that a burner is built in or connected to the terminal device, the burner communicates with the chip near end, and the terminal device burns the printing program into the chip through the burner.
The terminal device and the cloud server perform remote communication, and the remote communication mode may be a wireless communication mode such as 3G, 4G, 5G, and the like, or a wired communication mode such as a network cable, an optical fiber, and the like.
According to the embodiment of the invention, the near-end communication mode can be any one or more of NFC, RFID, Bluetooth and WIFI. Preferably, the near-end communication mode is NFC, but is not limited thereto.
According to the embodiment of the present invention, matching, by the cloud server, a corresponding print program in the database according to the feature information specifically includes:
comparing the characteristic information with sample information of all printers preset in the database by the cloud server;
when the matching degree of the characteristic information and the corresponding sample information reaches a preset threshold value, determining the sample information;
and extracting the corresponding printing program according to the determined sample information.
The cloud server stores sample information of all printers, and the sample information of each printer at least includes a printer type, a printer brand, a printer model, and the like.
Specifically, when the cloud server receives the characteristic information of the printer fed back by the terminal device, the characteristic information may traverse the sample information of all printers in the cloud server, and select the sample information with the matching degree reaching a preset threshold value, so as to complete the identification and judgment of the cloud server on the printer to be used by the client. And then, the cloud server can match a corresponding printing program according to the identified and judged printer so as to be downloaded and acquired by the terminal equipment.
Further, the client can also directly feed back the characteristic information of the printer to be used to the cloud server by means of the terminal device. For example, a client may input feature information (such as a category, a brand, a model, and the like) of a printer to be used in a human-computer interaction interface of a terminal device, the terminal device feeds back the feature information input by the client to the cloud server, and the cloud server matches a corresponding printing program according to the feature information provided by the client, so that the terminal device can download and acquire the printing program.
According to an embodiment of the present invention, before the matching of the corresponding printing program in the database by the cloud server according to the feature information, the method further includes:
and receiving the printing program and the corresponding sample information thereof by the cloud server, storing the printing program in a preset position of the database, generating a link address, and writing the sample information and the link address into a mapping table in an associated manner.
According to an embodiment of the present invention, after writing the sample information and the link address association into a mapping table, the method further includes:
comparing, by the cloud server, the feature information with all sample information in the mapping table;
when the matching degree of the characteristic information and the corresponding sample information reaches a preset threshold value, determining the sample information and the associated link address thereof;
and extracting a corresponding printing program according to the link address.
According to an embodiment of the present invention, after matching, by the cloud server, a corresponding print program in a database according to the feature information, the method further includes:
sending a payment request to the terminal equipment by the cloud server according to a charging standard;
after the terminal equipment receives the payment request, paying the amount of money by means of a third-party payment platform;
and after the cloud server receives the payment amount, issuing a printing program to the terminal equipment.
It should be noted that the third party payment platform may be a payment bank, a payment account, and the like. It will be appreciated that the charging criteria for downloading the print program is much lower than the purchase price of a conventional one-piece chip (i.e., a chip that is used once and has the print program attached to it when purchased). For a customer, the chip is purchased only once, and the printing program can be downloaded and obtained by delivering a small amount of cost subsequently, so that the cyclic utilization of the chip is realized, and the printing cost is effectively saved. For a chip manufacturer, the continuous profit can be realized by only investing the production cost of the chip once and downloading and acquiring the printing program by paying at the later stage, and the economic benefit of the chip manufacturer is improved.
According to the embodiment of the invention, burning the printing program into a chip specifically comprises the following steps:
erasing an original printing program in the chip;
and after the erasing is finished, burning the printing program into the chip.
It should be noted that before burning the printing program, if the original printing program may exist in the chip, the original printing program needs to be erased, so as to make room for burning a new printing program later.
It will be appreciated that the same chip may be used on different models, brands, and even types of printers. For example, when a chip is used in a first printer, a first printing program is used. According to the customer's needs, when the chip is transferred to the second printer, the existing first printing program of the chip needs to be erased, and then the second printing program is burnt to the chip, so that the diversified repeated application of the same chip can be realized.
According to the embodiment of the invention, burning the printing program into a chip specifically comprises the following steps:
upgrading the original printing program in the chip according to the printing program; and/or
And formatting the parameters of the original printing program in the chip according to the printing program.
It should be noted that, when the printer is upgraded, in order to meet the upgrade requirement of the printer, the original printing program in the chip also needs to be upgraded.
It should be noted that the parameters may include the number of sheets to be printed, the remaining amount of ink or powder, the amount used, the number of times of recording printing, the time, and the like. Specifically, when the chip is replaced from the old printing consumable to the new printing consumable, since the number of printed sheets recorded by the original printing program in the chip reaches the maximum (e.g. 500 sheets), the new printing consumable is not used, and the parameters of the original printing program of the chip need to be formatted. For example: the printing number parameter in the printing program is set to be 0, and the printer can know that the printing consumable material is new according to the interaction with the chip, so that normal printing can be realized.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
The above is a description of method embodiments, and the embodiments of the present invention are further described below by way of apparatus embodiments.
Fig. 2 shows a block diagram of a chip according to the invention.
As shown in fig. 2, the second aspect of the present invention further provides a chip 12, wherein the chip 12 is communicatively connected to a printer, and the chip 12 includes:
a near-end communication module 121, configured to perform near-end communication with a terminal device, and receive a burning instruction and a burned printing program sent by the terminal device;
a storage module 122, configured to provide a burning space to store the printing program;
wherein, the burning step of the printing program is as follows: scanning an identification code corresponding to a printer to be used through a terminal device to obtain characteristic information of the printer, and transmitting the characteristic information to a cloud server; matching a corresponding printing program in a database by the cloud server according to the characteristic information, and issuing the printing program to the terminal equipment; after the terminal equipment receives the printing program, carrying out caching processing and generating a burning instruction; and receiving a burning command sent by the terminal equipment in a near-end communication mode, and burning the printing program into the chip.
According to the embodiment of the invention, the near-end communication module can be any one or more of an NFC communication module, an RFID communication module, a Bluetooth communication module and a WIFI communication module. Preferably, the near-end communication module is an NFC communication module, but is not limited thereto.
According to the embodiment of the present invention, the characteristic information may include any one or more of a printer type, a printer brand, a printer model, a communication address; the identification code may be a bar code or a two-dimensional code. But is not limited thereto.
According to the embodiment of the invention, the cloud server is used for comparing the characteristic information with sample information of all printers preset in the database; when the matching degree of the characteristic information and the corresponding sample information reaches a preset threshold value, determining the sample information; and extracting the corresponding printing program according to the determined sample information.
According to the embodiment of the invention, the cloud server is further configured to receive the printing program and sample information corresponding to the printing program, store the printing program in a preset position of the database, generate a link address, and write the sample information and the link address into a mapping table in an associated manner.
According to the embodiment of the present invention, the cloud server is further configured to compare the feature information with all sample information in the mapping table; when the matching degree of the characteristic information and the corresponding sample information reaches a preset threshold value, determining the sample information and the associated link address thereof; and extracting a corresponding printing program according to the link address.
According to the embodiment of the invention, after the cloud server matches the corresponding printing program in the database according to the characteristic information, the cloud server sends a payment request to the terminal equipment according to a charging standard; after the terminal equipment receives the payment request, paying the amount of money by means of a third-party payment platform; and after the cloud server receives the payment amount, issuing a printing program to the terminal equipment.
According to the embodiment of the invention, before burning the printing program to a chip, the original printing program in the chip needs to be erased; and after the erasing is finished, burning the printing program into the chip.
Further, upgrading the original printing program in the chip according to the printing program; and/or carrying out formatting processing on the parameters of the original printing program in the chip according to the printing program.
FIG. 3 is a schematic perspective view of a printing consumable according to the present invention.
As shown in FIG. 3, the third aspect of the present invention also provides a printing consumable 20, which comprises a processing box 15 and a chip 12, wherein the chip 12 is detachably connected to the processing box 15 and is communicatively connected to a printer; the chip 12 includes:
a near-end communication module 121, configured to perform near-end communication with a terminal device, and receive a burning instruction and a burned printing program sent by the terminal device;
a storage module 122, configured to provide a burning space to store the printing program;
wherein, the burning step of the printing program is as follows: scanning an identification code corresponding to a printer to be used through a terminal device to obtain characteristic information of the printer, and transmitting the characteristic information to a cloud server; matching a corresponding printing program in a database by the cloud server according to the characteristic information, and issuing the printing program to the terminal equipment; after the terminal equipment receives the printing program, carrying out caching processing and generating a burning instruction; and receiving a burning command sent by the terminal equipment in a near-end communication mode, and burning the printing program into the chip.
According to the embodiment of the invention, the near-end communication module can be any one or more of an NFC communication module, an RFID communication module, a Bluetooth communication module and a WIFI communication module. Preferably, the near-end communication module is an NFC communication module, but is not limited thereto.
According to the embodiment of the present invention, the characteristic information may include any one or more of a printer type, a printer brand, a printer model, a communication address; the identification code may be a bar code or a two-dimensional code. But is not limited thereto.
According to the embodiment of the invention, the cloud server is used for comparing the characteristic information with sample information of all printers preset in the database; when the matching degree of the characteristic information and the corresponding sample information reaches a preset threshold value, determining the sample information; and extracting the corresponding printing program according to the determined sample information.
According to the embodiment of the invention, the cloud server is further configured to receive the printing program and sample information corresponding to the printing program, store the printing program in a preset position of the database, generate a link address, and write the sample information and the link address into a mapping table in an associated manner.
According to the embodiment of the present invention, the cloud server is further configured to compare the feature information with all sample information in the mapping table; when the matching degree of the characteristic information and the corresponding sample information reaches a preset threshold value, determining the sample information and the associated link address thereof; and extracting a corresponding printing program according to the link address.
According to the embodiment of the invention, after the cloud server matches the corresponding printing program in the database according to the characteristic information, the cloud server sends a payment request to the terminal equipment according to a charging standard; after the terminal equipment receives the payment request, paying the amount of money by means of a third-party payment platform; and after the cloud server receives the payment amount, issuing a printing program to the terminal equipment.
According to the embodiment of the invention, before burning the printing program to a chip, the original printing program in the chip needs to be erased; and after the erasing is finished, burning the printing program into the chip.
Further, upgrading the original printing program in the chip according to the printing program; and/or carrying out formatting processing on the parameters of the original printing program in the chip according to the printing program.
The method comprises the steps that the identification code corresponding to the printer to be used is scanned through the terminal equipment to obtain the characteristic information of the printer, and the characteristic information is transmitted to the cloud server; matching a corresponding printing program in a database by the cloud server according to the characteristic information, and issuing the printing program to the terminal equipment; after the terminal equipment receives the printing program, carrying out caching processing and generating a burning instruction; and finally, receiving a burning command sent by the terminal equipment in a near-end communication mode, and burning the printing program into a chip. After the traditional printing consumables are used up, the chips in the traditional printing consumables are discarded along with the printing consumables, and further waste of chip resources is caused. Compared with the traditional mode, the invention can realize the reutilization of the chip, effectively avoids the waste of chip resources and further saves the cost of purchasing printing consumables by customers.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units; can be located in one place or distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all the functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
Those of ordinary skill in the art will understand that: all or part of the steps for realizing the method embodiments can be completed by hardware related to program instructions, the program can be stored in a computer readable storage medium, and the program executes the steps comprising the method embodiments when executed; and the aforementioned storage medium includes: a mobile storage device, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Alternatively, the integrated unit of the present invention may be stored in a computer-readable storage medium if it is implemented in the form of a software functional module and sold or used as a separate product. Based on such understanding, the technical solutions of the embodiments of the present invention may be essentially implemented or a part contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: a removable storage device, a ROM, a RAM, a magnetic or optical disk, or various other media that can store program code.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.