CN111459383A - Key response method and electronic equipment - Google Patents
Key response method and electronic equipment Download PDFInfo
- Publication number
- CN111459383A CN111459383A CN202010241106.6A CN202010241106A CN111459383A CN 111459383 A CN111459383 A CN 111459383A CN 202010241106 A CN202010241106 A CN 202010241106A CN 111459383 A CN111459383 A CN 111459383A
- Authority
- CN
- China
- Prior art keywords
- distance
- target
- screen
- display screen
- key
- 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.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction 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
- G06F3/04847—Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction 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
- G06F3/04842—Selection of displayed objects or displayed text elements
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 Function (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention provides a key response method and electronic equipment, wherein the key response method is applied to the electronic equipment, the electronic equipment comprises a first display screen and a second display screen, and the key response method comprises the following steps: receiving a first input for a first key; responding to the first input, adjusting display content on a first target screen according to a first distance and a preset distance, or adjusting operating parameters of a first target application program according to the first distance and the preset distance, wherein the first target application program comprises an application program associated with the first target screen, and the first target screen is the first display screen and/or the second display screen; the first distance is the distance of the second display screen moving out of the shell of the electronic equipment. According to the scheme, effective control of the screen by the keys can be guaranteed, the mode of controlling the display screen by the keys is enriched, and the use experience of a user is improved.
Description
Technical Field
The present invention relates to the field of electronic devices, and in particular, to a key response method and an electronic device.
Background
In the prior art, a terminal structure that a screen can extend out from the lower part of another screen exists, but no implementation scheme is provided for how to utilize keys on the terminal to control the screen, so that the effective control of the keys on the screen cannot be guaranteed, and the problem of poor user experience is caused.
Disclosure of Invention
The embodiment of the invention provides a key response method and electronic equipment, and aims to solve the problem that in the prior art, no implementation scheme for controlling a screen by using keys on a terminal is available, so that effective control of the screen by the keys cannot be guaranteed, and the user experience is poor.
In order to solve the technical problem, the invention adopts the following implementation mode:
in a first aspect, an embodiment of the present invention provides a key response method, which is applied to an electronic device, where the electronic device includes a first display screen and a second display screen, and includes:
receiving a first input for a first key;
responding to the first input, adjusting display content on a first target screen according to a first distance and a preset distance, or adjusting operating parameters of a first target application program according to the first distance and the preset distance, wherein the first target application program comprises an application program associated with the first target screen, and the first target screen is the first display screen and/or the second display screen;
the first distance is the distance of the second display screen moving out of the shell of the electronic equipment.
In a second aspect, an embodiment of the present invention further provides an electronic device, where the electronic device includes a first display screen and a second display screen, and the electronic device further includes:
the first receiving module is used for receiving first input aiming at the first key;
a first adjusting module, configured to, in response to the first input, adjust display content on a first target screen according to a first distance and a preset distance, or adjust an operation parameter of a first target application according to the first distance and the preset distance, where the first target application includes an application associated with the first target screen, and the first target screen is the first display screen and/or the second display screen;
the first distance is the distance of the second display screen moving out of the shell of the electronic equipment.
In a third aspect, an embodiment of the present invention further provides an electronic device, including: a memory, a processor and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the key response method described above.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the key response method are implemented.
The invention has the beneficial effects that:
according to the scheme, the display content on the first target screen is adjusted according to the first distance and the preset distance in response to the first input, or the operation parameters of the first target application program are adjusted according to the first distance and the preset distance, so that the effective control of the screen by the keys can be ensured, the mode of controlling the display screen by the keys is enriched, and the use experience of a user is improved.
Drawings
FIG. 1 is a flow chart of a key response method according to an embodiment of the present invention;
FIG. 2 shows a block diagram of an electronic device of an embodiment of the invention;
FIG. 3 shows one of the block diagrams of an electronic device according to an embodiment of the invention;
FIG. 4 is a second block diagram of an electronic device according to an embodiment of the invention;
FIG. 5 is a third block diagram of an electronic device according to an embodiment of the invention;
fig. 6 is a schematic diagram showing a hardware configuration of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in detail with reference to the accompanying drawings and specific embodiments.
The invention provides a key response method and electronic equipment, aiming at the problems that in the prior art, no implementation scheme for controlling a screen by using keys on a terminal exists, the effective control of the keys on the screen cannot be guaranteed, and the user experience is poor.
As shown in fig. 1, an embodiment of the present invention provides a key response method, which is applied to an electronic device, where the electronic device includes a first display screen and a second display screen, and further, the key response method includes:
the first key is a key on the electronic device, and may be on the first display screen shell or on the second display screen shell.
it should be noted that the first distance is a distance that the second display screen moves out of the housing of the electronic device.
Specifically, the adjustment of the display content on the first target screen may be to adjust the font and the size of the picture displayed on the first target screen, and may also implement screenshot of the display content on the first target screen, and the like; the adjusting of the first target application program operation parameter may be adjusting sound, brightness, and the like of the first target application program, for example, when the first target application program is a video playing program, through this operation, playing sound, playing brightness, playing progress, and the like of a video may be adjusted.
It should be noted here that the first key refers to a physical key disposed on a housing of the electronic device, and the first key may be disposed on a housing corresponding to the first display screen or disposed on a housing corresponding to the second display screen; in the embodiment of the invention, the first display screen can be called as a main screen, and the second display screen can be called as an auxiliary screen.
For example, as shown in fig. 2, one setting manner of the structure of the electronic device according to the embodiment of the present invention is as follows:
the electronic device comprises a first shell, wherein a first display screen 201 is arranged on the first shell, an accommodating cavity is arranged on one side of the first shell, a second shell is arranged in the accommodating cavity, a second display screen 202 is arranged on the second shell, the second shell can move to the outside of the first shell along the accommodating cavity, at least one key 203 is arranged on a first surface of the second shell, and the first surface is the surface of the second shell exposed in the accommodating cavity when being accommodated in the accommodating cavity.
It should be noted that the preset distance is preset, and may be set by a user, or may be set according to a maximum distance that the second display screen can be moved out, and in a general case, the preset distance is stored in the electronic device; optionally, the preset distance is one half of a maximum distance that the second display screen can move out, that is, when the width direction of the second housing is consistent with the moving direction of the second housing, the preset distance is one half of the width of the second housing.
Specifically, a further implementation of step 102 includes one of:
a11, when the first distance is greater than or equal to a preset distance, adjusting the display content on the second display screen, or adjusting the operation parameters of a first target application program, wherein the first target application program comprises an application program associated with the second display screen;
it should be noted that, alternatively, the preset distance is equal to one half of the maximum distance that the second display screen can move out, that is, in this case, when the second display screen moves out by at least one half of the maximum distance that the second display screen can move out, at this time, the terminal responds to the first input, and implements the relevant adjustment to the second display screen, that is, in this case, the first key is used for controlling the second display screen.
A12, when the first distance is smaller than a preset distance, adjusting the display content on the first display screen, or adjusting the operation parameters of a first target application program, wherein the first target application program comprises an application program associated with the first display screen;
it should be noted that, alternatively, the preset distance is equal to one half of the maximum distance that the second display screen can move out, that is, in this case, when the second display screen moves out by less than one half of the maximum distance that the second display screen can move out, at this time, the terminal responds to the first input, and what is implemented is the relevant adjustment of the first display screen, that is, in this case, the first key is used for controlling the first display screen.
It should be noted that the target screen is controlled by the distance of the second display screen moving out of the housing of the electronic device, so that different screens can be controlled by the same key, and the flexible control of the display screen of the electronic device is realized.
It should be further noted that, in order to improve flexibility of screen control, after step 102, the embodiment of the present invention further includes:
receiving a second input aiming at a second key, wherein the second input is used for adjusting a control object of the first key;
receiving a third input for the first key;
responding to the third input, adjusting display content on a second target screen, or adjusting operation parameters of a second target application program, wherein the second target application program comprises an application program associated with the second target screen;
wherein the first target screen is different from the second target screen.
It should be noted that, here, mainly refers to a control object that can adjust the first key through the second input to the second key; it should be further noted that the second key may be the same as the first key or different from the first key.
For example, when the first display screen is controlled by the first key, the control of the second display screen can be realized by adjusting the first key through the second input; for example, when the first key controls the second display screen, the first key can be adjusted through the second input to realize the control of the first display screen.
It should be further noted that, in the embodiment of the present invention, the effective duration of the display screen adjusted by the first key may also be controlled according to the distance that the second display screen moves out of the housing of the electronic device, and after the effective duration is exceeded, the electronic device automatically resumes the original control mode; specifically, the specific implementation manner of receiving the second input for the second key is as follows:
and receiving a second input aiming at a second key under the condition that the second display screen moves out of the shell of the electronic equipment by a second distance.
After receiving the second input, the method further comprises:
acquiring target time according to the second distance;
and after the target time of the second input is received, adjusting the control object of the first key from the second target screen to the first target screen.
It should be noted that the target time refers to the effective time length mentioned above, and it should be noted that, here, the different second distances correspond to different target times, for example, the second distances are proportional to the target time, i.e., the larger the second distance is, the longer the corresponding target time is.
For example, when the first key controls the first display screen, when the second distance is one half of the maximum distance that the second display screen can be moved out, the second input for the second key is received, and then the effective duration (for example, 10 minutes) corresponding to the second distance is obtained, it should be noted that the starting time of the effective duration is the time when the second input is received, in the effective duration range, the first key controls the second display screen, and when the effective duration is exceeded, the first key controls the first display screen.
For example, when the first key controls the second display screen, and the second distance is the maximum distance that the second display screen can move out, the second input for the second key is received, and then the effective duration (for example, 20 minutes) corresponding to the second distance is obtained, it should be noted that the starting time of the effective duration is the time when the second input is received, in the effective duration range, the first key controls the first display screen, and when the effective duration is exceeded, the first key controls the second display screen.
It should be further noted that, in the embodiment of the present invention, when the second display screen can move out by the maximum distance, a mode (i.e., dual-screen control) for simultaneously controlling the two display screens is further provided, and it should be noted that, in this case, the first key includes at least two keys, and a specific implementation manner is as follows:
when the second display screen moves out of the shell of the electronic equipment by a distance equal to the maximum distance that the second display screen can move out and the control object of the first key is the second display screen, acquiring input of a third key (the third key is a key of at least two first keys, wherein the user does not want to control the second display screen); when the input duration is greater than or equal to a first preset duration, adjusting the control object of the third key from the second display screen to the first display screen; it should be further noted that the dual-screen control mode may be valid within a preset time, and when the preset time is exceeded, the electronic device automatically adjusts to the control of the first key only on the second display screen.
That is, in this case, when the sub-screen is completely pulled out, the function of controlling the main and sub-screens by key switching is added: after a key is pressed for 5s for a long time, the key can control the main screen, and the effective time is 30 s; after another key is pressed for 5s for a long time, the key controls the auxiliary screen. The method can solve the problems that when the main screen plays videos and the auxiliary screen checks messages, the volume of the main screen video is controlled by the keys, fast forward and fast backward and the like, and then screenshot and other operations can be conveniently and rapidly carried out on the content of the auxiliary screen.
It should be further noted that, when there are at least two first keys, in order to reduce the operation steps of the user, another implementation manner of the above manner of implementing the dual-screen control may be:
when the second display screen moves out of the shell of the electronic equipment for a distance equal to the maximum distance that the second display screen can move out, acquiring simultaneous input to a key A (including at least one key) and a key B (including at least one key) in the first keys; and when the input duration is greater than or equal to a second preset duration, adjusting the control object of the key A to be a first display screen, and adjusting the control object of the key B to be a second display screen.
It should be noted that, under such a situation, the button can control the dual screens, when the secondary screen is completely pulled out, and the duration of pressing the button 1 and the button 2 for a long time is 5s, the effective time is 60s, the button 1 is used for controlling the primary screen, the button 2 is used for controlling the secondary screen, that is, the electronic device maintains the state for 60s, and after 60s is exceeded, the electronic device automatically adjusts the control object of the first button to be the second display screen; in this case, the keys 1 and 2 have a certain length, that is, two adjustments can be implemented by one key, for example, when the user touches the upper end of the key 1, the adjustment for increasing the volume is performed, and when the user touches the lower end of the key 1, the adjustment for decreasing the volume is performed.
It should be noted that, in this case, at least two keys are operated simultaneously, so that the operation steps of the user can be reduced, and the operation complexity of the user is reduced.
In conclusion, the embodiment of the invention can conveniently utilize the keys to control the display screen according to the intention of the user, enriches the modes of controlling the display screen by the keys and improves the use experience of the user.
As shown in fig. 3 to fig. 5, an embodiment of the present invention further provides an electronic device, where the electronic device includes a first display screen and a second display screen, and the electronic device further includes:
a first receiving module 301, configured to receive a first input for a first key;
a first adjusting module 302, configured to, in response to the first input, adjust display content on a first target screen according to a first distance and a preset distance, or adjust an operation parameter of a first target application according to the first distance and the preset distance, where the first target application includes an application associated with the first target screen, and the first target screen is the first display screen and/or the second display screen;
the first distance is the distance of the second display screen moving out of the shell of the electronic equipment.
Further, the first adjusting module 302 is configured to:
when the first distance is greater than or equal to a preset distance, adjusting display content on the second display screen, or adjusting operation parameters of a first target application program, wherein the first target application program comprises an application program associated with the second display screen; or the like, or, alternatively,
and under the condition that the first distance is smaller than the preset distance, adjusting the display content on the first display screen, or adjusting the operation parameters of a first target application program, wherein the first target application program comprises an application program associated with the first display screen.
Optionally, after the first adjusting module 302 adjusts the display content on the first target screen according to the first distance and the preset distance or adjusts the first target application operating parameter according to the first distance and the preset distance in response to the first input, the method further includes:
a second receiving module 303, configured to receive a second input for a second key, where the second input is used to adjust a control object of the first key;
a third receiving module 304, configured to receive a third input for the first key;
a second adjusting module 305, configured to adjust display content on a second target screen or adjust operating parameters of a second target application program in response to the third input, where the second target application program includes an application program associated with the second target screen;
wherein the first target screen is different from the second target screen.
Further, the second receiving module 303 is configured to: receiving a second input aiming at a second key under the condition that the second display screen moves out of the shell of the electronic equipment by a second distance;
the electronic device further includes:
an obtaining module 306, configured to obtain a target time according to the second distance;
a third adjusting module 307, configured to adjust the control object of the first key from the second target screen to the first target screen after receiving the target time of the second input.
Specifically, the preset distance is equal to one half of the maximum distance that the second display screen can move out.
The electronic device provided in the embodiment of the present invention can implement each process implemented by the electronic device in the method embodiment of fig. 1, and is not described herein again to avoid repetition. According to the electronic equipment, the display content on the first target screen is adjusted according to the first distance and the preset distance or the operation parameters of the first target application program are adjusted according to the first distance and the preset distance in response to the first input, so that effective control of the screen by the keys can be ensured, the mode of controlling the display screen by the keys is enriched, and the use experience of a user is improved.
Fig. 6 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present invention.
The electronic device 60 includes a first display screen and a second display screen, and the electronic device 60 further includes but is not limited to: radio unit 610, network module 620, audio output unit 630, input unit 640, sensor 650, display unit 660, user input unit 670, interface unit 680, memory 690, processor 611, and power supply 612. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 6 does not constitute a limitation of the electronic device, and that the electronic device may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the electronic device includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic device, a wearable device, a pedometer, and the like.
Wherein, the processor 611 is configured to receive a first input for the first key through the user input unit 670; responding to the first input, adjusting display content on a first target screen according to a first distance and a preset distance, or adjusting operating parameters of a first target application program according to the first distance and the preset distance, wherein the first target application program comprises an application program associated with the first target screen, and the first target screen is the first display screen and/or the second display screen;
the first distance is the distance of the second display screen moving out of the shell of the electronic equipment.
According to the electronic equipment, the display content on the first target screen is adjusted according to the first distance and the preset distance or the operation parameters of the first target application program are adjusted according to the first distance and the preset distance in response to the first input, so that effective control of the screen by the keys can be ensured, the mode of controlling the display screen by the keys is enriched, and the use experience of a user is improved.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 610 may be configured to receive and transmit signals during a message transmission and reception process or a call process, and specifically, receive downlink data from a base station and then process the received downlink data to the processor 611; in addition, the uplink data is transmitted to the base station. In general, radio unit 610 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio unit 610 may also communicate with a network and other devices through a wireless communication system.
The electronic device provides wireless broadband internet access to the user through the network module 620, such as assisting the user in sending and receiving e-mails, browsing web pages, and accessing streaming media.
The audio output unit 630 may convert audio data received by the radio frequency unit 610 or the network module 620 or stored in the memory 690 into an audio signal and output as sound. Also, the audio output unit 630 may also provide audio output related to a specific function performed by the electronic device 60 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 630 includes a speaker, a buzzer, a receiver, and the like.
The input unit 640 is used to receive an audio or video signal. The input Unit 640 may include a Graphics Processing Unit (GPU) 641 and a microphone 642, and the Graphics processor 641 processes image data of still pictures or video obtained by an image capturing apparatus (such as a camera) in a video capture mode or an image capture mode. The processed image frames may be displayed on the display unit 660. The image frames processed by the graphic processor 641 may be stored in the memory 690 (or other storage medium) or transmitted via the radio frequency unit 610 or the network module 620. The microphone 642 may receive sounds and may be capable of processing such sounds into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 610 in case of a phone call mode.
The electronic device 60 also includes at least one sensor 650, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that adjusts the brightness of the display panel 661 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 661 and/or the backlight when the electronic device 60 is moved to the ear. As one type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of an electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensor 650 may further include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which will not be described in detail herein.
The Display unit 66 may include a Display panel 661, and the Display panel 661 may be configured in the form of a liquid Crystal Display (L acquired Crystal Display, L CD), an Organic light Emitting Diode (O L ED), or the like.
The user input unit 670 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 670 includes a touch panel 671 and other input devices 672. The touch panel 671, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 671 (e.g., operations by a user on or near the touch panel 671 using a finger, a stylus, or any other suitable object or attachment). The touch panel 671 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 611, and receives and executes commands sent from the processor 611. In addition, the touch panel 671 can be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 671, the user input unit 670 may also include other input devices 672. In particular, the other input devices 672 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a track ball, a mouse, and a joystick, which are not described herein again.
Further, the touch panel 671 may be overlaid on the display panel 661, and when the touch panel 671 detects a touch operation on or near the touch panel 671, the touch panel 671 transmits to the processor 611 to determine the type of the touch event, and then the processor 611 provides a corresponding visual output on the display panel 661 according to the type of the touch event. Although the touch panel 671 and the display panel 661 are shown as two separate components in fig. 6 to implement the input and output functions of the electronic device, in some embodiments, the touch panel 671 and the display panel 661 can be integrated to implement the input and output functions of the electronic device, which is not limited herein.
The interface unit 680 is an interface for connecting an external device to the electronic apparatus 60. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 680 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic apparatus 60 or may be used to transmit data between the electronic apparatus 60 and the external device.
The memory 690 may be used to store software programs as well as various data. The memory 690 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 690 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 611 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, performs various functions of the electronic device and processes data by operating or executing software programs and/or modules stored in the memory 690 and calling data stored in the memory 690, thereby monitoring the electronic device as a whole. Processor 611 may include one or more processing units; preferably, the processor 611 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 611.
The electronic device 60 may further include a power supply 612 (e.g., a battery) for supplying power to various components, and preferably, the power supply 612 may be logically connected to the processor 611 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In addition, the electronic device 60 includes some functional modules that are not shown, and are not described in detail herein.
Preferably, an embodiment of the present invention further provides an electronic device, which includes a processor 611, a memory 690, and a computer program stored in the memory 690 and capable of running on the processor 611, where the computer program, when executed by the processor 611, implements each process of the above-mentioned embodiment of the key response method, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
The embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned embodiment of the key response method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
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.
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 invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling an electronic device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the preferred embodiments of the present invention have been described, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention as defined in the following claims.
Claims (12)
1. A key response method is applied to electronic equipment, the electronic equipment comprises a first display screen and a second display screen, and the key response method is characterized by comprising the following steps:
receiving a first input for a first key;
responding to the first input, adjusting display content on a first target screen according to a first distance and a preset distance, or adjusting operating parameters of a first target application program according to the first distance and the preset distance, wherein the first target application program comprises an application program associated with the first target screen, and the first target screen is the first display screen and/or the second display screen;
the first distance is the distance of the second display screen moving out of the shell of the electronic equipment.
2. The key response method according to claim 1, wherein the adjusting the display content on the first target screen according to the first distance and the preset distance, or adjusting the operation parameters of a first target application according to the first distance and the preset distance, the first target application comprising an application associated with a first target screen, the first target screen being the first display screen and/or the second display screen, comprises:
when the first distance is greater than or equal to a preset distance, adjusting display content on the second display screen, or adjusting operation parameters of a first target application program, wherein the first target application program comprises an application program associated with the second display screen; or the like, or, alternatively,
and under the condition that the first distance is smaller than the preset distance, adjusting the display content on the first display screen, or adjusting the operation parameters of a first target application program, wherein the first target application program comprises an application program associated with the first display screen.
3. The method for responding to a key press as claimed in claim 1, wherein after adjusting the display content on the first target screen according to the first distance and the preset distance, or adjusting the operation parameter of the first target application according to the first distance and the preset distance, the method further comprises:
receiving a second input aiming at a second key, wherein the second input is used for adjusting a control object of the first key;
receiving a third input for the first key;
responding to the third input, adjusting display content on a second target screen, or adjusting operation parameters of a second target application program, wherein the second target application program comprises an application program associated with the second target screen;
wherein the first target screen is different from the second target screen.
4. A key response method according to claim 3, wherein said receiving a second input for a second key comprises: receiving a second input aiming at a second key under the condition that the second display screen moves out of the shell of the electronic equipment by a second distance;
the method further comprises the following steps:
acquiring target time according to the second distance;
and after the target time of the second input is received, adjusting the control object of the first key from the second target screen to the first target screen.
5. A key response method according to claim 1, wherein the predetermined distance is equal to one-half of the maximum distance that the second display screen can be moved out.
6. An electronic device comprising a first display screen and a second display screen, the electronic device further comprising:
the first receiving module is used for receiving first input aiming at the first key;
a first adjusting module, configured to, in response to the first input, adjust display content on a first target screen according to a first distance and a preset distance, or adjust an operation parameter of a first target application according to the first distance and the preset distance, where the first target application includes an application associated with the first target screen, and the first target screen is the first display screen and/or the second display screen;
the first distance is the distance of the second display screen moving out of the shell of the electronic equipment.
7. The electronic device of claim 6, wherein the first adjusting module is configured to:
when the first distance is greater than or equal to a preset distance, adjusting display content on the second display screen, or adjusting operation parameters of a first target application program, wherein the first target application program comprises an application program associated with the second display screen; or the like, or, alternatively,
and under the condition that the first distance is smaller than the preset distance, adjusting the display content on the first display screen, or adjusting the operation parameters of a first target application program, wherein the first target application program comprises an application program associated with the first display screen.
8. The electronic device of claim 6, wherein after the first adjusting module adjusts the display content on the first target screen according to the first distance and the preset distance or adjusts the first target application operating parameter according to the first distance and the preset distance in response to the first input, further comprising:
the second receiving module is used for receiving a second input aiming at a second key, and the second input is used for adjusting a control object of the first key;
a third receiving module, configured to receive a third input for the first key;
a second adjusting module, configured to adjust, in response to the third input, display content on a second target screen or adjust operation parameters of a second target application program, where the second target application program includes an application program associated with the second target screen;
wherein the first target screen is different from the second target screen.
9. The electronic device of claim 8, wherein the second receiving module is configured to: receiving a second input aiming at a second key under the condition that the second display screen moves out of the shell of the electronic equipment by a second distance;
the electronic device further includes:
the acquisition module is used for acquiring target time according to the second distance;
and the third adjusting module is used for adjusting the control object of the first key from the second target screen to the first target screen after receiving the target time of the second input.
10. The electronic device of claim 6, wherein the preset distance is equal to one-half of a maximum distance that the second display screen can move out.
11. An electronic device, comprising: memory, processor and computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, carries out the steps of the key response method according to any of claims 1 to 5.
12. A computer-readable storage medium, characterized in that a computer program is stored thereon, which computer program, when being executed by a processor, carries out the steps of the key response method according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010241106.6A CN111459383B (en) | 2020-03-31 | 2020-03-31 | Key response method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010241106.6A CN111459383B (en) | 2020-03-31 | 2020-03-31 | Key response method and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111459383A true CN111459383A (en) | 2020-07-28 |
CN111459383B CN111459383B (en) | 2021-07-27 |
Family
ID=71683357
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010241106.6A Active CN111459383B (en) | 2020-03-31 | 2020-03-31 | Key response method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111459383B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112181184A (en) * | 2020-11-17 | 2021-01-05 | 维沃移动通信有限公司 | Touch pen, electronic equipment, operation control method and device and terminal equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160224223A1 (en) * | 2015-01-30 | 2016-08-04 | Xiaomi Inc. | Methods and Devices for Displaying Document on Touch Screen Display |
CN109940638A (en) * | 2019-04-26 | 2019-06-28 | 北京猎户星空科技有限公司 | Robot, robot control method, device, storage medium and controller |
CN110324468A (en) * | 2019-06-24 | 2019-10-11 | 维沃移动通信有限公司 | Mobile terminal |
CN110456959A (en) * | 2019-07-31 | 2019-11-15 | 维沃移动通信有限公司 | A kind of control method and terminal of terminal |
CN209708014U (en) * | 2019-04-19 | 2019-11-29 | 广东小天才科技有限公司 | Double-screen eye protection panel |
-
2020
- 2020-03-31 CN CN202010241106.6A patent/CN111459383B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160224223A1 (en) * | 2015-01-30 | 2016-08-04 | Xiaomi Inc. | Methods and Devices for Displaying Document on Touch Screen Display |
CN209708014U (en) * | 2019-04-19 | 2019-11-29 | 广东小天才科技有限公司 | Double-screen eye protection panel |
CN109940638A (en) * | 2019-04-26 | 2019-06-28 | 北京猎户星空科技有限公司 | Robot, robot control method, device, storage medium and controller |
CN110324468A (en) * | 2019-06-24 | 2019-10-11 | 维沃移动通信有限公司 | Mobile terminal |
CN110456959A (en) * | 2019-07-31 | 2019-11-15 | 维沃移动通信有限公司 | A kind of control method and terminal of terminal |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112181184A (en) * | 2020-11-17 | 2021-01-05 | 维沃移动通信有限公司 | Touch pen, electronic equipment, operation control method and device and terminal equipment |
Also Published As
Publication number | Publication date |
---|---|
CN111459383B (en) | 2021-07-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109814822B (en) | Multimedia play control method and device and terminal equipment | |
CN111459456B (en) | Audio control method and electronic equipment | |
CN110209313B (en) | Icon moving method and terminal equipment | |
CN111147919A (en) | Play adjustment method, electronic equipment and computer readable storage medium | |
CN108196815B (en) | Method for adjusting call sound and mobile terminal | |
CN108196753B (en) | Interface switching method and mobile terminal | |
CN110012143B (en) | Telephone receiver control method and terminal | |
CN111372228A (en) | Audio control method and electronic equipment | |
CN110764675A (en) | Control method and electronic equipment | |
CN109542321B (en) | Control method and device for screen display content | |
CN111443815A (en) | Vibration reminding method and electronic equipment | |
CN110933494A (en) | Picture sharing method and electronic equipment | |
CN111061404A (en) | Control method and first electronic device | |
CN111078186A (en) | Playing method and electronic equipment | |
CN109240575A (en) | A kind of screen control method and electronic equipment | |
CN111683171A (en) | Audio output method and electronic equipment | |
CN111050214A (en) | Video playing method and electronic equipment | |
CN108540642B (en) | Mobile terminal and operation method thereof | |
CN111261128B (en) | Screen brightness adjusting method and electronic equipment | |
CN111526248B (en) | Audio output mode switching method and electronic equipment | |
CN111061407B (en) | Video program operation control method, electronic device, and storage medium | |
CN110737376B (en) | Application control method and terminal | |
CN110213437B (en) | Editing method and mobile terminal | |
CN111459383B (en) | Key response method and electronic equipment | |
CN111328132A (en) | Method for adjusting transmitting power 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |