CN107885444B - Instruction execution method and device - Google Patents

Instruction execution method and device Download PDF

Info

Publication number
CN107885444B
CN107885444B CN201711081611.3A CN201711081611A CN107885444B CN 107885444 B CN107885444 B CN 107885444B CN 201711081611 A CN201711081611 A CN 201711081611A CN 107885444 B CN107885444 B CN 107885444B
Authority
CN
China
Prior art keywords
terminal
control instruction
folded
instruction
display screen
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.)
Active
Application number
CN201711081611.3A
Other languages
Chinese (zh)
Other versions
CN107885444A (en
Inventor
米岚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201711081611.3A priority Critical patent/CN107885444B/en
Publication of CN107885444A publication Critical patent/CN107885444A/en
Application granted granted Critical
Publication of CN107885444B publication Critical patent/CN107885444B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/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
    • 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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • 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

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)
  • Telephone Set Structure (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses an instruction execution method and device, and belongs to the technical field of electronics. The method comprises the following steps: when the triggering operation on the side of the outer surface of the folded terminal is detected, a preset control instruction is acquired based on the triggering operation, and the outer surface of the terminal is a surface which is not provided with a display screen. According to the method and the device, the problem that the operation steps of the terminal are complicated when the display screen of the terminal is in a folded state is solved, the operation steps of the terminal are simplified, and the method and the device are used for acquiring instructions.

Description

Instruction execution method and device
Technical Field
The present invention relates to the field of electronic technologies, and in particular, to a method and an apparatus for executing an instruction.
Background
With the development of electronic technology, the display screen of the terminal is becoming larger and larger, and in order to facilitate carrying of the terminal, the terminal with the foldable display screen is produced, and the terminal can also be called as a foldable terminal.
In the related art, when a display screen of a terminal is in a folded state, if a user needs to control the terminal to execute a control instruction, the user needs to open the terminal to unfold the display screen of the terminal, and then can operate on the display screen, so that the terminal acquires and executes the control instruction according to the operation of the user on the display screen.
In the related art, when the display screen of the terminal is in the folded state, the user needs to open the terminal and operate on the display screen, and the terminal can acquire and execute the control instruction, so the operation steps of the terminal are complicated.
Disclosure of Invention
The application provides an instruction execution method and device, which can solve the problem that when a display screen of a terminal is in a folded state, the operation steps of the terminal are complex. The technical scheme is as follows:
in a first aspect, an instruction execution method for a terminal having a foldable display screen is provided, the method comprising:
when a trigger operation aiming at the side where the outer surface of the folded terminal is located is detected, acquiring a preset control instruction based on the trigger operation, wherein the outer surface of the terminal is an exposed surface in the folded terminal;
and executing the control instruction.
In a second aspect, an instruction execution device is provided for a terminal having a foldable display screen, the instruction execution device comprising:
the terminal comprises a first obtaining module, a second obtaining module and a control module, wherein the first obtaining module is used for obtaining a preset control instruction based on a trigger operation when the trigger operation aiming at the side where the outer surface of the folded terminal is located is detected, and the outer surface of the terminal is an exposed surface in the folded terminal;
and the execution module is used for executing the control instruction.
In a third aspect, a terminal is provided, where the terminal includes:
a processor;
a memory for storing executable instructions of the processor;
and a foldable display screen;
wherein the processor is configured to:
when a trigger operation for the folded outer surface side of the terminal is detected, acquiring a preset control instruction based on the trigger operation, wherein the outer surface of the terminal is the surface of the terminal without the display screen;
and executing the control instruction.
In a fourth aspect, a computer-readable storage medium is provided, having stored therein instructions, which when run on a processor of a computer, enable the processor to perform the instruction execution method of the first aspect.
In a fifth aspect, there is provided a computer program product comprising instructions which, when run on a computer, cause the computer to perform the instruction execution method according to the first aspect.
The beneficial effect that technical scheme that this application provided brought is:
in the instruction execution method provided by the application, the outer surface of the folded terminal is the surface of the folded terminal without a display screen, and a user can perform triggering operation on the outer surface of the folded terminal, so that the terminal can acquire and execute the control instruction according to the triggering operation. Therefore, when the display screen of the terminal is in the folded state, the user can enable the terminal to acquire and execute the control command without opening the terminal, and therefore the operation steps of the terminal are simplified.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a flowchart of a method for executing an instruction according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of an unfolded terminal according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of another unfolded terminal according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a folding terminal according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a folded terminal according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of another folded terminal according to an embodiment of the present invention;
FIG. 7 is a flowchart of a method for executing another instruction according to an embodiment of the present invention;
fig. 8 is a schematic diagram of a display interface of a terminal according to an embodiment of the present invention;
FIG. 9 is a flowchart of a method for executing a further instruction according to an embodiment of the present invention;
FIG. 10 is a flowchart of a method for executing a further instruction according to an embodiment of the present invention;
FIG. 11 is a block diagram of an instruction execution apparatus according to an embodiment of the present invention;
FIG. 12 is a block diagram of an alternative instruction execution apparatus according to an embodiment of the present invention;
FIG. 13 is a block diagram illustrating an exemplary embodiment of an instruction execution apparatus;
FIG. 14 is a block diagram illustrating an exemplary embodiment of an instruction execution apparatus;
fig. 15 is a block diagram illustrating a structure of a terminal according to an embodiment of the present invention;
fig. 16 is a block diagram of another terminal according to an embodiment of the present invention;
fig. 17 is a schematic structural diagram of a terminal according to an embodiment of the present invention;
fig. 18 is a schematic structural diagram of another terminal provided in the embodiment of the present invention;
fig. 19 is a schematic structural diagram of another terminal according to an embodiment of the present invention;
fig. 20 is a schematic structural diagram of another terminal according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, embodiments of the present invention will be described in further detail below with reference to the accompanying drawings.
Because the terminal with the large display screen is inconvenient to carry, the terminal can be made of flexible materials, so that the terminal can be folded, and the terminal with the large display screen is convenient to carry.
Fig. 1 is a flowchart of a method for executing an instruction, which may be used in a terminal having a foldable display screen according to an embodiment of the present invention. As shown in fig. 1, the method may include:
step 101, when a trigger operation for the folded terminal is detected, acquiring a preset control instruction based on the trigger operation.
Wherein, the outer surface of the folded terminal may be: exposed surfaces in the folded terminal. By way of example, fig. 2 and 3 show the terminal unfolded, fig. 4 shows the terminal being folded, and fig. 5 and 6 show the terminal folded. And fig. 2 is a front view of the terminal and fig. 3 is a rear view of the terminal. The terminal can be an electronic device such as a mobile phone and a tablet personal computer.
Referring to fig. 2 and 3, before the terminal is folded, the terminal 20 has a back 203, a side 202 and a surface on which a display 201 is disposed. The terminal 20 may be folded along a centerline shown in fig. 2 and 3, and the back side 203 of the terminal may be divided into a-side and B-side by the centerline. Referring to fig. 4, 5 and 6, after the display 201 of the terminal 20 is folded, the a plane is opposite to the B plane. The outer surface of the folded terminal may include: a-side, B-side, and side 202 of the terminal.
It should be noted that fig. 2, fig. 3, fig. 4, fig. 5, and fig. 6 all use the terminal as an inner folding screen terminal as an example, in practical application, the terminal may also be an outer folding screen terminal, and this is not limited in the embodiment of the present invention.
The terminal can detect whether a user performs a trigger operation on the outer surface (a surface, B surface or side surface) of the terminal, and when detecting that the user performs the trigger operation on the outer surface of the terminal, acquire a control instruction corresponding to the trigger operation.
And step 102, executing a control instruction.
After the terminal acquires the control instruction, the terminal may execute the acquired control instruction. For example, if the control command is: and hanging up the incoming call, and the terminal can hang up the currently accessed incoming call according to the control instruction.
In summary, in the instruction execution method provided in the embodiment of the present invention, the outer surface of the folded terminal is a surface of the folded terminal on which the display screen is not disposed, and a user can perform a trigger operation on the outer surface of the folded terminal, so that the terminal can obtain and execute the control instruction according to the trigger operation. Therefore, when the display screen of the terminal is in the folded state, the user can enable the terminal to acquire and execute the control command without opening the terminal, and therefore the operation steps of the terminal are simplified.
Fig. 7 is a flowchart of another instruction execution method provided by an embodiment of the present invention, which can be used in a terminal having a foldable display screen. As shown in fig. 7, the method may include:
and 701, acquiring a target pressure acting on the outer surface of the folded terminal. Step 702 is performed.
It should be noted that a region where the outer surface (the outer surface of the folded terminal) in the housing of the terminal is located may be provided with a pressure sensor, and the terminal may obtain the target pressure through the pressure sensor.
In addition, when the display screen of the terminal is in a folded state (namely, after the terminal is folded), the pressure sensor can be in a working state; when the display screen of the terminal is in the unfolded state, the pressure sensor may be in the non-operating state. That is, the pressure sensor detects the target pressure applied to the outer surface of the terminal only when the display screen of the terminal is in the folded state, thereby avoiding energy consumption of the pressure sensor when the terminal is in the unfolded state.
Further, when the terminal is an inner folding screen terminal, the folded terminal may have two opposite outer surfaces, both of the two outer surfaces are opposite to the display screen of the folded terminal, and the pressure sensor may be disposed in an area where the two outer surfaces are located in the housing of the terminal. For example, please refer to fig. 5 and fig. 6, the folded terminal 20 has two opposite outer surfaces, i.e., a surface a and a surface B, a pressure sensor may be disposed in a region where the surface a and the surface B are located in a housing of the terminal 20, and the terminal may obtain a target pressure acting on the surface a by the pressure sensor disposed in the region where the surface a is located and obtain a target pressure acting on the surface B by the pressure sensor disposed in the region where the surface B is located.
Step 702, acquiring a preset pressure threshold. Step 703 is performed.
The terminal may have a pre-stored preset pressure threshold, and in step 702, the terminal may directly obtain the pre-stored preset pressure threshold. For example, the preset pressure threshold may be 0.5 newton, and may be different according to different terminals, or may be set by a user on the terminal.
And step 703, judging whether the target pressure is greater than a preset pressure threshold value. If the target pressure is greater than the preset pressure threshold, go to step 704; if the target pressure is less than or equal to the preset pressure threshold, step 701 is executed.
For example, the terminal may compare the target pressure obtained by the pressure sensor with a preset pressure threshold. For example, if the target pressure is 0.7 newton, and the target pressure is greater than the preset pressure threshold value of 0.5 newton, go to step 704; if the target pressure is 0.2 newton and the target pressure is less than the preset pressure threshold value of 0.5 newton, the step 701 is continuously executed.
Step 704, determining that a trigger operation for the external surface is detected. Step 705 is performed.
If the target pressure is determined to be greater than the preset pressure threshold, the terminal may determine that a trigger operation for the outer surface is detected. For example, the triggering operation may be tapping the outer surface of the terminal.
Step 705, obtaining a control instruction corresponding to the pressure range where the target pressure is located according to the corresponding relationship between the preset pressure range and the instruction. Step 706 is performed.
For example, the correspondence relationship between the preset pressure range and the command may include: when the target pressure is 0.7 newton, the pressure range where 0.7 newton is located is (0.5 newton, 1 newton), the terminal may obtain a control instruction corresponding to the pressure range, where the control instruction includes a "silent alarm clock" and a "silent incoming call".
Optionally, the correspondence between the pressure range and the instruction may be set by the user on the terminal. For example, the terminal may display a setting interface as shown in fig. 8, and the setting interface may display a prompt message, where the prompt message may be used to prompt a user to select on the setting interface to change the corresponding relationship between the pressure range and the instruction. For example, the prompt message may be "the action to be performed by tapping the back of the terminal when the display screen is folded", where in the terminal before folding, the "back of the terminal" is the location where the back 203 of the terminal shown in fig. 3 is located, in the terminal after folding, the "back of the terminal" may be composed of the location where the a surface of the terminal shown in fig. 5 is located and the location where the B surface of the terminal shown in fig. 6 is located, and when the user "taps" the back of the terminal, the pressure applied to the back of the terminal may be in a pressure range of (0.5 newton, 1 newton).
As shown in fig. 8, two menus of "incoming call" and "alarm" may be displayed on the setting interface. The 'incoming call' menu comprises two instruction options of 'hanging up incoming call' and 'mute incoming call', and the 'alarm clock' menu can comprise two instruction options of 'turning off alarm clock' and 'mute alarm clock'. After each instruction option, a selection box can be displayed, the identifier of "√" can be displayed in the selection box, and the instruction option corresponding to the selection box displaying the identifier of "√" is the current setting. The user can select corresponding instruction options by operating the terminal, and the terminal can set the instruction corresponding to the pressure range (0.5 Newton, 1 Newton) according to the instruction options selected by the user.
By way of example, the current settings in FIG. 8 are: and when the display screen is folded, the outer surface is tapped, and the terminal mutes the incoming call or mutes the alarm clock. That is, the corresponding relationship between the preset pressure range and the command is as follows: it should be noted that the control instruction in step 705 may be a control instruction for an incoming call, a control instruction for an alarm, or a control instruction for other audio functions (for example, turning off music being played), which is not limited in the embodiment of the present invention.
Step 706, execute the control instruction.
Alternatively, the control instruction may be used to instruct that the target task be stopped from being executed. If the control instruction acquired by the terminal comprises: the alarm clock is "muted" (i.e., alarm clock ringing is stopped) and the incoming call is "muted" (i.e., incoming call ringing is stopped), the alarm clock ringing task and the incoming call ringing task are both target tasks.
After the terminal acquires the control instruction, whether the terminal executes an alarm clock ringing task and an incoming call ringing task can be detected. If the terminal is executing the alarm clock ringing task, the terminal can mute the alarm clock according to the control instruction. If the terminal is executing the incoming call ringing task, the terminal can mute the incoming call according to the control instruction. If the terminal is executing the alarm clock ringing task and the incoming call ringing task, the terminal can mute the alarm clock according to the control instruction and mute the incoming call according to the control instruction. If the terminal is not executing any one of the alarm clock ringing task and the incoming call ringing task, the terminal repeatedly executes step 701.
Optionally, the control instructions may also be used to instruct the performance of another task. By way of example, the other task may be turning on a flashlight of the terminal.
In the instruction execution method provided by the embodiment of the invention, when a user uses the foldable terminal, if the terminal is not folded, the user can operate on a display screen of the terminal so that the terminal can acquire the control instruction; if the display screen of the terminal is in a folded state, the user does not need to open the terminal and can directly perform triggering operation on the outer surface of the terminal so that the terminal can obtain the control instruction.
For example, if the folded terminal is executing a call ringing task, the user may tap the outer surface of the terminal, so that the terminal obtains a control instruction of "mute call", and stops the call ringing according to the control instruction. If the folded terminal executes the alarm clock ringing task, the user can tap the outer surface of the terminal, so that the terminal acquires a control instruction of 'mute alarm clock', and stops alarm clock ringing according to the control instruction. If the folded terminal executes the alarm clock ringing task and the incoming call ringing task, the user can tap the outer surface of the terminal, so that the terminal acquires the control instruction of the mute alarm clock and the control instruction of the mute ringing, and stops the alarm clock ringing and the incoming call ringing according to the two control instructions.
In summary, in the instruction execution method provided in the embodiment of the present invention, the outer surface of the folded terminal is a surface of the folded terminal on which the display screen is not disposed, and a user can perform a trigger operation on the outer surface of the folded terminal, so that the terminal can obtain and execute the control instruction according to the trigger operation. Therefore, when the display screen of the terminal is in the folded state, the user can enable the terminal to acquire and execute the control command without opening the terminal, and therefore the operation steps of the terminal are simplified.
Fig. 9 is a flowchart of a method for executing a further instruction, which may be used in a terminal having a foldable display screen. As shown in fig. 9, the method includes:
and step 901, acquiring a pressing signal generated by a key assembly on the folded terminal.
The terminal may be provided with a key assembly, for example, referring to fig. 2, fig. 4 or fig. 5, the terminal 20 may include a key assembly, which may include keys 204 and a signal generating module (not shown). The key 204 is disposed on an outer surface of the terminal 20, and the signal generating module is configured to generate a pressing signal when the key 204 is pressed. The terminal may acquire the pressing signal generated by the signal generating module. Illustratively, the key 204 may be an off key on the terminal.
And 902, determining that the trigger operation for the outer surface is detected according to the pressing signal.
When a key arranged on the terminal is pressed, the terminal receives the pressing signal generated by the signal generating module, and at this time, the terminal can determine that the triggering operation for the outer surface is detected.
Step 903, obtaining a control instruction corresponding to the pressing signal according to a preset corresponding relationship between the signal and the instruction.
The preset corresponding relation between the signal and the instruction can be stored in the terminal in advance, or can be set on the terminal by the user. For example, the preset correspondence relationship between the signal and the instruction may include: the pressing signal corresponds to a command of 'silent incoming call' and a command of 'silent alarm clock'.
It should be noted that, in the embodiment of the present invention, taking an example that the correspondence between the pressing signal and the instruction includes an instruction corresponding to the pressing signal, in practical application, the correspondence between the pressing signal and the instruction may further include: the embodiment of the present invention does not limit the instruction corresponding to the plurality of pressing signals.
And step 904, executing the control command.
It should be noted that step 904 may refer to step 706, and details of the embodiment of the present invention are not described herein.
In the instruction execution method provided by the embodiment of the invention, when a user uses a foldable terminal, if the terminal is not folded, the user can operate on a display screen of the terminal to enable the terminal to obtain a control instruction; if the display screen of the terminal is in a folded state, the user does not need to open the terminal and can directly perform triggering operation on the outer surface of the terminal so that the terminal can obtain the control instruction.
For example, if the folded terminal is executing a call ringing task, the user may press a power-off key of the terminal, so that the terminal obtains a control instruction of "muting the call", and stops the call ringing according to the control instruction. If the folded terminal is executing the alarm clock ringing task, the user can press the power-off key of the terminal, so that the terminal acquires the control instruction of the mute alarm clock and stops the alarm clock ringing according to the control instruction. If the terminal after the terminal is folded executes the alarm clock ringing task and the incoming call ringing task, the user can press the power-off key of the terminal, so that the terminal obtains the control instruction of the mute alarm clock and the control instruction of the mute ringing, and stops the alarm clock ringing and stops the incoming call ringing according to the two control instructions.
In summary, in the instruction execution method provided in the embodiment of the present invention, the outer surface of the folded terminal is a surface of the folded terminal on which the display screen is not disposed, and a user can perform a trigger operation on the outer surface of the folded terminal, so that the terminal can obtain and execute the control instruction according to the trigger operation. Therefore, when the display screen of the terminal is in the folded state, the user can enable the terminal to acquire and execute the control command without opening the terminal, and therefore the operation steps of the terminal are simplified.
Fig. 10 is a flowchart of a method for executing a further instruction, which can be used in a terminal having a foldable display screen. As shown in fig. 10, the method includes:
step 1001, after the terminal is folded, acquiring a target gesture on the outer surface side of the terminal through a gesture acquisition assembly. Step 1002 is performed.
The gesture collection assembly can be a rear camera of the terminal and can also be a touch screen arranged on the outer surface of the terminal. For example, referring to fig. 3, fig. 4 or fig. 5, the gesture capturing component may be a rear camera 205 of the terminal 20. For another example, referring to fig. 3, fig. 4, fig. 5, or fig. 6, a touch screen may be disposed on the back 203 of the terminal 20, and the gesture collecting component may also be the touch screen.
The target gesture may be: the terminal is through the gesture that rear camera shot, or the gesture that the terminal detected through the touch screen.
And step 1002, judging whether the target gesture belongs to a preset gesture set. If the target gesture belongs to the preset gesture set, executing step 1003; if the target gesture does not belong to the preset gesture set, step 1001 is executed.
For example, a preset gesture set may be stored in a memory in the terminal. After the terminal acquires the target gesture of the user through the gesture acquisition assembly, the terminal can judge whether the target gesture belongs to a preset gesture set. If the target gesture is determined to belong to the preset gesture set, the terminal executes step 1003; if it is determined that the target gesture does not belong to the preset gesture set, the terminal repeatedly executes step 1001.
For example, when the gesture capturing component is a rear camera, the preset gesture set may include: "a gesture in which the hand is swung once in front of the rear camera within 1 second" and "a gesture in which the hand is swung twice in front of the rear camera within 1 second". When the gesture collection component is a touch screen, the preset gesture set may include: "gesture of sliding along a C-shape on the touch screen surface" and "gesture of sliding along a Z-shape on the touch screen surface".
Step 1003, determining that a trigger operation for the outer surface is detected. Step 1004 is performed.
For example, if the terminal determines in step 1002 that the target gesture belongs to the preset gesture set, it may be determined that the trigger operation for the external surface is detected.
And 1004, acquiring a control instruction corresponding to the target gesture according to the preset corresponding relation between the gesture and the instruction. Step 1005 is performed.
The preset corresponding relationship between the gesture and the instruction may include: and presetting the corresponding relation between each gesture in the gesture set and the instruction. For example, when the gesture capturing component is a rear camera, the preset corresponding relationship between the gesture and the instruction may include: the gesture that the hand waves before the rear camera once in 1 second corresponds to the instruction of 'mute alarm clock', and the gesture that the hand waves before the rear camera twice in 1 second corresponds to the instruction of 'turn off alarm clock'. For another example, when the gesture capturing component is a touch screen, the preset corresponding relationship between the gesture and the instruction may include: the gesture of sliding along the C-shaped surface of the touch screen corresponds to the instruction of 'muting incoming call', and the gesture of sliding along the Z-shaped surface of the touch screen corresponds to the instruction of 'hanging up incoming call'.
Suppose the gesture collection component is a rear camera, and the target gesture is: the hand is swung once in front of the rear camera within 1 second, and then the terminal can acquire the control instruction corresponding to the target gesture as follows: and (6) muting the alarm clock.
And step 1005, executing the control command.
It should be noted that step 1005 may refer to step 706, and details of the embodiment of the present invention are not described herein.
In the instruction execution method provided by the embodiment of the invention, when a user uses the foldable terminal, if the terminal is not folded, the user can operate on a display screen of the terminal so that the terminal can acquire the control instruction; if the display screen of the terminal is in a folded state, the user does not need to open the terminal and can directly perform triggering operation on the outer surface of the terminal so that the terminal can obtain the control instruction.
For example, if the folded terminal is executing a task of ringing an incoming call, the user may slide along a C-shape on the surface of the touch screen, so that the terminal obtains a control instruction of "muting the incoming call", and stops ringing the incoming call according to the control instruction. If the folded terminal executes the alarm clock ringing task, the user can wave the rear camera with the hand once within 1 second, so that the terminal acquires the control instruction of the mute alarm clock and stops the alarm clock ringing according to the control instruction. If the terminal after the terminal is folded executes the alarm clock ringing task and the incoming call ringing task, the user can slide along the C shape on the surface of the touch screen and wave once with the hand in front of the rear camera within 1 second, so that the terminal obtains the control instruction of the 'silent alarm clock' and the control instruction of the 'silent ringing', and stops the alarm clock ringing and the incoming call ringing according to the two control instructions.
In summary, in the instruction execution method provided in the embodiment of the present invention, the outer surface of the folded terminal is a surface of the folded terminal on which the display screen is not disposed, and a user can perform a trigger operation on the outer surface of the folded terminal, so that the terminal can obtain and execute the control instruction according to the trigger operation. Therefore, when the display screen of the terminal is in the folded state, the user can enable the terminal to acquire and execute the control command without opening the terminal, and therefore the operation steps of the terminal are simplified.
Fig. 11 is a schematic structural diagram of an instruction execution device according to an embodiment of the present invention, where the instruction execution device may be used in a terminal having a foldable display screen. As shown in fig. 11, the instruction execution means 11 may include:
the first obtaining module 1101 is configured to, when a trigger operation on the side of the external surface of the folded terminal is detected, obtain a preset control instruction based on the trigger operation, where the external surface of the terminal is a surface of the terminal that is not provided with a display screen.
And the execution module 1102 is configured to execute the control instruction.
In summary, in the instruction execution device provided in the embodiment of the present invention, the outer surface of the folded terminal is a surface of the folded terminal on which the display screen is not disposed, and a user can perform a trigger operation on the outer surface of the folded terminal, so that the first obtaining module can obtain the control instruction according to the trigger operation, and the execution module can execute the control instruction. Therefore, when the display screen of the terminal is in the folded state, the user can enable the terminal to acquire and execute the control instruction without opening the terminal, and therefore operation steps of the user in the process of controlling the terminal to execute the control instruction by the user when the terminal is folded are simplified.
Optionally, fig. 12 is a schematic structural diagram of another instruction execution device according to an embodiment of the present invention, as shown in fig. 12, on the basis of fig. 11, the instruction execution device 11 may further include:
a second obtaining module 1103 for obtaining a target pressure acting on the outer surface;
a first determining module 1104, configured to determine that a trigger operation for the outer surface is detected when the target pressure is greater than a preset pressure threshold;
the first obtaining module 1101 may be configured to: and acquiring a control instruction corresponding to the pressure range where the target pressure is located according to the corresponding relation between the preset pressure range and the instruction.
Optionally, a pressure sensor is disposed in an area where an inner surface and an outer surface of the housing of the terminal are located, and the second obtaining module is configured to: the target pressure is obtained by a pressure sensor.
Optionally, the terminal is an inner folding screen terminal, the folded terminal has two opposite outer surfaces, the two outer surfaces are both opposite to the folded display screen, and the areas where the two outer surfaces are located in the shell of the terminal are provided with pressure sensors.
Optionally, when the display screen of the terminal is in a folded state, the pressure sensor is in a working state; when the display screen of the terminal is in an unfolded state, the pressure sensor is in a non-working state.
Optionally, fig. 13 is a schematic structural diagram of another instruction execution apparatus according to an embodiment of the present invention. Wherein, the terminal may be provided with a key assembly, the key assembly may include a key and a signal generating module, the key is disposed on an outer surface of the terminal, the signal generating module is configured to generate a pressing signal when the key is pressed, as shown in fig. 13, on the basis of fig. 11, the instruction executing apparatus 11 may further include:
a third obtaining module 1105, configured to obtain a pressing signal generated by the key assembly;
a second determining module 1106, configured to determine that a trigger operation for the external surface is detected according to the pressing signal;
a first obtaining module 1101, configured to: and acquiring a control instruction corresponding to the pressing signal according to the corresponding relation between the preset signal and the instruction.
Optionally, fig. 14 is a schematic structural diagram of another instruction execution apparatus according to an embodiment of the present invention. As shown in fig. 14, on the basis of fig. 11, the instruction execution apparatus 11 may further include:
the acquisition module 1107 is used for acquiring a target gesture on the side of the outer surface of the terminal through the gesture acquisition assembly;
a third determining module 1108, configured to determine that a trigger operation for the external surface is detected when the target gesture belongs to the preset gesture set;
a first obtaining module 1101, configured to:
acquiring a control instruction corresponding to the target gesture according to a preset corresponding relationship between the gesture and the instruction, wherein the preset corresponding relationship between the gesture and the instruction comprises the following steps: and presetting the corresponding relation between each gesture in the gesture set and the instruction.
Optionally, the gesture collection component is a rear camera of the terminal, or a touch screen arranged on the outer surface of the terminal.
Optionally, the control instruction is used to instruct to stop executing the target task, and the execution module 1102 may be configured to: detecting whether a terminal is executing a target task; and when detecting that the terminal is executing the target task, stopping executing the target task according to the control instruction.
In summary, in the instruction execution device provided in the embodiment of the present invention, the outer surface of the folded terminal is a surface of the folded terminal on which the display screen is not disposed, and a user can perform a trigger operation on the outer surface of the folded terminal, so that the first obtaining module can obtain the control instruction according to the trigger operation, and the execution module can execute the control instruction. Therefore, when the display screen of the terminal is in the folded state, the user can enable the terminal to acquire and execute the control command without opening the terminal, and therefore the operation steps of the terminal are simplified.
The instruction execution method and the instruction execution apparatus provided by the embodiment of the invention can be applied to a terminal with a foldable display screen, please refer to fig. 15 and fig. 16, which show a block diagram of a structure of a terminal 100 provided by the embodiment of the invention. The terminal 100 may be a smart phone, a tablet computer, an e-book, and the like. The terminal 100 in the present application may include one or more of the following components: a processor 110, a memory 120, and a touch display screen 130.
Processor 110 may include one or more processing cores. The processor 110 connects various parts within the overall terminal 100 using various interfaces and lines, and performs various functions of the terminal 100 and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 120 and calling data stored in the memory 120. Alternatively, the processor 110 may be implemented in hardware using at least one of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 110 may integrate one or more of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing the content to be displayed by the touch display screen 130; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 110, but may be implemented by a single chip.
The Memory 120 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). Optionally, the memory 120 includes a non-transitory computer-readable medium. The memory 120 may be used to store instructions, programs, code sets, or instruction sets. The memory 120 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the various method embodiments described above, and the like; the storage data area may store data (such as audio data, a phonebook) created according to the use of the terminal 100, and the like.
Taking an operating system as an Android (Android) system as an example, programs and data stored in the memory 120 are shown in fig. 15, and a Linux kernel layer 220, a system runtime layer 240, an application framework layer 260, and an application layer 280 are stored in the memory 120. The Linux kernel layer 220 provides underlying drivers for various hardware of the terminal 100, such as a display driver, an audio driver, a camera driver, a bluetooth driver, a Wi-Fi driver, power management, and the like. The system runtime library layer 240 provides the main feature support for the Android system through some C/C + + libraries. For example, the SQLite library provides support for a database, the OpenGL/ES library provides support for 3D drawing, the Webkit library provides support for a browser kernel, and the like. Also provided in the system Runtime layer 240 is an Android Runtime library (Android Runtime), which mainly provides some core libraries that can allow developers to write Android applications using the Java language. The application framework layer 260 provides various APIs that may be used in building applications, and developers may build their own applications by using these APIs, such as activity management, window management, view management, notification management, content provider, package management, session management, resource management, and location management. At least one application program runs in the application layer 280, and the application programs may be a contact program, a short message program, a clock program, a camera application, etc. of the operating system; or an application program developed by a third-party developer, such as an instant messaging program, a photo beautification program, and the like.
Taking an operating system as an IOS system as an example, programs and data stored in the memory 120 are shown in fig. 16, and the IOS system includes: a Core operating system Layer 320(Core OS Layer), a Core Services Layer 340(Core Services Layer), a Media Layer 360(Media Layer), and a touchable Layer 380(Cocoa Touch Layer). The kernel operating system layer 320 includes an operating system kernel, drivers, and underlying program frameworks that provide functionality closer to hardware for use by program frameworks located in the kernel services layer 340. The core services layer 340 provides system services and/or program frameworks, such as a Foundation framework, an account framework, an advertisement framework, a data storage framework, a network connection framework, a geographic location framework, a motion framework, and so forth, that are needed by the application. The media layer 360 provides audiovisual interfaces for applications, such as graphics-related interfaces, audio-related interfaces, video-related interfaces, and audio/video transmission technology wireless broadcast (AirPlay) interfaces. The touchable layer 380 provides various common interface-related frameworks for application development, and the touchable layer 380 is responsible for user touch interaction operations on the terminal 100. Such as a local notification service, a remote push service, an advertising framework, a game tool framework, a messaging User Interface (UI) framework, a User Interface UIKit framework, a map framework, and so forth.
In the framework illustrated in FIG. 16, the framework associated with most applications includes, but is not limited to: a base framework in the core services layer 340 and a UIKit framework in the touchable layer 380. The base framework provides many basic object classes and data types, provides the most basic system services for all applications, and is UI independent. While the class provided by the UIKit framework is a basic library of UI classes for creating touch-based user interfaces, iOS applications can provide UIs based on the UIKit framework, so it provides an infrastructure for applications for building user interfaces, drawing, processing and user interaction events, responding to gestures, and the like.
The touch display screen 130 is used for receiving a touch operation of a user on or near the touch display screen using any suitable object such as a finger, a touch pen, or the like, and displaying a user interface of each application program. The touch display 130 is generally provided at a front panel of the terminal 100.
As shown in fig. 17, the terminal 100 includes a first housing 41, a second housing 42, and a connecting assembly 43 connected between the first housing 41 and the second housing 42, and the first housing 41 and the second housing 42 are folded upside down by the connecting assembly 43.
The first housing 41 includes a first supporting surface connected to the back surface of the touch display screen and a first back surface opposite to the first supporting surface, and the second housing 42 includes a second supporting surface connected to the back surface of the touch display screen and a second back surface opposite to the second supporting surface. Accordingly, the touch display screen includes a first display area 131, a second display area 132 and a third display area 133, wherein the first display area 131 corresponds to the position of the first housing 41, the second display area 132 corresponds to the position of the second housing 42, and the third display area 133 corresponds to the position of the connecting assembly 43. In one implementation, the first display region 131, the second display region 132 and the third display region 133 are made of flexible materials and have a certain expansion and contraction ductility; in another implementation, only the third display region 133 is made of a flexible material, and the first and second display regions 131 and 132 are made of a non-flexible material.
In an alternative implementation, the connection assembly 43 of the terminal 100 is of a manual construction. When the user manually separates the first casing 41 and the second casing 42, the terminal 100 is changed from the folded state to the unfolded state; when the user manually closes the first housing 41 and the second housing 42, the terminal 100 changes from the unfolded state to the folded state.
In an alternative implementation, the connection assembly 43 of the terminal 100 is of an electric construction, for example, the connection assembly 43 is provided with an electric rotating member such as an electric motor. Under the driving of the electric rotating component, the first housing 41 and the second housing 42 automatically close or separate, so that the terminal 100 has two states of unfolding and folding.
The terminal 100 may be divided into an outer folder terminal and an inner folder terminal according to whether the touch display screen is exposed in a folded state. Wherein:
external folding screen terminal
The outer folding screen terminal is a terminal which has a folding angle of 180 degrees and is completely exposed out of the touch display screen in a folding state. As shown in fig. 17, the terminal 100 is an outer folder screen terminal. In the unfolded state, the first supporting surface of the first casing 41 of the terminal 100 is flush with the second supporting surface of the second casing 42 (i.e. the included angle is 180 °), and the first display area 131, the second display area 132 and the third display area 133 of the touch display screen are located on the same plane; in the process of the terminal 100 changing from the unfolded state to the folded state, as shown in fig. 17, the first back surface of the first housing 41 and the second back surface of the second housing 42 are close to each other, and the included angle between the first supporting surface and the second supporting surface is changed from 180 ° to 0 °; in the folded state, as shown in fig. 18, the first supporting surface of the first casing 41 of the terminal 100 is parallel to the second supporting surface of the second casing 42 (the included angle between the first casing 41 and the second casing 42 is 0 °), so that the touch display screen is in a U-shaped folded state, in which the third display area 133 of the touch display screen forms an exposed U-shaped arc surface.
In an alternative implementation, in the folded state, all or part of the display area of the touch display screen is used for displaying the user interface. For example, as shown in fig. 18, in the folded state, only the second display region 132 is used to display the user interface, or only the third display region 133 is used to display the user interface.
Terminal with internal folding screen
The inner-folding-screen terminal refers to a terminal that can be folded at an angle of 180 ° and in a folded state, the touch display screen is (entirely or partially) converged. As shown in fig. 19, the terminal 100 is an inner folder screen terminal. In the unfolded state, the first supporting surface of the first casing 41 of the terminal 100 is flush with the second supporting surface of the second casing 42 (i.e. the included angle is 180 °), so that the touch display screen is in a planar unfolded state (the first display area 131, the second display area 132 and the third display area 133 are located on the same plane); in the process of the terminal 100 changing from the unfolded state to the folded state, as shown in fig. 19, the first supporting surface of the first housing 41 and the second supporting surface of the second housing 42 are close to each other, that is, the included angle between the first supporting surface and the second supporting surface is changed from 180 ° to 0 °; in the folded state, the first supporting surface of the first housing 41 of the terminal 100 is parallel to the second supporting surface of the second housing 42, so that the touch display screen is in a U-shaped folded state in which the third display area 133 of the touch display screen forms a U-shaped arc surface that is inwardly converged. In an alternative implementation, in the folded state, no user interface is displayed in all display areas of the touch display screen.
In addition to providing a touch display screen on the support surface of the housing, a touch display screen may also be provided on the first back surface of the first housing 41 and/or the second back surface of the second housing 42. When the inner folding screen terminal is in a folding state, the touch display screen arranged on the back face of the shell is used for displaying a user interface, and the user interface is the same as or different from the user interface displayed by the touch display screen in an unfolding state.
In other possible implementations, the foldable angle of the terminal 100 may also be 360 ° (both inward and outward), and in the folded state, the touch display screen is exposed or converged on the terminal, which is not limited in this embodiment.
In the terminal 100 shown in fig. 17 to 19, the first housing 41 and the second housing 42 are the same or similar in size, and the manner of folding the terminal 100 is referred to as symmetrical folding. In other possible implementations, the terminal 100 may also be folded asymmetrically. When the asymmetric folding is adopted, the sizes of the first casing 41 and the second casing 42 may be different or different by more than a threshold (for example, 50% or 60% or 70%), and accordingly, the area of the first display region 131 in the touch display screen is different from the area of the second display region 132 by more than a threshold.
Illustratively, as shown in fig. 20, the terminal 100 is an asymmetrically folded outer folded screen terminal, and the first housing 41 has a size larger than that of the second housing 42. In the folded state, the area of the first display region 131 is larger than that of the second display region 132.
In fig. 17 to 20, only by taking an example that the terminal 100 includes two parts of a housing and a connecting assembly for connecting the housing as an example (the terminal is in a two-fold structure), in other possible implementations, the terminal 100 may include n parts of the housing and n-1 connecting assemblies, and accordingly, the touch display screen of the terminal 100 includes 2n-1 display areas, and the n-1 display areas corresponding to the connecting assemblies are made of a flexible material, so as to implement the terminal in the n-fold structure, which is not limited in this embodiment.
At least one other component is also provided in the terminal 100, the at least one other component including: cameras, fingerprint sensors, proximity light sensors, distance sensors, etc. In some embodiments, at least one other component is disposed on the front, side, or back of the terminal 100, such as a fingerprint sensor disposed on the back or side of the housing, a camera disposed above the touch display screen 130.
In other embodiments, at least one other component may be integrated within or below the touch screen display 130. In some embodiments, a bone conduction earpiece is provided inside the terminal 100; other components on the front panel of the conventional terminal are integrated in the whole area or a partial area of the touch display screen 130, for example, after a photosensitive element in the camera is split into a plurality of photosensitive pixels, each photosensitive pixel is integrated in a black area in each display pixel in the touch display screen 130, so that the touch display screen 130 has an image capturing function. The terminal 100 has a higher screen occupation ratio due to the integration of at least one other component within or under the touch display screen 130.
In some optional embodiments, an edge touch sensor is disposed on a single side, or two sides (e.g., two left and right sides), or four sides (e.g., four upper, lower, left and right sides) of the middle frame of the terminal 100, and is configured to detect at least one of a touch operation, a click operation, a press operation, a slide operation, and the like of a user on the middle frame. The edge touch sensor may be any one of a touch sensor, a thermal sensor, a pressure sensor, and the like. The user may apply operations on the edge touch sensor to control the application in the terminal 100.
In addition, those skilled in the art will appreciate that the configuration of terminal 100 as illustrated in the above-described figures is not intended to be limiting of terminal 100, and that terminals may include more or less components than those illustrated, or some components may be combined, or a different arrangement of components. For example, the terminal 100 further includes a radio frequency circuit, an input unit, a sensor, an audio circuit, a Wireless Fidelity (WiFi) module, a power supply, a bluetooth module, and other components, which are not described herein again.
In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, can be implemented in whole or in part in the form of a computer program product comprising one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer can be a general purpose computer, a network of computers, or other programmable device. The computer instructions can be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by wire (e.g., coaxial cable, fiber optic, digital subscriber line) or wirelessly (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device including one or more available media integrated servers, data centers, and the like. The usable medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium, or a semiconductor medium (e.g., solid state disk), among others.
It should be noted that: the instruction execution device provided in the foregoing embodiment is only illustrated by dividing the functional modules, and in practical applications, the functions may be distributed by different functional modules according to needs, that is, the internal structure of the instruction execution device is divided into different functional modules to complete all or part of the functions described above. In addition, the instruction execution device and the instruction execution method provided by the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments and are not described herein again.
The above description is only exemplary of the present application and should not be taken as limiting, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (8)

1. An instruction execution method is characterized in that the instruction execution method is used for an inner folding screen terminal, the folded terminal is provided with two opposite outer surfaces, the two outer surfaces are opposite to a folded display screen, areas where the two outer surfaces are located in a shell of the terminal are provided with pressure sensors, and when the display screen of the terminal is in a folded state, the pressure sensors are in a working state; when the display screen of the terminal is in an unfolded state, the pressure sensor is in an off-working state, and the method comprises the following steps:
acquiring target pressure acting on the outer surface of the folded terminal through the pressure sensor, wherein the outer surface of the terminal is an exposed surface in the folded terminal, and the outer surface of the folded terminal is a surface on which a display screen is not arranged on the folded terminal;
when the target pressure is larger than a preset pressure threshold value, determining that a trigger operation aiming at the outer surface is detected, wherein the trigger operation is an operation of knocking the outer surface;
when a trigger operation aiming at the side where the outer surface is located is detected, acquiring a preset control instruction based on the trigger operation, wherein the control instruction is a control instruction aiming at an audio function;
executing the control instruction;
the acquiring of the preset control instruction comprises:
and acquiring a control instruction corresponding to the pressure range where the target pressure is located according to the corresponding relation between the preset pressure range and the instruction.
2. The method according to claim 1, wherein a key assembly is disposed on the terminal, the key assembly includes a key and a signal generation module, the key is disposed on an outer surface of the terminal, the signal generation module is configured to generate a pressing signal when the key is pressed, and before the preset control instruction is obtained, the method further includes:
acquiring a pressing signal generated by the key assembly;
determining that a trigger operation for the outer surface is detected according to the pressing signal;
the acquiring of the preset control instruction comprises:
and acquiring a control instruction corresponding to the pressing signal according to the corresponding relation between the preset signal and the instruction.
3. The method of claim 1, wherein prior to said fetching preset control instructions, the method further comprises:
acquiring a target gesture on the side of the outer surface of the terminal through a gesture acquisition assembly;
determining that a trigger operation for the outer surface is detected when the target gesture belongs to a preset gesture set;
the acquiring of the preset control instruction comprises:
acquiring a control instruction corresponding to the target gesture according to a preset corresponding relationship between the gesture and the instruction, wherein the preset corresponding relationship between the gesture and the instruction comprises: and the corresponding relation between each gesture in the preset gesture set and the instruction.
4. The method according to claim 3, wherein the gesture collection component is a rear camera of the terminal or a touch screen disposed on an outer surface of the terminal.
5. The method of claim 1, wherein the control instruction is configured to instruct a stop of execution of a target task, and wherein executing the control instruction comprises:
detecting whether the terminal is executing the target task;
and when the terminal is detected to be executing the target task, stopping executing the target task according to the control instruction.
6. An instruction execution device is used for an inner folding screen terminal, the folded terminal is provided with two opposite outer surfaces, the two outer surfaces are opposite to a folded display screen, the area of the two outer surfaces in a shell of the terminal is provided with a pressure sensor, and when the display screen of the terminal is in a folded state, the pressure sensor is in a working state; when the display screen of terminal is in unfolded state, pressure sensor is in unoperated state, instruction executing apparatus includes:
the second acquisition module is used for acquiring target pressure acting on the outer surface of the folded terminal through the pressure sensor, wherein the outer surface of the terminal is an exposed surface in the folded terminal, and the outer surface of the folded terminal is a surface which is not provided with a display screen on the folded terminal;
the first determination module is used for determining that a trigger operation aiming at the outer surface is detected when the target pressure is greater than a preset pressure threshold value, wherein the trigger operation is an operation of knocking the outer surface;
the first acquisition module is used for acquiring a preset control instruction based on a trigger operation when the trigger operation aiming at the side where the outer surface is located is detected, wherein the control instruction is a control instruction aiming at an audio function;
the execution module is used for executing the control instruction;
the first obtaining module is used for obtaining a control instruction corresponding to the pressure range where the target pressure is located according to the corresponding relation between the preset pressure range and the instruction.
7. A terminal, characterized in that the terminal comprises:
a processor;
a memory for storing executable instructions of the processor;
the folded terminal is provided with two opposite outer surfaces, the two outer surfaces are opposite to the folded display screen, the area of the two outer surfaces in the shell of the terminal is provided with a pressure sensor, and the pressure sensor is in a working state when the display screen of the terminal is in a folded state; when the display screen of the terminal is in an unfolded state, the pressure sensor is in a non-working state;
wherein the processor is configured to:
acquiring target pressure acting on the outer surface of the folded terminal through the pressure sensor, wherein the outer surface of the terminal is an exposed surface in the folded terminal, and the outer surface of the folded terminal is a surface on which a display screen is not arranged on the folded terminal;
when the target pressure is larger than a preset pressure threshold value, determining that a trigger operation aiming at the outer surface is detected, wherein the trigger operation is an operation of knocking the outer surface;
when a trigger operation aiming at the side where the outer surface is located is detected, acquiring a preset control instruction based on the trigger operation, wherein the control instruction is a control instruction aiming at an audio function;
executing the control instruction;
the acquiring of the preset control instruction comprises:
and acquiring a control instruction corresponding to the pressure range where the target pressure is located according to the corresponding relation between the preset pressure range and the instruction.
8. A computer-readable storage medium having stored therein instructions which, when run on a processor of a computer, enable the processor to perform the instruction execution method of any of claims 1 to 5.
CN201711081611.3A 2017-11-07 2017-11-07 Instruction execution method and device Active CN107885444B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711081611.3A CN107885444B (en) 2017-11-07 2017-11-07 Instruction execution method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711081611.3A CN107885444B (en) 2017-11-07 2017-11-07 Instruction execution method and device

Publications (2)

Publication Number Publication Date
CN107885444A CN107885444A (en) 2018-04-06
CN107885444B true CN107885444B (en) 2020-11-13

Family

ID=61779110

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711081611.3A Active CN107885444B (en) 2017-11-07 2017-11-07 Instruction execution method and device

Country Status (1)

Country Link
CN (1) CN107885444B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110133992B (en) * 2018-09-29 2023-09-22 广东小天才科技有限公司 Shooting direction adjustable intelligent watch
CN112003979A (en) * 2019-05-27 2020-11-27 Oppo广东移动通信有限公司 Electronic equipment and incoming call processing method thereof

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103637529A (en) * 2013-11-18 2014-03-19 联想(北京)有限公司 Electronic device protective sleeve, information processing method and electron device
CN104156073A (en) * 2014-08-29 2014-11-19 深圳市中兴移动通信有限公司 Mobile terminal and operation method thereof
CN105554194A (en) * 2015-12-29 2016-05-04 广东欧珀移动通信有限公司 Mobile terminal with side screen
CN105739770A (en) * 2016-01-29 2016-07-06 广东欧珀移动通信有限公司 Signal processing method for user terminal, signal processing method for protection shell and related devices
CN105830422A (en) * 2014-06-26 2016-08-03 三星电子株式会社 Foldable electronic apparatus and interfacing method thereof
CN105897961A (en) * 2015-12-31 2016-08-24 乐视移动智能信息技术(北京)有限公司 Smart phone operation method and device and smart phone

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8177441B2 (en) * 2007-08-29 2012-05-15 Nintendo Co., Ltd. Imaging apparatus

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103637529A (en) * 2013-11-18 2014-03-19 联想(北京)有限公司 Electronic device protective sleeve, information processing method and electron device
CN105830422A (en) * 2014-06-26 2016-08-03 三星电子株式会社 Foldable electronic apparatus and interfacing method thereof
CN104156073A (en) * 2014-08-29 2014-11-19 深圳市中兴移动通信有限公司 Mobile terminal and operation method thereof
CN105554194A (en) * 2015-12-29 2016-05-04 广东欧珀移动通信有限公司 Mobile terminal with side screen
CN105897961A (en) * 2015-12-31 2016-08-24 乐视移动智能信息技术(北京)有限公司 Smart phone operation method and device and smart phone
CN105739770A (en) * 2016-01-29 2016-07-06 广东欧珀移动通信有限公司 Signal processing method for user terminal, signal processing method for protection shell and related devices

Also Published As

Publication number Publication date
CN107885444A (en) 2018-04-06

Similar Documents

Publication Publication Date Title
CN107870716B (en) Method and device for calling background application program
CN107704177B (en) Interface display method and device and terminal
CN107844228B (en) Message display method and device and terminal
CN107870724B (en) Display screen unfolding method and device and terminal
CN107765952B (en) Screen capturing method and device and terminal
CN107728885B (en) Multitask control method and device, mobile terminal and storage medium
WO2020147666A1 (en) User interface display method and apparatus, terminal and storage medium
CN107765959B (en) Background application program display method and terminal
CN107728901B (en) Interface display method and device and terminal
EP3779684B1 (en) Icon display method, device and terminal
CN107807773B (en) Application body distinguishing method, device, terminal and storage medium
US20220100354A1 (en) User interface display method and apparatus, device, and storage medium
CN109710206B (en) Method, device, terminal and storage medium for displaying information
CN107678826B (en) Interface display method and device, mobile terminal and storage medium
CN107831999B (en) Screen control method and device and terminal
CN107566579B (en) Shooting method, shooting device, shooting terminal and storage medium
CN107728810B (en) Terminal control method, device, terminal and storage medium
CN107871121B (en) Fingerprint identification method and device
CN107563174B (en) Fingerprint identification method and device
CN107765775B (en) Terminal control method, device and storage medium
CN108803964B (en) Buoy display method, device, terminal and storage medium
CN107831993B (en) Play control method, device, terminal and computer readable storage medium
CN107566660B (en) Call noise reduction method and device and terminal
CN107656792B (en) User interface display method and device and terminal
CN107885277B (en) Method and device for adjusting angle of display screen, mobile terminal and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant