CN111610940A - Control method, device and equipment of printing equipment and storable medium - Google Patents

Control method, device and equipment of printing equipment and storable medium Download PDF

Info

Publication number
CN111610940A
CN111610940A CN202010469924.1A CN202010469924A CN111610940A CN 111610940 A CN111610940 A CN 111610940A CN 202010469924 A CN202010469924 A CN 202010469924A CN 111610940 A CN111610940 A CN 111610940A
Authority
CN
China
Prior art keywords
control
mobile terminal
control interface
display
printing
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.)
Granted
Application number
CN202010469924.1A
Other languages
Chinese (zh)
Other versions
CN111610940B (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.)
Shanghai Hannto Technology Inc
Original Assignee
Shanghai Hannto Technology Inc
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 Shanghai Hannto Technology Inc filed Critical Shanghai Hannto Technology Inc
Priority to CN202010469924.1A priority Critical patent/CN111610940B/en
Publication of CN111610940A publication Critical patent/CN111610940A/en
Application granted granted Critical
Publication of CN111610940B publication Critical patent/CN111610940B/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/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/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/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1236Connection 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • G06F9/452Remote windowing, e.g. X-Window System, desktop virtualisation

Abstract

The present disclosure relates to a control method, device, equipment and storage medium for a printing device, wherein the control method is applied to a mobile terminal and comprises the following steps: establishing a communication connection with a printing device; receiving a display file sent by printing equipment, and displaying a corresponding control interface according to the display file, wherein the display file is a display file corresponding to the control interface generated by the printing equipment according to an operating state; acquiring control operation input by a user based on the control interface; and sending the control operation to a printing device so that the printing device identifies the control operation and determines a control instruction according to an identification result. The mobile terminal becomes an interactive component of the printing equipment, the running state and the equipment information of the printing equipment can be checked through the mobile terminal, and the control operation can be input through the mobile terminal; the efficiency and the quality of interaction are improved, remote operation is supported, and the interaction experience of a user is improved.

Description

