CN114911405A - Control method, control device, electronic device, and readable storage medium - Google Patents

Control method, control device, electronic device, and readable storage medium Download PDF

Info

Publication number
CN114911405A
CN114911405A CN202210585057.7A CN202210585057A CN114911405A CN 114911405 A CN114911405 A CN 114911405A CN 202210585057 A CN202210585057 A CN 202210585057A CN 114911405 A CN114911405 A CN 114911405A
Authority
CN
China
Prior art keywords
symbol combination
target
arrow
symbol
input
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
CN202210585057.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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202210585057.7A priority Critical patent/CN114911405A/en
Publication of CN114911405A publication Critical patent/CN114911405A/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/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text

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)
  • Programmable Controllers (AREA)

Abstract

The embodiment of the application provides a control method, a control device, electronic equipment and a readable storage medium, and belongs to the technical field of electronic equipment. The control method comprises the following steps: in response to a first input, converting the first input to a first target symbol combination, the symbols included in the first target symbol combination being from a target set of symbols; when a first target symbol combination exists in the symbol combination set, taking a control instruction corresponding to the first target symbol combination as a target instruction, wherein the symbol combination set comprises symbols in the symbol combination, and the symbols are from the target symbol set; and executing the operation corresponding to the target instruction.

Description

Control method, control device, electronic device, and readable storage medium
Technical Field
The present application relates to the field of electronic device technologies, and in particular, to a control method, a control device, an electronic device, and a readable storage medium.
Background
With the development of science and technology, electronic devices are more and more widely applied. Generally, in the process of applying the electronic device, a user can control the electronic device through corresponding operations. However, when a user performs a complicated operation on the display screen of the electronic device, for example, the electronic device is operated by a complicated gesture, the amount of computation of the electronic device is large, and the efficiency of controlling the electronic device is low.
Disclosure of Invention
The embodiment of the application provides a control method, a control device, an electronic device and a readable storage medium, so as to solve the problem that in the related art, when complex operations are performed on a display screen of the electronic device, the operation amount of the electronic device is large, and further the efficiency of controlling the electronic device is low.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a control method, which is applied to an electronic device, and the control method includes:
in response to a first input, converting the first input to a first target symbol combination, the first target symbol combination comprising symbols from a target set of symbols;
when the first target symbol combination exists in a symbol combination set, taking a control instruction corresponding to the first target symbol combination as a target instruction, wherein the symbol combination set comprises symbols in symbol combinations, and the symbols are from the target symbol set;
and executing the operation corresponding to the target instruction.
Optionally, the converting the first input into a first target symbol combination includes:
splitting the moving track into a plurality of moving track sections according to the inflection point and the intersection point in the first input moving track;
when the moving track section is a closed track section, selecting a target symbol corresponding to the closed track section from the target symbol set, wherein the target symbol forms the first target symbol combination;
when the moving track section is a non-closed track section, selecting a target symbol corresponding to the moving direction from the target symbol set according to the moving direction of the moving track section;
and arranging and combining the target symbols according to the connection sequence of the plurality of movement track segments to obtain the first target symbol combination.
Optionally, the responding to a first input comprises:
in response to a first input within a preset time period.
Optionally, the target symbol set comprises: a circle, an arrow in a first direction, an arrow in a second direction, an arrow in a third direction, an arrow in a fourth direction, an arrow in a fifth direction, an arrow in a sixth direction, an arrow in a seventh direction, and an arrow in an eighth direction;
the circle is a symbol corresponding to the movement track section which is a closed track; the arrow in the first direction is a symbol represented by an included angle between the moving track segment and the positive direction of the first coordinate axis in a first angle range, the arrow in the second direction is a symbol represented by an included angle between the moving track segment and the negative direction of the first coordinate axis in a second angle range, the arrow in the third direction is a symbol represented by an included angle between the moving track segment and the positive direction of the first coordinate axis in a counterclockwise direction in a third angle range, the arrow in the fourth direction is a symbol represented by an included angle between the moving track segment and the negative direction of the first coordinate axis in a clockwise direction in a fourth angle range, the arrow in the fifth direction is a symbol represented by an included angle between the moving track segment and the positive direction of the second coordinate axis in a fifth angle range, and the arrow in the sixth direction is a symbol represented by an included angle between the moving track segment and the negative direction of the second coordinate axis in a sixth angle range, the arrow in the seventh direction is a symbol represented by an included angle between the moving track section and the positive direction of the second coordinate axis in a counterclockwise direction in a seventh angle range, and the arrow in the eighth direction is a symbol represented by an included angle between the moving track section and the negative direction of the second coordinate axis in a clockwise direction in an eighth angle range;
wherein, first angle scope, second angle scope third angle scope fourth angle scope fifth angle scope sixth angle scope seventh angle scope and eighth angle scope forms 360 degrees circumferences, first coordinate axis with the second coordinate axis is perpendicular.
Optionally, the electronic device includes a rolling screen, and when the first target symbol combination exists in the symbol combination set, before taking a control instruction corresponding to the first target symbol combination as a target instruction, the control method further includes:
when the curled screen is in a closed state, acquiring a symbol combination set corresponding to the closed state, wherein symbol combinations included in the symbol combination set corresponding to the closed state correspond to unfolding instructions;
and when the curled screen is in an unfolded state, acquiring a symbol combination set corresponding to the unfolded state, wherein symbol combinations included in the symbol combination set corresponding to the unfolded state correspond to closing instructions.
Optionally, the control method further includes:
entering an editing mode in response to the second input;
in response to a third input by the user for the target instruction, converting the third input into a second target symbol combination;
and establishing a corresponding relation between a second target symbol combination and the target instruction.
Optionally, before said converting the first input into the first target symbol combination in response to the first input, the control method further comprises:
receiving a fourth input, and entering a gesture recognition mode in response to the fourth input.
Optionally, the control method further includes:
and when the first target symbol combination does not exist in the symbol combination set, displaying prompt information, wherein the prompt information is used for indicating that a control instruction corresponding to the first target symbol combination does not exist.
In a second aspect, an embodiment of the present application provides a control apparatus, which is applied to an electronic device, and the control apparatus includes:
a first conversion module, configured to convert a first input into a target symbol combination in response to the first input, wherein a symbol included in the target symbol combination is from a target symbol set;
a determining module, configured to, when the target symbol combination exists in a symbol combination set, take a control instruction corresponding to the target symbol combination as a target instruction, where a symbol in a symbol combination included in the symbol combination set is from the target symbol set;
and the execution module is used for executing the operation corresponding to the target instruction.
Optionally, the first conversion module includes:
the splitting unit is used for splitting the moving track into a plurality of moving track sections according to the inflection points and the intersection points in the first input moving track;
a first selecting unit, configured to select, when the moving trajectory segment is a closed trajectory segment, a target symbol corresponding to the closed trajectory segment from the target symbol set, where the target symbol constitutes the first target symbol combination;
a second selecting unit, configured to select, when the moving trajectory segment is a non-closed trajectory segment, a target symbol corresponding to the moving direction from the target symbol set according to the moving direction of the moving trajectory segment;
and the arranging unit is used for arranging and combining the target symbols according to the connection sequence of the plurality of movement track sections to obtain the first target symbol combination.
Optionally, the first conversion module is configured to:
in response to a first input within a preset time period.
Optionally, the target symbol set comprises: a circle, an arrow in a first direction, an arrow in a second direction, an arrow in a third direction, an arrow in a fourth direction, an arrow in a fifth direction, an arrow in a sixth direction, an arrow in a seventh direction, and an arrow in an eighth direction;
the circle is a symbol corresponding to the movement track section which is a closed track; the arrow in the first direction is a symbol represented by an included angle between the moving track segment and the positive direction of the first coordinate axis in a first angle range, the arrow in the second direction is a symbol represented by an included angle between the moving track segment and the negative direction of the first coordinate axis in a second angle range, the arrow in the third direction is a symbol represented by an included angle between the moving track segment and the positive direction of the first coordinate axis in a counterclockwise direction in a third angle range, the arrow in the fourth direction is a symbol represented by an included angle between the moving track segment and the negative direction of the first coordinate axis in a clockwise direction in a fourth angle range, the arrow in the fifth direction is a symbol represented by an included angle between the moving track segment and the positive direction of the second coordinate axis in a fifth angle range, and the arrow in the sixth direction is a symbol represented by an included angle between the moving track segment and the negative direction of the second coordinate axis in a sixth angle range, the arrow in the seventh direction is a symbol represented by an included angle between the moving track section and the positive direction of the second coordinate axis in a counterclockwise direction in a seventh angle range, and the arrow in the eighth direction is a symbol represented by an included angle between the moving track section and the negative direction of the second coordinate axis in a clockwise direction in an eighth angle range;
wherein, first angle range the second angle scope the third angle scope the fourth angle scope the fifth angle scope the sixth angle scope the seventh angle scope and the eighth angle scope forms 360 degrees of circumference, first coordinate axis with the second coordinate axis is perpendicular.
Optionally, the electronic device includes a curling screen, and the control device further includes:
the first acquisition module is used for acquiring a symbol combination set corresponding to the closed state when the curled screen is in the closed state, wherein symbol combinations included in the symbol combination set corresponding to the closed state correspond to unfolding instructions;
and the second acquisition module is used for acquiring a symbol combination set corresponding to the expansion state when the curling screen is in the expansion state, wherein symbol combinations included in the symbol combination set corresponding to the expansion state correspond to the closing instruction.
Optionally, the control device further comprises:
an editing module for entering an editing mode in response to the second input;
a second conversion module to convert, in response to a third input for a target instruction, the third input to a second target symbol combination;
and the establishing module is used for establishing the corresponding relation between the second target symbol combination and the target instruction.
Optionally, the control device further comprises:
and the receiving module is used for receiving a fourth input and responding to the fourth input to enter a gesture recognition mode.
Optionally, the control device further comprises:
and the display module is used for displaying prompt information when the first target symbol combination does not exist in the symbol combination set, wherein the prompt information is used for indicating that a control instruction corresponding to the first target symbol combination does not exist.
In a third aspect, an embodiment of the present application provides an electronic device, including a processor and a memory, where the memory stores a program or instructions executable on the processor, and the program or instructions, when executed by the processor, implement the steps of the control method according to the first aspect.
In a fourth aspect, the present invention provides a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the control method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In a sixth aspect, embodiments of the present application provide a computer program product, stored on a storage medium, for execution by at least one processor to implement the method according to the first aspect.
In an embodiment of the application, in response to a first input, converting the first input into a first target symbol combination, the symbols included in the first target symbol combination being from a target symbol set; when a first target symbol combination exists in the symbol combination set, taking a control instruction corresponding to the first target symbol combination as a target instruction, wherein the symbol combination set comprises symbols in the symbol combination, and the symbols are from the target symbol set; and executing the operation corresponding to the target instruction. That is, in the embodiment of the present application, the first input is converted into the first target symbol combination, and then when it is determined that the first target symbol combination exists in the symbol combination set, the control instruction corresponding to the first target symbol combination is taken as the target instruction, and finally, the operation corresponding to the target instruction is executed, that is, the instruction is determined by using the simpler symbol, and the electronic device is controlled, so that the problem that the control efficiency for the electronic device is low when the first input is more complex is avoided.
Drawings
Fig. 1 is a flowchart illustrating a control method according to an embodiment of the present application;
fig. 2 is a schematic diagram illustrating a user performing touch on a display screen according to an embodiment of the present disclosure;
FIG. 3 is a schematic diagram of a movement trajectory crossing provided in an embodiment of the present application;
fig. 4 is a schematic diagram illustrating a first coordinate axis and a second coordinate axis according to an embodiment of the present disclosure;
FIG. 5 is a schematic diagram illustrating an expanded electronic device according to an embodiment of the present disclosure;
fig. 6 is a second schematic diagram illustrating a closed electronic device according to an embodiment of the present disclosure;
FIG. 7 is a schematic diagram of a control device according to an embodiment of the present disclosure;
fig. 8 is a schematic diagram of an electronic device according to an embodiment of the present application;
fig. 9 is a schematic diagram illustrating a hardware structure of an electronic device according to an embodiment of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived from the embodiments in the present application by a person skilled in the art, are within the scope of protection of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The following describes the control method provided by the embodiments of the present application in detail through specific embodiments and application scenarios thereof with reference to the accompanying drawings.
Fig. 1 is a flowchart illustrating a control method according to an embodiment of the present application, where the control method is applied to an electronic device. The electronic device may be a terminal equipped with a touch display screen. For example, the terminal may be a mobile phone, a tablet computer, an e-book reader, smart glasses, a smart watch, a music player, a notebook computer, a laptop portable computer, a desktop computer, and the like. As shown in fig. 1, the control method includes:
step 101: in response to the first input, the first input is converted to a first target symbol combination, the symbols included in the first target symbol combination being from a target set of symbols.
In this embodiment of the application, the entire display interface of the display screen of the electronic device may be used as a touch area, and a user may perform touch at any position on the display screen, that is, the user performs a first input at any position on the display screen, and the electronic device may respond to the first input. In addition, an operation area is preset on a display interface of a display screen of the electronic device, a user performs touch control in the operation area, that is, the user performs a first input in the operation area, and the electronic device may respond to the first input. If the user makes the first input outside the operation area, the electronic device does not respond to the first input. And the area of the operation area is smaller than that of the display interface.
For example, the electronic device is a mobile phone, the display interface 900 of the mobile phone has an operation region 901, the operation region 901 may be a partial region of the display interface 900, and the user performs a first input in the operation region 904, so that the electronic device can respond to the first input.
In addition, in the embodiment of the present application, the first input may be a click, long press, slide, or the like type of input.
In addition, in the embodiment of the application, a user performs a first input on a display interface of the electronic device, and a moving track of the first input can be synchronously displayed in real time on the display interface. When the whole interface of the display interface is used as a touch area, a user carries out first input on the display interface, and the display interface displays a moving track of the first input. When the operation area is preset on the display interface, a user performs a first input in the operation area, and the operation area displays a moving track of the first input. When the display interface has the operation area, if the user performs the first input in the area outside the operation area, the area outside the operation area does not display the movement track of the first input.
For example, when the user performs a sliding input on the display interface of the electronic device and the user's finger draws a triangle on the display interface, a triangle trajectory is displayed on the display interface. For another example, if the user draws a circle in the operation area of the display interface, the operation area displays a circular track.
In addition, in the embodiment of the application, the electronic device may start displaying on the display screen after unlocking, so that the user may perform the first input on the displayed display interface or perform the first input in the operation area of the display interface of the display screen.
The unlocking symbol can be prestored, when the user unlocks the electronic device, the display screen of the electronic device responds to touch of the user, a track of the touch of the user can be displayed on the display screen, the track of the touch is converted into a gesture symbol, the gesture symbol is compared with the unlocking symbol, if the gesture symbol is the same as the unlocking symbol, the electronic device is unlocked, and if the gesture symbol is different from the unlocking symbol, the electronic device continues to be in a locked state.
It should be noted that the unlocking symbol may be a symbol such as a circle, a triangle, an arrow with a direction, and the like. When the touch trajectory is converted into a gesture symbol, the touch trajectory may be converted into a symbol such as a circle, a triangle, or an arrow with a direction, and the determination may be specifically performed according to the touch trajectory of the user.
For example, a user performs sliding touch on a display screen, the trajectory of the sliding touch of the user is triangular, the trajectory of the sliding touch of the user is converted into a gesture symbol of a left arrow, a pre-stored unlocking symbol is an unlocking symbol of the left arrow, and the gesture symbol after the trajectory of the sliding touch of the user is converted is the same as the unlocking symbol, so that the electronic device is unlocked.
In addition, the target symbol set may be pre-stored, or the target symbol set may be obtained in real-time, i.e. while responding to the first input. In addition, the target symbol set comprises a plurality of symbols, and the plurality of symbols are different from each other.
For example, the target symbol set includes 5 symbols, and any two symbols are not the same. For another example, the target symbol set includes 5 symbols, and the 5 symbols are respectively an arrow pointing horizontally to the left, an arrow pointing horizontally to the right, an arrow pointing vertically upwards, an arrow pointing vertically downwards, and a dot.
In addition, in this embodiment of the application, when a user performs a first input on a display screen of the electronic device, the display screen displays a movement trajectory of the first input, and in this case, an implementation manner of converting the first input into a first target symbol combination may be: the movement trajectory of the first input is converted into a first target symbol combination.
Additionally, in some implementations, the implementation of step 101 may be: splitting the moving track into a plurality of moving track sections according to the inflection point and the intersection point in the first input moving track; when the moving track section is a closed track section, selecting target symbols corresponding to the closed track section from a target symbol set, wherein the target symbols form a first target symbol combination; when the moving track section is a non-closed track section, selecting a target symbol corresponding to the moving direction from the target symbol set according to the moving direction of the moving track section; and arranging and combining the target symbols according to the connection sequence of the plurality of movement track segments to obtain a first target symbol combination.
When the display screen of the electronic equipment carries out the first input, the display screen displays the movement track of the first input, so that the movement track of the first input can be determined. After the movement trajectory of the first input is determined, intersections and inflection points in the movement trajectory may be determined. The intersection point of the movement locus refers to a point at which the movement locus intersects, and the inflection point of the movement locus refers to a point at which the unevenness of the movement locus changes. That is, when the inflection point in the trajectory is identified, a point at which the irregularity of the trajectory changes, that is, the irregularity of the trajectory is different on both sides of the point, and the point can be identified as the inflection point of the trajectory.
In addition, when the moving track is split into a plurality of moving track sections according to the inflection point and the intersection point in the first input moving track, if only the intersection point exists in the moving track and no inflection point exists in the moving track, the moving track is split into the plurality of moving track sections according to the intersection point; if the moving track only has an inflection point and does not have an intersection point, splitting the moving track into a plurality of moving track sections according to the inflection point; if the inflection point and the intersection point exist in the moving track at the same time, the moving track is divided into a plurality of moving track sections according to the inflection point and the intersection point.
When the moving track is split into a plurality of moving track segments according to the intersection point, one intersection point can split the moving track into at least four moving track segments.
For example, the movement track is in a cross shape, so that the movement track can be determined to have an intersection point, and the movement track can be divided into four movement track sections according to the intersection point.
In addition, when the moving trajectory is split into a plurality of moving trajectory segments according to the inflection point, one inflection point can split the moving trajectory into at least two moving trajectory segments.
For example, if the movement trajectory has a point a, and the unevenness of the movement trajectory on one side of the point a is concave and the unevenness of the movement trajectory on the other side of the point a is convex, the point a can be regarded as one inflection point of the movement trajectory, and the movement trajectory can be divided into two movement trajectory segments.
In addition, when the moving track is split into a plurality of moving track sections according to the inflection points and the intersection points, the moving track can be split according to the intersection points, and then the moving track sections with the inflection points after splitting are continuously split until the moving track is completely split according to the inflection points and the intersection points.
For example, as shown in fig. 3, the moving trajectory has a trajectory a and a trajectory B, where the trajectory a intersects the trajectory B, that is, the moving trajectory has an intersection a, the trajectory a has an inflection point a, when the moving trajectory is split according to the inflection point and the intersection, the trajectory a and the trajectory B may be split according to the intersection a, so that the trajectory a is split into a trajectory a1 and a trajectory a2, the trajectory B is split into trajectories B1 and B2, the inflection point a is on the trajectory a1, and then the trajectory a1 is split into a trajectory a11 and a trajectory a12 according to the inflection point, so that the moving trajectories a and B are finally split into trajectories a11, trajectories a12, trajectories a2, trajectories B1, and trajectories B2 according to the inflection point and the intersection.
Of course, when the moving trajectory is split into a plurality of moving trajectory segments according to the inflection points and the intersections, the moving trajectory may be split according to the inflection points first, and then the moving trajectory segments are continuously split according to the intersections until the moving trajectory is completely split according to the inflection points and the intersections. The embodiments of the present application are not limited thereto.
In addition, after the moving track is split into a plurality of moving track segments, the moving track segments may be closed track segments, and at this time, the target symbols corresponding to the closed track segments may be directly selected from the target symbol set. And the target symbol set is provided with target symbols corresponding to the closed track segments. After the target symbol corresponding to the closed track segment is selected, the target symbol can be used as a first target symbol combination.
In addition, when the moving track segment is a non-closed track segment, a target symbol corresponding to the moving direction can be selected from the target symbol set according to the moving direction of the moving track segment. The moving directions of the moving tracks are different, and the target symbols corresponding to the moving tracks are also different.
In addition, the target symbol set includes: a circle, an arrow in a first direction, an arrow in a second direction, an arrow in a third direction, an arrow in a fourth direction, an arrow in a fifth direction, an arrow in a sixth direction, an arrow in a seventh direction, and an arrow in an eighth direction. The circle is a symbol corresponding to the movement track section which is a closed track; the arrow in the first direction is a symbol represented by an included angle between the moving track section and the positive direction of the first coordinate axis in a first angle range, the arrow in the second direction is a symbol represented by an included angle between the moving track section and the negative direction of the first coordinate axis in a second angle range, the arrow in the third direction is a symbol represented by an included angle between the moving track section and the positive direction of the first coordinate axis in a counterclockwise direction in a third angle range, the arrow in the fourth direction is a symbol represented by an included angle between the moving track section and the negative direction of the first coordinate axis in a clockwise direction in a fourth angle range, the arrow in the fifth direction is a symbol represented by an included angle between the moving track section and the positive direction of the second coordinate axis in a fifth angle range, and the arrow in the sixth direction is a symbol represented by an included angle between the moving track section and the negative direction of the second coordinate axis in a sixth angle range, the arrow in the seventh direction is a symbol represented by an included angle between the moving track section and the positive direction of the second coordinate axis in the seventh angle range in a counterclockwise direction, and the arrow in the eighth direction is a symbol represented by an included angle between the moving track section and the negative direction of the second coordinate axis in the eighth angle range in a clockwise direction. The first angle range, the second angle range, the third angle range, the fourth angle range, the fifth angle range, the sixth angle range, the seventh angle range and the eighth angle range form a 360-degree circumference, and the first coordinate axis is perpendicular to the second coordinate axis.
The first direction, the second direction, the third direction, the fourth direction, the fifth direction, the sixth direction, the seventh direction and the eighth direction are different from each other. In addition, the first angle range, the second angle range, the third angle range, the fourth angle range, the fifth angle range, the sixth angle range, the seventh angle range, and the eighth angle range may be set according to actual needs, and the embodiment of the present application is not limited herein.
In addition, the first coordinate axis may be oriented parallel to one of two adjacent sides of the display screen, and the second coordinate axis may be oriented parallel to the other of the two adjacent sides of the display screen. For example, as shown in fig. 4, the first coordinate axis is parallel to one short side of the display screen, and the second coordinate axis is parallel to one long side of the display screen.
For another example, as shown in fig. 4, the symbol corresponding to the closed movement track segment is "good quality"; the corresponding sign is "→" in the range that the included angle between the moving track section and the positive direction of the first coordinate axis is less than or equal to 20 degrees; the corresponding symbol is "×") in the range that the included angle between the moving track segment and the positive direction of the second coordinate axis is less than or equal to 20 degrees; the corresponding symbol in the range that the included angle between the movement track section and the first coordinate axis in the negative direction is less than or equal to 20 degrees is ←; the corresponding symbol is "↓" in the range that the negative direction included angle of the moving track section and the second coordinate axis is less than or equal to 20 degrees; the sign of the counterclockwise included angle between the moving track segment and the positive direction of the first coordinate axis in the range of 20-70 degrees is
Figure BDA0003663844680000121
The sign of the counterclockwise included angle between the moving track segment and the positive direction of the second coordinate axis in the range of 20-70 degrees is
Figure BDA0003663844680000122
The sign of the negative clockwise included angle between the moving track segment and the first coordinate axis in the range of 20-70 degrees is
Figure BDA0003663844680000123
The sign of the negative clockwise included angle between the moving track segment and the second coordinate axis in the range of 20-70 degrees is
Figure BDA0003663844680000124
Namely, the first angle range is less than or equal to 20 degrees with the positive direction of the first coordinate axis, the second angle range is less than or equal to 20 degrees with the negative direction of the first coordinate axis, the third angle range is 20 degrees to 70 degrees with the positive direction of the first coordinate axis in a counterclockwise direction, the fourth angle range is 20 degrees to 70 degrees with the negative direction of the first coordinate axis in a clockwise direction, the fifth angle range is less than or equal to 20 degrees with the positive direction of the second coordinate axis, the sixth angle range is less than or equal to 20 degrees with the negative direction of the second coordinate axis, the seventh angle range is 20 degrees to 70 degrees with the positive direction of the second coordinate axis in a counterclockwise direction, the eighth angle range is 20 degrees to 70 degrees with the negative direction of the second coordinate axis in a clockwise direction, and thus the first angle range, the second angle range, the third angle range, the fourth angle range, the fifth angle range, the sixth angle range, The seventh angular range and the eighth angular range form a 360 degree circumference. So that the corresponding symbol can be selected from the target symbol set at any angle of the movement track segment on the display screen.
In addition, after the target symbol corresponding to the moving direction is selected from the target symbol set, the target symbols can be arranged and combined according to the connection sequence of the plurality of moving track segments to obtain a first target symbol combination. And the connection sequence of the movement tracks is related to the touch sequence of the user. In addition, when the connection order of the movement tracks is determined, the connection order may also be determined according to the display order of the movement tracks, for example, when the movement track segment a is displayed first and then the movement track segment B is displayed, the connection order is the movement track a and the movement track B.
In addition, when the target symbols are combined in a permutation mode, the target symbols corresponding to the movement track segments are sequenced according to the connection sequence, and therefore the first target symbol combination is obtained.
For example, the target symbol corresponding to the moving direction is selected from the target symbol set as
Figure BDA0003663844680000131
And "←", in the order of connection, "←" is the first,
Figure BDA0003663844680000132
the second one of the first to third groups,
Figure BDA0003663844680000133
and thirdly, sorting, and obtaining a first target symbol combination as "←" <' > ", and,
Figure BDA0003663844680000134
Additionally, in some implementations, the implementation responsive to the first input may: in response to a first input within a preset time period. That is, all inputs within the preset duration are used as the first inputs, so that all inputs within the preset duration are used as the first inputs when the user performs touch on the display screen of the electronic device.
For example, within a duration of 1 second, a user first draws a horizontal line on the display screen, and then draws another vertical line, where the vertical line intersects with the horizontal line, and the vertical line and the horizontal line are both the movement trajectories of the first input performed by the user for the display screen.
Additionally, in some implementations, prior to converting the first input to the first target symbol combination in response to the first input, the control method may further include: and receiving a fourth input, and entering a gesture recognition mode in response to the fourth input.
The fourth input may be a click input, and when the electronic device has a control key, the fourth input may also be a press input for the control key, and the fourth input may also be a long press input for the display screen. The specific form of the fourth input is not limited herein.
In addition, the gesture recognition mode is entered after the fourth input is received, so that the problem of misoperation of the electronic equipment due to mistaken touch of the user can be avoided.
In addition, in some implementations, when the first target symbol combination does not exist in the set of symbol combinations, prompt information is displayed, the prompt information indicating that there is no control instruction corresponding to the first target symbol combination.
When the first target symbol combination does not exist in the symbol combination set, the control instruction corresponding to the first target symbol combination does not exist, so that the fact that the operation of the user on the electronic equipment is invalid is indicated, and therefore prompting information can be displayed to prompt the user.
Step 102: and when a first target symbol combination exists in the symbol combination set, taking a control instruction corresponding to the first target symbol combination as a target instruction, wherein the symbol combination set comprises symbols in the symbol combinations, and the symbols are from the target symbol set.
After the first target symbol combination is determined, the symbol combination which is the same as the first target combination can be searched in the symbol combination set, and if the symbol combination which is the same as the first target combination is searched in the symbol combination set, the first target symbol combination is determined to exist in the symbol combination set; and if the symbol combination which is the same as the first target combination is not found in the symbol combination set, determining that the first target symbol combination does not exist in the symbol combination set. In addition, after the first target symbol combination is determined, the symbol combination with the deviation value range of the deviation between the first target combination and the symbol combination can be searched, and if the symbol combination with the deviation between the first target combination and the symbol combination is searched in the symbol combination set, the first target symbol combination is determined to exist in the symbol combination set; and if the symbol combination with the deviation value within the deviation value range is not found in the symbol combination set, determining that the first target symbol combination does not exist in the symbol combination set.
In addition, the symbol combinations in the symbol combination set all correspond to the control instructions, that is, the symbol combinations and the control instructions are in a one-to-one correspondence relationship, or one symbol combination corresponds to two or more control instructions, so that when a first target symbol combination exists in the symbol combination set, the control instruction corresponding to the first target symbol combination can be determined, and the control instruction is taken as the target instruction.
Additionally, in some implementations, the electronics may include a scrolling screen, and prior to step 102, the control method may further include: when the curled screen is in a closed state, acquiring a symbol combination set corresponding to the closed state, wherein symbol combinations included in the symbol combination set corresponding to the closed state correspond to the unfolding instruction; and when the rolling screen is in the unfolding state, acquiring a symbol combination set corresponding to the unfolding state, wherein the symbol combination included in the symbol combination set corresponding to the unfolding state corresponds to the closing instruction.
Wherein the curl flat condition can be determined. The comb teeth of the electronic equipment are provided with the elastic sheets and the contacts, when the curling screen is closed, the elastic sheets are contacted with the contacts, and when the curling screen is unfolded, the elastic sheets are separated from the contacts.
For example, as shown in fig. 5 and 6, the electronic device includes a first housing 10 and a second housing 20, the roll screen is disposed on the first housing 10 and the second housing 20, an elastic sheet is disposed in the first housing 10, a contact is disposed in the second housing 20, the elastic sheet is separated from the contact when the first housing 10 is separated from the second housing 20, so as to determine that the roll screen is in the unfolded state, and the elastic sheet is contacted with the contact when the first housing 10 is contacted with the second housing 20, so as to determine that the roll screen is in the closed state.
In addition, when the curled screen is determined to be in the closed state, a symbol combination set corresponding to the closed state can be acquired, and a symbol combination included in the symbol combination set corresponding to the closed state corresponds to the unfolding instruction. When the rolling screen is determined to be in the unfolding state, a symbol combination set corresponding to the unfolding state can be obtained, and symbol combinations included in the symbol combination set corresponding to the unfolding state correspond to the closing instruction. That is, when the curling screen is determined to be in the closed state, the unfolding instruction is acquired, and when the curling screen is determined to be in the unfolding state, the closing instruction is acquired.
Step 103: and executing the operation corresponding to the target instruction.
After the target is determined, the operation corresponding to the target instruction can be executed to correspondingly control the electronic device.
The operation corresponding to the target instruction includes, but is not limited to, opening or closing an application program, unlocking or locking the electronic device, setting an application program of the electronic device, opening or closing a scrolling screen, and the like.
It should be noted that, in step 102, when it is determined that the rolled screen is in the closed state, a symbol combination set corresponding to the closed state is obtained, and a symbol combination included in the symbol combination set corresponding to the closed state corresponds to the unfolding instruction, which is equivalent to obtaining the unfolding instruction, so that in step 103, the rolled screen of the electronic device can be unfolded according to the unfolding instruction; when the curled screen is determined to be in the unfolded state, the symbol set corresponding to the unfolded state is obtained, and the symbol combination included in the symbol combination set corresponding to the unfolded state corresponds to the closing instruction, so that the closing instruction is obtained, and in step 103, the curled screen of the electronic device can be closed according to the closing instruction.
In addition, the motor is usually arranged in the electronic equipment, when the curled screen is driven to be unfolded or closed by the motor, the motor can be controlled to rotate forwards according to an unfolding instruction, so that the motor drives the curled screen to be unfolded, and the motor can be controlled to rotate backwards according to a closing instruction, so that the motor drives the curled screen to be closed.
In addition, in some implementations, the control method may further include: entering an editing mode in response to the second input; in response to a third input by the user for the target instruction, converting the third input into a second target symbol combination; and establishing a corresponding relation between the second target symbol combination and the target instruction.
Wherein the user may make a second input on the electronic device to enter the editing mode. Then, the user can perform third input aiming at the target instruction, the electronic equipment can convert the third input into a second target symbol combination, and then the corresponding relation between the second target symbol combination and the target instruction can be established, so that the corresponding relation between the symbol combination and the target instruction can be established in a user-defined way.
In an embodiment of the present application, in response to a first input, converting the first input into a first target symbol combination, the symbols included in the first target symbol combination being from a target symbol set; when a first target symbol combination exists in the symbol combination set, taking a control instruction corresponding to the first target symbol combination as a target instruction, wherein the symbol combination set comprises symbols in the symbol combination, and the symbols are from the target symbol set; and executing the operation corresponding to the target instruction. That is, in the embodiment of the present application, the first input is converted into the first target symbol combination, and then when it is determined that the first target symbol combination exists in the symbol combination set, the control instruction corresponding to the first target symbol combination is taken as the target instruction, and finally, the operation corresponding to the target instruction is executed, that is, the instruction is determined by using the simpler symbol, and the electronic device is controlled, so that the problem that the control efficiency for the electronic device is low when the first input is more complex is avoided.
In the control method provided by the embodiment of the application, the execution main body can be a control device. In the embodiment of the present application, a method for controlling a control device is taken as an example, and the control device provided in the embodiment of the present application is described.
Fig. 7 is a schematic diagram of a control device according to an embodiment of the present application, and as shown in fig. 7, the control device 700 includes:
a first conversion module 701, configured to convert, in response to a first input, the first input into a target symbol combination, where a symbol included in the target symbol combination is from a target symbol set;
a determining module 702, configured to, when a target symbol combination exists in a symbol combination set, take a control instruction corresponding to the target symbol combination as a target instruction, where the symbol combination set includes a symbol in the symbol combination, and the symbol is from the target symbol set;
the execution module 703 is configured to execute an operation corresponding to the target instruction.
Optionally, the first conversion module 701 includes:
the splitting unit is used for splitting the moving track into a plurality of moving track sections according to the inflection points and the intersection points in the first input moving track;
the first selection unit is used for selecting target symbols corresponding to the closed track section from the target symbol set when the moving track section is the closed track section, and the target symbols form a first target symbol combination;
the second selection unit is used for selecting a target symbol corresponding to the moving direction from the target symbol set according to the moving direction of the moving track section when the moving track section is a non-closed track section;
and the arrangement unit is used for arranging and combining the target symbols according to the connection sequence of the plurality of movement track segments to obtain a first target symbol combination.
Optionally, the first conversion module 701 is configured to:
in response to a first input within a preset time period.
Optionally, the target symbol set comprises: a circle, a first direction arrow, a second direction arrow, a third direction arrow, a fourth direction arrow, a fifth direction arrow, a sixth direction arrow, a seventh direction arrow, and an eighth direction arrow;
the circle is a symbol corresponding to the movement track section which is a closed track; the arrow in the first direction is a symbol represented by an included angle between the moving track section and the positive direction of the first coordinate axis in a first angle range, the arrow in the second direction is a symbol represented by an included angle between the moving track section and the negative direction of the first coordinate axis in a second angle range, the arrow in the third direction is a symbol represented by an included angle between the moving track section and the positive direction of the first coordinate axis in a counterclockwise direction in a third angle range, the arrow in the fourth direction is a symbol represented by an included angle between the moving track section and the negative direction of the first coordinate axis in a clockwise direction in a fourth angle range, the arrow in the fifth direction is a symbol represented by an included angle between the moving track section and the positive direction of the second coordinate axis in a fifth angle range, and the arrow in the sixth direction is a symbol represented by an included angle between the moving track section and the negative direction of the second coordinate axis in a sixth angle range, the arrow in the seventh direction is a symbol represented by an included angle between the moving track section and the positive direction of the second coordinate axis in a seventh angle range in a counterclockwise direction, and the arrow in the eighth direction is a symbol represented by an included angle between the moving track section and the negative direction of the second coordinate axis in a clockwise direction in an eighth angle range;
the third angle range, the fourth angle range, the seventh angle range and the eighth angle range form a circumference of 360 degrees, and the first coordinate axis is perpendicular to the second coordinate axis.
Optionally, the electronic device includes a roll screen, and the control device further includes:
the first acquisition module is used for acquiring a symbol combination set corresponding to a closed state when the curled screen is in the closed state, wherein symbol combinations included in the symbol combination set corresponding to the closed state correspond to the unfolding instruction;
and the second acquisition module is used for acquiring a symbol combination set corresponding to the expansion state when the curled screen is in the expansion state, wherein the symbol combination included in the symbol combination set corresponding to the expansion state corresponds to the closing instruction.
Optionally, the control device further comprises:
an editing module for entering an editing mode in response to the second input;
a second conversion module for converting a third input to a second target symbol combination in response to the third input for the target instruction;
and the establishing module is used for establishing the corresponding relation between the second target symbol combination and the target instruction.
Optionally, the control device further comprises:
and the receiving module is used for receiving a fourth input and responding to the fourth input to enter a gesture recognition mode.
Optionally, the control device further comprises:
and the display module is used for displaying prompt information when the first target symbol combination does not exist in the symbol combination set, wherein the prompt information is used for indicating that a control instruction corresponding to the first target symbol combination does not exist.
In an embodiment of the present application, in response to a first input, converting the first input into a first target symbol combination, the symbols included in the first target symbol combination being from a target symbol set; when a first target symbol combination exists in the symbol combination set, taking a control instruction corresponding to the first target symbol combination as a target instruction, wherein the symbol combination set comprises symbols in the symbol combination, and the symbols are from the target symbol set; and executing the operation corresponding to the target instruction. That is, in the embodiment of the present application, the first input is converted into the first target symbol combination, and then when it is determined that the first target symbol combination exists in the symbol combination set, the control instruction corresponding to the first target symbol combination is taken as the target instruction, and finally, the operation corresponding to the target instruction is executed, that is, the instruction is determined by using the simpler symbol, and the electronic device is controlled, so that the problem that the control efficiency for the electronic device is low when the first input is more complex is avoided.
The control device in the embodiment of the present application may be an electronic device, or may be a component in an electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal, or may be a device other than a terminal. The electronic Device may be, for example, a Mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic Device, a Mobile Internet Device (MID), an Augmented Reality (AR)/Virtual Reality (VR) Device, a robot, a wearable Device, an ultra-Mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and may also be a server, a Network Attached Storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), an assistant, or a self-service machine, and the embodiments of the present application are not limited in particular.
The control device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The control device provided in the embodiment of the present application can implement each process implemented in the method embodiment of fig. 1, and is not described here again to avoid repetition.
Optionally, as shown in fig. 8, an electronic device 800 is further provided in this embodiment of the present application, and includes a processor 801 and a memory 802, where the memory 82 stores a program or an instruction that can be executed on the processor 801, and when the program or the instruction is executed by the processor 801, the steps of the control method embodiment are implemented, and the same technical effects can be achieved, and are not described again here to avoid repetition.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 9 is a schematic diagram of a hardware structure of an electronic device implementing the embodiment of the present application.
The electronic device 1000 includes, but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010.
Those skilled in the art will appreciate that the electronic device 1000 may further comprise a power supply (e.g., a battery) for supplying power to the various components, and the power supply may be logically connected to the processor 1010 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. Drawing (A)9The electronic device structures shown in the figures do not constitute limitations of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is not repeated here.
Wherein the processor 1010 is configured to convert the first input into a first target symbol combination in response to the first input, the symbols included in the first target symbol combination being from the target symbol set;
when a first target symbol combination exists in the symbol combination set, taking a control instruction corresponding to the first target symbol combination as a target instruction, wherein the symbol combination set comprises symbols in the symbol combination, and the symbols are from the target symbol set;
and executing the operation corresponding to the target instruction.
In an embodiment of the present application, in response to a first input, converting the first input into a first target symbol combination, the symbols included in the first target symbol combination being from a target symbol set; when a first target symbol combination exists in the symbol combination set, taking a control instruction corresponding to the first target symbol combination as a target instruction, wherein the symbol combination set comprises symbols in the symbol combination, and the symbols are from the target symbol set; and executing the operation corresponding to the target instruction. That is, in the embodiment of the present application, when a first input is converted into a first target symbol combination, and then it is determined that a first target symbol combination exists in a symbol combination set, a control instruction corresponding to the first target symbol combination is used as a target instruction, and finally an operation corresponding to the target instruction is executed, that is, an instruction is determined through a relatively simple symbol, so as to control an electronic device, thereby avoiding a problem that control efficiency for the electronic device is relatively low when the first input is relatively complex. Optionally, the processor 1010 is further configured to:
splitting the moving track into a plurality of moving track sections according to the inflection point and the intersection point in the first input moving track;
when the moving track section is a closed track section, selecting target symbols corresponding to the closed track section from a target symbol set, wherein the target symbols form a first target symbol combination;
when the moving track section is a non-closed track section, selecting a target symbol corresponding to the moving direction from the target symbol set according to the moving direction of the moving track section;
and arranging and combining the target symbols according to the connection sequence of the plurality of movement track segments to obtain a first target symbol combination.
Optionally, the processor 1010 is further configured to:
in response to a first input within a preset time period.
Optionally, the target symbol set comprises: a circle, a first direction arrow, a second direction arrow, a third direction arrow, a fourth direction arrow, a fifth direction arrow, a sixth direction arrow, a seventh direction arrow, and an eighth direction arrow;
the circle is a symbol corresponding to the movement track section which is a closed track; the arrow in the first direction is a symbol represented by an included angle between the moving track section and the positive direction of the first coordinate axis in a first angle range, the arrow in the second direction is a symbol represented by an included angle between the moving track section and the negative direction of the first coordinate axis in a second angle range, the arrow in the third direction is a symbol represented by an included angle between the moving track section and the positive direction of the first coordinate axis in a counterclockwise direction in a third angle range, the arrow in the fourth direction is a symbol represented by an included angle between the moving track section and the negative direction of the first coordinate axis in a clockwise direction in a fourth angle range, the arrow in the fifth direction is a symbol represented by an included angle between the moving track section and the positive direction of the second coordinate axis in a fifth angle range, and the arrow in the sixth direction is a symbol represented by an included angle between the moving track section and the negative direction of the second coordinate axis in a sixth angle range, the arrow in the seventh direction is a symbol represented by an included angle between the moving track section and the positive direction of the second coordinate axis in a seventh angle range in a counterclockwise direction, and the arrow in the eighth direction is a symbol represented by an included angle between the moving track section and the negative direction of the second coordinate axis in a clockwise direction in an eighth angle range;
the first angle range, the second angle range, the third angle range, the fourth angle range, the fifth angle range, the sixth angle range, the seventh angle range and the eighth angle range form a 360-degree circumference, and the first coordinate axis is perpendicular to the second coordinate axis.
Optionally, the electronic device comprises a roll-up screen, and the processor 1010 is further configured to:
when the curled screen is in a closed state, acquiring a symbol combination set corresponding to the closed state, wherein symbol combinations included in the symbol combination set corresponding to the closed state correspond to the unfolding instruction;
and when the rolling screen is in the unfolding state, acquiring a symbol combination set corresponding to the unfolding state, wherein the symbol combination included in the symbol combination set corresponding to the unfolding state corresponds to the closing instruction.
Optionally, the processor 1010 is further configured to:
entering an editing mode in response to the second input;
in response to a third input by the user for the target instruction, converting the third input into a second target symbol combination;
and establishing a corresponding relation between the second target symbol combination and the target instruction.
Optionally, the processor 1010 is further configured to:
and receiving a fourth input, and entering a gesture recognition mode in response to the fourth input.
Optionally, the processor 1010 is further configured to:
and when the first target symbol combination does not exist in the symbol combination set, displaying prompt information, wherein the prompt information is used for indicating that a control instruction corresponding to the first target symbol combination does not exist.
In an embodiment of the present application, in response to a first input, converting the first input into a first target symbol combination, the symbols included in the first target symbol combination being from a target symbol set; when a first target symbol combination exists in the symbol combination set, taking a control instruction corresponding to the first target symbol combination as a target instruction, wherein the symbol combination set comprises symbols in the symbol combination, and the symbols are from the target symbol set; and executing the operation corresponding to the target instruction. That is, in the embodiment of the present application, the first input is converted into the first target symbol combination, and then when it is determined that the first target symbol combination exists in the symbol combination set, the control instruction corresponding to the first target symbol combination is taken as the target instruction, and finally, the operation corresponding to the target instruction is executed, that is, the instruction is determined by using the simpler symbol, and the electronic device is controlled, so that the problem that the control efficiency for the electronic device is low when the first input is more complex is avoided. It should be understood that in the embodiment of the present application, the input Unit 1004 may include a Graphics Processing Unit (GPU) 10041 and a microphone 10042, and the Graphics Processing Unit 10041 processes image data of still pictures or videos obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1007 includes at least one of a touch panel 10071 and other input devices 10072. The touch panel 10071 is also referred to as a touch screen. The touch panel 10071 may include two parts, a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
The memory 1009 may be used to store software programs as well as various data. The memory 1009 may mainly include a first storage area storing a program or an instruction and a second storage area storing data, wherein the first storage area may store an operating system, an application program or an instruction (such as a sound playing function, an image playing function, and the like) required for at least one function, and the like. Further, the memory 1009 may include volatile memory or nonvolatile memory, or the memory x09 may include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. The volatile Memory may be a Random Access Memory (RAM), a Static Random Access Memory (Static RAM, SRAM), a Dynamic Random Access Memory (Dynamic RAM, DRAM), a Synchronous Dynamic Random Access Memory (Synchronous DRAM, SDRAM), a Double Data Rate Synchronous Dynamic Random Access Memory (Double Data Rate SDRAM, ddr SDRAM), an Enhanced Synchronous SDRAM (ESDRAM), a Synchronous Link DRAM (SLDRAM), and a Direct Memory bus RAM (DRRAM). The memory 1009 in the embodiments of the present application includes, but is not limited to, these and any other suitable types of memory.
Processor 1010 may include one or more processing units; optionally, the processor 1010 integrates an application processor, which primarily handles operations related to the operating system, user interface, and applications, and a modem processor, which primarily handles wireless communication signals, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into processor 1010.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the control method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
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 computer read only memory ROM, a random access memory RAM, a magnetic or optical disk, and the like.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the above control method embodiment, and can achieve the same technical effect, and for avoiding repetition, the details are not repeated here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
Embodiments of the present application provide a computer program product, where the program product is stored in a storage medium, and the program product is executed by at least one processor to implement the processes of the foregoing control method embodiments, and achieve the same technical effects, and in order to avoid repetition, details are not described here again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (18)

1. A control method applied to an electronic device, the control method comprising:
in response to a first input, converting the first input into a first target symbol combination, the symbols included in the first target symbol combination being from a target set of symbols;
taking a control instruction corresponding to the first target symbol combination as a target instruction when the first target symbol combination exists in a symbol combination set, wherein the symbol combination set comprises symbols in symbol combinations, and the symbols are from the target symbol set;
and executing the operation corresponding to the target instruction.
2. The control method of claim 1, wherein said converting said first input into a first target symbol combination comprises:
splitting the moving track into a plurality of moving track sections according to the inflection point and the intersection point in the first input moving track;
when the moving track section is a closed track section, selecting a target symbol corresponding to the closed track section from the target symbol set, wherein the target symbol forms the first target symbol combination;
when the moving track section is a non-closed track section, selecting a target symbol corresponding to the moving direction from the target symbol set according to the moving direction of the moving track section;
and arranging and combining the target symbols according to the connection sequence of the plurality of movement track segments to obtain the first target symbol combination.
3. The control method of claim 2, wherein said responding to a first input comprises:
in response to a first input within a preset time period.
4. The control method of claim 2, wherein the target symbol set comprises: a circle, a first direction arrow, a second direction arrow, a third direction arrow, a fourth direction arrow, a fifth direction arrow, a sixth direction arrow, a seventh direction arrow, and an eighth direction arrow;
the circle is a symbol corresponding to the movement track section which is a closed track; the arrow in the first direction is a symbol represented by an included angle between the moving track segment and the positive direction of the first coordinate axis in a first angle range, the arrow in the second direction is a symbol represented by an included angle between the moving track segment and the negative direction of the first coordinate axis in a second angle range, the arrow in the third direction is a symbol represented by an included angle between the moving track segment and the positive direction of the first coordinate axis in a counterclockwise direction in a third angle range, the arrow in the fourth direction is a symbol represented by an included angle between the moving track segment and the negative direction of the first coordinate axis in a clockwise direction in a fourth angle range, the arrow in the fifth direction is a symbol represented by an included angle between the moving track segment and the positive direction of the second coordinate axis in a fifth angle range, and the arrow in the sixth direction is a symbol represented by an included angle between the moving track segment and the negative direction of the second coordinate axis in a sixth angle range, the arrow in the seventh direction is a symbol represented by an included angle between the moving track section and the positive direction of the second coordinate axis in a counterclockwise direction in a seventh angle range, and the arrow in the eighth direction is a symbol represented by an included angle between the moving track section and the negative direction of the second coordinate axis in a clockwise direction in an eighth angle range;
wherein, first angle scope, second angle scope third angle scope fourth angle scope fifth angle scope sixth angle scope seventh angle scope and eighth angle scope forms 360 degrees circumferences, first coordinate axis with the second coordinate axis is perpendicular.
5. The control method according to claim 1, wherein the electronic device includes a scroll screen, and when the first target symbol combination exists in the symbol combination set, the control method further includes, before a control instruction corresponding to the first target symbol combination is taken as a target instruction:
when the curled screen is in a closed state, acquiring a symbol combination set corresponding to the closed state, wherein symbol combinations included in the symbol combination set corresponding to the closed state correspond to an expansion instruction;
and when the curled screen is in an unfolded state, acquiring a symbol combination set corresponding to the unfolded state, wherein symbol combinations included in the symbol combination set corresponding to the unfolded state correspond to closing instructions.
6. The control method according to claim 1, characterized by further comprising:
entering an editing mode in response to the second input;
in response to a third input by the user for the target instruction, converting the third input into a second target symbol combination;
and establishing a corresponding relation between a second target symbol combination and the target instruction.
7. The control method of claim 1, wherein prior to said converting the first input to the first target symbol combination in response to the first input, the control method further comprises:
receiving a fourth input, and entering a gesture recognition mode in response to the fourth input.
8. The control method according to claim 1, characterized by further comprising:
and when the first target symbol combination does not exist in the symbol combination set, displaying prompt information, wherein the prompt information is used for indicating that no control instruction corresponding to the first target symbol combination exists.
9. A control device, applied to an electronic apparatus, comprising:
a first conversion module, configured to convert a first input into a target symbol combination in response to the first input, the target symbol combination including symbols from a target symbol set;
a determining module, configured to, when the target symbol combination exists in a symbol combination set, take a control instruction corresponding to the target symbol combination as a target instruction, where the symbol combination set includes symbols in symbol combinations, and the symbols are from the target symbol set;
and the execution module is used for executing the operation corresponding to the target instruction.
10. The control device of claim 9, wherein the first conversion module comprises:
the splitting unit is used for splitting the moving track into a plurality of moving track sections according to the inflection points and the intersection points in the first input moving track;
a first selecting unit, configured to select, when the moving trajectory segment is a closed trajectory segment, a target symbol corresponding to the closed trajectory segment from the target symbol set, where the target symbol constitutes the first target symbol combination;
a second selecting unit, configured to select, when the moving trajectory segment is a non-closed trajectory segment, a target symbol corresponding to the moving direction from the target symbol set according to the moving direction of the moving trajectory segment;
and the arranging unit is used for arranging and combining the target symbols according to the connection sequence of the plurality of movement track sections to obtain the first target symbol combination.
11. The control device of claim 10, wherein the first conversion module is configured to:
in response to a first input within a preset time period.
12. The control apparatus of claim 10, wherein the target symbol set comprises: a circle, a first direction arrow, a second direction arrow, a third direction arrow, a fourth direction arrow, a fifth direction arrow, a sixth direction arrow, a seventh direction arrow, and an eighth direction arrow;
the circle is a symbol corresponding to the movement track section which is a closed track; the arrow in the first direction is a symbol represented by an included angle between the moving track segment and the positive direction of the first coordinate axis in a first angle range, the arrow in the second direction is a symbol represented by an included angle between the moving track segment and the negative direction of the first coordinate axis in a second angle range, the arrow in the third direction is a symbol represented by an included angle between the moving track segment and the positive direction of the first coordinate axis in a counterclockwise direction in a third angle range, the arrow in the fourth direction is a symbol represented by an included angle between the moving track segment and the negative direction of the first coordinate axis in a clockwise direction in a fourth angle range, the arrow in the fifth direction is a symbol represented by an included angle between the moving track segment and the positive direction of the second coordinate axis in a fifth angle range, and the arrow in the sixth direction is a symbol represented by an included angle between the moving track segment and the negative direction of the second coordinate axis in a sixth angle range, the symbol in the seventh direction is represented by an included angle between the moving track section and the positive direction of the second coordinate axis in a counterclockwise direction within a seventh angle range, and the arrow in the eighth direction is represented by an included angle between the moving track section and the negative direction of the second coordinate axis in a clockwise direction within an eighth angle range;
wherein, first angle scope, second angle scope third angle scope fourth angle scope fifth angle scope sixth angle scope seventh angle scope and eighth angle scope forms 360 degrees circumferences, first coordinate axis with the second coordinate axis is perpendicular.
13. The control device of claim 9, wherein the electronic device comprises a scrolling screen, the control device further comprising:
the first acquisition module is used for acquiring a symbol combination set corresponding to the closed state when the curled screen is in the closed state, wherein symbol combinations included in the symbol combination set corresponding to the closed state correspond to unfolding instructions;
and the second acquisition module is used for acquiring a symbol combination set corresponding to the expansion state when the curled screen is in the expansion state, wherein the symbol combination in the symbol combination set corresponding to the expansion state corresponds to the closing instruction.
14. The control device according to claim 9, characterized by further comprising:
an editing module for entering an editing mode in response to the second input;
a second conversion module, responsive to a third input for the target instruction, to convert the third input to a second target symbol combination;
and the establishing module is used for establishing the corresponding relation between the second target symbol combination and the target instruction.
15. The control device according to claim 9, characterized by further comprising:
and the receiving module is used for receiving a fourth input and responding to the fourth input to enter a gesture recognition mode.
16. The control device according to claim 9, characterized by further comprising:
and the display module is used for displaying prompt information when the first target symbol combination does not exist in the symbol combination set, wherein the prompt information is used for indicating that a control instruction corresponding to the first target symbol combination does not exist.
17. An electronic device comprising a processor and a memory, the memory storing a program or instructions executable on the processor, the program or instructions when executed by the processor implementing the steps of the control method according to any one of claims 1 to 9.
18. A readable storage medium, characterized in that it stores thereon a program or instructions which, when executed by a processor, implement the steps of the control method according to any one of claims 1-9.
CN202210585057.7A 2022-05-26 2022-05-26 Control method, control device, electronic device, and readable storage medium Pending CN114911405A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210585057.7A CN114911405A (en) 2022-05-26 2022-05-26 Control method, control device, electronic device, and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210585057.7A CN114911405A (en) 2022-05-26 2022-05-26 Control method, control device, electronic device, and readable storage medium

