Management method and device of self-service printing intelligent equipment, electronic equipment and medium
Through the publish/subscribe mode of the MQTT protocol, the MQTT cloud server is used to issue management instructions to self-service printing smart devices, solving the problem of lack of unified management in the existing technology and achieving efficient remote management and control of widely distributed devices.
Patent Information
- Application Number
- CN202411474876.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-22
- Publication Date
- 2025-02-28
AI Technical Summary
The lack of a unified management method for self-service printing smart devices in the prior art has led to the inability to solve various problems that arise in the equipment in a timely manner, such as shortage of consumables and equipment failures.
Through the publish/subscribe mode of MQTT protocol messages, management instructions are generated and issued, and the message is sent to each self-service printing intelligent device by using the MQTT cloud server to achieve efficient remote management and control of a wide range of devices.
It realizes the issuance of quick management instructions and message delivery of self-service printing smart devices, ensuring timely monitoring and maintenance of equipment status, and improving the operation and maintenance efficiency and user experience of equipment.
Smart Images

Figure CN119536669A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of Internet of Things, and in particular to a management method, device, electronic device and medium for a self-service printing intelligent device. Background Art
[0002] A printer is one of the information output devices, which is used to output the text or photos required by the user to the relevant media. In order to improve the convenience of printing, self-service printing smart devices have emerged.
[0003] In order to facilitate users to use self-service printing smart devices anytime and anywhere, self-service printing smart devices are usually set up in a scattered manner and some are set up in relatively remote places. However, as a public device, self-service printing smart devices are prone to various problems such as shortage of consumables and equipment failure. The existing technology lacks a method for unified management of self-service printing smart devices, resulting in the inability to promptly solve various problems that arise in self-service printing smart devices. Summary of the invention
[0004] The present invention provides a management method, device, electronic device and medium for a self-service printing intelligent device, which are used to solve the problem in the prior art that the self-service printing intelligent device cannot be managed uniformly.
[0005] In a first aspect, the present invention provides a management method for a self-service printing smart device, comprising: in response to a user's input operation, generating an MQTT protocol message to be sent to one or more self-service printing smart devices, the MQTT protocol message containing a management instruction for the self-service printing smart device. The MQTT protocol message is sent to an MQTT cloud server, and the MQTT cloud server is used to send the MQTT protocol message corresponding to each self-service printing smart device to each self-service printing smart device through a subscription channel corresponding to each self-service printing smart device, so that the self-service printing smart device performs a corresponding operation according to the management instruction in the MQTT protocol message.
[0006] Optionally, the management instruction includes at least one of the following: a device startup instruction, a device shutdown instruction, a device restart instruction, a printing instruction, and a device operation log upload instruction.
[0007] Optionally, the method also includes: receiving a device operation log uploaded by the self-service printing smart device through the MQTT cloud server.
[0008] Optionally, the method further includes: based on the device operation log, displaying the device printing information of the self-service printing smart device through a display interface.
[0009] Optionally, in response to the user's input operation, before generating an MQTT protocol message to be sent to one or more self-service printing smart devices, the method further includes: verifying the user's login username and login password based on an encryption verification algorithm, and the formula of the encryption verification algorithm is: ,in, Represents the encrypted ciphertext, Indicates the login password entered by the user, MD5 ( Indicates that the login password entered by the user is The encrypted ciphertext, Indicates the login user name.
[0010] Optionally, the method further includes: after the user verification is passed, recording the IP address of the user's login, and the IP address is used to identify the user's remote login.
[0011] In a second aspect, the present invention provides a management device for self-service printing smart devices, comprising: a processing module, for generating an MQTT protocol message to be sent to one or more self-service printing smart devices in response to a user's input operation, wherein the MQTT protocol message includes a management instruction for the self-service printing smart device. A sending module, for sending the MQTT protocol message to an MQTT cloud server, wherein the MQTT cloud server is used to send the MQTT protocol message corresponding to each self-service printing smart device to each self-service printing smart device through a subscription channel corresponding to each self-service printing smart device, so that the self-service printing smart device can perform corresponding operations according to the management instruction in the MQTT protocol message.
[0012] In a third aspect, the present invention further provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, a management method for any of the above-mentioned self-service printing intelligent devices is implemented.
[0013] In a fourth aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements a management method for any of the self-service printing smart devices described above.
[0014] In a fifth aspect, the present invention further provides a computer program product, including a computer program, which, when executed by a processor, implements a management method for any of the above-mentioned self-service printing intelligent devices.
[0015] The management method, device, electronic device and medium of the self-service printing smart device provided by the present invention generate MQTT protocol messages that need to be sent to one or more self-service printing smart devices in response to the user's input operation. With the help of the characteristics of the MQTT protocol, the MQTT protocol messages can be sent to the MQTT cloud server more efficiently. The MQTT cloud server sends the MQTT protocol messages corresponding to each self-service printing smart device to each self-service printing smart device through the subscription channel corresponding to each self-service printing smart device, so that the self-service printing smart device can perform corresponding operations according to the management instructions in the MQTT protocol message. Through the subscription mode of the MQTT protocol, the user's operation can quickly generate and issue management instructions, ensuring that the message is more efficiently transmitted to the corresponding self-service printing smart device through the cloud server. Efficient remote management and control of widely distributed self-service printing smart devices is achieved. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0017] Figure 1 It is a flowchart of the management method of the self-service printing intelligent device provided by the present invention.
[0018] Figure 2 It is a structural diagram of the self-service printing intelligent device management system provided by the present invention.
[0019] Figure 3 It is a structural schematic diagram of the user terminal module provided by the present invention.
[0020] Figure 4 It is a structural diagram of the identity authentication module provided by the present invention.
[0021] Figure 5 It is a schematic diagram of the working process of the equipment management module provided by the present invention.
[0022] Figure 6 It is a structural schematic diagram of the management device of the self-service printing intelligent device provided by the present invention.
[0023] Figure 7 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION
[0024] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0025] Figure 1 Schematic diagram of the process of the management method of the self-service printing intelligent device provided by the present invention. Figure 1 As shown, the method includes the following steps S101 and S102.
[0026] Step 101: In response to a user's input operation, an MQTT protocol message is generated that needs to be sent to one or more self-service printing smart devices, where the MQTT protocol message includes management instructions for the self-service printing smart devices.
[0027] As an optional embodiment, the user may be the manager or owner of the self-service printing smart device.
[0028] It should be noted that the MQTT protocol is a lightweight message transmission protocol based on the publish / subscribe mode. It mainly works on the TCP / IP protocol family. It is a publish / subscribe message protocol designed for remote devices with low hardware performance and poor network conditions. The MQTT protocol relies on a middleware. The middleware is built on the MQTT cloud server. After the user completes the input operation in the self-service printing smart device management system, the self-service printing smart device management system interacts with the self-service printing smart device through the middleware and obtains information. The self-service printing smart device can execute the corresponding script file through the instructions obtained by the MQTT protocol to interact with the hardware of the self-service printing smart device and complete the instructions.
[0029] It should be noted that self-service printing smart devices often need to respond to user operation requests in real time. The MQTT protocol uses a long connection mechanism to ensure that management instructions can be sent to the device immediately to meet the user's real-time printing and management needs. In addition, self-service printing smart devices may be deployed in places with poor network environments, such as campuses, shopping malls and other public places. The lightweight design of the MQTT protocol can maintain efficient and reliable communication in low-bandwidth and unstable network environments, allowing the device to receive instructions and perform operations normally. At the same time, self-service printing smart devices usually have limited hardware resources, especially in network communications. The low power consumption characteristics and small message overhead of the MQTT protocol can effectively reduce the resource consumption of the device and extend the service life of the device.
[0030] In an exemplary embodiment, the management instruction includes at least one of the following: a device startup instruction, a device shutdown instruction, a device restart instruction, a print instruction, and a device operation log upload instruction.
[0031] As an optional embodiment, when a user (manager) finds that a self-service printing smart device has multiple unprinted tasks, the self-service printing smart device is judged to be in an abnormal state. The manager can enter a restart operation, and the system generates an MQTT protocol message containing a device restart instruction. The restart instruction includes the ID of the target device and the restart operation. The MQTT message is sent to the specified self-service printing smart device through the MQTT cloud server, and the self-service printing smart device performs a remote restart operation after receiving it. After the restart is successful, the self-service printing smart device can also feedback the status to the self-service printing smart device management system through the MQTT protocol.
[0032] As an optional embodiment, after receiving the operation log upload instruction, the device sends the operation log through the MQTT protocol, including information such as the remaining ink level of the printer and the number of sheets of paper. After receiving the operation log, it is determined whether the remaining consumables are lower than a preset threshold. If the remaining consumables are lower than the preset threshold, the maintenance personnel are notified to replenish them in time to ensure that the remaining consumables are sufficient during use and the printing function can be used normally.
[0033] In an exemplary embodiment, in response to the user's input operation, before generating an MQTT protocol message to be sent to one or more self-service printing smart devices, the method further includes: verifying the user's login username and login password based on an encryption verification algorithm, and the formula of the encryption verification algorithm is:
[0034] in, Represents the encrypted ciphertext, Indicates the login password entered by the user, MD5 ( Indicates that the login password entered by the user is The encrypted ciphertext, Indicates the login user name.
[0035] It should be noted that the self-service printing intelligent device management system generates encrypted ciphertext through the above formula, searches for the corresponding stored ciphertext in the database according to the user name, and compares the encrypted ciphertext generated by the formula with the stored ciphertext in the database. If the ciphertext matches successfully, it means that the user's password and account match, which means that the legitimacy verification of the login information is completed, ensuring that the user is an authorized user.
[0036] In an exemplary embodiment, the method further includes: after the user is authenticated, recording the IP address of the user's login, and the IP address is used to identify the user's remote login.
[0037] As an optional embodiment, in order to further enhance the security of the system, the IP address can be verified after the user password is verified. The administrative district of the user's login location is mainly obtained by resolving the IP address used by the user to access the server through the IP address resolved by DNS. Each time you log in, the self-service printing intelligent device management system will record the administrative district code resolved to the IP address of this login, and generate a set of login locations {IP1, IP2...IPn}, where IP1, IP2, IPn represent the administrative district code of the login location recorded each time the user logs in. The set will intelligently determine whether the login location is a common login location after each login.
[0038] In the above embodiment, the dual verification method of password verification and IP address verification can ensure that other users will not mistakenly log in to the self-service printing intelligent device management system, reducing the risk of information leakage.
[0039] Step 102: Send the MQTT protocol message to the MQTT cloud server. The MQTT cloud server is used to send the MQTT protocol message corresponding to each self-service printing smart device to each self-service printing smart device through the subscription channel corresponding to each self-service printing smart device, so that the self-service printing smart device can perform corresponding operations according to the management instructions in the MQTT protocol message.
[0040] It should be noted that the MQTT cloud server is equipped with a middleware, and the self-service printing smart device management system interacts with the self-service printing smart device and obtains information through the middleware.
[0041] In the above embodiment, the user initiates an operation request for the self-service printing smart device through the self-service printing smart device management system, and the system generates a corresponding MQTT protocol message, which contains management instructions, such as printing tasks, device restarts, or consumables status inquiries. The generated MQTT protocol message is sent to the middleware in the MQTT cloud server. The cloud server sends the MQTT message to the corresponding self-service printing smart device through the subscription channel corresponding to each self-service printing smart device. After receiving the message, the self-service printing smart device performs corresponding operations according to the management instructions in the message, such as starting a printing task, restarting the device, or reporting the device status, thereby realizing intelligent management of remote devices.
[0042] It should be noted that each smart device can subscribe to one or more channels, and MQTT protocol messages are published through channels. For example, self-service printing smart device 1 subscribes to channel A, and self-service printing smart device 2 subscribes to channel B. When the MQTT protocol message is channel A, only self-service printing smart device 1 will receive the message, and self-service printing smart device 2 will not be affected.
[0043] In the above embodiment, each self-service printing smart device can subscribe to an independent channel to ensure that the device only receives messages related to itself, and other devices will not be affected. This message routing mechanism avoids unnecessary message interference and improves communication efficiency. In addition, the publish / subscribe mode of the MQTT protocol decouples the communication between the self-service printing smart device and the self-service printing smart device management system. The self-service printing smart device management system does not need to know the specific recipient of the message, it only needs to publish the message to a specific channel. This decoupling enhances the flexibility and scalability of the self-service printing smart device management system. At the same time, security is enhanced. Different self-service printing smart devices receive instructions through independent channels to avoid messages being mistakenly sent or leaked to other self-service printing smart devices. Combined with the password verification and IP verification in the above embodiment, the security of the self-service printing smart device management system is further improved to ensure that sensitive information is only sent to the target self-service printing smart device.
[0044] In the above steps S101-S102, in response to the user's input operation, an MQTT protocol message that needs to be sent to one or more self-service printing smart devices is generated. With the help of the characteristics of the MQTT protocol, the MQTT protocol message can be sent to the MQTT cloud server more efficiently. The MQTT cloud server sends the MQTT protocol message corresponding to each self-service printing smart device to each self-service printing smart device through the subscription channel corresponding to each self-service printing smart device, so that the self-service printing smart device can perform corresponding operations according to the management instructions in the MQTT protocol message. Through the subscription mode of the MQTT protocol, the user's operation can quickly generate and issue management instructions, ensuring that the message is more efficiently delivered to the corresponding self-service printing smart device through the cloud server. Efficient remote management and control of widely distributed self-service printing smart devices is achieved.
[0045] In an exemplary embodiment, the above method also includes: receiving a device operation log uploaded by the self-service printing smart device through the MQTT cloud server.
[0046] As an optional embodiment, the self-service printing smart device can regularly send the device operation log to the MQTT cloud server through the MQTT protocol. Each device subscribes to a dedicated channel and publishes log data to the cloud server through the channel. The log information includes the operating status of the self-service printing smart device, the execution of printing tasks, the usage of consumables, and device failure information. After the MQTT cloud server receives the logs uploaded by the device, it will push these data to the self-service printing smart device management system, and the self-service printing smart device management system will monitor and maintain the device status based on these operation logs.
[0047] In the above embodiment, the operation log of the self-service printing smart device is regularly uploaded to the cloud server through the MQTT protocol, so that the self-service printing smart device management system can monitor the status and operation of the self-service printing smart device in real time, ensure timely detection and response of problems, and improve the operation and maintenance efficiency of the device. The lightweight characteristics of the MQTT protocol ensure that the device log upload process is efficient and saves bandwidth. Even in a poor network environment, the self-service printing smart device can stably upload logs to ensure data integrity.
[0048] In an exemplary embodiment, the above method also includes: based on the device operation log, displaying the device printing information of the self-service printing smart device through a display interface.
[0049] As an optional embodiment, the self-service printing smart device uploads the device operation log to the cloud server through the MQTT protocol. After receiving these logs, the cloud server sends the logs to the self-service printing smart device management system. The self-service printing smart device management system parses and processes these log data, and displays the printing information of the self-service printing smart device through a user-friendly display interface (such as a PC or mobile phone). Users can view the detailed printing records of each device through the display interface of the self-service printing smart device management system. The self-service printing smart device management system can also sort and filter according to the log data, so that users can query the printing status of a specific time period or a specific device.
[0050] In the above embodiment, the user can intuitively view the printing status of each self-service printing smart device through the display interface, which improves the transparency of information. By centrally displaying the printing information of the device, the user can more conveniently monitor and manage multiple devices, reducing the tedious work of manual recording. By displaying detailed printing log information, the user can quickly locate the time point and task of printing anomalies, thereby more efficiently troubleshooting equipment failures.
[0051] The executor of each step in the above method can be a management device of the self-service printing intelligent device, which can be implemented through software and / or hardware. The device can be integrated in an electronic device. The electronic device can be a terminal device (such as a smart phone, a personal computer, etc.), or a server (such as a local server or a cloud server, or a server cluster, etc.), or a processor, or a chip, etc.
[0052] Obviously, the above-described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. In order to better understand the above method, the above process is described below in conjunction with the embodiments, but the technical solutions of the embodiments of the present invention are not limited. Specifically: The present invention provides a self-service printing intelligent device management system based on the Internet of Things, such as Figure 2 , which is a schematic diagram of the structure of the self-service printing intelligent device management system provided by the present invention. The self-service printing intelligent device management system includes a user terminal module, an identity authentication module, a device management module and a device printing information display module. Specifically.
[0053] (1) The user-side module is mainly divided into two modes: PC and mobile phone to manage and operate self-service printing smart devices. Figure 3 FIG. 1 is a schematic diagram of the structure of the user terminal module provided by the present invention. Further, the PC terminal can directly perform setting operations, while the mobile terminal is only used for viewing information and cannot perform setting operations.
[0054] (2) The identity verification module is used to ensure that the user who manages and configures the device is the user authorized by the device owner and to ensure that the user's device is not tampered with by other persons. The identity verification module mainly includes the password verification module and the module of the commonly used login location. Figure 4 As shown, it is a schematic diagram of the structure of the identity authentication module provided by the present invention. Specifically, the password verification module is used to identify the identity of the user. The commonly used login location module is mainly used to identify and verify the user's login location. The user's login location is mainly obtained by resolving the IP address used by the user when accessing the server using the IP address resolved by DNS. The identity authentication module also needs to use an encryption verification algorithm. The principle of the encryption verification algorithm has been explained in detail in the aforementioned embodiment and will not be repeated here.
[0055] (3) The device management module is used to display device information and can remotely power on and off the device and upload operation logs. Users can manage the device's hardware and software through this module. Figure 5It is a schematic diagram of the workflow of the device management module provided by the present invention. The MQTT protocol is based on a middleware. The middleware is built in the MQTT cloud server. After the user completes the input operation in the self-service printing intelligent device management system, the self-service printing intelligent device management system interacts with the intelligent device through the middleware and obtains information. The self-service printing intelligent device can execute the corresponding script file through the instruction obtained by the MQTT protocol to interact with the hardware of the self-service printing intelligent device and complete the instruction.
[0056] (4) The device printing information display module is used to show the user the time points at which the current smart device performed printing operations and the number of pages of the printed files. If a large number of unprinted orders are found in the printing information display module, it can be inferred that the device is abnormal. The device management module can be used to remotely restart the device to repair it. If the restart is ineffective, the device's operation log can also be uploaded to the system to provide users with troubleshooting work for device abnormalities.
[0057] It should be noted that the self-service printing smart device controls the hardware device through the built-in script file, including the acquisition of printing tasks and sending them to the printer, the restart and shutdown of the device itself, etc., which greatly facilitates the users of the device and allows the management of multiple devices without a large amount of manpower. When the device malfunctions, it can be restarted remotely.
[0058] The management device of the self-service printing intelligent device provided by the present invention is described below. The management device of the self-service printing intelligent device described below and the management method of the self-service printing intelligent device described above can be referred to each other.
[0059] Figure 6 Schematic diagram of the structure of the management device of the self-service printing intelligent device provided by the present invention. Figure 6 As shown, the device includes.
[0060] The processing module 610 is used to generate an MQTT protocol message that needs to be sent to one or more self-service printing smart devices in response to the user's input operation, and the MQTT protocol message includes management instructions for the self-service printing smart devices.
[0061] The sending module 620 is used to send the MQTT protocol message to the MQTT cloud server. The MQTT cloud server is used to send the MQTT protocol message corresponding to each self-service printing smart device to each self-service printing smart device through the subscription channel corresponding to each self-service printing smart device, so that the self-service printing smart device can perform corresponding operations according to the management instructions in the MQTT protocol message.
[0062] The above-mentioned device generates an MQTT protocol message that needs to be sent to one or more self-service printing smart devices in response to the user's input operation. With the help of the characteristics of the MQTT protocol, the MQTT protocol message can be sent to the MQTT cloud server more efficiently. The MQTT cloud server sends the MQTT protocol message corresponding to each self-service printing smart device to each self-service printing smart device through the subscription channel corresponding to each self-service printing smart device, so that the self-service printing smart device can perform corresponding operations according to the management instructions in the MQTT protocol message. Through the subscription mode of the MQTT protocol, the user's operation can quickly generate and issue management instructions, ensuring that the message is more efficiently transmitted to the corresponding self-service printing smart device through the cloud server. Efficient remote management and control of widely distributed self-service printing smart devices is realized.
[0063] In some embodiments, the management instruction includes at least one of the following: a device startup instruction, a device shutdown instruction, a device restart instruction, a print instruction, and a device operation log upload instruction.
[0064] In some embodiments, the above-mentioned device also includes a receiving module for receiving a device operation log uploaded by the self-service printing smart device through the MQTT cloud server.
[0065] In some embodiments, the above-mentioned device also includes a display module, which is used to display the device printing information of the self-service printing smart device through a display interface based on the device operation log.
[0066] In some embodiments, the processing module 610 is further used to verify the user's login username and login password based on an encryption verification algorithm before generating an MQTT protocol message to be sent to one or more self-service printing smart devices in response to the user's input operation. The encryption verification algorithm is formulated as follows: ,in, Represents the encrypted ciphertext, Indicates the login password entered by the user, MD5 ( Indicates that the login password entered by the user is The encrypted ciphertext, Indicates the login user name.
[0067] In some embodiments, the above-mentioned device also includes a recording module, which is used to record the IP address of the user's login after the user verification is passed, and the IP address is used to identify the user's remote login.
[0068] Figure 7 An example of a physical structure diagram of an electronic device is shown in FIG. Figure 7As shown, the electronic device may include: a processor 710, a communications interface 720, a memory 730 and a communication bus 740, wherein the processor 710, the communications interface 720 and the memory 730 communicate with each other through the communication bus 740. The processor 710 may call the logic instructions in the memory 730 to execute the management method of the self-service printing smart device, and the method includes: In response to the user's input operation, an MQTT protocol message is generated and needs to be sent to one or more self-service printing smart devices. The MQTT protocol message includes management instructions for the self-service printing smart devices.
[0069] The MQTT protocol message is sent to the MQTT cloud server. The MQTT cloud server is used to send the MQTT protocol message corresponding to each self-service printing smart device to each self-service printing smart device through the subscription channel corresponding to each self-service printing smart device, so that the self-service printing smart device can perform corresponding operations according to the management instructions in the MQTT protocol message.
[0070] In addition, the logic instructions in the above-mentioned memory 730 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0071] On the other hand, the present invention also provides a computer program product, which includes a computer program. The computer program can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the management method of the self-service printing intelligent device provided by the above methods, which includes.
[0072] In response to the user's input operation, an MQTT protocol message is generated and needs to be sent to one or more self-service printing smart devices. The MQTT protocol message includes management instructions for the self-service printing smart devices.
[0073] The MQTT protocol message is sent to the MQTT cloud server. The MQTT cloud server is used to send the MQTT protocol message corresponding to each self-service printing smart device to each self-service printing smart device through the subscription channel corresponding to each self-service printing smart device, so that the self-service printing smart device can perform corresponding operations according to the management instructions in the MQTT protocol message.
[0074] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the method for managing a self-service printing smart device provided by the above methods is implemented, and the method includes:
[0075] In response to the user's input operation, an MQTT protocol message is generated and needs to be sent to one or more self-service printing smart devices. The MQTT protocol message includes management instructions for the self-service printing smart devices.
[0076] The MQTT protocol message is sent to the MQTT cloud server. The MQTT cloud server is used to send the MQTT protocol message corresponding to each self-service printing smart device to each self-service printing smart device through the subscription channel corresponding to each self-service printing smart device, so that the self-service printing smart device can perform corresponding operations according to the management instructions in the MQTT protocol message.
[0077] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, i.e., they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Those of ordinary skill in the art may understand and implement it without creative effort.
[0078] Through the description of the above implementation modes, those skilled in the art can clearly understand that each implementation mode can be implemented by means of software plus a necessary general hardware platform, or of course by hardware. Based on such an understanding, the above technical solution can essentially or in other words be embodied in the form of a software product that contributes to the prior art. The computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods of each embodiment or some parts of the embodiment.
[0079] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them. Although the present invention has been described in detail with reference to the above embodiments, a person skilled in the art should understand that the technical solutions described in the above embodiments can still be modified, or some of the technical features can be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for managing a self-service printing intelligent device, characterized in that: include: In response to the user's input operation, an MQTT protocol message is generated to be sent to one or more self-service printing smart devices, wherein the MQTT protocol message includes a management instruction for the self-service printing smart device; The MQTT protocol message is sent to the MQTT cloud server, and the MQTT cloud server is used to send the MQTT protocol message corresponding to each self-service printing smart device to each self-service printing smart device through the subscription channel corresponding to each self-service printing smart device, so that the self-service printing smart device can perform corresponding operations according to the management instructions in the MQTT protocol message.
2. The method for managing a self-service printing smart device according to claim 1, characterized in that: The management instruction includes at least one of the following: Device startup command, device shutdown command, device restart command, print command, device operation log upload command.
3. The management method of self-service printing intelligent device according to claim 1, characterized in that: The method further comprises: Receive the device operation log uploaded by the self-service printing smart device through the MQTT cloud server.
4. The management method of the self-service printing intelligent device according to claim 3 is characterized in that: The method further comprises: Based on the device operation log, the device printing information of the self-service printing smart device is displayed through a display interface.
5. The method for managing a self-service printing intelligent device according to any one of claims 1 to 4, characterized in that: Before generating an MQTT protocol message to be sent to one or more self-service printing smart devices in response to the user's input operation, the method further includes: The user's login username and login password are verified based on an encryption verification algorithm, the formula of the encryption verification algorithm is: in, Represents the encrypted ciphertext, Indicates the login password entered by the user, MD5 ( Indicates that the login password entered by the user is The encrypted ciphertext, Indicates the login user name.
6. The method for managing a self-service printing smart device according to claim 5, characterized in that: The method further comprises: After the user is authenticated, the IP address of the user is recorded, and the IP address is used to identify the user's remote login.
7. A management device for a self-service printing intelligent device, characterized in that: include: A processing module, configured to generate, in response to a user's input operation, an MQTT protocol message to be sent to one or more self-service printing smart devices, wherein the MQTT protocol message includes a management instruction for the self-service printing smart device; A sending module is used to send the MQTT protocol message to the MQTT cloud server. The MQTT cloud server is used to send the MQTT protocol message corresponding to each self-service printing smart device to each self-service printing smart device through the subscription channel corresponding to each self-service printing smart device, so that the self-service printing smart device can perform corresponding operations according to the management instructions in the MQTT protocol message.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the method for managing a self-service printing smart device as described in any one of claims 1 to 6 is implemented.
9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the management method of the self-service printing smart device as described in any one of claims 1 to 6 is implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the management method of the self-service printing smart device as described in any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
Bill message processing method and device
CN116935543A
Intelligent self-service printing system based on cloud platform
CN117270798A
Cloud printing method and cloud printing system
US20230140752A1