CN113326011B - Network-based printing end control method and system and readable storage medium - Google Patents

Network-based printing end control method and system and readable storage medium Download PDF

Info

Publication number
CN113326011B
CN113326011B CN202110882052.6A CN202110882052A CN113326011B CN 113326011 B CN113326011 B CN 113326011B CN 202110882052 A CN202110882052 A CN 202110882052A CN 113326011 B CN113326011 B CN 113326011B
Authority
CN
China
Prior art keywords
information
printer
data
control
consumable chip
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110882052.6A
Other languages
Chinese (zh)
Other versions
CN113326011A (en
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 Xiaohouyunyin Software Co ltd
Original Assignee
Foshan Prewell Technology 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 Foshan Prewell Technology Co ltd filed Critical Foshan Prewell Technology Co ltd
Priority to CN202110882052.6A priority Critical patent/CN113326011B/en
Publication of CN113326011A publication Critical patent/CN113326011A/en
Application granted granted Critical
Publication of CN113326011B publication Critical patent/CN113326011B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/1222Increasing security of the print job
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/1203Improving or facilitating administration, e.g. print management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1224Client or server resources management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1278Dedicated interfaces to print systems specifically adapted to adopt a particular infrastructure
    • G06F3/1285Remote printer device, e.g. being remote from client or server

Abstract

The printing end control method, the printing end control system and the readable storage medium based on the network can analyze the consumable chip data and the environmental data and then control and upgrade the printer or the consumable chip, so that the safety of the data is ensured, and the benefit of a printer manufacturer is also ensured. The invention also delays the upgrading of the printer or the consumable chip according to the capacity information of the consumable chip, thereby ensuring the benefit of the current printer user. In addition, the invention analyzes according to different environments and use conditions, and pushes the information to the user side, thereby improving the use experience of the user.

Description

Network-based printing end control method and system and readable storage medium
Technical Field
The invention relates to the field of remote control and cloud control of printers, in particular to a printing end control method and system based on a network and a readable storage medium.
Background
Present printer, the consumptive material chip that has the record information in the consumptive material including the 3D printer, the consumptive material chip can communicate with the printer, and the printer passes through data such as consumptive material capacity, serial number and colour of consumptive material chip record, confirms the legitimacy of consumptive material and the state and the article type of consumptive material.
But at present, other third-party mechanisms crack the consumable chip to copy the consumable chip, the printer can be normally used as long as the primary authentication of the printer is passed, and in order to prevent the consumable chip from being cracked, a manufacturer frequently upgrades the printer, but the upgrading time interval is longer, and the printer can be upgraded once in 2 years. So that the printer manufacturer is harmed.
In addition, at present, the printer cannot analyze according to the acquired use parameters and environmental conditions, and recommends the purchase information or maintenance and service information related to the user, so that the user experience is poor.
In view of the above problems, no effective technical solution exists at present.
Disclosure of Invention
The application aims to provide a printing end control method and system based on a network and a readable storage medium, which can upgrade a printer and a consumable chip in a remote mode in real time, can analyze the printing end and the consumable chip according to different environments and use conditions, and can push the printing end and the consumable chip to a user end to improve the use experience of a user.
The invention discloses a printing end control method based on a network in a first aspect, which comprises the following steps:
the printer acquires consumable chip data and environment data and sends the consumable chip data and the environment data to the server;
the server inputs the received consumable chip data and the received environment data into a preset printing neural network model and outputs the consumable chip data and the environment data to obtain strategy information;
converting the strategy information into control information and control classification information;
if the control classification information is the printer and/or the consumable chip, the control information is sent to the printer to control the printer and/or the consumable chip;
the strategy information is one or more of a purchase strategy, an encryption strategy, a detection strategy and a guidance strategy; the control classification information corresponding to the purchase strategy, the detection strategy and the guidance strategy is a user side; the control classification information corresponding to the encryption strategy is a printer and/or a consumable chip; the encryption strategy is an encryption algorithm for judging whether to upgrade the printer and/or the consumable chip, the purchase strategy is a strategy for guiding a user to purchase the consumable, the detection strategy is a tutorial for the user to detect the printer or the consumable, and the guidance strategy is a tutorial for guiding the user to solve the problems related to the printer.
In this scheme, if control classification information is printer and/or consumptive material chip, then will control information sends to the printer in order to control printer and/or consumptive material chip, specifically does:
if the control classification information is the printer and/or the consumable chip, acquiring consumable state information of the printer;
acquiring residual capacity information according to the consumable state information;
and generating control information according to the residual capacity information, and sending the control information to the printer.
In this scheme, if control classification information is printer and/or consumptive material chip, then will control information sends to the printer in order to control printer and/or consumptive material chip, specifically does:
if the control classification information is the printer and/or the consumable chip, acquiring authentication information of the consumable chip;
judging whether the authentication information is preset authentication information or not;
if so, acquiring data information stored by the consumable chip;
verifying the acquired data information by a preset verification method;
if the verification is passed, the control information is not sent to the printer and/or the consumable chip; and if the verification fails, sending control information to the printer and/or the consumable chip.
In this scheme, the preset verification method includes:
acquiring data information stored by a consumable chip;
extracting data of a preset position of the data information to obtain a data group;
carrying out hexadecimal addition on the data in the data group to obtain a data sum;
judging whether the data sum is a preset data sum;
if yes, the verification is passed.
In this scheme, after will control information sends to the printer in order to control printer and/or consumptive material chip, still include:
acquiring control information to obtain first data and control information content;
deleting the stored second data and the control information content, and replacing the second data and the control information content with the first data and the control information content acquired from the control information;
the first data is data about capacity, version, serial number and color in the control information; the second data is data about capacity, version, serial number, color already stored in the printer or consumable chip.
The second aspect of the present invention also provides a network-based print-end control system, which includes: at least one memory and at least one processor, the at least one memory having a program of a network-based printing side control method stored therein, the program of the network-based printing side control method when executed by the processor implementing the steps of:
the printer acquires consumable chip data and environment data and sends the consumable chip data and the environment data to the server;
the server inputs the received consumable chip data and the received environment data into a preset printing neural network model and outputs the consumable chip data and the environment data to obtain strategy information;
converting the strategy information into control information and control classification information;
if the control classification information is the printer and/or the consumable chip, the control information is sent to the printer to control the printer and/or the consumable chip, and the strategy information is one or more of a purchase strategy, an encryption strategy, a detection strategy and a guidance strategy; the control classification information corresponding to the purchase strategy, the detection strategy and the guidance strategy is a user side; the control classification information corresponding to the encryption strategy is a printer and/or a consumable chip; the encryption strategy is an encryption algorithm for judging whether to upgrade the printer and/or the consumable chip, the purchase strategy is a strategy for guiding a user to purchase the consumable, the detection strategy is a tutorial for the user to detect the printer or the consumable, and the guidance strategy is a tutorial for guiding the user to solve the problems related to the printer.
In this scheme, if control classification information is printer and/or consumptive material chip, then will control information sends to the printer in order to control printer and/or consumptive material chip, specifically does:
if the control classification information is the printer and/or the consumable chip, acquiring consumable state information of the printer;
acquiring residual capacity information according to the consumable state information;
and generating control information according to the residual capacity information, and sending the control information to the printer.
In this scheme, if control classification information is printer and/or consumptive material chip, then will control information sends to the printer in order to control printer and/or consumptive material chip, specifically does:
if the control classification information is the printer and/or the consumable chip, acquiring authentication information of the consumable chip;
judging whether the authentication information is preset authentication information or not;
if so, acquiring data information stored by the consumable chip;
verifying the acquired data information by a preset verification method;
if the verification is passed, the control information is not sent to the printer and/or the consumable chip; and if the verification fails, sending control information to the printer and/or the consumable chip.
In this scheme, the preset verification method includes:
acquiring data information stored by a consumable chip;
extracting data of a preset position of the data information to obtain a data group;
carrying out hexadecimal addition on the data in the data group to obtain a data sum;
judging whether the data sum is a preset data sum;
if yes, the verification is passed.
In this scheme, after will control information sends to the printer in order to control printer and/or consumptive material chip, still include:
acquiring control information to obtain first data and control information content;
deleting the stored second data and the control information content, and replacing the second data and the control information content with the first data and the control information content acquired from the control information;
the first data is data about capacity, version, serial number and color in the control information; the second data is data about capacity, version, serial number, color already stored in the printer or consumable chip.
A third aspect of the present invention provides a readable storage medium, in which a network-based print-side control method program is stored, which, when executed by a processor, implements the steps of a network-based print-side control method as recited in any one of the above.
The printing end control method, the printing end control system and the readable storage medium based on the network can analyze the consumable chip data and the environmental data and then control and upgrade the printer or the consumable chip, so that the safety of the data is ensured, and the benefit of a printer manufacturer is also ensured. The invention also delays the upgrading of the printer or the consumable chip according to the capacity information of the consumable chip, thereby ensuring the benefit of the current printer user. In addition, the invention analyzes according to different environments and use conditions, and pushes the information to the user side, thereby improving the use experience of the user.
Additional features and advantages of the present application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the embodiments of the present application. The objectives and other advantages of the application may be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and that those skilled in the art can also obtain other related drawings based on the drawings without inventive efforts.
FIG. 1 is a flow chart illustrating a network-based print-side control method of the present invention;
fig. 2 shows a block diagram of a network-based printing-side control system of the present invention.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, 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 derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope 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. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
Fig. 1 shows a flow chart of a network-based printing side control method of the present invention.
As shown in fig. 1, the present invention discloses a network-based printing end control method, which comprises:
s102, a printer acquires consumable chip data and environment data and sends the consumable chip data and the environment data to a server;
s104, the server inputs the received consumable chip data and the received environment data into a preset printing neural network model and outputs the consumable chip data and the environment data to obtain strategy information;
s106, converting the strategy information into control information and control classification information;
and S108, if the control classification information is the printer and/or the consumable chip, sending the control information to the printer to control the printer and/or the consumable chip.
It should be noted that the consumable chip data stores information such as capacity, color, version number, serial number, algorithm, area, consumable state, and the like, and the environment data is physical environment data and network environment data, where the physical environment data includes information such as temperature, humidity, and usage frequency of the usage environment of the printer; the network environment data includes information such as network speed, bandwidth, etc. The printer acquires consumable chip data and environment data and then sends the consumable chip data and the environment data to the server side, the server analyzes the consumable chip data and the environment data, the server inputs the data into a preset neural network model, and strategy information is output. The strategy information is one or more of a purchase strategy, an encryption strategy, a detection strategy and a guidance strategy; the control classification information of the purchase strategy, the detection strategy and the guidance strategy is a user side; the encryption strategy is an encryption algorithm for judging whether to upgrade the printer and/or the consumable chip, and the control classification information of the encryption strategy is the printer and/or the consumable chip. The purchase strategy is a strategy for guiding a user to purchase consumables; the detection strategy is a tutorial for the user to detect the printer or the consumable, so that the user can correspondingly detect the current state of the printer; the guidance strategy is a guidance tutorial that guides the user through the solution of the printer-related problem. Therefore, the control classification information corresponding to these types of policies is the user side. Whether the consumable is matched with the printer can be judged through the capacity, color, version number, serial number and algorithm stored in the consumable chip data, if so, the consumable is proved to be legal and normal, and normal printing can be realized; if the consumable information is not matched with the printer, the consumable material is proved to be illegal, or the information such as the model and the like is not matched with the printer, so that the consumable material cannot be printed normally. And the remaining capacity information of the consumables can be obtained through the capacity, so that a purchase strategy can be generated, for example, when the remaining capacity is judged to be left for 100 pages, a purchase link can be sent to the client so as to facilitate the customer to purchase the consumables, or promotion information can be sent to the client. Can obtain the nature and the quality information of carbon dust or ink through consumptive material state information to can combine the state parameter and the physical environment information of printer, judge the problem that present printer probably appears or to the solution that has appeared the problem, also be exactly detection strategy and guide the strategy, all can send the user side to show, for example, the parameter matching of consumptive material and printer, but the ambient temperature is too high and causes the printing effect not good, then can judge the scheme of solving the problem through these parameters, also obtain guide the strategy, send to the user side, in order to carry out the solution of printer problem. The encryption strategy can be obtained through the network environment, the version number, the serial number and the algorithm information, for example, the encryption mode can be upgraded when the network environment is poor, and the decryption through the network mode is prevented; when the version number and the serial number cannot be matched with the algorithm and the field prestored by the printer, the consumable chip is proved to have the possibility of being cracked by a third party, and the encryption mode can also be upgraded; when the algorithms of the consumable chip and the printer are inconsistent, the possibility that the consumable chip is cracked by a third party is proved, the encryption mode can be upgraded, the encryption strategy can enable the consumable chip and the printer to upgrade the encryption algorithm again, and the benefit of a manufacturer is guaranteed. It should be understood by those skilled in the art that the preset printing neural network model is an artificial intelligence model obtained through mass data training, and parameters can be input to obtain specific strategy information.
The server converts the policy information into control information and control classification information. Where the control information and the control classification information are in a mapping relationship, for example, if the control classification information is a printer, the control information is control for the printer. The control information may include modifying the authentication algorithm, modifying field information, modifying the communication protocol, etc.; the control classification information can be a printer, a consumable chip and a user side. If the control classification information is the printer and/or the consumable chip, the control information is sent to the printer to control the printer and/or the consumable chip.
According to the embodiment of the invention, if the control classification information is the printer and/or the consumable chip, the method further comprises the following steps:
if the control classification information is the printer and/or the consumable chip, acquiring consumable state information of the printer;
acquiring residual capacity information according to the state information;
and generating control information according to the residual capacity information, and sending the control information to the printer.
It should be noted that, often, a user may purchase a substitute consumable material and install the substitute consumable material in a printer for use, if the life of the consumable material is not finished, or the verification algorithm and the field information are modified during use, the substitute consumable material purchased by the user at this time may not be used, and the benefit of the consumer is damaged, so that the current state information of the consumable material can be obtained at this time, the remaining capacity information is obtained therefrom, then the control information is generated according to the capacity information and sent to the printer, and the printer performs control upgrading of the printer or the consumable chip according to the instruction. For example, if 1500 pages remain in the current capacity, the control upgrade can be performed after 1500 pages are printed, and because the current consumables can not be used if the upgrade is performed directly, the method of the present invention can better guarantee the benefit of consumers.
According to the embodiment of the invention, if the control classification information is the printer and/or the consumable chip, the method further comprises the following steps:
if the control classification information is the printer and/or the consumable chip, acquiring authentication information of the consumable chip;
judging whether the authentication information is preset authentication information or not;
if so, acquiring data information stored by the consumable chip;
verifying the acquired data information by a preset verification method;
if the verification is passed, the control information is not sent to the printer and/or the consumable chip; and if the verification fails, sending control information to the printer and/or the consumable chip.
It should be noted that, the present invention may also obtain authentication information of the consumable chip, where the authentication information may be a serial number or version number information stored in the chip, and the printer or the server may determine whether the authentication information is preset authentication information according to the obtained authentication information, for example, the serial number stored in the consumable chip may be compared with the serial number stored in the server or the printer, or verification of an algorithm is performed, if the verification is passed, the consumable chip is proved to be legal, and if the verification is not passed, the chip is not proved to be illegal. If the control information is legal, the control information is not sent to the printer and/or the consumable chip, namely, the control upgrading is not needed; and if the consumable chip is illegal, sending control information to the printer and/or the consumable chip for upgrading.
According to the embodiment of the invention, the preset verification method comprises the following steps:
acquiring data information stored by a consumable chip;
extracting data of a preset position of the data information to obtain a data group;
carrying out hexadecimal addition on the data in the data group to obtain a data sum;
judging whether the data sum is a preset data sum;
if yes, the verification is passed.
It should be noted that the preset verification algorithm may be various, for example, hash calculation or remainder calculation may be performed, but in order to ensure the operation speed, the present invention adopts summation calculation of the preset field, which can determine whether the chip is a legal chip more quickly, and improve the operation responsiveness. Firstly, acquiring data information stored by a consumable chip; and extracting the data information to perform data of a preset position to obtain a data group. And then, carrying out hexadecimal addition on the data in the data group to obtain a data sum, wherein the data group can be a plurality of data, and each data represents the data of the preset field obtained from the data stored in the chip. Summing all the data of the data set can obtain the result more quickly and can be completed only by one clock pulse time. And finally, judging whether the data sum is a preset data sum, wherein the preset data sum can be a data segment or a hashed data point, and can be specifically set according to the actual needs of the technical personnel in the field.
According to the embodiment of the present invention, after the sending the control information to the printer to control the printer and/or the consumable chip, the method further includes:
acquiring control information to obtain first data and control information content;
and deleting the stored second data and the control information content, and replacing the second data and the control information content with the first data and the control information content acquired from the control information.
It should be noted that the first data is data about capacity, version, serial number, and color in the control information, and such data may be a preset fixed symbol value; the second data is data about capacity, version, serial number, color already stored in the printer or consumable chip, and therefore, after the control information is acquired, replacement and upgrade are required. After the printer or the consumable chip obtains the control information, first data and control information content are obtained from the control information, then second data and control information which are stored in the printer or the consumable chip are deleted, the first data and the control information content are directly replaced by the received first data and control information content, and upgrading is completed. The printer after upgrading can update new verification algorithm and communication protocol, and consumable chips can also be synchronously replaced, so that a third party is prevented from rapidly breaking the printer or the chips, and the safety is improved.
According to the embodiment of the present invention, the generation of the preset printing neural network model specifically comprises:
acquiring historical state data; preprocessing the historical state data to obtain a training array; sending the training array to an initialized neural network model for training; acquiring the error rate of the trained neural network model; and if the error rate is less than a preset error rate threshold value, stopping training to obtain a preset printing neural network model.
It should be noted that the analysis result, that is, the policy information, can be obtained quickly through the preset printing neural network model, and then the control is performed according to the policy information.
It should be noted that the method further includes:
acquiring the use state information of the printer in a preset area;
calculating a characteristic value of the use state information;
extracting environment information in the use state information within a preset characteristic value range to obtain a first state information set;
and taking the first state information set as the preset training data of the printing neural network model.
It should be noted that in some areas, physical environment information in the environment information is often similar or similar, and then by performing feature analysis on the use state in the area, the data obtained by the neural network analysis can be more accurate by using the data group with the closer feature value as training data of the neural network.
According to the embodiment of the invention, the method further comprises the following steps:
obtaining purchasing strategy information through the strategy information;
generating purchase quantity and link information by the purchase strategy information;
and sending the purchase quantity and the link information to a user side.
It should be noted that, the purchase strategy information can be obtained through the analysis of the server, and is used for guiding the user to purchase the consumable, so as to improve the user experience.
According to the embodiment of the invention, if the verification fails, the method further comprises the following steps:
acquiring authentication information of a consumable chip, and sending the authentication information to a server;
the server verifies the authentication information through a historical verification method;
if the data passes the control information, sending the control information to the printer;
the control information is preset capacity information and warning information.
It should be noted that, after a user often purchases a regular consumable, since the printer is upgraded and the consumable chip is not upgraded, in order not to affect the use of the current user, information stored in the current consumable chip may be sent to the server for verification, if the historical verification method can verify that the current consumable is a legal consumable that has not been upgraded, in order not to affect the use, preset capacity information may be sent to the printer end, and the preset capacity information may be less, for example, 50 pages, 80 pages, and the like. Although the capacity is small, the current use of the user is not affected, and warning information may be sent, and after receiving the warning information, the printer may display on a screen of the printer, for example, display: the current consumable is an old version consumable, and the current consumable is required to be timely contacted with a manufacturer for replacement. By the method, the user can normally use the regular consumable materials for a period of time after purchasing the regular consumable materials, and the use experience of the user is not influenced.
Fig. 2 shows a block diagram of a network-based printing-side control system of the present invention.
As shown in fig. 2, the second aspect of the present invention also provides a network-based print-end control system 2, which includes: at least one memory 21 and at least one processor 22, said memory having stored therein a program of a network-based printing side control method, said program of a network-based printing side control method realizing the following steps when executed by said at least one processor:
the printer acquires consumable chip data and environment data and sends the consumable chip data and the environment data to the server;
the server inputs the received consumable chip data and the received environment data into a preset printing neural network model and outputs the consumable chip data and the environment data to obtain strategy information;
converting the strategy information into control information and control classification information;
and if the control classification information is the printer and/or the consumable chip, sending the control information to the printer to control the printer and/or the consumable chip.
It should be noted that the consumable chip data stores information such as capacity, color, version number, serial number, algorithm, area, consumable state, and the like, and the environment data is physical environment data and network environment data, where the physical environment data includes information such as temperature, humidity, and usage frequency of the usage environment of the printer; the network environment data includes information such as network speed, bandwidth, etc. The printer acquires consumable chip data and environment data and then sends the consumable chip data and the environment data to the server side, the server analyzes the consumable chip data and the environment data, the server inputs the data into a preset neural network model, and strategy information is output. The strategy information is one or more of a purchase strategy, an encryption strategy, a detection strategy and a guidance strategy; the control classification information of the purchase strategy, the detection strategy and the guidance strategy is a user side; the encryption strategy is an encryption algorithm for judging whether to upgrade the printer and/or the consumable chip, and the control classification information of the encryption strategy is the printer and/or the consumable chip. The purchase strategy is a strategy for guiding a user to purchase consumables; the detection strategy is a tutorial for the user to detect the printer or the consumable, so that the user can correspondingly detect the current state of the printer; the guidance strategy is a guidance tutorial that guides the user through the solution of the printer-related problem. Therefore, the control classification information corresponding to these types of policies is the user side. Whether the consumable is matched with the printer can be judged through the capacity, color, version number, serial number and algorithm stored in the consumable chip data, if so, the consumable is proved to be legal and normal, and normal printing can be realized; if the consumable information is not matched with the printer, the consumable material is proved to be illegal, or the information such as the model and the like is not matched with the printer, so that the consumable material cannot be printed normally. And the remaining capacity information of the consumables can be obtained through the capacity, so that a purchase strategy can be generated, for example, when the remaining capacity is judged to be left for 100 pages, a purchase link can be sent to the client so as to facilitate the customer to purchase the consumables, or promotion information can be sent to the client. Can obtain the nature and the quality information of carbon dust or ink through consumptive material state information to can combine the state parameter and the physical environment information of printer, judge the problem that present printer probably appears or to the solution that has appeared the problem, also be exactly detection strategy and guide the strategy, all can send the user side to show, for example, the parameter matching of consumptive material and printer, but the ambient temperature is too high and causes the printing effect not good, then can judge the scheme of solving the problem through these parameters, also obtain guide the strategy, send to the user side, in order to carry out the solution of printer problem. The encryption strategy can be obtained through the network environment, the version number, the serial number and the algorithm information, for example, the encryption mode can be upgraded when the network environment is poor, and the decryption through the network mode is prevented; when the version number and the serial number cannot be matched with the algorithm and the field prestored by the printer, the consumable chip is proved to have the possibility of being cracked by a third party, and the encryption mode can also be upgraded; when the algorithms of the consumable chip and the printer are inconsistent, the possibility that the consumable chip is cracked by a third party is proved, the encryption mode can be upgraded, the encryption strategy can enable the consumable chip and the printer to upgrade the encryption algorithm again, and the benefit of a manufacturer is guaranteed. It should be understood by those skilled in the art that the preset printing neural network model is an artificial intelligence model obtained through mass data training, and parameters can be input to obtain specific strategy information.
The server converts the policy information into control information and control classification information. Where the control information and the control classification information are in a mapping relationship, for example, if the control classification information is a printer, the control information is control for the printer. The control information may include modifying the authentication algorithm, modifying field information, modifying the communication protocol, etc.; the control classification information can be a printer, a consumable chip and a user side. If the control classification information is the printer and/or the consumable chip, the control information is sent to the printer to control the printer and/or the consumable chip.
According to the embodiment of the invention, if the control classification information is the printer and/or the consumable chip, the method further comprises the following steps:
if the control classification information is the printer and/or the consumable chip, acquiring consumable state information of the printer;
acquiring residual capacity information according to the state information;
and generating control information according to the residual capacity information, and sending the control information to the printer.
It should be noted that, often, a user may purchase a substitute consumable material and install the substitute consumable material in a printer for use, if the life of the consumable material is not finished, or the verification algorithm and the field information are modified during use, the substitute consumable material purchased by the user at this time may not be used, and the benefit of the consumer is damaged, so that the current state information of the consumable material can be obtained at this time, the remaining capacity information is obtained therefrom, then the control information is generated according to the capacity information and sent to the printer, and the printer performs control upgrading of the printer or the consumable chip according to the instruction. For example, if 1500 pages remain in the current capacity, the control upgrade can be performed after 1500 pages are printed, and because the current consumables can not be used if the upgrade is performed directly, the method of the present invention can better guarantee the benefit of consumers.
According to the embodiment of the invention, if the control classification information is the printer and/or the consumable chip, the method further comprises the following steps:
if the control classification information is the printer and/or the consumable chip, acquiring authentication information of the consumable chip;
judging whether the authentication information is preset authentication information or not;
if so, acquiring data information stored by the consumable chip;
verifying the acquired data information by a preset verification method;
if the verification is passed, the control information is not sent to the printer and/or the consumable chip; and if the verification fails, sending control information to the printer and/or the consumable chip.
It should be noted that, the present invention may also obtain authentication information of the consumable chip, where the authentication information may be a serial number or version number information stored in the chip, and the printer or the server may determine whether the authentication information is preset authentication information according to the obtained authentication information, for example, the serial number stored in the consumable chip may be compared with the serial number stored in the server or the printer, or verification of an algorithm is performed, if the verification is passed, the consumable chip is proved to be legal, and if the verification is not passed, the chip is not proved to be illegal. If the control information is legal, the control information is not sent to the printer and/or the consumable chip, namely, the control upgrading is not needed; and if the consumable chip is illegal, sending control information to the printer and/or the consumable chip for upgrading.
According to the embodiment of the invention, the preset verification method comprises the following steps:
acquiring data information stored by a consumable chip;
extracting data of a preset position of the data information to obtain a data group;
carrying out hexadecimal addition on the data in the data group to obtain a data sum;
judging whether the data sum is a preset data sum;
if yes, the verification is passed.
It should be noted that the preset verification algorithm may be various, for example, hash calculation or remainder calculation may be performed, but in order to ensure the operation speed, the present invention adopts summation calculation of the preset field, which can determine whether the chip is a legal chip more quickly, and improve the operation responsiveness. Firstly, acquiring data information stored by a consumable chip; and extracting the data information to perform data of a preset position to obtain a data group. And then, carrying out hexadecimal addition on the data in the data group to obtain a data sum, wherein the data group can be a plurality of data, and each data represents the data of the preset field obtained from the data stored in the chip. Summing all the data of the data set can obtain the result more quickly and can be completed only by one clock pulse time. And finally, judging whether the data sum is a preset data sum, wherein the preset data sum can be a data segment or a hashed data point, and can be specifically set according to the actual needs of the technical personnel in the field.
According to the embodiment of the present invention, after the sending the control information to the printer to control the printer and/or the consumable chip, the method further includes:
acquiring control information to obtain first data and control information content;
and deleting the stored second data and the control information content, and replacing the second data and the control information content with the first data and the control information content acquired from the control information.
It should be noted that the first data is data about capacity, version, serial number, and color in the control information, and such data may be a preset fixed symbol value; the second data is data about capacity, version, serial number, color already stored in the printer or consumable chip, and therefore, after the control information is acquired, replacement and upgrade are required. After the printer or the consumable chip obtains the control information, first data and control information content are obtained from the control information, then second data and control information which are stored in the printer or the consumable chip are deleted, the first data and the control information content are directly replaced by the received first data and control information content, and upgrading is completed. The printer after upgrading can update new verification algorithm and communication protocol, and consumable chips can also be synchronously replaced, so that a third party is prevented from rapidly breaking the printer or the chips, and the safety is improved.
According to the embodiment of the present invention, the generation of the preset printing neural network model specifically comprises:
acquiring historical state data; preprocessing the historical state data to obtain a training array; sending the training array to an initialized neural network model for training; acquiring the error rate of the trained neural network model; and if the error rate is less than a preset error rate threshold value, stopping training to obtain a preset printing neural network model.
It should be noted that the analysis result, that is, the policy information, can be obtained quickly through the preset printing neural network model, and then the control is performed according to the policy information.
It should be noted that the method further includes:
acquiring the use state information of the printer in a preset area;
calculating a characteristic value of the use state information;
extracting environment information in the use state information within a preset characteristic value range to obtain a first state information set;
and taking the first state information set as the preset training data of the printing neural network model.
It should be noted that in some areas, physical environment information in the environment information is often similar or similar, and then by performing feature analysis on the use state in the area, the data obtained by the neural network analysis can be more accurate by using the data group with the closer feature value as training data of the neural network.
According to the embodiment of the invention, the method further comprises the following steps:
obtaining purchasing strategy information through the strategy information;
generating purchase quantity and link information by the purchase strategy information;
and sending the purchase quantity and the link information to a user side.
It should be noted that, the purchase strategy information can be obtained through the analysis of the server, and is used for guiding the user to purchase the consumable, so as to improve the user experience.
According to the embodiment of the invention, if the verification fails, the method further comprises the following steps:
acquiring authentication information of a consumable chip, and sending the authentication information to a server;
the server verifies the authentication information through a historical verification method;
if the data passes the control information, sending the control information to the printer;
the control information is preset capacity information and warning information.
It should be noted that, after a user often purchases a regular consumable, since the printer is upgraded and the consumable chip is not upgraded, in order not to affect the use of the current user, information stored in the current consumable chip may be sent to the server for verification, if the historical verification method can verify that the current consumable is a legal consumable that has not been upgraded, in order not to affect the use, preset capacity information may be sent to the printer end, and the preset capacity information may be less, for example, 50 pages, 80 pages, and the like. Although the capacity is small, the current use of the user is not affected, and warning information may be sent, and after receiving the warning information, the printer may display on a screen of the printer, for example, display: the current consumable is an old version consumable, and the current consumable is required to be timely contacted with a manufacturer for replacement. By the method, the user can normally use the regular consumable materials for a period of time after purchasing the regular consumable materials, and the use experience of the user is not influenced.
A third aspect of the present invention provides a readable storage medium, in which a network-based print-side control method program is stored, which, when executed by a processor, implements the steps of a network-based print-side control method as recited in any one of the above.
The printing end control method, the printing end control system and the readable storage medium based on the network can analyze the consumable chip data and the environmental data and then control and upgrade the printer or the consumable chip, so that the safety of the data is ensured, and the benefit of a printer manufacturer is also ensured. The invention also delays the upgrading of the printer or the consumable chip according to the capacity information of the consumable chip, thereby ensuring the benefit of the current printer user. In addition, the invention analyzes according to different environments and use conditions, and pushes the information to the user side, thereby improving the use experience of the user.
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.

Claims (6)

1. A printing end control method based on a network is characterized by comprising the following steps:
the printer acquires consumable chip data and environmental data, and sends the consumable chip data and the environmental data to a service
A machine;
the server inputs the received consumable chip data and the received environment data into a preset printing neural network model and outputs the consumable chip data and the environment data to obtain strategy information;
converting the strategy information into control information and control classification information;
if the control classification information is the printer and/or the consumable chip, the control information is sent to the printer to control the printer and/or the consumable chip;
the strategy information is one or more of a purchase strategy, an encryption strategy, a detection strategy and a guidance strategy; the control classification information corresponding to the purchase strategy, the detection strategy and the guidance strategy is a user side; the control classification information corresponding to the encryption strategy is a printer and/or a consumable chip; the encryption strategy is an encryption algorithm for judging whether to upgrade the printer and/or the consumable chip, the purchase strategy is a strategy for guiding a user to purchase the consumable, the detection strategy is a tutorial for the user to detect the printer or the consumable, and the guidance strategy is a tutorial for guiding the user to perform a method for solving the relevant problems of the printer;
if the control classification information is the printer and/or the consumable chip, the control information is sent to the printer to control the printer and/or the consumable chip, and the control classification information specifically comprises the following steps:
if the control classification information is the printer and/or the consumable chip, acquiring authentication information of the consumable chip;
judging whether the authentication information is preset authentication information or not;
if so, acquiring data information stored by the consumable chip;
verifying the acquired data information by a preset verification method;
if the verification is passed, the control information is not sent to the printer and/or the consumable chip; if the verification fails, sending control information to the printer and/or the consumable chip;
the preset verification method comprises the following steps:
acquiring data information stored by a consumable chip;
extracting data of a preset position of the data information to obtain a data group;
carrying out hexadecimal addition on the data in the data group to obtain a data sum;
judging whether the data sum is a preset data sum;
if yes, the verification is passed;
the generation of the preset printing neural network model specifically comprises the following steps:
acquiring historical state data; preprocessing the historical state data to obtain a training array; sending the training array to an initialized neural network model for training; acquiring the error rate of the trained neural network model; if the error rate is smaller than a preset error rate threshold value, stopping training to obtain a preset printing neural network model;
further comprising:
acquiring the use state information of the printer in a preset area;
calculating a characteristic value of the use state information;
extracting environment information in the use state information within a preset characteristic value range to obtain a first state information set;
and taking the first state information set as the preset training data of the printing neural network model.
2. The network-based printing terminal control method according to claim 1, wherein if the control classification information is a printer and/or a consumable chip, the control information is sent to the printer to control the printer and/or the consumable chip, specifically:
if the control classification information is the printer and/or the consumable chip, acquiring consumable state information of the printer;
acquiring residual capacity information according to the consumable state information;
and generating control information according to the residual capacity information, and sending the control information to the printer.
3. The network-based printing end control method according to claim 1, wherein after the sending the control information to the printer to control the printer and/or the consumable chip, the method further comprises:
acquiring control information to obtain first data and control information content;
deleting the stored second data and the control information content, and replacing the second data and the control information content with the first data and the control information content acquired from the control information;
the first data is data about capacity, version, serial number and color in the control information; the second data is data about capacity, version, serial number, color already stored in the printer or consumable chip.
4. A network-based printing side control system, comprising: at least one memory and at least one processor, the memory having stored therein a program for a network-based printing side control method, the program for the network-based printing side control method when executed by the at least one processor implementing the steps of:
the printer acquires consumable chip data and environment data and sends the consumable chip data and the environment data to the server;
the server inputs the received consumable chip data and the received environment data into a preset printing neural network model and outputs the consumable chip data and the environment data to obtain strategy information;
converting the strategy information into control information and control classification information;
if the control classification information is the printer and/or the consumable chip, the control information is sent to the printer to control the printer and/or the consumable chip;
the strategy information is one or more of a purchase strategy, an encryption strategy, a detection strategy and a guidance strategy; the control classification information corresponding to the purchase strategy, the detection strategy and the guidance strategy is a user side; the control classification information corresponding to the encryption strategy is a printer and/or a consumable chip; the encryption strategy is an encryption algorithm for judging whether to upgrade the printer and/or the consumable chip, the purchase strategy is a strategy for guiding a user to purchase the consumable, the detection strategy is a tutorial for the user to detect the printer or the consumable, and the guidance strategy is a tutorial for guiding the user to perform a method for solving the relevant problems of the printer;
if the control classification information is the printer and/or the consumable chip, the control information is sent to the printer to control the printer and/or the consumable chip, and the control classification information specifically comprises the following steps:
if the control classification information is the printer and/or the consumable chip, acquiring authentication information of the consumable chip;
judging whether the authentication information is preset authentication information or not;
if so, acquiring data information stored by the consumable chip;
verifying the acquired data information by a preset verification method;
if the verification is passed, the control information is not sent to the printer and/or the consumable chip; if the verification fails, sending control information to the printer and/or the consumable chip;
the generation of the preset printing neural network model specifically comprises the following steps:
acquiring historical state data; preprocessing the historical state data to obtain a training array; sending the training array to an initialized neural network model for training; acquiring the error rate of the trained neural network model; if the error rate is smaller than a preset error rate threshold value, stopping training to obtain a preset printing neural network model;
further comprising:
acquiring the use state information of the printer in a preset area;
calculating a characteristic value of the use state information;
extracting environment information in the use state information within a preset characteristic value range to obtain a first state information set;
and taking the first state information set as the preset training data of the printing neural network model.
5. The network-based printing end control system according to claim 4, wherein if the control classification information is a printer and/or a consumable chip, the control information is sent to the printer to control the printer and/or the consumable chip, specifically:
if the control classification information is the printer and/or the consumable chip, acquiring consumable state information of the printer;
acquiring residual capacity information according to the consumable state information;
and generating control information according to the residual capacity information, and sending the control information to the printer.
6. A readable storage medium, in which a network-based printing side control method program is stored, and when the network-based printing side control method program is executed by a processor, the steps of a network-based printing side control method according to any one of claims 1 to 3 are implemented.
CN202110882052.6A 2021-08-02 2021-08-02 Network-based printing end control method and system and readable storage medium Active CN113326011B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110882052.6A CN113326011B (en) 2021-08-02 2021-08-02 Network-based printing end control method and system and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110882052.6A CN113326011B (en) 2021-08-02 2021-08-02 Network-based printing end control method and system and readable storage medium

Publications (2)

Publication Number Publication Date
CN113326011A CN113326011A (en) 2021-08-31
CN113326011B true CN113326011B (en) 2021-10-29

Family

ID=77426726

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110882052.6A Active CN113326011B (en) 2021-08-02 2021-08-02 Network-based printing end control method and system and readable storage medium

Country Status (1)

Country Link
CN (1) CN113326011B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113703698B (en) * 2021-09-26 2024-03-22 广州众诺微电子有限公司 Data updating method, chip system, first chip and second chip

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112123922A (en) * 2020-09-23 2020-12-25 湖南鼎一致远科技发展有限公司 Thermal transfer printer, cloud encryption management system and method

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012146140A (en) * 2011-01-12 2012-08-02 Sharp Corp Consumable ordering system, image forming apparatus using the same and consumable ordering method
CN102173233B (en) * 2011-02-23 2013-01-23 珠海天威技术开发有限公司 Consumable verification system and method
WO2016032075A1 (en) * 2014-08-29 2016-03-03 이상호 3d printer control device
WO2017171832A1 (en) * 2016-04-01 2017-10-05 Hewlett-Packard Development Company, L.P. Printer servicing
CN111338584A (en) * 2020-01-20 2020-06-26 杭州旗捷科技有限公司 Consumable chip writing and reading method, consumable chip system and writing and reading equipment
CN111966372A (en) * 2020-08-10 2020-11-20 上海中通吉网络技术有限公司 Firmware upgrading method, device and equipment for portable printer

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112123922A (en) * 2020-09-23 2020-12-25 湖南鼎一致远科技发展有限公司 Thermal transfer printer, cloud encryption management system and method

Also Published As

Publication number Publication date
CN113326011A (en) 2021-08-31

Similar Documents

Publication Publication Date Title
CN110712436B (en) Printing program burning method, chip and printing consumable
US20110060915A1 (en) Managing Encryption of Data
CN108334436A (en) Optimization method, device, equipment and the computer readable storage medium of application software
CN101263523A (en) Tuning product policy using observed evidence of customer behavior
CN108399510A (en) A kind of Contract Risk management-control method and equipment
CN113326011B (en) Network-based printing end control method and system and readable storage medium
CN105637426A (en) Crum chip, image forming device for verifying consumable unit comprising the crum chip, and methods thereof
KR100565806B1 (en) The parts of consumption having the function of the certification of the honest goods, the image forming device capable of discriminating whether the parts of consumption are the honest goods, the method of making the parts of consumption having the function of the certification of the honest goods, the method of discriminating whether the parts of consumption are the honest goods in the image forming device
CN112165379B (en) User secure login method and device and terminal equipment
CN108022080A (en) One kind complaint processing method and relevant device
JP2008251005A (en) Print accounting system and print accounting method
US9207888B2 (en) Systems and methods for detecting customer cost/contract avoidance in operation of image forming devices
US20220164772A1 (en) Providing User Guidance on Erasure Process Selection Based on Accumulated Erasure Reports
US20130290360A1 (en) Consumable identifier
CN104598822A (en) Detection method and detection device of applications
CN108122014A (en) A kind of detection in real time of bar code printing and only wrong method, storage medium and printing terminal
CN104794404A (en) Information secure printing monitoring method with intelligent consumable material and system thereof
US7580144B2 (en) System and method for detecting potential counterfeiting of print cartridges
CN110816089B (en) Safe burning method of printing program, chip and printing consumable
US10310448B2 (en) Printer and communication system
CN109104458B (en) Data acquisition method and system for cloud platform credibility verification
CN110712435B (en) Printing program burning method, chip and printing consumable
CN107169318A (en) A kind of method and device of application security protection
CN113792319A (en) File encryption method and device, storage medium and electronic equipment
JP2008305369A (en) Login registration authorization system of extended display identification data download and its method

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
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20240428

Address after: Room 601-606, Building 2, No. 4 Hongming Road, Huangpu District, Guangzhou City, Guangdong Province, 510000

Patentee after: Guangzhou Xiaohouyunyin Software Co.,Ltd.

Country or region after: China

Address before: 528200 room 243, second floor of "agriculture, industry and commerce" shop on the north side of diejiao Road, dienan village, Guicheng Street, Nanhai District, Foshan City, Guangdong Province

Patentee before: Foshan Prewell Technology Co.,Ltd.

Country or region before: China