Programs and Electronic Devices

The program enhances user-friendliness in electronic devices with motion sensors by assigning specific actions to detected objects based on gesture input, enabling varied responses and improving usability.

JP7537171B2Active Publication Date: 2024-08-21BROTHER KOGYO KK
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
JP2020134648
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-08-07
Publication Date
2024-08-21
Estimated Expiration
2040-08-07

AI Technical Summary

Technical Problem

Existing technologies for electronic devices with motion sensors lack detailed operations after gesture input, limiting user-friendliness and usability.

Method used

A program that executes specific commands based on gesture detection by a motion sensor, allowing the device to detect objects on the display, acquire their type, and assign corresponding actions, enabling varied responses to a single gesture based on object type.

Benefits of technology

Enhances user-friendliness by allowing different actions to be performed depending on the type of object in response to a single gesture, improving overall usability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007537171000004
    Figure 0007537171000004
  • Figure 0007537171000007
    Figure 0007537171000007
  • Figure 0007537171000001
    Figure 0007537171000001
Patent Text Reader

Abstract

To provide a technique for improving convenience of a user in a program and an electronic device for accepting an input operation by a gesture on the basis of an output signal from a motion sensor.SOLUTION: An electronic device 1 including a millimeter wave radar 15 and a display screen 131 detects a specific gesture on the basis of an output result from the millimeter wave radar 15 by running a label creation application 22, further acquires the kind of an object about the specific object being one of objects displayed on the display screen 131 in the case where the specific gesture is detected, specifies action allocated to the acquired kind of the object, and executes the specified action. Action corresponding to a specific gesture is allocated for each kind of an object displayable on the display screen 131.SELECTED DRAWING: Figure 3
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The technical field disclosed in this specification relates to a program and an electronic device that accepts an input operation by a gesture based on an output signal from a motion sensor. [Background technology]

[0002] Electronic devices equipped with motion sensors have been put to practical use, and techniques for accepting input operations based on output signals from the motion sensors are known. For example, Patent Document 1 discloses a technique for an information processing device equipped with three types of input means, namely, a mouse, a touch panel, and a motion sensor, that detects a change in the input means and displays an object in a display mode according to the changed input means. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] International Publication No. 2015 / 029222 Summary of the Invention [Problem to be solved by the invention]

[0004] In the technology disclosed in Patent Document 1, a display mode for one object is assigned to each input means, and when an input operation is performed using a motion sensor, the object is displayed in a display mode different from that for input operations performed using other input means, but there is no detailed disclosure of the operation after the input operation is performed. Therefore, there is room for improvement in the operation after detecting a gesture, which is an input operation performed using a motion sensor.

[0005] This specification discloses a technique for improving usability for users in a program and an electronic device that accepts input operations by gestures based on output signals from a motion sensor. [Means for solving the problem]

[0006] The program developed to solve this problem is a program executable by a computer of an electronic device equipped with a motion sensor and a display, and causes the computer to execute a detection process to detect a specific gesture based on an output result from the motion sensor, and further causes the computer to execute, when the specific gesture is detected by the detection process, a type acquisition process to acquire an object type for a specific object, which is one of the objects displayed on the display, an action identification process in which an action corresponding to the specific gesture is assigned to each type of object that can be displayed on the display, and the action identification process to identify the action assigned to the type of object acquired in the type acquisition process, and an action execution process to execute the action identified in the action identification process for the specific object.

[0007] By executing the program disclosed in this specification, when the electronic device detects a specific gesture, it obtains one type of object displayed on the display and executes an action assigned to the specific gesture for each type of object. Therefore, in response to the detection of one gesture, different actions are executed depending on the type of object, improving the usability of gesture input.

[0008] An electronic device for implementing the functions of the above-mentioned program, a control method for implementing the functions of the program, and a computer-readable storage medium for storing the program are also novel and useful. Effect of the Invention

[0009] According to the technology disclosed in this specification, a technology that improves usability for a user is realized in a program and an electronic device that accepts an input operation by a gesture based on an output signal from a motion sensor. [Brief description of the drawings]

