CN114995653A - Printer, printer control method, and readable storage medium - Google Patents

Printer, printer control method, and readable storage medium Download PDF

Info

Publication number
CN114995653A
CN114995653A CN202210750927.1A CN202210750927A CN114995653A CN 114995653 A CN114995653 A CN 114995653A CN 202210750927 A CN202210750927 A CN 202210750927A CN 114995653 A CN114995653 A CN 114995653A
Authority
CN
China
Prior art keywords
sensor
printer
printer body
user gesture
user
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
CN202210750927.1A
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 Gaode Pinchuang Technology Co Ltd
Original Assignee
Beijing Gaode Pinchuang 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 Gaode Pinchuang Technology Co Ltd filed Critical Beijing Gaode Pinchuang Technology Co Ltd
Priority to CN202210750927.1A priority Critical patent/CN114995653A/en
Publication of CN114995653A publication Critical patent/CN114995653A/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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/017Gesture based interaction, e.g. based on a set of recognized hand gestures

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses printer, printer control method and readable storage medium, the printer includes: a printer body; the detection unit is arranged on the printer body and used for detecting user gestures moving along a specific direction within a preset range of the printer; and the control unit is arranged on the printer body and used for determining the moving direction of the user gesture and controlling the printer body to execute a corresponding instruction according to the determined moving direction of the user gesture. According to the method and the device, the gesture of the user can be detected, the instruction to be input by the user is determined according to the detected gesture of the user, and the instruction is used for replacing key operation, so that the operation is more convenient, and the improvement of user experience is facilitated.

Description