Control method, device and equipment of printing equipment and storable medium
Technical Field
The present disclosure relates to the field of printing devices, and in particular, to a method, an apparatus, a device and a storage medium for controlling a printing device.
Background
Printing devices such as printers can provide document processing functions such as printing, scanning, and copying. In order to operate and maintain the printing apparatus, the operating state and the apparatus information of the printing apparatus need to be checked; in order to enable the printing equipment to operate according to the requirements of users, corresponding settings are required; the printing device therefore needs to provide a display screen and, if necessary, a touch screen and keyboard to facilitate user interaction with the printing device. However, the display capability and the operation sensitivity of the display screen of the current printing device are poor, so that the interaction experience between the user and the printing device is poor.
Disclosure of Invention
To overcome the problems in the related art, embodiments of the present disclosure provide a method, an apparatus, a device and a storage medium for controlling a printing apparatus, so as to solve the drawbacks in the related art.
According to a first aspect of the embodiments of the present disclosure, there is provided a control method of a printing apparatus, applied to a mobile terminal, the control method including:
establishing a communication connection with a printing device;
receiving a display file sent by printing equipment, and displaying a corresponding control interface according to the display file, wherein the display file is a display file corresponding to the control interface generated by the printing equipment according to an operating state;
acquiring control operation input by a user based on the control interface;
and sending the control operation to a printing device so that the printing device identifies the control operation and determines a control instruction according to an identification result.
In one embodiment, the establishing a communication connection with a printing device includes:
sending communication connection request information to the printing equipment so that the printing equipment can identify the legality of a connection password carried in the communication connection request information and generate feedback information according to an identification result, wherein the connection password is input by a user;
and receiving feedback information sent by the printing equipment, and establishing communication connection with the printing equipment according to the feedback information.
In one embodiment, the establishing a communication connection with the printing device includes:
a wired connection or a wireless connection with the printing apparatus is established.
In one embodiment, the display file is a UI description file for a control interface of a printing device, wherein the UI description file includes a description field for each display element in the control interface;
the starting of the corresponding control interface according to the display file comprises the following steps:
and analyzing the display file, and rendering a corresponding control interface according to an analysis result.
In one embodiment, the obtaining of the control operation input by the user based on the control interface includes:
identifying user operation and determining a display element corresponding to the user operation;
the sending the control operation to a printing device includes:
and obtaining a description language segment of a display element corresponding to the user operation in the display file, and sending the description language segment to printing equipment.
In one embodiment, the display file is a pixel description file of a control interface of the printing device, wherein the pixel description file comprises a description field of each pixel in the control interface;
the starting of the corresponding display interface according to the display file comprises the following steps:
and synthesizing a corresponding control interface according to the display file.
In one embodiment, the obtaining of the control operation input by the user based on the control interface includes:
identifying user operation and determining a pixel range corresponding to the user operation;
the sending the control operation to a printing device includes:
and sending the position coordinates of each pixel in the pixel range corresponding to the user operation to the printing equipment.
In one embodiment, after the sending the control operation to the printing apparatus, the control method further includes:
and receiving the updated display file sent by the printing equipment, and updating the control interface.
According to a second aspect of the embodiments of the present disclosure, there is provided a control method of a printing apparatus, applied to the printing apparatus, the control method including:
establishing communication connection with a mobile terminal;
generating a display file corresponding to a control interface according to the running state of the printing equipment, and sending the display file to the mobile terminal so that the mobile terminal can display the control interface according to the display file;
receiving a control operation sent by the mobile terminal, identifying the control operation and determining a control instruction according to an identification result, wherein the control operation is input by a user based on a control interface running on the mobile terminal.
In one embodiment, the establishing of the communication connection with the mobile terminal includes:
receiving communication connection request information sent by a mobile terminal;
identifying the legality of a connection password carried in the communication connection request information, and generating feedback information according to an identification result, wherein the connection password is input by a user;
and sending the feedback information to a mobile terminal so that the mobile terminal establishes communication connection with the printing equipment according to the feedback information.
In one embodiment, the establishing of the communication connection with the mobile terminal includes:
and establishing a wired connection or a wireless connection with the mobile terminal.
In one embodiment, the display file is a UI description file for a control interface of a printing device, wherein the UI description file includes a description field for each display element in the control interface;
the generating of the display file corresponding to the control interface according to the running state of the printing equipment comprises the following steps:
extracting all display elements in the control interface;
generating a corresponding description language segment according to each display element;
and generating a display file corresponding to the control interface according to the description language segments of all the display elements.
In one embodiment, the identifying the control operation and determining the control instruction according to the identification result includes:
determining a display element corresponding to the user operation;
acquiring a mapping relation between the display element and a control instruction;
and determining a corresponding control instruction according to the determined display element and the mapping relation.
In one embodiment, the display file is a pixel description file of a control interface of the printing device, wherein the pixel description file comprises a description field of each pixel in the control interface;
the generating of the display file corresponding to the control interface according to the running state of the printing equipment comprises the following steps:
extracting all pixels in the control interface;
generating a corresponding description language segment according to each pixel;
and generating a display file corresponding to the control interface according to the description language segments of all the pixels.
In one embodiment, the identifying the control operation and determining the control instruction according to the identification result includes:
determining a pixel range corresponding to the user operation;
acquiring a mapping relation between the pixel range and a control instruction;
and determining a corresponding control instruction according to the determined pixel range and the mapping relation.
In one embodiment, after the determining the control instruction, the control method further includes:
and executing the control instruction, updating the display file and sending the updated display file to the mobile terminal so that the mobile terminal updates the control interface.
According to a third aspect of the embodiments of the present disclosure, there is provided a control device of a printing apparatus, applied to a mobile terminal, the control device including:
the printing device comprises a first connection module, a second connection module and a control module, wherein the first connection module is used for establishing communication connection with the printing device;
the display module is used for receiving a display file sent by the printing equipment and displaying a corresponding control interface according to the display file;
the operation module is used for acquiring control operation input by a user based on the control interface;
and the first sending module is used for sending the control operation to printing equipment so that the printing equipment identifies the control operation and determines a control instruction according to an identification result.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a control device of a printing apparatus, applied to the printing apparatus, the control device including:
the second connection module is used for establishing communication connection with the mobile terminal;
the second sending module is used for generating a display file corresponding to the control interface according to the running state of the printing equipment and sending the display file to the mobile terminal so that the mobile terminal can display the control interface according to the display file;
and the instruction module is used for receiving the control operation sent by the mobile terminal, identifying the control operation and determining a control instruction according to an identification result, wherein the control operation is input by a user based on a control interface operated on the mobile terminal.
According to a fifth aspect of embodiments of the present disclosure, there is provided an apparatus comprising a memory for storing computer instructions executable on a processor, the processor for controlling a printing apparatus based on any of the methods applied to a mobile terminal when executing the computer instructions.
According to a sixth aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements any one of the methods described above as applied to a mobile terminal.
According to a seventh aspect of embodiments of the present disclosure, there is provided an apparatus comprising a memory for storing computer instructions executable on a processor, the processor being configured to control a printing apparatus based on any of the methods applied to the printing apparatus when executing the computer instructions.
According to an eighth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements any one of the methods applied to a printing apparatus.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
according to the method, the communication connection with the printing equipment is established through the mobile terminal, the display file sent by the printing equipment is received, the corresponding control interface of the printing equipment is displayed according to the display file, the control operation input by a user based on the control interface is obtained, and finally the control operation is sent to the printing equipment so that the printing equipment can determine the control instruction according to the control operation. The display file is a display file corresponding to a control interface generated by the printing equipment according to the running state, and the mobile terminal displays the control interface of the printing equipment, so that the mobile terminal becomes an interactive component of the printing equipment, the running state and the equipment information of the printing equipment can be checked through the mobile terminal, and the control operation can be input through the mobile terminal. Because the display capability of the mobile terminal is strong and the operation sensitivity is high, the interaction efficiency and quality are improved by the interaction between the mobile terminal and the printing equipment, the remote operation is supported, and the interaction experience of a user is improved; in addition, the printing equipment can be no longer provided with interactive components, the cost is saved, and the utilization rate of the internal space of the printing equipment is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
Fig. 1 is an application scene diagram of a control method of a printing apparatus shown in an exemplary embodiment of the present disclosure;
fig. 2 is a flowchart illustrating a control method applied to a printing apparatus of a mobile terminal according to an exemplary embodiment of the present disclosure;
fig. 3 is a flowchart illustrating a method of establishing a communication connection with a printing apparatus applied to a mobile terminal according to an exemplary embodiment of the present disclosure;
fig. 4 is a flowchart illustrating a control method applied to a printing apparatus of a mobile terminal according to another exemplary embodiment of the present disclosure;
fig. 5 is a flowchart illustrating a control method applied to a printing apparatus of a mobile terminal according to still another exemplary embodiment of the present disclosure;
fig. 6 is a flowchart illustrating a control method applied to a printing apparatus of a mobile terminal according to still another exemplary embodiment of the present disclosure;
fig. 7 is a flowchart illustrating a control method applied to a printing apparatus of the printing apparatus according to an exemplary embodiment of the present disclosure;
fig. 8 is a flowchart illustrating a method of establishing a communication connection with a mobile terminal applied to a printing apparatus according to an exemplary embodiment of the present disclosure;
fig. 9 is a flowchart illustrating a control method applied to a printing apparatus of the printing apparatus according to another exemplary embodiment of the present disclosure;
fig. 10 is a flowchart illustrating a control method applied to a printing apparatus of the printing apparatus according to still another exemplary embodiment of the present disclosure;
fig. 11 is a flowchart illustrating a control method applied to a printing apparatus of the printing apparatus according to still another exemplary embodiment of the present disclosure;
fig. 12 is a flowchart illustrating a control method applied to a mobile terminal and a printing apparatus of the printing apparatus according to an exemplary embodiment of the present disclosure;
fig. 13 is a schematic structural diagram of a control device applied to a printing apparatus of a mobile terminal according to an exemplary embodiment of the present disclosure;
fig. 14 is a schematic structural diagram of a control device of a printing apparatus applied to the printing apparatus according to an exemplary embodiment of the present disclosure;
FIG. 15 is a schematic diagram of an electronic device shown in an exemplary embodiment of the present disclosure;
fig. 16 is a schematic structural diagram of an electronic device according to another exemplary embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The terminology used in the present disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used in this disclosure and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present disclosure. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
Printing devices such as printers can provide document processing functions such as printing, scanning, and copying. In order to operate and maintain the printing apparatus, the operating state and the apparatus information of the printing apparatus need to be checked; in order to enable the printing equipment to operate according to the requirements of users, corresponding settings are required; the printing device therefore needs to provide a display screen and, if necessary, a touch screen and keyboard to facilitate user interaction with the printing device. However, the display capability and the operation sensitivity of the display screen of the current printing device are poor, so that the interaction experience between the user and the printing device is poor.
Based on this, the present disclosure provides a control method of a printing device, please refer to fig. 1, which is applied in an application scenario including a user 101, a mobile terminal 102 and a printing device 103, specifically, the printing device 103 displays a control interface of the printing device 103 through the mobile terminal 102, so that the user 101 can view an operation state and device information of the printing device 103 through the mobile terminal 102, and can input an operation for the printing device 103 through the mobile terminal 102. The mobile terminal 102 may be a mobile phone, a tablet computer, a smart television, or the like; the printing device 103 may be a printer, which may or may not be provided with interactive components such as a display screen and a keyboard, and may be a printer of any brand and form without limitation.
The present disclosure exemplarily provides three aspects of a control method of the printing apparatus, wherein the first aspect is a control method of the printing apparatus applied to a mobile terminal, the second aspect is a control method of the printing apparatus applied to the printing apparatus, and the third aspect is a control method of the printing apparatus applied to the mobile terminal and the printing apparatus.
Referring to fig. 2, according to a first aspect of the present disclosure, some embodiments of the present disclosure provide a control method of a printing apparatus, applied to a mobile terminal, the control method including steps S101 to S104.
In step S201, a communication connection with the printing apparatus is established.
In this step, the mobile terminal may establish a wired communication connection or a wireless communication connection with the printing device, for example, a wired connection may be established through a network cable, a wired connection may be established through a data transmission line, and a wireless connection may be established through a wireless network or bluetooth. A connection module may be provided within the printing device for establishing a connection and communicating with the mobile terminal. The mobile terminal and the printing apparatus after the connection is established can perform data transmission.
In step S202, a display file sent by the printing device is received, and a corresponding control interface is displayed according to the display file, where the display file is a display file corresponding to the control interface generated by the printing device according to the operating state.
In this step, the processor of the printing device performs a series of preparation operations for display and control, that is, obtains the device information, the operating mode, the setting parameters, and other operating states of the printing device, and generates a virtual control interface according to the operating states, where the virtual control interface is not displayed on the printer, but is organized into a display file, and sends the display file to the mobile terminal, and the mobile terminal can parse the display file after receiving the display file, and display the control interface according to the parsing result, that is, the virtual control interface generated by the processor of the printing device is displayed on the mobile terminal.
The display screen of the mobile terminal has strong display capability and high operation sensitivity, and the processor of the mobile terminal has strong rendering capability on the interface, so that the mobile terminal can present a high-quality control interface and improve the user experience; moreover, the mobile terminal and the printing equipment are separated, so that a user can remotely view the operation interface without viewing the position of the printing equipment each time. And the printing device can be provided with no display screen and other interactive components to save cost.
In an example, the display of the control interface by the mobile terminal may select a direct picture pixel display mode or a rendering display mode, and details of the two display modes will be described in detail below, which is not repeated herein; the display file may be a generic format, such as an XML file, that describes the interface, so as to facilitate parsing and display of the mobile terminal. Because the format of the display file is universal, printing equipment of different brands can share the control method, and the mobile terminal can directly analyze the display file of the printing equipment of different brands, so that the universality of the control method is improved; and the mobile terminal does not need to install special control software of each brand of printing equipment, thereby avoiding occupying excessive storage space.
In step S203, a control operation input by the user based on the control interface is acquired.
In this step, the user inputs various control operations through the mobile terminal, for example, directly clicking an operation button in the control interface or inputting a setting parameter at a corresponding position in the control interface. The control interface can be directly operated through a touch screen of the mobile terminal, and the operation can also be input through other interactive components such as a keyboard or a mouse and the like while the control interface is checked. The user can remotely input control operation without reaching the position of the printing equipment during operation, so that the operation efficiency and convenience are improved.
In step S204, the control operation is sent to the printing apparatus, so that the printing apparatus recognizes the control operation, and determines a control instruction according to the recognition result.
In this step, the mobile terminal collects the control operation of the user, does not identify the meaning represented by the operation, but sends the control operation to the printing device, wherein the form of sending the control operation is based on the display file, namely, the operation type and the operation position of the control interface by the user are recorded in the display file, and then the whole display file or the operation record content in the display file is sent to the printing device. Because the processor of the printing device generates the virtual control interface and the corresponding display file in the past, after receiving the operation record content sent by the mobile terminal, the printing device can determine the operation position and the operation type in the virtual interface by the user, namely the printing device displays the control interface by using the display screen of the printing device, and then the user inputs the operation through the interactive component of the printing device, and the printing device identifies the operation. Therefore, the display screen equivalent to the mobile terminal becomes the remote split type display screen of the printing equipment, and the interactive components such as the touch screen, the keyboard or the mouse of the mobile terminal also become the remote split type interactive components of the printing equipment, so that the cost for setting the components is saved, and the quality of the components is improved.
In one example, a control interface of a printing device is displayed on a touch screen of the mobile terminal, wherein a label of the ink jet density and a corresponding scale are displayed, a slidable mark is arranged on the scale, and after a user moves the mark on the touch screen, the printing device determines a control instruction, and the content of the instruction is a numerical value for adjusting the ink jet density to the position of the scale corresponding to the mark.
According to the control method of the printing device provided by the embodiment, the display file is a display file corresponding to a control interface generated by the printing device according to the running state, and the mobile terminal displays the control interface of the printing device, so that the mobile terminal becomes an interactive component of the printing device, the running state and the device information of the printing device can be checked through the mobile terminal, and the control operation can be input through the mobile terminal. Because the display capability of the mobile terminal is strong and the operation sensitivity is high, the interaction efficiency and quality are improved by the interaction between the mobile terminal and the printing equipment, the remote operation is supported, and the interaction experience of a user is improved; in addition, the printing equipment can be no longer provided with interactive components, the cost is saved, and the utilization rate of the internal space of the printing equipment is improved.
Referring to fig. 3, some embodiments of the present disclosure exemplarily show a method for establishing a communication connection with a printing device, which is applied to a mobile terminal and specifically includes step S301 and step S302.
In step S301, sending the communication connection request information to the printing device, so that the printing device identifies the validity of the connection password carried in the communication connection request information, and generates feedback information according to the identification result, where the connection password is input by the user.
Each printing device has a unique connection password, and the connection password may be preset when the printing device leaves a factory or modified by the control method of the embodiment; if the connection password is preset in the factory, the user can obtain the connection password through the corresponding identifier on the printing equipment, and if the connection password is modified by the user through the control method of the embodiment, the connection password can be obtained directly. Therefore, in this step, the user inputs the connection password of the printing device to be controlled to the mobile terminal, so as to generate communication connection request information, the mobile terminal sends the communication connection request information to the printing device, then the printing device receives the communication connection request information, acquires the connection password carried therein, compares whether the carried connection password is the same as the connection password of the printing device, if so, determines that the carried connection password is legal, and generates feedback information agreeing to establish communication connection with the mobile terminal, and if not, determines that the carried connection password is illegal, and generates feedback information refusing to establish communication connection with the mobile terminal.
In step S302, feedback information sent by the printing device is received, and a communication connection with the printing device is established according to the feedback information.
In this step, the printing device sends the feedback information to the mobile terminal after generating the feedback information. After the printing equipment generates feedback information which agrees to establish communication connection with the mobile terminal, the connection module of the printing equipment is opened to enable the printing equipment to be in a state to be connected, and after the mobile terminal receives the feedback information, the mobile terminal is connected with the connection module, so that communication connection between the mobile terminal and the printing equipment is formed, and data transmission can be performed between the mobile terminal and the printing equipment according to the communication connection; and after the printing equipment generates feedback information for refusing to establish communication connection with the mobile terminal, the connection module of the printing equipment is closed to enable the printing equipment to be in a state of being incapable of being connected, so that the mobile terminal cannot be connected with the connection module after receiving the feedback information, and prompt information can be generated to prompt the user that the input connection password is wrong and prompt the user to input the password again.
The communication connection between the legal mobile terminal and the printing device can be realized through the steps S301 and S302, so that the subsequent data transmission is facilitated; due to the verification step of the connection password, the reliability of the connection of the mobile terminal is improved, other mobile terminals are prevented from being connected with the printing equipment, the safety of the printing equipment is improved, and the reliability of the control method is improved.
Referring to fig. 4, another embodiment of the present disclosure provides a method for controlling a printing apparatus, which specifically includes steps S401 to S404.
In step S401, a communication connection with the printing apparatus is established.
This step is the same as step S201 shown in fig. 2, and reference may be made to the method shown in fig. 3.
In step S402, a display file sent by the printing device is received, the display file is analyzed, and a corresponding control interface is rendered according to the analysis result to display the control interface.
In these embodiments, the display file is a UI description file for a control interface of a printing device, where the UI description file includes a description field for each display element in the control interface. The display elements are each label in the control interface and a corresponding parameter or state thereof, that is, key information of the control interface.
As in step S202 shown in fig. 2, the processor of the printing apparatus generates a virtual control interface, extracts all display elements in the virtual control interface, generates corresponding description language segments according to preset description syntax and each display element, generates a display file in a preset format according to the description language segments of all display elements, and finally sends the display file to the mobile terminal. After receiving the display file, the mobile terminal analyzes the display file, renders a corresponding control interface according to an analysis result, and displays the rendered control interface. The control interface rendered by the mobile terminal according to the display file is different from the virtual control interface generated by the processor of the printer, but the expressed display elements are the same, and the processing capacity and the rendering capacity of the mobile terminal are high, so that the control interface with high quality can be presented by matching with the higher configuration of the display screen, the control interface is higher in quality than the control interface rendered by the traditional printer processor and displayed on the low configuration screen of the printer, and the user experience is improved.
In one example, the same interface processing software is installed in the printing device and the mobile terminal, and the software has functions of generating and analyzing display files, rendering control interfaces and the like. In the printing equipment, the software generates a corresponding display file according to a virtual control interface generated by a processor of the printing equipment; in the mobile terminal, the software parses the display file and renders a control interface. The interface processing software is a general software and is not different according to brands, systems and versions of the printing equipment, the interface processing software is downloaded and installed from a network by the mobile terminal, then the interface processing software is sent to the printing equipment after the mobile terminal and the printing equipment establish communication connection for the first time, so that the printing equipment can automatically install the interface processing software after receiving the software, and the interface processing software can automatically run the interface processing software after generating the virtual control interface.
In step S403, a user operation is recognized, and a display element corresponding to the user operation is determined.
In this step, the user inputs various control operations based on the control interface through the mobile terminal, as in step S203 shown in fig. 2. The control operation input by the user is specific to a certain display element of the control interface, and the specific operation type may be selection, opening, closing, parameter input and the like. After obtaining the operation of the user, the mobile terminal can determine a display element and an operation type corresponding to the user operation by combining the control interface, for example, a mode is selected under a certain label, or a certain label is turned on or off, or a parameter is input under a certain label.
In one example, a display element corresponding to a label containing ink jet density is included in the control interface, and when a user operates the display element, the mobile terminal can recognize that the user performs an operation of inputting or selecting a specific parameter on the display element.
In step S404, a description field of a display element corresponding to the user operation in the display file is acquired, and the description field is sent to a printing device, so that the printing device identifies the control operation, and determines a control instruction according to an identification result.
In this step, as in step S204 shown in fig. 2, after the mobile terminal determines the display element, the operation type, and other data related to the operation corresponding to the operation (for example, if the operation is a select type operation, a selected option needs to be obtained, and if the operation is a select or input parameter type operation, a related parameter needs to be obtained), instead of identifying the meaning represented by the operation, the mobile terminal finds the phrase segment of the display element corresponding to the operation in the display file, and sends the phrase segment, the operation type, and other data related to the operation to the printing device, so that the printing device identifies the meaning of the operation. Wherein, the sending description language segment can be sent in a form of intercepting the description language segment and forming a data packet; or marking the description language segment in the display file and sending the marked whole display file. The meaning of the operation is identified by the printing equipment in such a way that after the description language segment, the operation type and other data related to the operation are received, the position of the virtual control interface corresponding to the operation is determined according to the description language segment, the meaning of the operation can be identified by combining the operation type and the other data, and the control instruction is determined according to the identification result.
The control method of the printing apparatus provided by the present embodiment adopts the rendering display mode. And because the display file is a UI description file for the control interface of the printing equipment, the mobile terminal renders the control interface according to the UI description file and displays the control interface. The mobile terminal has strong processing capability and image rendering capability, so that the quality of a rendered and displayed control interface is very high, and compared with a virtual control interface generated by a processor of printing equipment, the quality of the rendered and displayed control interface is clearer, the interface structure is more reasonable, the display is more comprehensive, and better viewing and operating experience is provided for a user.
Referring to fig. 5, another embodiment of the present disclosure provides a method for controlling a printing apparatus, which specifically includes steps S501 to S504.
In step S501, a communication connection with the printing apparatus is established.
This step is the same as step S201 shown in fig. 2, and reference may be made to the method shown in fig. 3.
In step S502, a display file sent by the printing device is received, and a corresponding control interface is synthesized according to the display file, and the control interface is displayed.
In these embodiments, the display file is a pixel description file for a control interface of a printing device, where the pixel description file includes a description field for each pixel in the control interface.
As in step S202 shown in fig. 2, the processor of the printing apparatus generates a virtual control interface, extracts all pixels in the virtual control interface, generates a corresponding description field according to each pixel according to a preset description syntax, generates a display file in a preset format according to the description fields of all pixels, and finally sends the display file to the mobile terminal. After the mobile terminal receives the display file, the display module analyzes the display file, synthesizes each pixel of the virtual control interface according to the display file, and copies the virtual control interface synthesized by the processor of the printing equipment on the mobile terminal and displays the control interface after all the pixels are synthesized. Because the original book of the mobile terminal displays the virtual control interface generated by the processor of the printer, the operation process of rendering the interface is omitted, the display efficiency is improved, and the utilization and the influence on the operation space of the mobile terminal are reduced. The processor equivalent to the printing device synthesizes the control interface, and only utilizes the display capability of the mobile terminal to take the mobile terminal as a remote display.
In step S503, a user operation is recognized, and a pixel range corresponding to the user operation is determined.
In this step, the user inputs various control operations based on the control interface through the mobile terminal, as in step S203 shown in fig. 2. The control operation input by the user is directed at a certain pixel range of the control interface (since each label corresponds to a certain pixel range), and the specific operation type may be selection, on, off, parameter input, and the like. After obtaining the operation of the user, the mobile terminal can determine a pixel range and an operation type corresponding to the user operation by combining the control interface, for example, a mode is selected under a certain label, or a certain label is turned on or off, or a parameter is input under a certain label.
In one example, a label containing ink ejection density is included in the control interface, and when a user operates the label, the mobile terminal can recognize the pixel range operated by the user and perform operation of inputting or selecting a specific parameter.
In step S504, the position coordinates of each pixel in the pixel range corresponding to the user operation are transmitted to the printing apparatus.
In this step, as in step S204 shown in fig. 2, after the mobile terminal determines the pixel range corresponding to the operation, the operation type, and other data related to the operation (for example, if the operation is a select type operation, a selected option needs to be obtained, and if the operation is a select or input parameter type operation, a related parameter needs to be obtained), the meaning represented by the operation is not identified, but the position coordinates of each pixel in the pixel range corresponding to the operation are determined, and the coordinates, the operation type, and the other data related to the operation are sent to the printing apparatus, so that the printing apparatus identifies the meaning of the operation. The sending coordinate position can be sent in a mode of combining the coordinate positions into a data packet; or marking the coordinates in the display file and sending the marked whole display file. The meaning of the operation is identified by the printing equipment in such a way that after the position coordinates, the operation type and other data related to the operation of the pixel are received, the position of the virtual control interface corresponding to the operation is determined according to the position coordinates, the meaning of the operation can be identified by combining the operation type and the other data, and the control instruction is determined according to the identification result.
The present embodiment provides a control method of a printing apparatus, which adopts a direct picture pixel display mode. And the display file is a pixel description file of the control interface of the printing equipment, and the mobile terminal directly displays the control interface according to the pixel description file. The operation process of rendering the interface is omitted, the display efficiency is improved, and the utilization and influence on the operation space of the mobile terminal are reduced.
Referring to fig. 6, another embodiment of the present disclosure provides a method for controlling a printing apparatus, including steps S601 to S605, where steps S601 to S604 are identical to steps S201 to S204 shown in fig. 2, and are not described herein again.
In step S605, the updated display file transmitted by the printing apparatus is received, and the control interface is updated.
In this step, the printing device executes the control instruction after determining the control instruction, and because the instruction is executed, the operating state of the printing device and/or the device information may change, so that the virtual control interface needs to be adjusted, the display file needs to be updated, and the updated display file is sent to the mobile terminal. And after the mobile terminal receives the display file, updating the control interface.
Through the step S605, the control interface of the printing apparatus can be updated in real time, the validity of the control interface is ensured, the validity of the operation input based on the control interface is further ensured, and the accuracy of controlling the printing apparatus is improved.
Referring to fig. 7, according to a second aspect of the present disclosure, some embodiments of the present disclosure provide a control method of a printing apparatus, applied to the printing apparatus, the control method including steps S701 to S703.
In step S701, a communication connection with the mobile terminal is established.
In this step, the printing device may establish a wired communication connection or a wireless communication connection with the mobile terminal, for example, a wired connection may be established through a network cable, a wired connection may be established through a data transmission line, and a wireless connection may be established through a wireless network or bluetooth. A connection module may be provided within the printing device for establishing a connection and communicating with the mobile terminal. The printing apparatus and the mobile terminal after the connection is established can perform data transmission.
In step S702, a display file corresponding to the control interface is generated according to the operating state of the printing device, and the display file is sent to the mobile terminal, so that the mobile terminal displays the control interface according to the display file.
In this step, the processor of the printing device performs a series of preparation operations for display and control, that is, obtains the device information, the operating mode, the setting parameters, and other operating states of the printing device, and generates a virtual control interface according to the operating states, where the virtual control interface is not displayed on the printer, but is organized into a display file, and sends the display file to the mobile terminal, and after receiving the display file, the mobile terminal can display the control interface according to the display file, that is, the virtual control interface generated by the processor of the printing device is displayed on the mobile terminal.
The display screen of the mobile terminal has strong display capability and high operation sensitivity, and the processor of the mobile terminal has strong rendering capability on the interface, so that the mobile terminal can present a high-quality control interface and improve the user experience; moreover, the mobile terminal and the printing equipment are separated, so that a user can remotely view the operation interface without viewing the position of the printing equipment each time. And the printing device can be provided with no display screen and other interactive components to save cost.
In an example, the printing device generates the display file and may select a direct picture pixel mode or a rendering display mode, and details of the two display modes will be described in detail below, which is not repeated herein for the moment; the display file may be a generic format, such as an XML file, that describes the interface, so as to facilitate parsing and display of the mobile terminal. Because the format of the display file is universal, printing equipment of different brands can share the control method, and the mobile terminal can directly analyze the display file of the printing equipment of different brands, so that the universality of the control method is improved; and the mobile terminal does not need to install special control software of each brand of printing equipment, thereby avoiding occupying excessive storage space.
In step S703, a control operation sent by the mobile terminal is received, and the control operation is recognized and a control instruction is determined according to the recognition result, where the control operation is a control operation input by a user based on a control interface running on the mobile terminal.
In this step, the user inputs various control operations through the mobile terminal, the mobile terminal does not recognize the meaning represented by the operation after collecting the control operation of the user, but sends the control operation to the printing device, the form of sending the control operation is based on the display file, namely, the operation type and the operation position of the control interface by the user are recorded in the display file, and then the whole display file or the operation record content in the display file is sent to the printing device. Because the processor of the printing device generates the virtual control interface and the corresponding display file in the past, after receiving the operation record content sent by the mobile terminal, the printing device can determine the operation position and the operation type in the virtual interface by the user, namely the printing device displays the control interface by using the display screen of the printing device, and then the user inputs the operation through the interactive component of the printing device, and the printing device identifies the operation. Therefore, the display screen equivalent to the mobile terminal becomes the remote split type display screen of the printing equipment, and the interactive components such as the touch screen, the keyboard or the mouse of the mobile terminal also become the remote split type interactive components of the printing equipment, so that the cost for setting the components is saved, and the quality of the components is improved.
In one example, a control interface of a printing device is displayed on a touch screen of the mobile terminal, wherein a label of the ink jet density and a corresponding scale are displayed, a slidable mark is arranged on the scale, and after a user moves the mark on the touch screen, the printing device determines a control instruction, and the content of the instruction is a numerical value for adjusting the ink jet density to the position of the scale corresponding to the mark.
According to the control method of the printing device provided by the embodiment, the display file is a display file corresponding to a control interface generated by the printing device according to the running state, and the mobile terminal displays the control interface of the printing device, so that the mobile terminal becomes an interactive component of the printing device, the running state and the device information of the printing device can be checked through the mobile terminal, and the control operation can be input through the mobile terminal. Because the display capability of the mobile terminal is strong and the operation sensitivity is high, the interaction efficiency and quality are improved by the interaction between the mobile terminal and the printing equipment, the remote operation is supported, and the interaction experience of a user is improved; in addition, the printing equipment can be no longer provided with interactive components, the cost is saved, and the utilization rate of the internal space of the printing equipment is improved.
Referring to fig. 8, some embodiments of the present disclosure exemplarily show a method for establishing a communication connection with a mobile terminal, which is applied to a printing apparatus and specifically includes steps S801 and S803.
In step S801, communication connection request information transmitted from the mobile terminal is received.
Each printing device has a unique connection password, and the connection password may be preset when the printing device leaves a factory or modified by the control method of the embodiment; if the connection password is preset in the factory, the user can obtain the connection password through the corresponding identifier on the printing equipment, and if the connection password is modified by the user through the control method of the embodiment, the connection password can be obtained directly. Therefore, the user inputs the connection password of the printing device to be controlled to the mobile terminal, so as to generate the communication connection request information, the mobile terminal sends the communication connection request information to the printing device, and the printing device receives the communication connection request information sent by the mobile terminal.
In step S802, the validity of the connection password carried in the communication connection request information is identified, and feedback information is generated according to the identification result, where the connection password is input by the user.
In this step, after receiving the communication connection request information, the printing device first obtains the connection password carried therein, then compares whether the carried connection password is the same as the connection password of the printing device itself, if so, determines that the carried connection password is legal, generates feedback information agreeing to establish communication connection with the mobile terminal, and if not, determines that the carried connection password is illegal, and generates feedback information refusing to establish communication connection with the mobile terminal.
In step S803, the feedback information is sent to the mobile terminal, so that the mobile terminal establishes a communication connection with the printing device according to the feedback information.
In this step, the printing device sends the feedback information to the mobile terminal after generating the feedback information. After the printing equipment generates feedback information which agrees to establish communication connection with the mobile terminal, the connection module of the printing equipment is opened to enable the printing equipment to be in a state to be connected, and after the mobile terminal receives the feedback information, the mobile terminal is connected with the connection module, so that communication connection between the mobile terminal and the printing equipment is formed, and data transmission can be performed between the mobile terminal and the printing equipment according to the communication connection; and after the printing equipment generates feedback information for refusing to establish communication connection with the mobile terminal, the connection module of the printing equipment is closed to enable the printing equipment to be in a state of being incapable of being connected, so that the mobile terminal cannot be connected with the connection module after receiving the feedback information, and prompt information can be generated to prompt the user that the input connection password is wrong and prompt the user to input the password again.
Communication connection between the printing device and a legal mobile terminal can be realized through steps S801 to S803, so as to facilitate transmission of subsequent data; due to the verification step of the connection password, the reliability of the connection of the mobile terminal is improved, other mobile terminals are prevented from being connected with the printing equipment, the safety of the printing equipment is improved, and the reliability of the control method is improved.
Referring to fig. 9, another embodiment of the present disclosure provides a method for controlling a printing apparatus, which specifically includes steps S901 to S907.
In step S901, a communication connection with the mobile terminal is established.
This step is the same as step S701 shown in fig. 7, and reference may be made to the method shown in fig. 8.
In step S902, all display elements in the control interface are extracted.
The display elements are each label in the control interface and a corresponding parameter or state thereof, that is, key information of the control interface.
In this step, the processor of the printing apparatus generates a virtual control interface, and then extracts all display elements in the virtual control interface, as in step S702 shown in fig. 7.
In step S903, a corresponding phrase segment is generated from each display element.
In this step, the printing apparatus generates a corresponding description phrase segment from each display element according to a preset description syntax. The description syntax is the protocol syntax between the mobile terminal and the printing device.
In step S904, a display file corresponding to the control interface is generated according to the description language segments of all the display elements, and the display file is sent to the mobile terminal, so that the mobile terminal displays the control interface according to the display file.
In this step, a display file in a preset format is generated according to the description language segments of all the display elements, and the display file is sent to the mobile terminal. After receiving the display file, the mobile terminal analyzes the display file, renders a corresponding control interface according to an analysis result, and displays the rendered control interface. The control interface rendered by the mobile terminal according to the display file is different from the virtual control interface generated by the processor of the printer, but the expressed display elements are the same, and the processing capacity and the rendering capacity of the mobile terminal are high, so that the control interface with high quality can be presented by matching with the higher configuration of the display screen, the control interface is higher in quality than the control interface rendered by the traditional printer processor and displayed on the low configuration screen of the printer, and the user experience is improved.
In step S905, a control operation sent by the mobile terminal is received, and a display element corresponding to the user operation is determined, where the control operation is a control operation input by a user based on a control interface running on the mobile terminal.
In this step, a user inputs various control operations through a mobile terminal, the mobile terminal acquires the control operations of the user, then determines display elements and operation types corresponding to the user operations and other data related to the operations (for example, if the control operations are selection type operations, a selected option needs to be obtained, and if the control operations are selection or parameter type operations, related parameters need to be obtained), and sends a description field and operation types of the display elements corresponding to the control operations and other data related to the operations in a display file to a printing device. Because the processor of the printing device generates the virtual control interface and the corresponding display file before, after receiving the description language segment and the operation type sent by the mobile terminal and other data related to the operation, the printing device determines the display element described by the description language segment according to the description language segment and the display file.
In step S906, a mapping relationship between the display element and the control instruction is obtained.
The processor of the printing device generates a virtual control interface according to the control requirement of the printing device. After the virtual interface is generated, each display element corresponds to one or more control instructions, so that the display elements, in combination with the operation type and other data related to the operation, can correspond to a unique control instruction. The processor of the printing device stores a one-to-one mapping of control instructions to display elements, operation types, and other data energies associated with the operations. Therefore, in this step, the processor of the printing apparatus can directly acquire the above-described mapping relationship that is prestored.
In step S907, a corresponding control instruction is determined according to the determined display element and the mapping relationship.
In this step, according to the determined display element, the operation type and other data related to the operation, positioning is performed in the demapping relationship, so that a unique control instruction is determined.
Referring to fig. 10, another embodiment of the present disclosure provides a method for controlling a printing apparatus, which specifically includes steps S1001 to S1007.
In step S1001, a communication connection with the mobile terminal is established.
This step is the same as step S701 shown in fig. 7, and reference may be made to the method shown in fig. 8.
In step S1002, all pixels in the control interface are extracted.
In this step, the processor of the printing apparatus generates a virtual control interface, and then extracts all pixels in the virtual control interface, as in step S702 shown in fig. 7.
In step S1003, a corresponding phrase fragment is generated from each pixel.
In this step, the printing apparatus generates a corresponding description phrase segment from each pixel according to a preset description syntax. The description syntax is the protocol syntax between the mobile terminal and the printing device.
In step S1004, a display file corresponding to the control interface is generated according to the description language segments of all the pixels, and the display file is sent to the mobile terminal, so that the mobile terminal displays the control interface according to the display file.
In this step, a display file in a preset format is generated according to all the description language segments of the pixels, and the display file is sent to the mobile terminal. After the mobile terminal receives the display file, the display module analyzes the display file, synthesizes each pixel of the virtual control interface according to the display file, and copies the virtual control interface synthesized by the processor of the printing equipment on the mobile terminal and displays the control interface after all the pixels are synthesized. Because the original book of the mobile terminal displays the virtual control interface generated by the processor of the printer, the operation process of rendering the interface is omitted, the display efficiency is improved, and the utilization and the influence on the operation space of the mobile terminal are reduced. The processor equivalent to the printing device synthesizes the control interface, and only utilizes the display capability of the mobile terminal to take the mobile terminal as a remote display.
In step S1005, a control operation sent by the mobile terminal is received, and a pixel range corresponding to the user operation is determined, where the control operation is a control operation input by a user based on a control interface running on the mobile terminal.
In this step, a user inputs various control operations through a mobile terminal, the mobile terminal acquires the control operations of the user, then determines a pixel range and an operation type corresponding to the user operations and other data related to the operations (for example, if the control operations are selection operations, a selected option needs to be obtained, and if the control operations are selection or parameter input operations, related parameters need to be obtained), and sends the position coordinates and the operation type of each pixel in the pixel range corresponding to the control operations and other data related to the operations in a display file to the printing device. Because the processor of the printing device generates the virtual control interface and the corresponding display file in the past, after receiving the position coordinates and the operation type sent by the mobile terminal and other data related to the operation, the printing device determines the corresponding pixel range according to the position coordinates and the display file, wherein each pixel range corresponds to one label in the control interface.
In step S1006, a mapping relationship between the pixel range and the control command is obtained.
The processor of the printing device generates a virtual control interface according to the control requirement of the printing device. After the virtual interface is generated, each label corresponds to one or more control instructions, so that the label can correspond to a unique control instruction in combination with the operation type and other data related to the operation, and the label corresponds to a plurality of pixels of the control interface. The processor of the printing device stores a one-to-one mapping of control instructions to the pixel range of the label, the type of operation, and other data energy associated with the operation. Therefore, in this step, the processor of the printing apparatus can directly acquire the above-described mapping relationship that is prestored.
In step S1007, a corresponding control command is determined according to the determined pixel range and the mapping relationship.
In this step, according to the determined pixel range, operation type and other data related to the operation, positioning is performed in the demapping relationship, so that a unique control instruction is determined.
Referring to fig. 11, another embodiment of the present disclosure provides a method for controlling a printing apparatus, including steps S1101 to S1104, where steps S1101 to S1103 are identical to steps S701 to S703 shown in fig. 7, and redundant description is not repeated here.
In step S1104, the control instruction is executed, and the display file is updated and the updated display file is sent to the mobile terminal, so that the mobile terminal updates the control interface.
In this step, the printing device executes the control instruction after determining the control instruction, and because the instruction is executed, the operating state of the printing device and/or the device information may change, so that the virtual control interface needs to be adjusted, the display file needs to be updated, and the updated display file is sent to the mobile terminal. And after the mobile terminal receives the display file, updating the control interface.
Through the step S1104, the control interface of the printing apparatus can be updated in real time, the validity of the control interface is ensured, the validity of the operation input based on the control interface is further ensured, and the accuracy of controlling the printing apparatus is improved.
Referring to fig. 12, according to a third aspect of the present disclosure, some embodiments of the present disclosure provide a control method of a printing apparatus, applied to a mobile terminal and the printing apparatus, the control method including steps S1201 to S1206.
In step 1201, a communication connection between the mobile terminal and the printing apparatus is established.
In step 1202, the printing device generates a display file corresponding to the control interface according to the running state, and sends the display file to the mobile terminal.
In step 1203, the mobile terminal receives the display file and displays a corresponding control interface according to the display file.
In step 1204, the mobile terminal obtains a control operation input by the user based on the control interface.
In step 1205, the mobile terminal sends the control operation to the printing device.
In step 1206, the printing apparatus receives the control operation, identifies the control operation, and determines a control instruction according to the identification result.
Details of the above six steps are already described in detail in the first aspect and/or the second aspect, and are not repeated here.
According to a fourth aspect of the embodiments of the present disclosure, referring to fig. 13, there is provided a control device of a printing apparatus, applied to a mobile terminal, the control device including:
a first connection module 1301, configured to establish a communication connection with a printing apparatus;
the display module 1302 is configured to receive a display file sent by a printing device, and display a corresponding control interface according to the display file;
the operation module 1303 is used for acquiring control operation input by the user based on the control interface;
a first sending module 1304, configured to send the control operation to a printing apparatus, so that the printing apparatus identifies the control operation, and determines a control instruction according to an identification result.
With regard to the apparatus in the above-mentioned embodiments, the specific manner in which each module performs the operation has been described in detail in the first aspect with respect to the embodiment of the method, and will not be elaborated here.
According to a fifth aspect of the embodiments of the present disclosure, referring to fig. 14, there is provided a control device of a printing apparatus, applied to the printing apparatus, the control device including:
a second connection module 1401, configured to establish a communication connection with the mobile terminal;
a second sending module 1402, configured to generate a display file corresponding to a control interface according to an operating state of the printing device, and send the display file to the mobile terminal, so that the mobile terminal displays the control interface according to the display file;
the instruction module 1403 is configured to receive a control operation sent by the mobile terminal, identify the control operation, and determine a control instruction according to an identification result, where the control operation is a control operation input by a user based on a control interface running on the mobile terminal.
With regard to the apparatus in the above-mentioned embodiment, the specific manner in which each module performs the operation has been described in detail in the second aspect with respect to the embodiment of the method, and will not be elaborated here.
According to a sixth aspect of the embodiments of the present disclosure, please refer to fig. 15, which provides an apparatus comprising a memory for storing computer instructions executable on a processor, and a processor for controlling a printing apparatus based on any one of the methods applied to a mobile terminal when executing the computer instructions.
According to a seventh aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements any one of the methods described above as applied to a mobile terminal.
According to an eighth aspect of the embodiments of the present disclosure, please refer to fig. 16, which provides an apparatus comprising a memory for storing computer instructions executable on a processor, and a processor for controlling a printing apparatus based on any one of the methods applied to the printing apparatus when executing the computer instructions.
According to a ninth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements any one of the methods applied to a printing apparatus.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (22)