[0010] [Figure 1] FIG. 1 is a schematic configuration diagram of an electronic device according to an embodiment. [Diagram 2] 13 is a flowchart showing a procedure for a label creation process. [Diagram 3] FIG. 13 is an explanatory diagram showing an example of an editing screen. [Figure 4] FIG. 11 is an explanatory diagram showing an example of allocation information. [Diagram 5] FIG. 13 is an explanatory diagram showing an example of an editing screen for a text object. [Figure 6] FIG. 13 is an explanatory diagram showing an example of an editing screen for a symbol object. [Figure 7] FIG. 13 is an explanatory diagram illustrating an example of an editing screen for a photo object. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0011] Hereinafter, an embodiment of a program incorporated in an electronic device will be described in detail with reference to the accompanying drawings. This embodiment discloses an application program (hereinafter, referred to as an "app") incorporated in an electronic device equipped with a display screen, such as a smartphone.

[0012] As shown in Fig. 1, the electronic device 1 of this embodiment includes a controller 10 including a CPU 11 and a memory 12. Furthermore, the electronic device 1 includes a user interface (hereinafter referred to as "user IF") 13, a communication interface (hereinafter referred to as "communication IF") 14, and a millimeter wave radar 15, which are electrically connected to the controller 10. The electronic device 1 is, for example, a device capable of executing various applications for causing the printer 3 to print. Note that the controller 10 in Fig. 1 is a collective term for hardware and software used to control the electronic device 1, and does not necessarily represent a single piece of hardware actually present in the electronic device 1.

[0013] The CPU 11 executes various processes according to a program read from the memory 12 and based on a user's operation. The CPU 11 is an example of a computer. The memory 12 includes, for example, a ROM, a RAM, a HDD, and a flash memory, and stores various programs and data.

[0014] The user IF 13 includes a display screen 131, which is hardware having a display function, and is a touch panel having an operation reception function. The display screen 131 is an example of a display. The user IF 13 of the electronic device 1 of this embodiment can detect contact or pressure of a fingertip or the like, and can obtain the position of the contact or pressure. The user IF 13 may include a combination of a display or the like that displays information and a keyboard, a mouse, or the like that receives input operations by the user.

[0015] The communication IF 14 includes hardware for communicating with an external device such as the printer 3. The communication IF 14 may use a communication method such as Wi-Fi (registered trademark), Bluetooth (registered trademark), USB, etc. The electronic device 1 may also use the communication IF 14 as a device that is compatible with a plurality of communication methods.

[0016] The millimeter wave radar 15 includes hardware that transmits electromagnetic waves, receives reflected waves, and outputs a waveform signal based on the received reflected waves. The millimeter wave radar 15 is an example of a motion sensor. The millimeter wave radar 15 transmits electromagnetic waves that are frequency modulated signals with wavelengths in millimeters or units smaller than millimeters and frequencies of around 60 GHz, and receives superpositions of reflected waves. The millimeter wave radar 15 outputs a waveform signal based on the received reflected waves, and the electronic device 1 of this embodiment can detect, for example, the position and movement of an object in the vicinity of the electronic device 1 in millimeter units based on the waveform signal.

[0017] 1, an operating system (hereinafter, referred to as "OS") 21 and a label creation application 22 are embedded in the memory 12 of the electronic device 1 of this embodiment. The OS 21 is a multitasking OS that can process multiple tasks in parallel by managing and switching between multiple tasks, and is, for example, any one of iOS (registered trademark), Android (registered trademark), Windows (registered trademark), macOS (registered trademark), and Linux (registered trademark).

[0018] The label creation application 22 of the present embodiment is an application for creating various types of labels using the printer 3, and is an application that detects a user's gesture based on a waveform signal output by the millimeter wave radar 15 and causes the electronic device 1 to execute an operation corresponding to the detection result. The label creation application 22 is an example of a program. Note that the label creation application 22 of the present embodiment may be a program that can be executed independently based on an execution instruction from a user, or may be a program that is called and executed from another program while the other program is being executed.

[0019] The label creation application 22 of this embodiment can display images including various objects such as text, symbols, and photos on the display screen 131 as image data to be printed by the printer 3, and accepts a user's instruction to edit each displayed object. The label creation application 22 of this embodiment accepts a user's instruction by an operation of contacting the user IF 13, such as a tap, or an operation of a gesture without contacting the user IF 13. The label creation application 22 of this embodiment can obtain, via the OS 21, information on a gesture detected by the millimeter wave radar 15.

[0020] The printer 3 of this embodiment has at least a printing function and a communication function, and performs an operation corresponding to a command received from the electronic device 1, etc. The printer 3 of this embodiment is, for example, a so-called label printer that has a thermal transfer print head, stores label paper wound in a roll, and prints while unwinding the label paper. The printer 3 prints an image on the stored label paper and transports the label paper based on a print command received from the electronic device 1, etc., and creates a label by protruding the printed portion outside the machine.

[0021] Next, the procedure of the label creation process for causing the printer 3 to create a label using the label creation application 22 of this embodiment will be described with reference to the flowchart in Fig. 2. The label creation process is executed by the CPU 11 of the electronic device 1 when an instruction to start the label creation application 22 is received. Note that the following processes and each processing step of the flowchart basically indicate processing by the CPU 11 in accordance with instructions written in each program. The processing by the CPU 11 also includes hardware control using the API of the OS 21 of the electronic device 1. In this specification, the description of the OS 21 will be omitted and the operation of the program will be described.

[0022] In the label creation process, the CPU 11 first displays a top screen on the user IF 13 (S101). The top screen includes, for example, a title, a top image, buttons for accepting displays of label usage examples and creation methods, and buttons for accepting displays of templates. The user can change the displayed content by operating the user IF 13, for example, to obtain various types of information.

[0023] The CPU 11 determines whether or not a template selection has been accepted (S102). The label creation application 22 of this embodiment has a plurality of templates including samples of character strings, symbols, code images, frame images, etc. as image data of templates for label creation, and accepts selection of a template and editing of the selected template. For example, when the CPU 11 accepts a tap on a button on the top screen that accepts display of templates, the CPU 11 displays various templates, and further accepts selection of a template by tapping on one of the displayed templates.

[0024] If it is determined that the selection of a template has not been accepted (S102: NO), the CPU 11 performs various operations according to the user's operation and waits until the selection of a template is accepted. Note that, if an instruction to end the label creation process is accepted, the CPU 11 ends the label creation process.

[0025] When it is determined that the selection of the template has been accepted (S102: YES), the CPU 11 displays an editing screen that accepts editing of the selected template on the display screen 131 of the user IF 13 (S105). FIG. 3 shows an example of the appearance of the electronic device 1 in a state in which the editing screen is displayed. FIG. 3 shows an example in which an editing screen 50 of the label creation application 22 is displayed, and is a diagram showing a surface of the electronic device 1 that includes the display screen 131 of the user IF 13. As shown in FIG. 3, the display screen 131 is disposed in the center of one surface of the housing of the electronic device 1, and occupies almost the entire surface. The millimeter wave radar 15 of this embodiment is provided on the same surface as the display screen 131, on the surface of the housing outside the display screen 131, and can detect the movement of an object near the display screen 131.

[0026] In addition to the template image 51, the editing screen 50 shown in FIG. 3 displays various buttons such as a print setting button 53, a print button 54, and a save button 55. When the CPU 11 detects a tap on each displayed button, it determines that the operation on the button has been accepted. In addition, the template image 51 included in the editing screen 50 of the example shown in FIG. 3 is an image including a text object 511, a symbol object 512, and a photo object 513. The photo object 513 is an example of an image object. The objects included may differ depending on the selected template. The image to be edited is not limited to a template, and may be, for example, an image previously saved in the label creation application 22.

[0027] The label creation application 22 accepts the selection of an object to be edited from among various objects included in the template image 51 being displayed, and accepts editing of the selected object. For example, the user can easily create a desired label by changing the character string of the selected template to a desired character string and printing it. The state shown in Fig. 3 displayed in S105 is a state in which the template image 51 including multiple objects is simply displayed, and the selection of individual objects to be edited is not accepted.

[0028] Then, CPU 11 acquires allocation information corresponding to the unselected state (S106). The allocation information is information that stores the relationship between the type of gesture and the action assigned according to the gesture. The allocation information differs depending on the selection state of the object. In S106, CPU 11 acquires allocation information for the unselected state in which no object is selected.

[0029] An example of the assignment information is shown in Fig. 4. There are multiple types of objects and gestures, and in the assignment information, an action is assigned to each combination of object type and gesture type. Fig. 4 shows up, down, left, and right flicks as gesture types. A flick is a gesture in which the finger is quickly moved, and a movement from bottom to top is called an up flick, a movement from top to bottom is called a down flick, a movement from right to left is called a left flick, and a movement from left to right is called a right flick. Fig. 4 also shows four types of object selection states: unselected state, text object selected, symbol object selected, and photo object selected.

[0030] 4, for example, in the state where an object is not selected, an up-down flick is associated with changing the display magnification, and a left-right flick is associated with scrolling. In S106, CPU 11 acquires information on the flick direction and the corresponding operation as assignment information stored in association with the state where an object is not selected.

[0031] The types of gestures and the selection states of the objects are not limited to those shown in FIG. 4, and may be other than these. The types of gestures may be distinguishable based on the waveform signal output by the millimeter wave radar 15, and may further include, for example, push, pull, and roll. If there are other types of gestures, the assignment information may further store corresponding actions for each type of gesture. Furthermore, the actions corresponding to each gesture are not limited to those shown in FIG. 4. For example, an up-down flick in an unselected state may be a change of the template image 51. Furthermore, a left-right flick in each state may be an undo of the previous action, a redo of the undo, or an action other than an action on an object such as saving or printing.

[0032] Then, the CPU 11 judges whether or not the selection of an object has been accepted (S111). For example, when the CPU 11 accepts a tap on one of the objects included in the template image 51 being displayed, the CPU 11 judges that the object has been selected. When the CPU 11 judges that the selection of an object has been accepted (S111: YES), the CPU 11 acquires information on the type of the selected object (S112). The types of objects include, for example, the above-mentioned text object, symbol object, and photo object. The selected object is an example of a specific object, and S112 is an example of a type acquisition process.

[0033] Furthermore, CPU 11 causes user IF 13 to display an editing screen for accepting editing of the selected object (S113). Since the content of editing accepted for an object differs for each type of object, the editing screen for the object differs for each type of object.

[0034] For example, when a text object 511 is selected on the editing screen 50 in Fig. 3, the CPU 11 causes the user IF 13 to display a text editing screen 60 as shown in Fig. 5(A), for example. The text editing screen 60 includes a keyboard for accepting changes to the text, a font setting button 61 for accepting changes to the font, and a completion button 62 for completing the editing of the text.

[0035] For example, when a symbol object 512 is selected on the editing screen 50 in FIG. 3, the CPU 11 causes the user IF 13 to display a symbol editing screen 70, for example, as shown in FIG. 6(A). The label creation application 22 classifies a large number of symbols into categories and stores them, and the user can select a desired symbol and print it on a label. For example, in FIG. 6(A), various symbols included in the pictograph category are displayed. The symbol editing screen 70 includes various symbols in the same category, a category change button 71 for changing the category of the symbol to be displayed, and a completion button 72 for completing the editing of the symbol.

[0036] For example, when photo object 513 is selected on editing screen 50 in Fig. 3, CPU 11 causes user IF 13 to display photo editing screen 80 as shown in Fig. 7. Photo editing screen 80 includes buttons for accepting adjustments such as trimming and rotation, a bar for accepting size changes, a halftone change button 81 for accepting an instruction to change the halftone, and a completion button 82 for completing photo editing.

[0037] Then, CPU 11 acquires allocation information corresponding to the type of the selected object (S114). Allocation information is set for each type of object as shown in Fig. 4. In S114, CPU 11 changes the allocation information to be used in subsequent processing to that corresponding to the selected object.

[0038] When it is determined that the selection of an object has not been accepted (S111: NO), the CPU 11 determines whether or not a gesture has been detected (S121). For example, after S106, the CPU 11 instructs the OS 21 to drive the millimeter wave radar 15 of the electronic device 1, and acquires gesture information via the OS 21.

[0039] The label creation application 22 in this embodiment detects a gesture of the user made near the display screen 131 based on a waveform signal that is an output result from the millimeter wave radar 15. The label creation application 22 may detect a gesture by, for example, acquiring a waveform signal from the OS 21 and analyzing the signal, or may detect a gesture by acquiring gesture information as an analysis result of the waveform signal from the OS 21.

[0040] That is, the label creation application 22 may acquire the waveform signal at any timing or periodically, and analyze the waveform signal by itself to acquire the presence or absence of a gesture and detailed information about the gesture. Alternatively, the OS 21 may analyze the waveform signal of the millimeter wave radar 15, and when a gesture is detected, issue an event, and the label creation application 22 may detect the gesture by the event. In this case, detailed information about the gesture may be included in the event, or may be acquired by the label creation application 22 inquiring of the OS 21 after the event is issued. The detailed information about the gesture includes information about the position, type, and direction of the gesture.

[0041] When it is determined that a gesture has been detected (S121: YES), the CPU 11 determines whether or not an object has been selected (S122). When it is determined that an object has not been selected (S122: NO), the CPU 11 acquires information on the position of the gesture (S123). S123 is an example of a position acquisition process. The CPU 11 acquires the position of the gesture based on detailed information of the gesture.

[0042] Then, CPU 11 determines whether or not the position of the gesture is near one of the objects in template image 51 being displayed on display screen 131 (S124). Specifically, CPU 11 determines whether or not the position of the fingertip or the like is above one of the objects in template image 51 and within a predetermined distance range. The above of the object refers to a columnar range extending from the area of ​​the object in a direction perpendicular to display screen 131. Note that the above is not limited to a columnar range, and may be, for example, a shape that widens as it moves away from the screen.

[0043] When it is determined that the gesture position is near one object (S124: YES), the CPU 11 acquires information on the type of the object (S125). The object near the gesture position is an example of a specific object, and S125 is an example of a type acquisition process. Note that the object in this case is not limited to each object included in the template image to be edited, and may be, for example, various buttons such as the print setting button 53, the print button 54, and the save button 55 included in the editing screen 50 shown in FIG. 3. Then, the CPU 11 acquires allocation information corresponding to the type of the object (S126).

[0044] When it is determined that an object is selected (S122: YES), or when it is determined that the object is not near one object (S124: NO), or after S126, the CPU 11 acquires a type of gesture based on detailed information of the detected gesture (S127). The type of gesture is, for example, any of the above-mentioned up, down, left and right flicks. The acquired type of gesture is an example of a specific gesture, and S127 is an example of a detection process.

[0045] Then, the CPU 11 identifies an action corresponding to the type of the acquired gesture (S128). S128 is an example of an action identification process. The CPU 11 identifies a corresponding action based on the assignment information acquired in any one of S106, S114, and S126 and the type of the gesture acquired in S127. The acquired assignment information is information corresponding to a specific object or information corresponding to an object unselected state. Then, the CPU 11 executes the identified action (S129). S129 is an example of an action execution process.

[0046] For example, when the label creation application 22 of this embodiment detects a gesture while a text object is selected, that is, while the text editing screen 60 shown in Fig. 5(A) is displayed, it accepts an instruction to change font attributes such as font size and font type, as shown in the assignment information of the example of Fig. 4. Specifically, the CPU 11 accepts an instruction to increase the font size with an upward flick, decrease the font size with a downward flick, change the font type (in the order of normal → bold → italics) with a left flick, and change the font type with a right flick (in the reverse order of the left flick).

[0047] In the conventional label creation application, when changing the font size or type, the user had to operate the font setting button 61 in Fig. 5(A) to display the font setting screen shown in Fig. 5(B) and then perform the operation on the font setting screen. In contrast, in the present embodiment, the font setting can be instructed by gestures without displaying the font setting screen in Fig. 5(B), so that the user can reduce the effort required to change font attributes. Note that, as an operation corresponding to a text object, the label creation application 22 may accept changes to font decorations such as inversion, underlining, strikethrough, character enclosing, and filling, in addition to the font size and type.

[0048] Furthermore, for example, when the label creation application 22 of the present embodiment detects a gesture in a state where a symbol object is selected, that is, in a state where the symbol editing screen shown in Fig. 6(A) is displayed, the label creation application 22 accepts an instruction to change the symbol or category as shown in the example of the assignment information in Fig. 4. Specifically, the CPU 11 accepts an instruction to change the symbol (next symbol) within the same category by an upward flick, a instruction to change the symbol (previous symbol) within the same category by a downward flick, a instruction to change the category (from top to bottom) by a left flick, and a instruction to change the category (from bottom to top) by a right flick.

[0049] In a conventional label creation application, when selecting a symbol in a different category, the user had to operate the category change button 71 in Fig. 6(A) to display the category selection screen shown in Fig. 6(B) and then select a category. In contrast, in this embodiment, a symbol in a different category can be selected without displaying the category selection screen in Fig. 6(B), which reduces the user's effort in changing symbols.