Printer, printer control method, and readable storage medium
Technical Field
The application belongs to the technical field of printing equipment, and particularly relates to a printer, a printer control method and a readable storage medium.
Background
The printer is provided with a control panel and keys, and corresponding instructions need to be input through the corresponding keys when operations such as copying, scanning and the like are performed. However, since there are many keys, the key position needs to be searched before the key is pressed, the operation is complicated, and the operation is easy to be mistaken.
Disclosure of Invention
The application aims to provide a printer, a printer control method and a readable storage medium, which can input an instruction in a gesture mode and control the printer to perform corresponding operation.
According to a first aspect of embodiments of the present application, there is provided a printer including:
a printer body;
the detection unit is arranged on the printer body and used for detecting user gestures moving along a specific direction within a preset range of the printer;
and the control unit is arranged on the printer body and used for determining the moving direction of the user gesture and controlling the printer body to execute a corresponding instruction according to the determined moving direction of the user gesture.
In some optional embodiments, the detection unit is disposed on an upper surface of the printer body, and the preset range of the printer is above the printer body.
In some optional embodiments, the user gesture is one of a unidirectional horizontal movement and a reciprocating movement.
In some optional embodiments, the detection unit is one of a proximity sensor and an infrared sensor.
In some optional embodiments, the detection unit comprises at least a first sensor and a second sensor;
the user gesture is movement between the first sensor and the second sensor.
In some optional embodiments, the first sensor and the second sensor have a predetermined distance therebetween to prevent the first sensor and the second sensor from generating signals at the same time.
In some optional embodiments, the detection unit further comprises a third sensor, the third sensor is not located on the same straight line with the first sensor and the second sensor;
the user gesture moves between two of the first sensor, the second sensor, and the third sensor.
In some optional embodiments, the detection unit further comprises a fourth sensor, and the fourth sensor is located on the same straight line with the first sensor and the second sensor.
In some alternative embodiments, the preset instructions for the printer are one of preferences, copying, and scanning.
According to a second aspect of embodiments of the present application, there is provided a printer control method including:
detecting a user gesture moving along a specific direction within a preset range of the printer;
determining a moving direction of a user gesture;
and controlling the printer body to execute a corresponding instruction according to the determined movement direction of the user gesture.
According to a third aspect of embodiments of the present application, there is provided a readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the printer control method of the second aspect of embodiments of the present application.
The technical scheme of the application has the following beneficial technical effects:
the printer of the embodiment of the application can detect the gesture of the user, and determines the instruction to be input by the user according to the detected gesture of the user, so that the instruction is used for replacing key operation, the operation is more convenient, and the improvement of user experience is facilitated.
Drawings
FIG. 1 is a schematic diagram of a printer according to an exemplary embodiment of the present disclosure;
FIG. 2 is a schematic diagram of a printer inputting an instruction in an exemplary embodiment of the present application;
FIG. 3 is a schematic diagram of a printer inputting another instruction in an exemplary embodiment of the present application;
FIG. 4 is a schematic diagram of another printer according to an exemplary embodiment of the present application;
FIG. 5 is a schematic diagram of a further printer according to an exemplary embodiment of the present application;
in the figure, 100, a printer body; 200. a detection unit; 201. a first sensor; 202. a second sensor; 203. a third sensor; 204. and a fourth sensor.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is further described in detail below with reference to the accompanying drawings in combination with the detailed description. It should be understood that the description is intended for purposes of illustration only and is not intended to limit the scope of the present disclosure. Moreover, in the following description, descriptions of well-known structures and techniques are omitted so as to not unnecessarily obscure the concepts of the present application.
In the description of the present application, it is noted that the terms "first", "second", and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
In addition, the technical features mentioned in the different embodiments of the present application described below may be combined with each other as long as they do not conflict with each other.
As shown in fig. 1, in a first aspect of the embodiments of the present application, there is provided a printer including:
a printer body 100;
the detection unit 200 is arranged on the printer body 100 and used for detecting user gestures moving along a specific direction within a preset range of the printer;
and a control unit (not shown in the figure) disposed on the printer body 100, and configured to determine a moving direction of the user gesture, and control the printer body 100 to execute a corresponding instruction according to the determined moving direction of the user gesture.
In a specific application, the printer according to the embodiment of the application can detect the gesture of the user, and determine the instruction to be input by the user according to the detected gesture of the user, so that the instruction is used for replacing key operation, the operation is more convenient, and the improvement of user experience is facilitated.
Wherein, different moving directions of the user gesture correspond to different instructions respectively. For example, when moving in the first direction, the control unit controls the printer body 100 to execute the first command according to the detection signal, and when moving in the second direction, the control unit controls the printer body 100 to execute the first command according to the detection signal. In this embodiment, when the user uses a gesture, the palm may be opened or held, which is not limited in this embodiment.
In some embodiments, the detecting unit 200 is disposed on the upper surface of the printer body, and the preset range of the printer is above the printer body 100. In concrete application, the range is preset as the printer with the top of printer body 100, and the maloperation that produces when the personnel all around of printer flow can be avoided.
In some embodiments, the user gesture is one of a unidirectional horizontal movement and a reciprocating movement. For example, the unidirectional horizontal movement may be a movement from the front of the printer body 100 to the back of the printer body 100, a movement from the back of the printer body 100 to the front of the printer body 100, a movement from the left of the printer body 100 to the right of the printer body 100, a movement from the right of the printer body 100 to the left of the printer body 100, a movement from the front of the printer body 100 to the right of the printer body 100, a movement from the left of the printer body 100 to the front of the printer body 100, or a movement from the right of the printer body 100 to the front of the printer body 100. The reciprocating movement is a reverse operation added on the basis of the unidirectional horizontal movement, for example, the movement is performed from the front side of the printer body 100 to the back side of the printer body 100, and then the movement is performed from the back side of the printer body 100 to the front side of the printer body 100, and accordingly, other unidirectional horizontal movements can be extended to the reciprocating movement. In specific application, the range of installation and detection is limited, meanwhile, in order to avoid misoperation, the moving direction of unidirectional horizontal movement is small, and the number of instructions which can be executed by the control unit is limited.
In some embodiments, the detection unit 200 is one of a proximity sensor and an infrared sensor.
In some embodiments, the detection unit 200 comprises at least a first sensor 201 and a second sensor 202; the user gesture is a movement between the first sensor 201 and the second sensor 202. Specifically, the detection unit 200 includes a plurality of proximity sensors or a plurality of infrared sensors, and in a specific implementation process, the control unit may determine the moving direction of the user gesture through sensing signals sequentially formed by the plurality of sensors. As shown in fig. 2, in the direction of the straight line where the first sensor 201 and the second sensor 202 are located, the palm sequentially passes over the first sensor 201 and over the second sensor 202, the first sensor 201 forms a sensing signal earlier than the second sensor 202, and the user gesture is moving from the left side of the printer body 100 to the right side of the printer body 100; as shown in fig. 3, in the direction of the straight line where the first sensor 201 and the second sensor 202 are located, the palm sequentially passes over the second sensor 202 and over the first sensor 201, the second sensor 202 forms a sensing signal earlier than the first sensor 201, and the user gesture is moving from the right side of the printer body 100 to the right-left side of the printer body 100.
In some embodiments, the first sensor 201 and the second sensor 202 have a predetermined distance therebetween to prevent the first sensor 201 and the second sensor 202 from generating signals simultaneously. In a specific application, the proximity of the first sensor 201 and the second sensor 202 may cause the user gesture to trigger both sensors at the same time, so that the detection of the moving direction of the user gesture cannot be realized.
As shown in fig. 4, in some embodiments, the detection unit 200 further includes a third sensor 203, and the third sensor 203 is not located on the same straight line with the first sensor 201 and the second sensor 202; the user gesture moves between two of the first sensor 201, the second sensor 202, and the third sensor 203. In a specific application, by adding the third sensor 203 out of the straight line where the first sensor 201 and the second sensor 202 are located, user gestures can be added between the first sensor 201 and the third sensor 203 and between the second sensor 202 and the third sensor 203, so that the number of instructions can be increased. Correspondingly, under the condition that the detection range allows and does not have interference, the number of gestures of the user can be increased by arranging the sensors in multiple ways, and the use range is improved.
As shown in fig. 5, in some embodiments, the detecting unit 200 further includes a fourth sensor 204, and the fourth sensor 204 is located on the same straight line with the first sensor 201 and the second sensor 202. Specifically, the fourth sensor 204 is located on a side of the second sensor 202 far from the first sensor 201, or the fourth sensor 204 is located on a side of the first sensor 201 far from the second sensor 202. In a specific application, by adding the fourth sensor 204 to the straight line where the first sensor 201 and the second sensor 202 are located, the moving direction of the user gesture in the reciprocating movement can be increased. For example, when the first sensor 201, the second sensor 202, and the fourth sensor 204 are sequentially arranged, the palm may sequentially pass through the first sensor 201, the second sensor 202, and the fourth sensor 204, and then return to the first sensor 201 or the second sensor 202 from the position of the fourth sensor 204, different moving directions may be implemented according to the position where the palm finally stays, and similarly, the palm may sequentially pass through the fourth sensor 204, the second sensor 202, and the first sensor 201, and then return to the second sensor 202 or the fourth sensor 204 from the position of the first sensor 201.
In some embodiments, the preset instructions of the printer are one of parameter selection, copying, and scanning. Wherein the parameter selection may select resolution, scaling, etc. Illustratively, when the palm moves from above the first sensor 201 to above the second sensor 202, the first sensor 201 and the second sensor 202 sequentially form sensing signals, and the control unit may thereby determine that the user gesture is a first unidirectional horizontal movement and control the printer body 100 to perform the resolution selection operation; when the palm moves from above the second sensor 202 to above the first sensor 201, the second sensor 202 and the first sensor 201 sequentially form sensing signals, and the control unit can determine that the user gesture is a second unidirectional horizontal movement and control the printer body 100 to execute a scaling selection operation; when the palm moves from above the first sensor 201 to above the second sensor 202 and then returns from above the second sensor 202 to above the first sensor 201, the control unit can determine that the user gesture is a first reciprocating movement and control the printer body 100 to execute the copying operation; when the palm moves from above the second sensor 202 to above the first sensor 201 and then returns from above the first sensor 201 to above the second sensor 202, the control unit may determine that the user gesture is the second reciprocating movement and control the printer body 100 to perform the scanning operation.
In some optional embodiments, the printer body 100 is provided with a key or an input panel, and the first sensor 201 and the second sensor 202 are respectively disposed on two sides of the key or the input panel.
In a second aspect of embodiments of the present application, there is provided a printer control method including the following steps.
And step S1, detecting the user gesture moving along the specific direction within the preset range of the printer.
The detection unit 200 is disposed on the upper surface of the printer body, and the printer is disposed above the printer body 100. In concrete application, the range is preset as the printer with the top of printer body 100, and the maloperation that produces when the personnel all around of printer flow can be avoided.
Wherein the user gesture is one of a unidirectional horizontal movement and a reciprocating movement.
For example, the unidirectional horizontal movement may be a movement from the front of the printer body 100 to the back of the printer body 100, a movement from the back of the printer body 100 to the front of the printer body 100, a movement from the left of the printer body 100 to the right of the printer body 100, a movement from the right of the printer body 100 to the left of the printer body 100, a movement from the front of the printer body 100 to the right of the printer body 100, a movement from the left of the printer body 100 to the front of the printer body 100, or a movement from the right of the printer body 100 to the front of the printer body 100. The reciprocating movement is a reverse operation added on the basis of the unidirectional horizontal movement, for example, the reciprocating movement is performed from the front side of the printer body 100 to the back side of the printer body 100, and then from the back side of the printer body 100 to the front side of the printer body 100.
And step S2, determining the moving direction of the user gesture.
The user gesture may be detected by the detection unit 200 including a plurality of proximity sensors or infrared sensors, and the moving direction of the user gesture may be determined by the sequence of the sensing signals of the plurality of sensors.
Specifically, the detection unit 200 includes at least a first sensor 201 and a second sensor 202; the user gesture is a movement between the first sensor 201 and the second sensor 202. Specifically, the detection unit 200 includes a plurality of proximity sensors or a plurality of infrared sensors, and in a specific implementation process, the control unit may determine the moving direction of the user gesture through sensing signals sequentially formed by the plurality of sensors.
Optionally, the detection unit 200 further includes a third sensor 203, and the third sensor 203 is not located on the same straight line with the first sensor 201 and the second sensor 202; the user gesture moves between two of the first sensor 201, the second sensor 202, and the third sensor 203.
In a specific application, by adding the third sensor 203 out of the straight line where the first sensor 201 and the second sensor 202 are located, user gestures can be added between the first sensor 201 and the third sensor 203 and between the second sensor 202 and the third sensor 203, so that the number of instructions can be increased. Correspondingly, under the condition that the detection range allows and does not have interference, the number of gestures of the user can be increased by arranging the sensors in multiple ways, and the use range is improved.
Optionally, the detection unit 200 further includes a fourth sensor 204, and the fourth sensor 204 is located on the same straight line as the first sensor 201 and the second sensor 202.
Specifically, the fourth sensor 204 is located on a side of the second sensor 202 away from the first sensor 201, or the fourth sensor 204 is located on a side of the first sensor 201 away from the second sensor 202. In a specific application, by adding the fourth sensor 204 to the straight line where the first sensor 201 and the second sensor 202 are located, the moving direction of the user gesture in the reciprocating movement can be increased. For example, when the first sensor 201, the second sensor 202, and the fourth sensor 204 are sequentially arranged, the palm may sequentially pass through the first sensor 201, the second sensor 202, and the fourth sensor 204, and then return to the first sensor 201 or the second sensor 202 from the position of the fourth sensor 204, different moving directions may be implemented according to the position where the palm finally stays, and similarly, the palm may sequentially pass through the fourth sensor 204, the second sensor 202, and the first sensor 201, and then return to the second sensor 202 or the fourth sensor 204 from the position of the first sensor 201.
And step S3, controlling the printer body 100 to execute a corresponding instruction according to the determined moving direction of the user gesture.
The preset instruction of the printer is one of parameter selection, copying and scanning, and the parameter selection can select resolution, scaling and the like.
Illustratively, when the palm moves from above the first sensor 201 to above the second sensor 202, the first sensor 201 and the second sensor 202 sequentially form sensing signals, and the control unit may thereby determine that the user gesture is a first unidirectional horizontal movement and control the printer body 100 to perform the resolution selection operation; when the palm moves from above the second sensor 202 to above the first sensor 201, the second sensor 202 and the first sensor 201 sequentially form sensing signals, and the control unit can determine that the user gesture is a second unidirectional horizontal movement and control the printer body 100 to execute a scaling selection operation; when the palm moves from above the first sensor 201 to above the second sensor 202 and then returns from above the second sensor 202 to above the first sensor 201, the control unit can determine that the gesture of the user is a first reciprocating movement and control the printer body 100 to execute the copying operation; when the palm moves from above the second sensor 202 to above the first sensor 201 and then returns from above the first sensor 201 to above the second sensor 202, the control unit may determine that the user gesture is the second reciprocating movement and control the printer body 100 to perform the scanning operation.
In a third aspect of the embodiments of the present application, there is provided a readable storage medium, on which a computer program is stored, the computer program, when executed by a processor, implementing the steps of the printer control method according to the second aspect of the embodiments of the present application.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the present embodiments are not limited to those precise embodiments, which are intended to be illustrative rather than restrictive, and that various changes and modifications may be effected therein by one skilled in the art without departing from the scope of the appended claims.