Publications (1)

Publication Number Publication Date
CN114911405A true CN114911405A (en) 2022-08-16

Family

ID=82768633

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210585057.7A Pending CN114911405A (en) 2022-05-26 2022-05-26 Control method, control device, electronic device, and readable storage medium

Country Status (1)

Country Link
CN (1) CN114911405A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101324922A (en) * 2008-07-30 2008-12-17 北京中星微电子有限公司 Method and apparatus for acquiring fingertip track
CN107577927A (en) * 2017-07-25 2018-01-12 深圳天珑无线科技有限公司 A kind of unlocking screen method, the device and intelligent terminal with store function
US20180061176A1 (en) * 2014-10-29 2018-03-01 King Show Games, Inc. Incrementing feature in gaming device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101324922A (en) * 2008-07-30 2008-12-17 北京中星微电子有限公司 Method and apparatus for acquiring fingertip track
US20180061176A1 (en) * 2014-10-29 2018-03-01 King Show Games, Inc. Incrementing feature in gaming device
CN107577927A (en) * 2017-07-25 2018-01-12 深圳天珑无线科技有限公司 A kind of unlocking screen method, the device and intelligent terminal with store function

Similar Documents

Publication Publication Date Title
EP4224301A1 (en) Payment interface display method and apparatus, and electronic device
CN114296595A (en) Display method and device and electronic equipment
CN112364799A (en) Gesture recognition method and device
CN113821138B (en) Prompting method and device and electronic equipment
CN114117263A (en) Page display method, device, equipment and storage medium
CN114779977A (en) Interface display method and device, electronic equipment and storage medium
CN116107531A (en) Interface display method and device
CN114518820A (en) Icon sorting method and device and electronic equipment
CN112433693A (en) Split screen display method and device and electronic equipment
CN114327726A (en) Display control method, display control device, electronic equipment and storage medium
CN103870117B (en) A kind of information processing method and electronic equipment
CN114911405A (en) Control method, control device, electronic device, and readable storage medium
CN115543169A (en) Identification display method and device, electronic equipment and readable storage medium
CN115951852A (en) Information display method and device, electronic equipment and storage medium
CN115756226A (en) Virtual remote controller display method and device, electronic equipment and readable storage medium
CN111859353B (en) Screen unlocking method and electronic equipment
CN115002551A (en) Video playing method and device, electronic equipment and medium
CN114579233A (en) Desktop deformer display method and device, electronic equipment and storage medium
CN114827737A (en) Image generation method and device and electronic equipment
US10977769B2 (en) Electronic device, movement path recording method, and computer-readable storage medium
CN114237446A (en) Control method for selecting focus and electronic equipment
CN117555449A (en) Information display method and device and electronic equipment
CN114116107A (en) Control display method and device
CN115357168A (en) Screen capturing method and device
CN112433663A (en) Function execution method and device and electronic equipment

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