[0050] Furthermore, for example, when the label creation application 22 of the present embodiment detects a gesture in a state where a photo object is selected, that is, in a state where the photo editing screen shown in Fig. 7 is displayed, the label creation application 22 accepts an instruction to change the halftone as shown in the example of the assignment information in Fig. 4. Specifically, the CPU 11 accepts a change in the halftone (for example, increasing and decreasing the contrast) by an upward flick and a downward flick.

[0051] In conventional label creation applications, when a user wants to adjust the color tone of an image, such as the contrast, the user must operate the halftone change button 81 in Fig. 7 to display an image adjustment screen and perform the operation on that screen. In contrast, in this embodiment, the color tone of an image can be adjusted without displaying the image adjustment screen, reducing the user's effort.

[0052] In this embodiment, no corresponding action is assigned to a left flick or a right flick when a photo object is selected. That is, when the CPU 11 determines that the specific object is a photo object and the type of gesture acquired in S127 is a left flick or a right flick, the CPU 11 does not specify a corresponding action in S128 and skips S129. The label creation application 22 in this embodiment also includes an assignment to skip an action depending on the combination of a specific object and a specific gesture.

[0053] Also, the types of objects are not limited to the above-mentioned text objects, symbol objects, and photo objects. For example, there may be a label object showing the whole label and a cut option object showing the cut option of the label. For example, the label creation application 22 assigns an action of changing the length of the label to a gesture of left and right flicking in response to the label object. In this way, the effort of changing the length of the label can be reduced.

[0054] Also, the label creation application 22 assigns an action of changing the contents of the cut option to an up / down flick gesture in response to the cut option object, for example. In this way, the effort of changing the cut option can be reduced. The contents of the cut option include, in addition to the selection of cut on / off, the selection of full cut or half cut when cut is on, and the selection of whether to feed after cutting.

[0055] When it is determined that a gesture has not been detected (S121: NO), the CPU 11 determines whether or not a completion instruction has been received (S131). As described above, the edit screens for various objects include the completion buttons 62, 72, and 82, and the completion instruction is an instruction that is received by operating these completion buttons. If an object is not selected, the CPU 11 does not accept the completion instruction. When it is determined that a completion instruction has been received (S131: YES), the CPU 11 cancels the selection of the object (S132). That is, the CPU 11 sets the state so that no object is selected, and returns to S105 to cause the edit screen 50 (see FIG. 3) to be displayed on the user IF 13.

[0056] If it is determined that the completion instruction has not been received (S131: NO), the CPU 11 determines whether or not an instruction to end the label creation application 22 has been received (S141). If it is determined that an instruction to end the label creation application 22 has been received (S141: YES), the CPU 11 ends the label creation process.

[0057] If it is determined that an end instruction has not been received (S141: NO), it is determined whether or not another instruction has been received (S142). If it is determined that another instruction has been received (S142: YES), the CPU 11 executes an operation corresponding to the received instruction (S143). For example, when the CPU 11 receives an operation on the print setting button 53, the print button 54, the save button 55, etc. on the edit screen 50 shown in FIG. 3, the CPU 11 executes an operation corresponding to the received instruction. For example, when an instruction to execute printing is received by operating the print button 54, the CPU 11 generates a print command and transmits the generated print command to the printer 3.

[0058] The CPU 11 may accept, as another action, for example, a setting by the user to the allocation information shown in FIG. 4. That is, the assignment between gestures and actions may be a relationship previously determined by the label creation application 22, or may be specified by the user. For example, when an instruction for setting an assignment is accepted in S142, the CPU 11 displays, for example, a list of assignable actions, accepts the selection of an action, and sets the action in the assignment information in S143. S143 in this case is an example of an assignment process. By accepting the assignment of an action by the user, the action can be made according to the user's usage situation, which is convenient for the user.

[0059] After S143, or when it is determined that no other instruction has been received (S142: NO), the CPU 11 returns to S111 and receives various instructions such as object selection, gestures, etc. Note that the CPU 11 may receive other instructions such as an instruction to return to the top screen or an instruction to reselect a template, in which case the CPU 11 returns to S101 or S102 to continue the process.

[0060] As described above in detail, according to the label creation application 22 described in this specification, when the electronic device 1 detects a specific gesture as an input operation, it identifies and executes an action assigned to each type of object according to the specific gesture. In other words, the action after detecting a specific gesture is not fixed to one action, but different actions are executed depending on the type of object in response to the detection of one gesture. This improves the usability of input by gesture.