Claims (11)

1. A printer, comprising:
a printer body;
the detection unit is arranged on the printer body and used for detecting user gestures moving along a specific direction within a preset range of the printer;
and the control unit is arranged on the printer body and used for determining the moving direction of the user gesture and controlling the printer body to execute a corresponding instruction according to the determined moving direction of the user gesture.
2. The printer according to claim 1, wherein the detecting unit is disposed on an upper surface of the printer body, and the printer preset range is above the printer body.
3. The printer of claim 2, wherein the user gesture is one of a unidirectional horizontal movement and a reciprocating movement.
4. The printer according to claim 1, wherein the detection unit is one of a proximity sensor and an infrared sensor.
5. The printer according to claim 4, wherein the detection unit includes at least a first sensor and a second sensor;
the user gesture is movement between the first sensor and the second sensor.
6. The printer of claim 5, wherein the first sensor and the second sensor are spaced apart a predetermined distance to prevent the first sensor and the second sensor from generating signals simultaneously.
7. The printer according to claim 5, wherein the detection unit further comprises a third sensor that is not located on the same line as the first sensor and the second sensor;
the user gesture moves between two of the first sensor, the second sensor, and the third sensor.
8. The printer according to claim 5, wherein the detection unit further comprises a fourth sensor, and the fourth sensor is located on the same line as the first sensor and the second sensor.
9. The printer of claim 1, wherein the preset instructions for the printer are one of preferences, copying, and scanning.
10. A printer control method characterized by comprising:
detecting a user gesture moving along a specific direction within a preset range of the printer;
determining a moving direction of a user gesture;
and controlling the printer body to execute a corresponding instruction according to the determined movement direction of the user gesture.
11. A readable storage medium on which a computer program is stored, characterized in that the computer program, when being executed by a processor, realizes the steps of the printer control method of claim 10.
CN202210750927.1A 2022-06-29 2022-06-29 Printer, printer control method, and readable storage medium Pending CN114995653A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210750927.1A CN114995653A (en) 2022-06-29 2022-06-29 Printer, printer control method, and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210750927.1A CN114995653A (en) 2022-06-29 2022-06-29 Printer, printer control method, and readable storage medium