1. A control method of a printing apparatus, applied to a mobile terminal, the control method comprising:
establishing a communication connection with a printing device;
receiving a display file sent by printing equipment, and displaying a corresponding control interface according to the display file, wherein the display file is a display file corresponding to the control interface generated by the printing equipment according to an operating state;
acquiring control operation input by a user based on the control interface;
and sending the control operation to a printing device so that the printing device identifies the control operation and determines a control instruction according to an identification result.
2. The method according to claim 1, wherein the establishing of the communication connection with the printing apparatus includes:
sending communication connection request information to the printing equipment so that the printing equipment can identify the legality of a connection password carried in the communication connection request information and generate feedback information according to an identification result, wherein the connection password is input by a user;
and receiving feedback information sent by the printing equipment, and establishing communication connection with the printing equipment according to the feedback information.
3. The method according to claim 2, wherein the establishing of the communication connection with the printing apparatus includes:
a wired connection or a wireless connection with the printing apparatus is established.
4. The method according to claim 1, wherein the display file is a UI description file for a control interface of the printing apparatus, wherein the UI description file includes a description field for each display element in the control interface;
the starting of the corresponding control interface according to the display file comprises the following steps:
and analyzing the display file, and rendering a corresponding control interface according to an analysis result.
5. The method according to claim 4, wherein the acquiring of the control operation input by the user based on the control interface includes:
identifying user operation and determining a display element corresponding to the user operation;
the sending the control operation to a printing device includes:
and obtaining a description language segment of a display element corresponding to the user operation in the display file, and sending the description language segment to printing equipment.
6. The method according to claim 1, wherein the display file is a pixel description file of a control interface of the printing device, wherein the pixel description file includes a description field for each pixel in the control interface;
the starting of the corresponding display interface according to the display file comprises the following steps:
and synthesizing a corresponding control interface according to the display file.
7. The method according to claim 2, wherein the acquiring of the control operation input by the user based on the control interface includes:
identifying user operation and determining a pixel range corresponding to the user operation;
the sending the control operation to a printing device includes:
and sending the position coordinates of each pixel in the pixel range corresponding to the user operation to the printing equipment.
8. The method according to claim 2, wherein after said sending of said control operation to the printing apparatus, the method further comprises:
and receiving the updated display file sent by the printing equipment, and updating the control interface.
9. A control method of a printing apparatus, applied to a printing apparatus, the control method comprising:
establishing communication connection with a mobile terminal;
generating a display file corresponding to a control interface according to the running state of the printing equipment, and sending the display file to the mobile terminal so that the mobile terminal can display the control interface according to the display file;
receiving a control operation sent by the mobile terminal, identifying the control operation and determining a control instruction according to an identification result, wherein the control operation is input by a user based on a control interface running on the mobile terminal.
10. The method according to claim 9, wherein the establishing of the communication connection with the mobile terminal includes:
receiving communication connection request information sent by a mobile terminal;
identifying the legality of a connection password carried in the communication connection request information, and generating feedback information according to an identification result, wherein the connection password is input by a user;
and sending the feedback information to a mobile terminal so that the mobile terminal establishes communication connection with the printing equipment according to the feedback information.
11. The method according to claim 9, wherein the establishing of the communication connection with the mobile terminal includes:
and establishing a wired connection or a wireless connection with the mobile terminal.
12. The method according to claim 9, wherein the display file is a UI description file for a control interface of the printing apparatus, wherein the UI description file includes a description field for each display element in the control interface;
the generating of the display file corresponding to the control interface according to the running state of the printing equipment comprises the following steps:
extracting all display elements in the control interface;
generating a corresponding description language segment according to each display element;
and generating a display file corresponding to the control interface according to the description language segments of all the display elements.
13. The method according to claim 12, wherein the identifying the control operation and determining a control instruction according to the identification result includes:
determining a display element corresponding to the user operation;
acquiring a mapping relation between the display element and a control instruction;
and determining a corresponding control instruction according to the determined display element and the mapping relation.
14. The method according to claim 9, wherein the display file is a pixel description file of a control interface of the printing device, wherein the pixel description file includes a description field for each pixel in the control interface;
the generating of the display file corresponding to the control interface according to the running state of the printing equipment comprises the following steps:
extracting all pixels in the control interface;
generating a corresponding description language segment according to each pixel;
and generating a display file corresponding to the control interface according to the description language segments of all the pixels.
15. The method according to claim 14, wherein the identifying the control operation and determining a control instruction according to the identification result includes:
determining a pixel range corresponding to the user operation;
acquiring a mapping relation between the pixel range and a control instruction;
and determining a corresponding control instruction according to the determined pixel range and the mapping relation.
16. The method according to claim 9, wherein after the determination of the control instruction, the method further comprises:
and executing the control instruction, updating the display file and sending the updated display file to the mobile terminal so that the mobile terminal updates the control interface.
17. A control device of a printing apparatus, applied to a mobile terminal, the control device comprising:
the printing device comprises a first connection module, a second connection module and a control module, wherein the first connection module is used for establishing communication connection with the printing device;
the display module is used for receiving a display file sent by the printing equipment and displaying a corresponding control interface according to the display file;
the operation module is used for acquiring control operation input by a user based on the control interface;
and the first sending module is used for sending the control operation to printing equipment so that the printing equipment identifies the control operation and determines a control instruction according to an identification result.
18. A control device of a printing apparatus, characterized by being applied to a printing apparatus, the control device comprising:
the second connection module is used for establishing communication connection with the mobile terminal;
the second sending module is used for generating a display file corresponding to the control interface according to the running state of the printing equipment and sending the display file to the mobile terminal so that the mobile terminal can display the control interface according to the display file;
and the instruction module is used for receiving the control operation sent by the mobile terminal, identifying the control operation and determining a control instruction according to an identification result, wherein the control operation is input by a user based on a control interface operated on the mobile terminal.
19. An apparatus, comprising a memory for storing computer instructions executable on a processor, the processor being configured to control a printing apparatus based on the method of any one of claims 1 to 8 when executing the computer instructions.
20. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the method of any one of claims 1 to 8.
21. An apparatus, comprising a memory for storing computer instructions executable on a processor, a processor for controlling a printing apparatus based on the method of any one of claims 9 to 16 when the computer instructions are executed.
22. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, carries out the method of any one of claims 9 to 16.
CN202010469924.1A 2020-05-28 2020-05-28 Control method, device, equipment and storage medium of printing equipment Active CN111610940B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010469924.1A CN111610940B (en) 2020-05-28 2020-05-28 Control method, device, equipment and storage medium of printing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010469924.1A CN111610940B (en) 2020-05-28 2020-05-28 Control method, device, equipment and storage medium of printing equipment