[0061] Furthermore, in this embodiment, the selected object is the target of the gesture action, or when a gesture is detected on an object, the object is the target of the gesture action, so that the usability of the gesture is further improved. Furthermore, in this embodiment, even if an object is not selected, there is a corresponding action, so the opportunities to use gestures increase, and the usability of the gestures is further improved. In other words, there are multiple types of gestures, and an action is assigned to each type of gesture, so that the types of actions by gestures are abundant, and the usability of the gestures is further improved.

[0062] It should be noted that the present embodiment is merely an example and does not limit the present invention in any way. Therefore, the present invention can be naturally improved and modified in various ways without departing from the scope of the present invention. For example, the printer connected to the electronic device 1 is not limited to a label printer, but may be an inkjet printer or a laser printer. In other words, the printing method of the printer 3 is not limited to a thermal transfer method, but may be, for example, a thermal method, an inkjet method, or an electrophotographic method. Furthermore, the printing medium used in the printer 3 is not limited to label paper, but may be, for example, simple roll paper or cut paper.

[0063] Also, for example, in the present embodiment, the label creation application 22 acquires the gesture based on the waveform signal output from the millimeter wave radar 15, but this is not limited to the above. For example, there may be another program that acquires the waveform signal output from the millimeter wave radar 15 from the OS 21 and detects the gesture based on the acquired waveform signal. Also, the configuration for acquiring gesture information is not limited to the millimeter wave radar 15, and a camera, an infrared sensor, an optical sensor, or the like may be used, or the information may be acquired by a combination of a plurality of configurations.

[0064] In addition, for example, in the present embodiment, after it is determined that a gesture has been detected, the type of the gesture is acquired, but it is also possible to detect a gesture including information on the type. For example, when detecting an upward flick, the upward flick may be detected by analyzing the up, down, left and right after detecting the flick based on the output signal from the millimeter wave radar 15, or the upward flick may be detected immediately based on the output signal from the millimeter wave radar 15.

[0065] In addition, in this embodiment, when an object is not selected, a specific object is determined based on the position of the gesture, but the object does not have to be specified based on the position of the gesture. In other words, when an object is not selected, the object may be in an unselected state. Even when an object is selected, for example, when the position of the detected gesture is not above the selected object, the object at the position corresponding to the position of the gesture may be determined as the specific object, instead of the selected object.

[0066] In addition, in the present embodiment, a gesture is detected when an image to be edited, such as a template, is selected and the editing screen is displayed, but the electronic device 1 may detect a gesture regardless of the display state of the editing screen. For example, while the label creation application 22 is running, the electronic device 1 may periodically acquire the position of the fingertip.

[0067] In addition, although the electronic device 1 having a touch panel has been described in this embodiment, the user IF 13 does not have to be a touch panel. The user IF 13 may be, for example, a combination of a display and an input device such as a keyboard or a mouse. In this case, the millimeter wave radar 15 may be provided around the display. Even in this case, the user can move a cursor using the input device to operate an object, and can also perform actions using gestures.

[0068] In addition, in the present embodiment, the movement of the user's fingertip is detected as a gesture, but the detection target is not limited to the fingertip. In other words, it is not necessary to determine whether the target is a fingertip or not. For example, the flick direction may be detected by the movement of the tip of a touch pen.

[0069] In addition, in any of the flowcharts disclosed in the embodiments, the order of execution of multiple processes in any of the steps can be arbitrarily changed or the processes can be executed in parallel as long as no contradiction occurs in the process content.

[0070] The processes disclosed in the embodiments may be executed by a single CPU, multiple CPUs, hardware such as ASIC, or a combination of these. The processes disclosed in the embodiments may be realized in various forms, such as a recording medium having a program for executing the processes recorded thereon, or a method. [Explanation of symbols]

[0071] 1. Electronic Devices 3. Printer 11 CPU 13 User Interface 15 Millimeter wave radar

Claims