Publications (1)

Publication Number Publication Date
CN114995653A true CN114995653A (en) 2022-09-02

Family

ID=83036200

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210750927.1A Pending CN114995653A (en) 2022-06-29 2022-06-29 Printer, printer control method, and readable storage medium

Country Status (1)

Country Link
CN (1) CN114995653A (en)

Similar Documents

Publication Publication Date Title
US10218861B2 (en) Image forming apparatus, non-transitory storage medium storing program to be executed by the same, method of controlling the same, and terminal device
CN102736771B (en) The recognition methods of multi-point rotating movement and device
US20080308323A1 (en) Object Location Sensor of Touch Panel
US8510670B2 (en) Information processing apparatus, information processing method thereof, and computer-readable storage medium
US10802704B2 (en) Gesture control method, apparatus, terminal device, and storage medium
CN202120234U (en) Multipoint translation gesture recognition device for touch device
CN108762557A (en) A kind of touch detecting method and computer readable storage medium
CN105264536A (en) Method of controlling an electronic device
CN102253709A (en) Method and device for determining gestures
KR20080067885A (en) Touch signal recognition apparatus and method for the same
CA2784869A1 (en) Handling tactile inputs
US20130293477A1 (en) Electronic apparatus and method for operating the same
CN103297644A (en) Operation display device
CN108920055A (en) touch operation method, device, storage medium and electronic equipment
JPH08212005A (en) Three-dimensional position recognition type touch panel device
KR20150041135A (en) Touch control method of capacitive and electromagnetic dual-mode touch screen and handheld electronic device
CN108829278A (en) The control method and device of mouse, mouse
JP5814147B2 (en) Input device, input control method, and input control program
WO2012153536A1 (en) Coordinates input device and coordinates input method
CN104142742A (en) Touch electronic equipment and touch mode switching method thereof
CN114995653A (en) Printer, printer control method, and readable storage medium
JPH1185380A (en) Coordinate reader, its interface device, and coordinate reading system
CN105892895A (en) Multi-finger sliding gesture recognition method and device as well as terminal equipment
CN104346123B (en) Image display device and image display method
US10338808B2 (en) Information processing apparatus and storage medium

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