CN111324316A - Printer control method and device - Google Patents

Printer control method and device Download PDF

Info

Publication number
CN111324316A
CN111324316A CN202010080058.7A CN202010080058A CN111324316A CN 111324316 A CN111324316 A CN 111324316A CN 202010080058 A CN202010080058 A CN 202010080058A CN 111324316 A CN111324316 A CN 111324316A
Authority
CN
China
Prior art keywords
state
printer
annular lamp
lamp assembly
signal
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.)
Pending
Application number
CN202010080058.7A
Other languages
Chinese (zh)
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.)
Beijing Ape Force Education Technology Co ltd
Original Assignee
Beijing Ape Force Education Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Ape Force Education Technology Co ltd filed Critical Beijing Ape Force Education Technology Co ltd
Priority to CN202010080058.7A priority Critical patent/CN111324316A/en
Publication of CN111324316A publication Critical patent/CN111324316A/en
Pending legal-status Critical Current

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/121Facilitating exception or error detection and recovery, e.g. fault, media or consumables depleted
    • 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/1229Printer resources management or printer maintenance, e.g. device status, power levels
    • 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/1229Printer resources management or printer maintenance, e.g. device status, power levels
    • G06F3/1234Errors handling and recovery, e.g. reprinting

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)

Abstract

The application provides a printer control method and device. The printer includes a controller, a sensor, and an annular lamp assembly, the method for the controller, including: receiving a level signal and an induction signal sent by the inductor, and respectively determining a first working state and a second working state of the printer based on the level signal and the induction signal; and sending control signals corresponding to the first working state and the second working state to the annular lamp assembly to control the annular lamp assembly to be switched on or switched off or to flicker. The printer control method and the printer control device can timely, visually and definitely feed back the state of the printer to a user, improve the identifiability of the state of the printer and the interaction capacity between the printer and the user, expand the application range of the printer and improve the use convenience of the printer.

Description