Publications (2)

Publication Number Publication Date
CN111610940A true CN111610940A (en) 2020-09-01
CN111610940B CN111610940B (en) 2023-09-26

Family

ID=72203725

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010469924.1A Active CN111610940B (en) 2020-05-28 2020-05-28 Control method, device, equipment and storage medium of printing equipment

Country Status (1)

Country Link
CN (1) CN111610940B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114764301A (en) * 2021-01-13 2022-07-19 深圳市汉森软件有限公司 Printer control interface interaction method and device, control panel and printer
CN115484341A (en) * 2021-05-31 2022-12-16 无锡小天鹅电器有限公司 Mobile terminal, control method thereof and equipment control system

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001051814A (en) * 1999-08-16 2001-02-23 Ricoh Co Ltd Image data processing method for preview of printer
CN102207835A (en) * 2010-03-30 2011-10-05 兄弟工业株式会社 Terminal device
CN104049919A (en) * 2013-03-11 2014-09-17 联想(北京)有限公司 Control method, information processing method, electronic equipment and printing equipment
CN105338307A (en) * 2015-08-24 2016-02-17 西安电子科技大学 3D printing remote monitoring device and method
CN106126134A (en) * 2016-06-22 2016-11-16 宜春小马快印科技有限公司 Intelligent printing method and system
CN108773205A (en) * 2018-06-13 2018-11-09 马方立 Intelligent printing device and intelligent printing control method
CN108804054A (en) * 2018-05-08 2018-11-13 志印信息科技(上海)有限公司 It controls the method for digital complex machine and applies its system
CN109918030A (en) * 2019-02-26 2019-06-21 腾讯科技(深圳)有限公司 File printing method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001051814A (en) * 1999-08-16 2001-02-23 Ricoh Co Ltd Image data processing method for preview of printer
CN102207835A (en) * 2010-03-30 2011-10-05 兄弟工业株式会社 Terminal device
CN104049919A (en) * 2013-03-11 2014-09-17 联想(北京)有限公司 Control method, information processing method, electronic equipment and printing equipment
CN105338307A (en) * 2015-08-24 2016-02-17 西安电子科技大学 3D printing remote monitoring device and method
CN106126134A (en) * 2016-06-22 2016-11-16 宜春小马快印科技有限公司 Intelligent printing method and system
CN108804054A (en) * 2018-05-08 2018-11-13 志印信息科技(上海)有限公司 It controls the method for digital complex machine and applies its system
CN108773205A (en) * 2018-06-13 2018-11-09 马方立 Intelligent printing device and intelligent printing control method
CN109918030A (en) * 2019-02-26 2019-06-21 腾讯科技(深圳)有限公司 File printing method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
ANJANI GANDHI: "\"Implementation of cross platform and generic display compatible digital label\"" *
宋婷婷;徐世许;张欢;: "二维码标签打印及产品真伪识别系统设计" *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114764301A (en) * 2021-01-13 2022-07-19 深圳市汉森软件有限公司 Printer control interface interaction method and device, control panel and printer
CN115484341A (en) * 2021-05-31 2022-12-16 无锡小天鹅电器有限公司 Mobile terminal, control method thereof and equipment control system

Also Published As

Publication number Publication date
CN111610940B (en) 2023-09-26

Similar Documents

Publication Publication Date Title
CN110417992B (en) Input method, electronic equipment and screen projection system
US10917369B2 (en) Information processing apparatus, information processing system, and information processing method
CN105744352B (en) Wireless network connection method of television and television
US9130862B2 (en) Information processing device using direct data access from cloud storage
CN111610940B (en) Control method, device, equipment and storage medium of printing equipment
CN110087124A (en) Long-range control method, terminal device and the smart television of smart television
EP2450790A1 (en) Terminal device, server, screen control method, screen transition method, and compute program
CN105306768A (en) Information processing apparatus and method of controlling the same
JP6060776B2 (en) Image processing apparatus, information terminal, program, and cooperative display system
US10681224B2 (en) Non-transitory computer-readable medium storing output instructions to control portable terminal and portable terminal
AU2014266371B2 (en) Program, information processing system, and information processing device
CN113489700B (en) Method, server and terminal equipment for acquiring media asset data
US10477265B2 (en) Method and apparatus for requesting data, and method and apparatus for obtaining data
CN104427169A (en) Remote support apparatus, electronic apparatus, remote support method
JP4737215B2 (en) Information processing apparatus, image reading apparatus, and program
CN108965640B (en) Communication terminal, control method of communication terminal, and storage medium
CN112596687B (en) Printing method of portable intelligent printing device and printing device thereof
JP2018005295A (en) Program and mobile terminal
JP2008299735A (en) Image-forming system, program for the image forming system, and computer-readable storage medium storing program for the image-forming system
CN113784186B (en) Terminal device, server, and communication control method
CN109672941B (en) Information input method, television and computer readable storage medium
CN103002173A (en) Information processing apparatus, information processing system, and information processing method
CN105827854A (en) Operation processing method and apparatus
KR101464145B1 (en) A method, a system, a server, a client, a computer program and a computer program product for determining a user guide in a computer network
CN110266909B (en) Information processing system, server, and associated information generation 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