1. A program executable by a computer of an electronic device having a motion sensor and a display, The computer includes: A detection process for detecting a specific gesture based on an output result from the motion sensor; a position acquisition process for acquiring a position of the specific gesture when the specific gesture is detected in the detection process; Run the command, Furthermore, when the specific gesture is detected by the detection process, the computer a type acquisition process for acquiring a type of an object for a specific object that is one of the objects displayed on the display; an action specification process in which an action corresponding to the specific gesture is assigned to each type of object that can be displayed on the display device, and the action specification process specifies an action assigned to the type of object acquired in the type acquisition process; an action execution process for executing the action specified by the action specification process on the specific object; Run the command, In the type acquisition process, and acquiring a type of the specific object by determining, as the specific object, an object, among objects displayed on the display device, in which the position of the gesture acquired by the position acquisition process is in a direction perpendicular to the screen of the display device. A program characterized by:

2. In the program according to claim 1, In the detection process, There are a plurality of types of gestures that can be detected based on an output result from the motion sensor, and one of the plurality of types of detectable gestures is detected as the specific gesture; In the motion identification process, An action is assigned to each combination of a type of object that can be displayed on the display device and a type of gesture that can be detected in the detection process, and an action assigned to a combination of the type of the specific object acquired in the type acquisition process and the specific gesture detected in the detection process is specified. A program characterized by:

3. In the program according to claim 2, In the motion identification process, The combinations of the type of object that can be displayed on the display device and the type of gesture that can be detected in the detection process include combinations to which no action is assigned, and when an action is assigned to the combination of the type of the specific object acquired in the type acquisition process and the specific gesture detected in the detection process, the assigned action is identified and the identified action is executed in the action execution process, and when no action is assigned to the combination of the type of the specific object acquired in the type acquisition process and the specific gesture detected in the detection process, no action is identified and the action for the specific object in the action execution process is skipped. A program characterized by:

4. In the program according to any one of claims 1 to 3, The computer further comprises: receiving, via a user interface of the electronic device, a selection of a type of object that can be displayed on the display and a selection of one of a plurality of actions, and storing the selected type of object and the selected action in association with each other, thereby executing an assignment process of assigning the selected action to the selected type of object as an action corresponding to the specific gesture; A program characterized by:

5. The program according to any one of claims 1 to 4, The types of objects that can be displayed on the display device include a text object that displays text; The text object is assigned an action that changes the attributes of the font of the text. A program characterized by:

6. The program according to any one of claims 1 to 5, The types of objects that can be displayed on the display device include a symbol object that displays one selected from a plurality of preregistered symbols; The symbol objects are assigned actions that change the symbols displayed. A program characterized by:

7. The program according to any one of claims 1 to 6, The types of objects that can be displayed on the display include an image object that displays an image; The image object is assigned an action that changes the color tone of the image. A program characterized by:

8. The program according to any one of claims 1 to 7, The types of objects that can be displayed on the display device include a label object that displays a label; The label object is assigned an action of changing the lengthwise size of the label. A program characterized by:

9. The program according to any one of claims 1 to 8, The types of objects that can be displayed on the display include a cut option object that displays cut options for a label; An action of changing the content of the cut option is assigned to the cut option object. A program characterized by:

10. The program according to any one of claims 1 to 9, the motion sensor is a sensor that receives electromagnetic waves having wavelengths in millimeters or smaller than millimeters and outputs a waveform signal based on the received electromagnetic waves; In the detection process, Detecting the specific gesture based on the waveform signal output from the motion sensor. A program characterized by:

11. A motion sensor; A display device; A computer, Equipped with The computer includes: A detection process for detecting a specific gesture based on an output result from the motion sensor; a position acquisition process for acquiring a position of the specific gesture when the specific gesture is detected in the detection process; Run Furthermore, when the specific gesture is detected by the detection process, the computer a type acquisition process for acquiring a type of an object for a specific object that is one of the objects displayed on the display; an action specification process in which an action corresponding to the specific gesture is assigned to each type of object that can be displayed on the display device, and the action specification process specifies an action assigned to the type of object acquired in the type acquisition process; an action execution process for executing the action specified by the action specification process on the specific object; Run In the type acquisition process, and acquiring a type of the specific object by determining, as the specific object, an object, among objects displayed on the display device, in which the position of the gesture acquired by the position acquisition process is in a direction perpendicular to the screen of the display device.

1. An electronic device comprising:

Citation Information

Patent Citations

  • Gesture using multipoint sensing device

    JP2009525538A

  • Object display method, program, and device

    JP2014002678A

  • Information processing device and program

    JP2015035103A

  • Information processing device, control method and program thereof, information processing system, and control method and program thereof

    JP2016219017A

  • Computer program, display device, display system, and display method

    JP2018171441A