Printer control method and device
Technical Field
The present application relates to the field of printer technologies, and in particular, to a printer control method and apparatus, and a computing device.
Background
A Printer (Printer) is one of the output devices of a computer for printing the results of a computer process on an associated medium. Among the printers, the micro printer is increasingly favored due to its advantages of high speed and portability, and is generally used in conjunction with a mobile terminal such as a notebook computer, and has the advantages of small size, light weight, battery-driven capability, and portability.
At present, the state such as switch, trouble of printer is demonstrateed through the organism shot-light usually to the micro printer, because the micro printer is small, and the quantity of its organism shot-light is few, and the state that can demonstrate is few, generally demonstrates the on off state and the trouble state of micro printer through two shot-lights. Therefore, the micro printer has complicated interaction, ambiguous status feedback and no identification, which is a problem to be solved urgently.
Disclosure of Invention
In view of this, embodiments of the present application provide a printer control method and apparatus, a computing device, and a computer-readable storage medium, so as to solve technical defects in the prior art.
The embodiment of the application discloses a printer control method, the printer comprises a controller, an inductor and an annular lamp assembly, and the method is used for the controller and comprises the following steps:
receiving a level signal and an induction signal sent by the inductor, and respectively determining a first working state and a second working state of the printer based on the level signal and the induction signal;
and sending control signals corresponding to the first working state and the second working state to the annular lamp assembly to control the annular lamp assembly to be switched on or switched off or to flicker.
Further, the determining the first operating state and the second operating state of the printer based on the level signal and the sensing signal respectively includes:
receiving a level signal, and determining a first working state of the printer based on the level signal;
and receiving a sensing signal sent by a sensor, and determining a second working state of the printer based on the sensing signal and the first working state.
Further, the inductor comprises a first inductor, a second inductor and a third inductor;
the receiving of the sensing signal sent by the sensor includes:
and receiving a sensing signal sent by at least one of the first sensor, the second sensor and the third sensor.
Further, the determining the first operating state of the printer based on the level signal includes:
determining that the printer is in a power-on state, a power-off state, or a standby state based on the level signal.
Further, the receiving a sensing signal sent by a sensor, and determining a second operating state of the printer based on the sensing signal and the first operating state includes:
receiving an abnormal induction signal sent by the first inductor, and determining that the printer is in an abnormal state based on the abnormal induction signal under the condition that the printer is in a starting state;
the sending of control signals corresponding to the first working state and the second working state to the annular lamp assembly to control the annular lamp assembly to flicker comprises:
sending a first flashing signal to the annular lamp assembly based on the starting state and the abnormal state of the printer, and controlling the annular lamp assembly to flash according to a preset mode of the first flashing signal.
Further, the controlling the annular lamp assembly to blink according to the preset pattern of the first blinking signal includes:
and controlling the annular lamp assembly to carry out full-amplitude flickering according to the preset frequency of the first flickering signal.
Further, the receiving a sensing signal sent by a sensor, and determining a second operating state of the printer based on the sensing signal and the first operating state includes:
receiving an abnormal induction signal sent by the first inductor and an electric quantity induction signal sent by the second inductor;
determining that the printer is in an abnormal state based on the abnormal sensing signal, and determining the electric quantity display state of the printer based on the electric quantity sensing signal;
the sending of control signals corresponding to the first working state and the second working state to the annular lamp assembly to control the annular lamp assembly to flicker comprises:
and sending a second flashing signal to the annular lamp assembly based on the starting state, the abnormal state and the electric quantity display state of the printer, and controlling the annular lamp assembly to flash according to a preset mode of the second flashing signal.
Further, the controlling the annular lamp assembly to blink according to the preset pattern of the second blinking signal includes:
and controlling the annular lamp assembly to perform zone flashing according to the preset frequency of the second flashing signal.
Further, the receiving a sensing signal sent by a sensor, and determining a second operating state of the printer based on the sensing signal and the first operating state includes:
receiving an electric quantity sensing signal sent by the second sensor, and determining that the printer is in an electric quantity display state based on the electric quantity sensing signal under the condition that the printer is in a starting state or a standby state;
the sending of control signals corresponding to the first operating state and the second operating state to the annular lamp assembly to control the annular lamp assembly to switch comprises:
and sending a switch opening signal to the annular lamp component based on the starting state and the electric quantity display state or the standby state and the electric quantity display state of the printer, and controlling the opening degree of the annular lamp component.
Further, the sending a switch on signal to the annular lamp assembly based on the standby state and the power display state of the printer, controlling the degree of the annular lamp assembly being turned on, includes:
and sending a switch opening signal to the annular lamp assembly based on the standby state and the electric quantity display state of the printer, controlling the opening state of the annular lamp assembly, and closing the annular lamp assembly after preset time.
Further, the controlling the annular lamp assembly to be turned on according to the remaining power and turned off after a preset time includes:
and controlling the annular lamp assembly to maintain an opening area according to the residual electric quantity, and controlling the opening area to be gradually extinguished after a preset time.
Further, after the controlling the turn-on area to turn off successively after a preset time, the method further includes:
switching the printer to an off state.
Further, the receiving a sensing signal sent by a sensor, and determining a second operating state of the printer based on the sensing signal and the first operating state includes:
receiving a charging induction signal sent by the third inductor, and determining that the printer is in a charging state based on the charging induction signal under the condition that the printer is in a starting state or a shutdown state;
the sending of control signals corresponding to the first working state and the second working state to the annular lamp assembly to control the annular lamp assembly to flicker comprises:
and sending a third flashing signal to the annular lamp assembly based on the starting state and the charging state or the shutdown state and the charging state of the printer, and controlling the annular lamp assembly to flash according to a preset mode of the third flashing signal.
Further, the controlling the annular lamp assembly to blink according to the preset pattern of the third blinking signal includes:
under the condition that the printer is in a starting state and a charging state, controlling the annular lamp assembly to flicker in an area according to the preset frequency of the third flicker signal;
and under the condition that the printer is in a shutdown state and a charging state, controlling the annular lamp assembly to carry out full-amplitude flashing according to the preset frequency of the third flashing signal.
Further, after the determining that the printer is in the charging state based on the charging sensing signal, the method further includes:
receiving an electric quantity sensing signal sent by the second sensor, and determining that the printer is in a charging completion state or a charging incompletion state based on the electric quantity sensing signal;
and sending a fourth flashing signal to the annular lamp assembly based on the starting state and the charging completion state, or the starting state and the charging incompletion state, or the shutdown state and the charging completion state, or the shutdown state and the charging incompletion state of the printer, and controlling the annular lamp assembly to flash according to a preset mode of the fourth flashing signal.
Further, the controlling the annular lamp assembly to blink according to the preset pattern of the fourth blinking signal includes:
under the conditions that the printer is in a starting state and a charging completion state, controlling the annular lamp assembly to keep in a full starting state, and carrying out regional flicker according to the preset frequency of the fourth flicker signal;
under the conditions that the printer is in a starting state and a charging unfinished state, controlling the annular lamp assembly to keep an area starting state, and carrying out area flashing according to the preset frequency of the fourth flashing signal;
under the condition that the printer is in a shutdown state and a charging completion state, controlling the annular lamp assembly to keep in a full-on state, and carrying out full-amplitude flashing according to the preset frequency of the fourth flashing signal;
and under the conditions that the printer is in a shutdown state and a charging unfinished state, controlling the annular lamp assembly to keep an area opening state, and carrying out full-width flashing according to the preset frequency of the fourth flashing signal.
Further, the method further comprises:
under the condition that the printer is wirelessly connected with a mobile terminal, receiving a control instruction sent by the mobile terminal;
and sending a control signal corresponding to the control instruction to the annular lamp assembly based on the control instruction, and controlling the annular lamp assembly to be switched on and off or to flicker.
Further, the annular lamp assembly comprises a plurality of spot lamps which are evenly distributed on the circumference.
The application also discloses printer controlling means, the printer includes controller, inductor and annular lamp subassembly, includes:
the signal receiving module is configured to receive a level signal and a sensing signal sent by the sensor, and respectively determine a first working state and a second working state of the printer based on the level signal and the sensing signal;
a component control module configured to send control signals corresponding to the first and second operating states to the annular lamp component to control the annular lamp component to switch on or flash.
The application also discloses a computing device comprising a memory, a processor and computer instructions stored on the memory and executable on the processor, wherein the processor implements the steps of the printer control method when executing the instructions.
The present application also discloses a computer readable storage medium storing computer instructions which, when executed by a processor, implement the steps of the printer control method.
The printer control method and device provided by the application determine the first working state and the second working state of the printer respectively based on the level signal and the induction signal, refine the state of the printer, help the printer to generate different feedbacks based on different states of the printer, send control signals corresponding to the first working state and the second working state to the annular lamp assembly, control the on-off and the flickering of the annular lamp assembly, can timely, intuitively and definitely feed back the state of the printer to a user, improve the identifiability of the state of the printer and the interaction capacity between the printer and the user, expand the application range of the printer, and improve the use convenience of the printer.
Drawings
FIG. 1 is a schematic block diagram of a computing device according to an embodiment of the present application;
FIG. 2 is a flow chart illustrating steps of a printer control method according to an embodiment of the present application;
FIG. 3 is a flow chart illustrating steps of a printer control method according to an embodiment of the present application;
FIG. 4 is a flow chart illustrating steps of a printer control method according to an embodiment of the present application;
FIG. 5 is a flowchart illustrating steps of a printer control method according to an embodiment of the present application;
FIG. 6 is a flowchart illustrating steps of a printer control method according to an embodiment of the present application;
FIG. 7 is a flowchart illustrating steps of a printer control method according to an embodiment of the present application;
FIG. 8 is a flowchart illustrating steps of a printer control method according to an embodiment of the present application;
FIG. 9 is a flowchart illustrating steps of a printer control method according to an embodiment of the present application;
FIG. 10 is a flowchart illustrating steps of a printer control method according to an embodiment of the present application;
FIG. 11 is a flowchart illustrating steps of a printer control method according to an embodiment of the present application;
FIG. 12 is a flowchart illustrating steps of a printer control method according to an embodiment of the present application;
fig. 13 is a schematic structural diagram of a printer control apparatus according to an embodiment of the present application.
Detailed Description
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present application. This application is capable of implementation in many different ways than those herein set forth and of similar import by those skilled in the art without departing from the spirit of this application and is therefore not limited to the specific implementations disclosed below.
The terminology used in the description of the one or more embodiments is for the purpose of describing the particular embodiments only and is not intended to be limiting of the description of the one or more embodiments. As used in one or more embodiments of the present specification 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 in one or more embodiments of the present specification refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It will be understood that, although the terms first, second, etc. may be used herein in one or more embodiments to describe various information, these information should not be limited by these terms. These terms are only used to distinguish one type of information from another. For example, a first can also be referred to as a second and, similarly, a second can also be referred to as a first without departing from the scope of one or more embodiments of the present description. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
In the present application, a printer control method and apparatus, a computing device, and a computer-readable storage medium are provided, which are described in detail one by one in the following embodiments.
Fig. 1 is a block diagram illustrating a configuration of a computing device 100 according to an embodiment of the present specification. The components of the computing device 100 include, but are not limited to, memory 110 and processor 120. The processor 120 is coupled to the memory 110 via a bus 130 and a database 150 is used to store data.
Computing device 100 also includes access device 140, access device 140 enabling computing device 100 to communicate via one or more networks 160. Examples of such networks include the Public Switched Telephone Network (PSTN), a Local Area Network (LAN), a Wide Area Network (WAN), a Personal Area Network (PAN), or a combination of communication networks such as the internet. Access device 140 may include one or more of any type of network interface (e.g., a Network Interface Card (NIC)) whether wired or wireless, such as an IEEE802.11 Wireless Local Area Network (WLAN) wireless interface, a worldwide interoperability for microwave access (Wi-MAX) interface, an ethernet interface, a Universal Serial Bus (USB) interface, a cellular network interface, a bluetooth interface, a Near Field Communication (NFC) interface, and so forth.
In one embodiment of the present description, the above-described components of computing device 100 and other components not shown in FIG. 1 may also be connected to each other, such as by a bus. It should be understood that the block diagram of the computing device architecture shown in FIG. 1 is for purposes of example only and is not limiting as to the scope of the description. Those skilled in the art may add or replace other components as desired.
Computing device 100 may be any type of stationary or mobile computing device, including a mobile computer or mobile computing device (e.g., tablet, personal digital assistant, laptop, notebook, netbook, etc.), a mobile phone (e.g., smartphone), a wearable computing device (e.g., smartwatch, smartglasses, etc.), or other type of mobile device, or a stationary computing device such as a desktop computer or PC. Computing device 100 may also be a mobile or stationary server.
Wherein the processor 120 may perform the steps of the method shown in fig. 2. Fig. 2 is a schematic flowchart showing a printer control method for a controller according to an embodiment of the present application, including steps S210 to S220.
S210, receiving a level signal and a sensing signal sent by the sensor, and respectively determining a first working state and a second working state of the printer based on the level signal and the sensing signal.
The level signal is a signal represented by a level value, and the controller in this embodiment may determine the on/off condition and the standby condition of the printer by receiving the level signal. The sensing signal is a signal indicating the operating state of the printer, and in this embodiment, the controller can determine the power consumption, paper jam, paper shortage, and the like of the printer by receiving the sensing signal sent by the sensor.
It should be noted that, in this embodiment, the number of the sensors is not specifically limited, and is preferably multiple, and different sensors may be used to sense different states of the printer and send out corresponding sensing signals.
In practical application, a first working state of the printer is determined based on a level signal; and determining a second working state of the printer based on the sensing signal and the first working state.
The first working state of the printer comprises a starting state, a shutdown state and a standby state, and the second working state comprises an abnormal state, an electric quantity display state, a charging state or other states.
Further, the inductor includes first inductor, second inductor and third inductor, and whether the printer can be in abnormal state by the response of first inductor, and whether the second inductor can respond to the printer and be in charged state, and whether the third inductor is located the usb interface of printer, can respond to the printer and be in charged state.
The first operating condition and the second operating condition of printer are confirmed through level signal and sensing signal to this embodiment, help in time to the status information of customer feedback printer, improve the use convenience of printer.
And S220, sending control signals corresponding to the first working state and the second working state to the annular lamp assembly, and controlling the annular lamp assembly to be switched on or switched off or to flicker.
The annular lamp assembly includes a plurality of spot lamps uniformly arranged in a circumference, the color of the spot lamps is not limited in this embodiment, for example, the spot lamps may be white, yellow, blue, red, etc., and the number of the spot lamps is also not limited in this embodiment, for example, the number of the spot lamps may be 8, 9, 10, 12, 15, 18, 20, etc., and is preferably 12.
Specifically, if the first operating state and/or the second operating state are different, the control signals sent by the controller are different, and the annular lamp assembly is switched on or switched off or flickered in different modes. For example, when the first operating state of the printer is the power-on state and the second operating state is the charging state, the controller sends a control signal to the annular lamp assembly to control the annular lamp assembly to blink every two seconds; when the first operating state of the printer is the shutdown state, and the second operating state is the charging state, the controller sends a control signal to the annular lamp assembly to control the annular lamp assembly to blink every five seconds, and the on-off mode or the blinking mode may be determined according to specific situations, which is not limited in this application.
In this embodiment, the controller sends a control signal to the annular lamp assembly based on the current first working state and the current second working state of the printer, and controls the annular lamp assembly to turn on or off or flash, so as to timely feed back the current working condition of the printer to a user, and particularly when an abnormal condition occurs, the user can timely know that the printer is abnormal or has a fault, so as to perform corresponding processing and prolong the service life of the printer.
In addition, in the case that the printer is wirelessly connected with the mobile terminal, the controller may receive a control command transmitted from the mobile terminal, and transmit a control signal corresponding to the control command to the annular lamp assembly based on the control command to control the annular lamp assembly to be turned on or off or to blink.
For example, the printer is connected with the mobile phone through bluetooth, and when the printer is in the on state, the user can operate and select to close the annular lamp assembly on the mobile phone, and the controller sends a closing signal to close the annular lamp assembly after receiving the instruction of closing the annular lamp assembly, so that other situations can be analogized, and further description is omitted.
The printer is infinitely connected with the mobile terminal, interaction is formed between the mobile terminal and the printer, the on-off or flashing of the annular lamp assembly of the printer is controlled, and the use convenience and flexibility of the printer can be effectively improved.
The application provides a printer control method, confirm first operating condition and the second operating condition of printer respectively based on level signal and sensing signal, refine the printer state, help the printer to generate different feedbacks based on the different states of self, send the control signal corresponding with first operating condition and second operating condition to the annular lamp subassembly again, control the switch and the scintillation of annular lamp subassembly, can be timely, directly perceived, the definite state of printer department of feeding back to the user, improve the discernment of printer state and the interactive capability between printer and the user, enlarge the application scope of printer, improve the use convenience of printer.
As shown in fig. 3, the present embodiment provides a control method of a printer, for a controller, including steps S310 to S330.
And S310, receiving the level signal, and determining that the first working state of the printer is the starting state based on the level signal.
S320, receiving the abnormal sensing signal sent by the first sensor, and determining that the second working state of the printer is an abnormal state based on the abnormal sensing signal.
Specifically, the first sensor can sense abnormal conditions which affect normal operation of the printer, such as paper shortage, paper jam, low electric quantity and the like, and sends corresponding abnormal sensing signals to the controller under the condition that the first sensor senses the abnormal conditions, and the controller can determine that the printer is in an abnormal paper shortage state, an abnormal paper jam state or an abnormal low electric quantity state according to the abnormal sensing signals.
The low electric quantity means that the electric quantity of the current printer is lower than a preset threshold value, the preset threshold value can be 5%, 10%, 15%, 20% and the like of the total electric quantity, and the electric quantity can be determined according to actual conditions, and the electric quantity is not limited by the application.
S330, sending a first flashing signal to the annular lamp assembly based on the starting state and the abnormal state of the printer, and controlling the annular lamp assembly to flash according to a preset mode of the first flashing signal.
Specifically, the first blinking signal is a control signal corresponding to a power-on state and an abnormal state of the printer, and the annular lamp assembly blinks in a preset pattern of the first blinking signal upon receiving the first blinking signal. Wherein the predetermined pattern of the first flashing signal includes a frequency and a region of flashing of the annular lamp assembly. The frequency of the annular lamp assembly flickering is the number of times of the annular lamp assembly flickering within a certain time, such as once per second, twice per second and the like, the annular lamp assembly can flicker in a region or in a full-width mode, the region flickering means that part of the spot lamps in the annular lamp assembly flicker according to a preset frequency, other spot lamps are in a closed state, and the full-width flickering means that all the spot lamps in the annular lamp assembly flicker according to the preset frequency.
Preferably, the annular lamp assembly blinks in full, twice per second, with the printer in the on state and the abnormal state.
Further, there may be some differentiation in the pattern of flashing of the annular light assembly for different abnormal conditions to give a more intuitive feedback to the user. For example, the annular lamp assembly blinks all the way, once per second, for an out-of-paper abnormal condition, the annular lamp assembly field blinks once per second, and for a low-power abnormal condition, the annular lamp assembly field blinks once every three seconds. The specific flashing mode can be determined according to actual requirements, and the application does not limit the mode.
According to the control method of the printer, abnormal conditions such as paper shortage, paper jam and low electric quantity of the printer can be identified through the flashing of the annular lamp assembly, the condition of the printer can be fed back to a user timely and clearly, the user can maintain the printer timely, and the service life of the printer is prolonged.
As shown in fig. 4, the present embodiment provides a control method of a printer, for a controller, including steps S410 to S440.
S410, receiving the level signal, and determining that the first working state of the printer is the starting state based on the level signal.
S420, receiving an abnormal sensing signal sent by the first sensor, and determining that the second working state of the printer is an abnormal state based on the abnormal sensing signal.
For details, reference may be made to the above embodiments, which are not described herein again.
And S430, receiving an electric quantity sensing signal sent by the second sensor, and determining the electric quantity display state of the printer based on the electric quantity sensing signal.
Specifically, the residual capacity of printer can be sensed to the second inductor, and under the condition that the residual capacity was sensed to the second inductor, to the controller send electric quantity sensing signal, the controller can confirm the residual capacity of printer according to above-mentioned electric quantity sensing signal, electric quantity display state promptly.
S440, sending a second flicker signal to the annular lamp assembly based on the starting state, the abnormal state and the electric quantity display state of the printer, and controlling the annular lamp assembly to flicker in the region according to the preset frequency of the second flicker signal.
Specifically, the second blinking signal is a control signal corresponding to a power-on state, an abnormal state, and a power display state of the printer. The preset pattern of the second blinking signal includes a frequency and a region of blinking of the annular lamp assembly, wherein the region of blinking may be determined based on a power display status of the printer, for example, if the annular lamp assembly includes 10 lamps uniformly arranged in a circumference, and a remaining power of the printer is 20%, the region of blinking of the annular lamp assembly is 2 adjacent lamps.
Preferably, in the case where the printer is in the power-on state, the abnormal state, and the power display state, the annular lamp assembly performs the area blinking twice per second in accordance with the state of the remaining power.
Further, there may be some differentiation in the pattern of flashing of the annular light assembly for different abnormal conditions to give a more intuitive feedback to the user.
According to the control method of the printer, abnormal conditions such as paper shortage, paper jam and low electric quantity of the printer can be identified through the flashing of the annular lamp assembly, the condition of the printer can be fed back to a user timely and clearly, the user can maintain the printer timely, and the service life of the printer is prolonged.
As shown in fig. 5, the present embodiment provides a control method of a printer, for a controller, including steps S510 to S530.
And S510, receiving the level signal, and determining that the first working state of the printer is a starting state based on the level signal.
S520, receiving an electric quantity sensing signal sent by the second sensor, and determining that the printer is in an electric quantity display state based on the electric quantity sensing signal.
Specifically, the contents of step S510 to step S520 may refer to the above embodiments, and are not described herein again.
And S530, sending a switch opening signal to the annular lamp component based on the starting state and the electric quantity display state of the printer, and controlling the opening degree of the annular lamp component.
The degree of controlling the annular lamp assembly to be turned on means that the same proportion of the spot lamps in the annular lamp assembly are turned on according to the proportion of the remaining power, for example, the remaining power is 5%, and 100 spot lamps in the annular lamp assembly are all turned on, namely 5 adjacent spot lamps are turned on.
The control method of the printer, through the residual capacity of real-time induction printer to carry out visual display with the residual capacity of printer, help the user directly perceived electric quantity state of understanding the printer, in time charge for it when the electric quantity is low, prolong the life of printer.
As shown in fig. 6, the present embodiment provides a control method of a printer, for a controller, including steps S610 to S630.
S610, receiving the level signal, and determining that the first working state of the printer is the standby state based on the level signal.
The standby state is a state in which the printer is wirelessly connected but has no print job or is not wirelessly connected after being turned on.
S620, receiving an electric quantity sensing signal sent by the second sensor, and determining that the printer is in an electric quantity display state based on the electric quantity sensing signal.
For details, reference may be made to the above embodiments, which are not described herein again.
S630, sending a switch opening signal to the annular lamp assembly based on the starting state and the electric quantity display state of the printer, and controlling the opening degree of the annular lamp assembly.
Specifically, the annular lamp assembly may be controlled to maintain an open region according to the remaining power, and the open region may be controlled to be sequentially turned off after a preset time.
The annular lamp assembly maintains the turn-on area according to the remaining power, that is, the circular lamp assembly maintains turn-on of the spot lamps in the same proportion according to the ratio of the remaining power, for example, if the remaining power is 5%, and 100 spot lamps are provided in the annular lamp assembly in total, then 5 adjacent spot lamps are turned on. The preset time and the extinguishing mode may be determined according to specific situations, for example, after the spot light of the annular light assembly is turned on for 5 minutes, the spot light may be turned off one by one counterclockwise, which is not limited in this application.
Further, after controlling the turn-on area to turn off successively after a preset time, the method further includes: the printer is switched to the off state.
The control method of the printer, through the residual capacity of real-time induction printer to carry out visual display with the residual capacity of printer, help the user directly perceived electric quantity state of understanding the printer, in time charge for it when the electric quantity is low, prolong the life of printer.
As shown in fig. 7, the present embodiment provides a control method of a printer, for a controller, including steps S710 to S730.
And S710, receiving the level signal, and determining that the first working state of the printer is the starting state based on the level signal.
S720, receiving a charging induction signal sent by the third inductor, and determining that the printer is in a charging state based on the charging induction signal.
Specifically, the third inductor is located the usb interface, can respond to the connection status of printer charging wire to whether confirm the printer is charging, be in the charged state promptly, sense the printer and be in the charged state's condition at the third inductor under, send corresponding inductive signal that charges to the controller, the controller can be according to the above-mentioned inductive signal that charges and confirm that the printer is in the charged state.
And S730, sending a third flashing signal to the annular lamp assembly based on the starting state and the charging state of the printer, and controlling the annular lamp assembly to flash in the region according to the preset frequency of the third flashing signal.
Specifically, the third blinking signal is a control signal corresponding to the power-on state and the charging state of the printer, and preferably, one of the spot lamps in the annular lamp assembly blinks every two seconds with the printer in the power-on state and the charging state.
The printer control method provided by the embodiment visually displays the charging condition of the printer by sensing whether the printer is charged in real time, and helps a user to visually and clearly know the charging state of the printer.
As shown in fig. 8, the present embodiment provides a control method of a printer, for a controller, including steps S810 to S830.
And S810, receiving the level signal, and determining that the first working state of the printer is a shutdown state based on the level signal.
And S820, receiving a charging induction signal sent by the third inductor, and determining that the printer is in a charging state based on the charging induction signal.
And S830, sending a third flashing signal to the annular lamp assembly based on the shutdown state and the charging state of the printer, and controlling the annular lamp assembly to flash in a full-width mode according to the preset frequency of the third flashing signal.
Preferably, all of the lamps in the annular lamp assembly blink, with the printer in the off state and the charging state, every two seconds.
Other contents from step S810 to step S830 may refer to the above embodiments, and are not described herein again.
The printer control method provided by the embodiment visually displays the charging condition of the printer by sensing whether the printer is charged in real time, and helps a user to visually and clearly know the charging state of the printer.
As shown in fig. 9, the present embodiment provides a control method of a printer, for a controller, including steps S910 to S940.
S910, receiving the level signal, and determining that the first working state of the printer is the starting state based on the level signal.
S920, receiving a charging induction signal sent by the third inductor, and determining that the printer is in a charging state based on the charging induction signal.
And S930, receiving an electric quantity sensing signal sent by the second sensor, and determining that the printer is in a charging completion state based on the electric quantity sensing signal.
And S940, sending a fourth flicker signal to the annular lamp assembly, controlling the annular lamp assembly to keep in a full-on state, and performing area flicker according to the preset frequency of the fourth flicker signal.
Preferably, the annular lamp assembly performs zone blinking according to the remaining capacity, blinking every two seconds, with the printer in the on state and the charging completion state.
Other contents from step S910 to step S940 may refer to the above embodiments, and are not described herein again.
According to the control method of the printer, the charging induction signal of the third inductor and the electric quantity induction signal of the second inductor are combined, the charging condition and the electric quantity condition of the printer are visually displayed, and the user can visually and clearly know the charging state and the electric quantity condition of the printer.
As shown in fig. 10, the present embodiment provides a control method of a printer, for a controller, including steps S1010 to S1040.
S1010, receiving the level signal, and determining that the first working state of the printer is the starting state based on the level signal.
S1020, receiving a charging induction signal sent by the third inductor, and determining that the printer is in a charging state based on the charging induction signal.
And S1030, receiving an electric quantity sensing signal sent by the second sensor, and determining that the printer is in a charging unfinished state based on the electric quantity sensing signal.
And S1040, sending a fourth flicker signal to the annular lamp assembly, controlling the annular lamp assembly to keep the zone opening state, and carrying out zone flicker according to the preset frequency of the fourth flicker signal.
Preferably, the annular lamp assembly performs zone blinking in accordance with the remaining capacity, once every two seconds, in a case where the printer is in an on state and a charging uncompleted state.
Other contents from step S1010 to step S1040 may refer to the above embodiments, and are not described herein again.
According to the control method of the printer, the charging induction signal of the third inductor and the electric quantity induction signal of the second inductor are combined, the charging condition and the electric quantity condition of the printer are visually displayed, and the user can visually and clearly know the charging state and the electric quantity condition of the printer.
As shown in fig. 11, the present embodiment provides a control method of a printer, for a controller, including steps S1110 to S1140.
And S1110, receiving the level signal, and determining that the first working state of the printer is a shutdown state based on the level signal.
And S1120, receiving a charging induction signal sent by the third sensor, and determining that the printer is in a charging state based on the charging induction signal.
S1130, receiving an electric quantity sensing signal sent by the second sensor, and determining that the printer is in a charging completion state based on the electric quantity sensing signal.
And S1140, sending a fourth flicker signal to the annular lamp assembly, controlling the annular lamp assembly to keep in a full-on state, and carrying out full-amplitude flicker according to the preset frequency of the fourth flicker signal.
Preferably, the annular lamp assembly blinks in full, once every two seconds, with the printer in the off state and the charge complete state.
Other contents of step S1110 to step S1140 can refer to the above embodiments, and are not described herein again.
According to the control method of the printer, the charging induction signal of the third inductor and the electric quantity induction signal of the second inductor are combined, the charging condition and the electric quantity condition of the printer are visually displayed, and the user can visually and clearly know the charging state and the electric quantity condition of the printer.
As shown in fig. 12, the present embodiment provides a control method of a printer, for a controller, including steps S1210 to S1240.
And S1210, receiving the level signal, and determining that the first working state of the printer is a shutdown state based on the level signal.
And S1220, receiving a charging induction signal sent by the third inductor, and determining that the printer is in a charging state based on the charging induction signal.
And S1230, receiving an electric quantity sensing signal sent by the second sensor, and determining that the printer is in a charging unfinished state based on the electric quantity sensing signal.
And S1240, sending a fourth flicker signal to the annular lamp assembly, controlling the annular lamp assembly to keep the opening state of the area, and carrying out full flicker according to the preset frequency of the fourth flicker signal.
Preferably, the ring light assembly is kept in the zone-on state and blinks in full, once every two seconds, with the printer in the shutdown state and the incomplete charging state.
Other contents of step S1210 to step S1240 may refer to the above embodiments, and are not described herein again.
According to the control method of the printer, the charging induction signal of the third inductor and the electric quantity induction signal of the second inductor are combined, the charging condition and the electric quantity condition of the printer are visually displayed, and the user can visually and clearly know the charging state and the electric quantity condition of the printer.
As shown in fig. 13, the present embodiment also discloses a printer control apparatus, the printer including a controller, a sensor, and an annular lamp assembly, including:
a signal receiving module 1310 configured to receive a level signal and a sensing signal transmitted by the sensor, and determine a first operating state and a second operating state of the printer based on the level signal and the sensing signal, respectively;
a component control module 1320 configured to send control signals corresponding to the first and second operating states to the annular light component, control the annular light component to switch on or flash.
Optionally, the signal receiving module 1310 is further configured to:
determining a first operating state of the printer based on the level signal;
and determining a second working state of the printer based on the sensing signal and the first working state.
Optionally, the inductor comprises a first inductor, a second inductor, and a third inductor;
the signal receiving module 1310, further configured to:
and receiving a sensing signal sent by at least one of the first sensor, the second sensor and the third sensor.
Optionally, the first operating state includes a power-on state, a power-off state, and a standby state, and the signal receiving module 1310 is further configured to:
determining that the printer is in a power-on state, a power-off state, or a standby state based on the level signal.
Optionally, the signal receiving module 1310 is further configured to:
receiving an abnormal induction signal sent by the first inductor, and determining that the printer is in an abnormal state based on the abnormal induction signal under the condition that the printer is in a starting state;
the component control module 1320, further configured to:
sending a first flashing signal to the annular lamp assembly based on the starting state and the abnormal state of the printer, and controlling the annular lamp assembly to flash according to a preset mode of the first flashing signal.
Optionally, the component control module 1320 is further configured to:
and controlling the annular lamp assembly to carry out full-amplitude flickering according to the preset frequency of the first flickering signal.
Optionally, the signal receiving module 1310 is further configured to:
receiving an abnormal induction signal sent by the first inductor and an electric quantity induction signal sent by the second inductor;
determining that the printer is in an abnormal state based on the abnormal sensing signal, and determining the electric quantity display state of the printer based on the electric quantity sensing signal;
the component control module 1320, further configured to:
and sending a second flashing signal to the annular lamp assembly based on the starting state, the abnormal state and the electric quantity display state of the printer, and controlling the annular lamp assembly to flash according to a preset mode of the second flashing signal.
Optionally, the component control module 1320 is further configured to:
and controlling the annular lamp assembly to perform zone flashing according to the preset frequency of the second flashing signal.
Optionally, the signal receiving module 1310 is further configured to:
receiving an electric quantity sensing signal sent by the second sensor, and determining that the printer is in an electric quantity display state based on the electric quantity sensing signal under the condition that the printer is in a starting state or a standby state;
the sending of control signals corresponding to the first operating state and the second operating state to the annular lamp assembly to control the annular lamp assembly to switch comprises:
and sending a switch opening signal to the annular lamp component based on the starting state and the electric quantity display state or the standby state and the electric quantity display state of the printer, and controlling the opening degree of the annular lamp component.
Optionally, the signal receiving module 1310 is further configured to:
and sending a switch opening signal to the annular lamp assembly based on the standby state and the electric quantity display state of the printer, controlling the opening state of the annular lamp assembly, and closing the annular lamp assembly after preset time.
Optionally, the signal receiving module 1310 is further configured to:
and controlling the annular lamp assembly to maintain an opening area according to the residual electric quantity, and controlling the opening area to be gradually extinguished after a preset time.
Optionally, the apparatus further comprises:
a switching module configured to switch the printer to an off state.
Optionally, the signal receiving module 1310 is further configured to:
receiving a charging induction signal sent by the third inductor, and determining that the printer is in a charging state based on the charging induction signal under the condition that the printer is in a starting state or a shutdown state;
the sending of control signals corresponding to the first working state and the second working state to the annular lamp assembly to control the annular lamp assembly to flicker comprises:
and sending a third flashing signal to the annular lamp assembly based on the starting state and the charging state or the shutdown state and the charging state of the printer, and controlling the annular lamp assembly to flash according to a preset mode of the third flashing signal.
Optionally, the component control module 1320 is further configured to:
under the condition that the printer is in a starting state and a charging state, controlling the annular lamp assembly to flicker in an area according to the preset frequency of the third flicker signal;
and under the condition that the printer is in a shutdown state and a charging state, controlling the annular lamp assembly to carry out full-amplitude flashing according to the preset frequency of the third flashing signal.
Optionally, the apparatus further comprises:
the receiving module is configured to receive an electric quantity sensing signal sent by the second sensor, and determine that the printer is in a charging completion state or a charging incompletion state based on the electric quantity sensing signal;
the control module is configured to send a fourth flashing signal to the annular lamp assembly based on the starting state and the charging completion state, or the starting state and the charging incompletion state, or the shutdown state and the charging completion state, or the shutdown state and the charging incompletion state of the printer, and control the annular lamp assembly to flash according to a preset mode of the fourth flashing signal.
The component control module 1320, further configured to:
under the conditions that the printer is in a starting state and a charging completion state, controlling the annular lamp assembly to keep in a full starting state, and carrying out regional flicker according to the preset frequency of the fourth flicker signal;
under the conditions that the printer is in a starting state and a charging unfinished state, controlling the annular lamp assembly to keep an area starting state, and carrying out area flashing according to the preset frequency of the fourth flashing signal;
under the condition that the printer is in a shutdown state and a charging completion state, controlling the annular lamp assembly to keep in a full-on state, and carrying out full-amplitude flashing according to the preset frequency of the fourth flashing signal;
and under the conditions that the printer is in a shutdown state and a charging unfinished state, controlling the annular lamp assembly to keep an area opening state, and carrying out full-width flashing according to the preset frequency of the fourth flashing signal.
Optionally, the apparatus further comprises:
the instruction sending module is configured to receive a control instruction sent by a mobile terminal under the condition that the printer establishes wireless connection with the mobile terminal;
an instruction control module configured to send a control signal corresponding to the control instruction to the annular lamp assembly based on the control instruction, control the annular lamp assembly to turn on or off or blink.
Optionally, the annular lamp assembly comprises a plurality of circumferentially uniformly arranged spot lamps.
The application provides a printer controlling means, confirm first operating condition and the second operating condition of printer based on level signal and sensing signal respectively, refine the printer state, help the printer to generate different feedbacks based on the different states of self, send the control signal corresponding with first operating condition and second operating condition to annular lamp subassembly again, control the switch and the scintillation of annular lamp subassembly, can be timely, directly perceived, the definite state of printer department is fed back to the user, improve the discernment of printer state and the interactive capability between printer and the user, enlarge the application scope of printer, improve the use convenience of printer.
An embodiment of the present application further provides a computing device, including a memory, a processor, and computer instructions stored on the memory and executable on the processor, where the processor executes the instructions to implement the following steps:
receiving a level signal and an induction signal sent by the inductor, and respectively determining a first working state and a second working state of the printer based on the level signal and the induction signal;
and sending control signals corresponding to the first working state and the second working state to the annular lamp assembly to control the annular lamp assembly to be switched on or switched off or to flicker.
An embodiment of the present application also provides a computer readable storage medium storing computer instructions, which when executed by a processor, implement the steps of the printer control method as described above.
The above is an illustrative scheme of a computer-readable storage medium of the present embodiment. It should be noted that the technical solution of the storage medium belongs to the same concept as the technical solution of the above-mentioned printer control method, and details that are not described in detail in the technical solution of the storage medium can be referred to the description of the technical solution of the above-mentioned printer control method.
The computer instructions comprise computer program code which may be in the form of source code, object code, an executable file or some intermediate form, or the like. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
It should be noted that, for the sake of simplicity, the above-mentioned method embodiments are described as a series of acts or combinations, but those skilled in the art should understand that the present application is not limited by the described order of acts, as some steps may be performed in other orders or simultaneously according to the present application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
The preferred embodiments of the present application disclosed above are intended only to aid in the explanation of the application. Alternative embodiments are not exhaustive and do not limit the invention to the precise embodiments described. Obviously, many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles of the application and the practical application, to thereby enable others skilled in the art to best understand and utilize the application. The application is limited only by the claims and their full scope and equivalents.

Claims (21)

1. A printer control method, wherein the printer includes a controller, a sensor, and an annular lamp assembly, the method for the controller comprising:
receiving a level signal and an induction signal sent by the inductor, and respectively determining a first working state and a second working state of the printer based on the level signal and the induction signal;
and sending control signals corresponding to the first working state and the second working state to the annular lamp assembly to control the annular lamp assembly to be switched on or switched off or to flicker.
2. The printer control method of claim 1, wherein said receiving a level signal and a sensing signal from said sensor and determining a first operating state and a second operating state of said printer based on said level signal and said sensing signal, respectively, comprises:
receiving a level signal, and determining a first working state of the printer based on the level signal;
and receiving a sensing signal sent by a sensor, and determining a second working state of the printer based on the sensing signal and the first working state.
3. The printer control method according to claim 2, wherein the sensor includes a first sensor, a second sensor, and a third sensor;
the receiving of the sensing signal sent by the sensor includes:
and receiving a sensing signal sent by at least one of the first sensor, the second sensor and the third sensor.
4. The printer control method according to claim 3, wherein the first operating state includes a power-on state, a power-off state, and a standby state, and the determining the first operating state of the printer based on the level signal includes:
determining that the printer is in a power-on state, a power-off state, or a standby state based on the level signal.
5. The printer control method of claim 4, wherein the receiving a sensing signal sent by a sensor, and determining a second operating state of the printer based on the sensing signal and the first operating state comprises:
receiving an abnormal induction signal sent by the first inductor, and determining that the printer is in an abnormal state based on the abnormal induction signal under the condition that the printer is in a starting state;
the sending of control signals corresponding to the first working state and the second working state to the annular lamp assembly to control the annular lamp assembly to flicker comprises:
sending a first flashing signal to the annular lamp assembly based on the starting state and the abnormal state of the printer, and controlling the annular lamp assembly to flash according to a preset mode of the first flashing signal.
6. The printer control method of claim 5, wherein said controlling said annular lamp assembly to blink in accordance with a preset pattern of said first blinking signal comprises:
and controlling the annular lamp assembly to carry out full-amplitude flickering according to the preset frequency of the first flickering signal.
7. The printer control method of claim 4, wherein the receiving a sensing signal sent by a sensor, and determining a second operating state of the printer based on the sensing signal and the first operating state comprises:
receiving an abnormal induction signal sent by the first inductor and an electric quantity induction signal sent by the second inductor;
determining that the printer is in an abnormal state based on the abnormal sensing signal, and determining the electric quantity display state of the printer based on the electric quantity sensing signal;
the sending of control signals corresponding to the first working state and the second working state to the annular lamp assembly to control the annular lamp assembly to flicker comprises:
and sending a second flashing signal to the annular lamp assembly based on the starting state, the abnormal state and the electric quantity display state of the printer, and controlling the annular lamp assembly to flash according to a preset mode of the second flashing signal.
8. The printer control method of claim 7, wherein said controlling said annular light assembly to blink according to a preset pattern of second blinking signals comprises:
and controlling the annular lamp assembly to perform zone flashing according to the preset frequency of the second flashing signal.
9. The printer control method of claim 4, wherein the receiving a sensing signal sent by a sensor, and determining a second operating state of the printer based on the sensing signal and the first operating state comprises:
receiving an electric quantity sensing signal sent by the second sensor, and determining that the printer is in an electric quantity display state based on the electric quantity sensing signal under the condition that the printer is in a starting state or a standby state;
the sending of control signals corresponding to the first operating state and the second operating state to the annular lamp assembly to control the annular lamp assembly to switch comprises:
and sending a switch opening signal to the annular lamp component based on the starting state and the electric quantity display state or the standby state and the electric quantity display state of the printer, and controlling the opening degree of the annular lamp component.
10. The printer control method according to claim 7, wherein said transmitting a switch-on signal to the annular lamp assembly based on the standby state and the power display state of the printer, controlling a degree to which the annular lamp assembly is turned on, comprises:
and sending a switch opening signal to the annular lamp assembly based on the standby state and the electric quantity display state of the printer, controlling the opening state of the annular lamp assembly, and closing the annular lamp assembly after preset time.
11. The printer control method of claim 10, wherein said controlling the annular lamp assembly to be turned on according to a remaining power and to be turned off after a preset time comprises:
and controlling the annular lamp assembly to maintain an opening area according to the residual electric quantity, and controlling the opening area to be gradually extinguished after a preset time.
12. The printer control method according to claim 11, further comprising, after the controlling of the open area is sequentially turned off after a preset time, the step of:
switching the printer to an off state.
13. The printer control method of claim 4, wherein the receiving a sensing signal sent by a sensor, and determining a second operating state of the printer based on the sensing signal and the first operating state comprises:
receiving a charging induction signal sent by the third inductor, and determining that the printer is in a charging state based on the charging induction signal under the condition that the printer is in a starting state or a shutdown state;
the sending of control signals corresponding to the first working state and the second working state to the annular lamp assembly to control the annular lamp assembly to flicker comprises:
and sending a third flashing signal to the annular lamp assembly based on the starting state and the charging state or the shutdown state and the charging state of the printer, and controlling the annular lamp assembly to flash according to a preset mode of the third flashing signal.
14. The printer control method of claim 13, wherein said controlling said annular light assembly to blink according to a preset pattern of said third blinking signal comprises:
under the condition that the printer is in a starting state and a charging state, controlling the annular lamp assembly to flicker in an area according to the preset frequency of the third flicker signal;
and under the condition that the printer is in a shutdown state and a charging state, controlling the annular lamp assembly to carry out full-amplitude flashing according to the preset frequency of the third flashing signal.
15. The printer control method according to claim 13, further comprising, after said determining that the printer is in the charging state based on the charging induction signal:
receiving an electric quantity sensing signal sent by the second sensor, and determining that the printer is in a charging completion state or a charging incompletion state based on the electric quantity sensing signal;
and sending a fourth flashing signal to the annular lamp assembly based on the starting state and the charging completion state, or the starting state and the charging incompletion state, or the shutdown state and the charging completion state, or the shutdown state and the charging incompletion state of the printer, and controlling the annular lamp assembly to flash according to a preset mode of the fourth flashing signal.
16. The printer control method of claim 15, wherein said controlling said annular light assembly to blink according to a preset pattern of said fourth blinking signal comprises:
under the conditions that the printer is in a starting state and a charging completion state, controlling the annular lamp assembly to keep in a full starting state, and carrying out regional flicker according to the preset frequency of the fourth flicker signal;
under the conditions that the printer is in a starting state and a charging unfinished state, controlling the annular lamp assembly to keep an area starting state, and carrying out area flashing according to the preset frequency of the fourth flashing signal;
under the condition that the printer is in a shutdown state and a charging completion state, controlling the annular lamp assembly to keep in a full-on state, and carrying out full-amplitude flashing according to the preset frequency of the fourth flashing signal;
and under the conditions that the printer is in a shutdown state and a charging unfinished state, controlling the annular lamp assembly to keep an area opening state, and carrying out full-width flashing according to the preset frequency of the fourth flashing signal.
17. The printer control method according to claim 1, characterized in that the method further comprises:
under the condition that the printer is wirelessly connected with a mobile terminal, receiving a control instruction sent by the mobile terminal;
and sending a control signal corresponding to the control instruction to the annular lamp assembly based on the control instruction, and controlling the annular lamp assembly to be switched on and off or to flicker.
18. The printer control method of any one of claims 1 to 17, wherein the annular lamp assembly comprises a plurality of circumferentially uniformly arranged spot lamps.
19. A printer control apparatus, the printer including a controller, a sensor, and an annular lamp assembly, comprising:
a signal receiving module configured to receive a level signal and a sensing signal transmitted by the sensor;
a state determination module configured to determine a first operating state and a second operating state of the printer based on a level signal and the sensing signal, respectively;
a component control module configured to send control signals corresponding to the first and second operating states to the annular lamp component to control the annular lamp component to switch on or flash.
20. A computing device comprising a memory, a processor, and computer instructions stored on the memory and executable on the processor, wherein the processor implements the steps of the method of any one of claims 1-18 when executing the instructions.
21. A computer-readable storage medium storing computer instructions, which when executed by a processor, perform the steps of the method of any one of claims 1 to 18.
CN202010080058.7A 2020-02-04 2020-02-04 Printer control method and device Pending CN111324316A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010080058.7A CN111324316A (en) 2020-02-04 2020-02-04 Printer control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010080058.7A CN111324316A (en) 2020-02-04 2020-02-04 Printer control method and device

Publications (1)

Publication Number Publication Date
CN111324316A true CN111324316A (en) 2020-06-23

Family

ID=71167137

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010080058.7A Pending CN111324316A (en) 2020-02-04 2020-02-04 Printer control method and device

Country Status (1)

Country Link
CN (1) CN111324316A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112133047A (en) * 2020-09-01 2020-12-25 上海万奇光电技术有限公司 Equipment indicator lamp control method, system and storage medium thereof
CN113485208A (en) * 2021-08-18 2021-10-08 济南蓝海印刷有限公司 Low-energy-consumption Internet-of-things digital printing equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5218353A (en) * 1990-08-13 1993-06-08 Brother Kogyo Kabushiki Kaisha Display device for a recording device capable of displaying a plurality of operating states or conditions in effect
JP2003320738A (en) * 2002-04-26 2003-11-11 Brother Ind Ltd Small portable printer
EP1382449A1 (en) * 2002-07-18 2004-01-21 Seiko Epson Corporation Cartridge and printing apparatus
CN1519973A (en) * 2003-01-24 2004-08-11 ������������ʽ���� Charger and electronic device and detection method for cell residual and diplaying control method
CN1707420A (en) * 1999-05-25 2005-12-14 西尔弗布鲁克研究股份有限公司 Interactive printer
JP2005342924A (en) * 2004-05-31 2005-12-15 Sato Corp Printer and use method of printer
JP2015080928A (en) * 2013-10-24 2015-04-27 セイコーエプソン株式会社 Electronic device, printing device, and blinking control method
US20170364319A1 (en) * 2016-06-20 2017-12-21 Xerox Corporation System and method for conveying print device status information using a light indicator feedback mechanism

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5218353A (en) * 1990-08-13 1993-06-08 Brother Kogyo Kabushiki Kaisha Display device for a recording device capable of displaying a plurality of operating states or conditions in effect
CN1707420A (en) * 1999-05-25 2005-12-14 西尔弗布鲁克研究股份有限公司 Interactive printer
JP2003320738A (en) * 2002-04-26 2003-11-11 Brother Ind Ltd Small portable printer
EP1382449A1 (en) * 2002-07-18 2004-01-21 Seiko Epson Corporation Cartridge and printing apparatus
US20040051752A1 (en) * 2002-07-18 2004-03-18 Noboru Asauchi Cartridge and printing apparatus
CN1519973A (en) * 2003-01-24 2004-08-11 ������������ʽ���� Charger and electronic device and detection method for cell residual and diplaying control method
JP2005342924A (en) * 2004-05-31 2005-12-15 Sato Corp Printer and use method of printer
JP2015080928A (en) * 2013-10-24 2015-04-27 セイコーエプソン株式会社 Electronic device, printing device, and blinking control method
US20170364319A1 (en) * 2016-06-20 2017-12-21 Xerox Corporation System and method for conveying print device status information using a light indicator feedback mechanism

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
谭明主编: "微机故障速修实例", 湖南科学技术出版社, pages: 283 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112133047A (en) * 2020-09-01 2020-12-25 上海万奇光电技术有限公司 Equipment indicator lamp control method, system and storage medium thereof
CN113485208A (en) * 2021-08-18 2021-10-08 济南蓝海印刷有限公司 Low-energy-consumption Internet-of-things digital printing equipment

Similar Documents

Publication Publication Date Title
EP3393148B1 (en) Saving power of a device in bluetooth low energy networks
CN111324316A (en) Printer control method and device
EP2816444B1 (en) Image forming apparatus and method of controlling power-saving mode of image forming apparatus
US20160292774A1 (en) Information processing apparatus for automatic ordering of consumable items
KR20100081586A (en) Image forming apparatus and method for controlling power consumption thereof
US9838557B2 (en) Systems and methods for implementing user-interactive delayed printing in image forming devices
CN103297645B (en) Image forming apparatus and method for controlling the same
US10666825B2 (en) Image forming apparatus, image forming method, and reading medium that ensure efficient use of weekly timer
US9104422B2 (en) Image processing apparatus and method of image processing
US20180316801A1 (en) Guidance method, guidance system, terminal device, and information device
JPWO2018021101A1 (en) POWER MANAGEMENT DEVICE, POWER MANAGEMENT METHOD, AND POWER MANAGEMENT SYSTEM
US9479663B2 (en) Information processing apparatus, method for controlling information processing apparatus, and storage medium
US9755724B2 (en) Electronic apparatus for determining relay apparatus and method thereof
US9152359B2 (en) Image forming apparatus that selects appropriate power saving mode for each time slot
JP5609338B2 (en) Image forming apparatus and energy saving mode control method thereof
CN105446092A (en) Electric power supply control device, image forming device and control method for electric power supply control device
JP2014176193A (en) Image forming apparatus
KR20140074747A (en) Electronic shelf label, electronic shelf label system and dispalay driving device
JP2018081494A (en) Electronic apparatus, control method, and program
JP2017159628A (en) Printer and control method for the same
US9583961B2 (en) Intellectual power storing system and method for managing battery-array of the intellectual power storing system
KR101940090B1 (en) Print controlling apparatus, method for controlling print, image forming apparatus, and method for contorolling of the same
US11934718B2 (en) Printing apparatus
JP2021509568A (en) Charging circuit management method and system
US11818308B2 (en) Method for controlling image forming system and wireless operation unit

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 100102 unit F01, 5th floor, building 1, yard 8, Guangshun South Street, Chaoyang District, Beijing

Applicant after: Beijing Ape Power Technology Co.,Ltd.

Address before: 100102 unit F01, 5th floor, building 1, yard 8, Guangshun South Street, Chaoyang District, Beijing

Applicant before: Beijing ape force Education Technology Co.,Ltd.