CN107340963B - Information processing method and electronic equipment - Google Patents

Information processing method and electronic equipment Download PDF

Info

Publication number
CN107340963B
CN107340963B CN201710405410.8A CN201710405410A CN107340963B CN 107340963 B CN107340963 B CN 107340963B CN 201710405410 A CN201710405410 A CN 201710405410A CN 107340963 B CN107340963 B CN 107340963B
Authority
CN
China
Prior art keywords
preset
preset operations
state
control instructions
instruction
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
CN201710405410.8A
Other languages
Chinese (zh)
Other versions
CN107340963A (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.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201710405410.8A priority Critical patent/CN107340963B/en
Publication of CN107340963A publication Critical patent/CN107340963A/en
Application granted granted Critical
Publication of CN107340963B publication Critical patent/CN107340963B/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
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72466User interfaces specially adapted for cordless or mobile telephones with selection means, e.g. keys, having functions defined by the mode or the status of the device

Abstract

The invention discloses an information processing method and electronic equipment, wherein the information processing method is applied to the electronic equipment, a touch key is arranged at the edge position of a plane where a display screen of the electronic equipment is located, the touch key and the display screen are the same in width, and the method comprises the following steps: obtaining the touch operation of the operation body through the touch key detection; matching the touch operation with M preset operations, and when the touch operation is successfully matched with a first preset operation in the M preset operations, acquiring a first control instruction corresponding to the first preset operation according to the corresponding relation between the M preset operations and the M control instructions; the M control instructions at least comprise a volume adjusting instruction and a home screen interface returning instruction; responding to the first control instruction. The technical problem that the key setting in the prior art does not meet the integrated design requirements of lightness and thinness and screen of the electronic equipment is solved.

Description

Information processing method and electronic equipment
Technical Field
The present invention relates to the field of computer technologies, and in particular, to an information processing method and an electronic device.
Background
As information processing technology develops, more and more electronic devices appear in people's work and life, for example: mobile terminals such as mobile phones, tablet computers, and notebook computers are generally provided with a display screen for users to watch. Mobile terminals are usually provided with a number of keys for controlling corresponding functions of the mobile terminal, such as: the number of keys arranged in the mobile terminal is more, the occupied space of the mobile terminal is more, the ultra-thin design of the mobile terminal is more difficult, and the integrated design of the screen of the mobile terminal is also not favorable. Therefore, the technical problem that the key setting in the prior art does not meet the design requirements of electronic equipment lightness and thinness and screen integration exists.
Disclosure of Invention
The embodiment of the invention provides an information processing method and electronic equipment, and aims to solve the technical problem that the key setting in the prior art does not meet the requirement of integrated design of lightness and thinness and a screen of the electronic equipment.
In a first aspect, an embodiment of the present invention provides an information processing method, which is applied to an electronic device, where a touch key is disposed at an edge position of a plane where a display screen of the electronic device is located, and the touch key is as wide as the display screen, and the method includes:
obtaining the touch operation of the operation body through the touch key detection;
matching the touch operation with M preset operations, and when the touch operation is successfully matched with a first preset operation in the M preset operations, acquiring a first control instruction corresponding to the first preset operation according to the corresponding relation between the M preset operations and the M control instructions; the M control instructions at least comprise a volume adjusting instruction and a home screen interface returning instruction, and M is an integer larger than 1;
responding to the first control instruction.
Optionally, matching the touch operation with M preset operations specifically includes:
obtaining the current state of the display screen of the electronic equipment;
determining N preset operations from the M preset operations based on the current state, wherein N is an integer which is greater than 0 and less than or equal to M;
and matching the touch operation with the N preset operations.
Optionally, the determining N preset operations from the M preset operations based on the current state specifically includes:
and when the current state is the screen locking state, determining that the control instruction corresponding to the N preset operations only comprises the volume adjusting instruction.
Optionally, the determining, based on the current state, N preset operations from the M preset operations includes:
and when the current state is an unlocking state, determining that the control instructions corresponding to the N preset operations at least comprise the volume adjusting instruction and the home screen interface returning instruction.
Optionally, the determining N preset operations from the M preset operations based on the current state specifically includes:
when the current state is an unlocking state, acquiring the current function state of the touch key;
and acquiring N preset operations corresponding to the current functional state, wherein the touch key has at least two functional states, and in the current functional state, N control instructions corresponding to the functional states can be responded, and the N control instructions correspond to the N preset operations.
Optionally, the determining, based on the current state, N preset operations from the M preset operations includes:
when the current state is the unlocking state, acquiring an application program currently running by the electronic equipment;
the method comprises the steps of obtaining N preset operations corresponding to the currently running application program, wherein when the touch key is used for running the application program, the electronic equipment can respond to N control instructions corresponding to the application program, and the N control instructions correspond to the N preset operations.
In a second aspect, an embodiment of the present invention provides an electronic device, including:
the touch key is arranged at the edge position of the plane where the display screen of the electronic equipment is located, the width of the touch key is the same as that of the display screen, and the touch key is used for detecting and obtaining touch operation of an operation body;
a memory for storing at least one program module;
the processor is used for matching the touch operation with M preset operations by obtaining and running the at least one program module in the memory, and when the touch operation is successfully matched with a first preset operation in the M preset operations, acquiring a first control instruction corresponding to the first preset operation according to the corresponding relation between the M preset operations and the M control instructions; the M control instructions at least comprise a volume adjusting instruction and a home screen interface returning instruction, and M is an integer larger than 1; responding to the first control instruction.
Optionally, the processor is configured to match the touch operation with M preset operations, and includes:
obtaining the current state of a display screen of the electronic equipment;
determining N preset operations from the M preset operations based on the current state, wherein N is an integer which is greater than 0 and less than or equal to M;
and matching the touch operation with the N preset operations.
Optionally, the processor is configured to determine, based on the current state, N preset operations from the M preset operations, where the determining includes:
and when the current state is the screen locking state, determining that the control instructions corresponding to the N preset operations only comprise the volume adjusting instruction.
Optionally, the processor is configured to determine, based on the current state, N preset operations from the M preset operations, where the determining includes:
and when the current state is an unlocking state, determining that the control instructions corresponding to the N preset operations at least comprise the volume adjusting instruction and the home screen interface returning instruction.
Optionally, the processor is configured to determine N preset operations from the M preset operations based on the current state, where the determining includes:
when the current state is an unlocking state, acquiring the current function state of the touch key;
and acquiring N preset operations corresponding to the current functional state, wherein the touch key has at least two functional states, and in the current functional state, N control instructions corresponding to the functional states can be responded, and the N control instructions correspond to the N preset operations.
Optionally, the processor is configured to determine, based on the current state, N preset operations from the M preset operations, where the determining includes:
when the current state is an unlocking state, obtaining an application program currently operated by the electronic equipment;
and obtaining N preset operations corresponding to the currently running application program, wherein when the touch key runs the application program, the electronic device can respond to N control instructions corresponding to the application program, and the N control instructions correspond to the N preset operations.
In a third aspect, an embodiment of the present invention provides an electronic device, where a touch key is disposed at an edge position of a plane where a display screen of the electronic device is located, and the touch key is as wide as the display screen, and the electronic device further includes:
the first acquisition unit is used for acquiring the touch operation of the operation body obtained by the touch key detection;
the second obtaining unit is used for matching the touch operation with M preset operations, and obtaining a first control instruction corresponding to a first preset operation according to the corresponding relation between the M preset operations and the M control instructions when the touch operation is successfully matched with the first preset operation in the M preset operations; the M control instructions at least comprise a volume adjusting instruction and a home screen interface returning instruction, and M is an integer larger than 1;
and the response unit is used for responding to the first control instruction.
Optionally, the second obtaining unit includes:
the acquisition module is used for acquiring the current state of the display screen of the electronic equipment;
a determining module, configured to determine N preset operations from the M preset operations based on the current state, where N is an integer greater than 0 and less than or equal to M;
and the matching module is used for matching the touch operation with the N preset operations.
Optionally, the determining module includes:
and the first determining submodule is used for determining that the control instruction corresponding to the N preset operations only comprises the volume adjusting instruction when the current state is the screen locking state.
Optionally, the determining module includes:
and the second determining submodule is used for determining that the control instructions corresponding to the N preset operations at least comprise the volume adjusting instruction and the main screen interface returning instruction when the current state is the unlocking state.
Optionally, the determining module includes:
the first obtaining submodule is used for obtaining the current function state of the touch key when the current state is the unlocking state;
and the second obtaining submodule is used for obtaining N preset operations corresponding to the current functional state, wherein the touch key has at least two functional states, N control instructions corresponding to the functional states can be responded in the current functional state, and the N control instructions correspond to the N preset operations.
Optionally, the determining module includes:
the third obtaining submodule is used for obtaining the application program currently operated by the electronic equipment when the current state is the unlocking state;
and the fourth obtaining submodule is used for obtaining N preset operations corresponding to the currently running application program, wherein when the touch key is used for running the application program, the electronic equipment can respond to N control instructions corresponding to the application program, and the N control instructions correspond to the N preset operations.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the steps of the information processing method as described in the foregoing embodiments.
The electronic equipment is provided with the touch keys which are on the same plane as the display screen and have the same width as the display screen, the touch keys are visually integrated with the screen, the electronic equipment is pre-stored with a plurality of control instructions corresponding to the touch keys, when the touch operation of the operation body is detected to be the preset operation through the touch keys, the control instructions corresponding to the preset operation can be obtained, and then the control of the corresponding functions of the electronic equipment can be realized by responding to the control instructions. Because the control command that electronic equipment prestores includes the volume regulation instruction and returns the main screen interface instruction, can realize the function of volume control function and Home key through this touch button promptly, electronic equipment need not to set up the button of increase volume alone, the button and the Home key of reduction volume, only need set up a touch button can realize the function of volume control function and Home key, the quantity of entity button has been reduced, the fuselage space has effectively been saved, be favorable to electronic equipment frivolousization and screen integrated design.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments of the present invention will be briefly described below, and it is obvious that the drawings described below are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart of an information processing method according to a first embodiment of the present invention;
FIG. 2 is a schematic diagram illustrating a position of a touch key according to a first embodiment of the present invention;
fig. 3 is a schematic structural diagram of an electronic device according to a second embodiment of the invention;
fig. 4 is a schematic structural diagram of an electronic device according to a third embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Hereinafter, some terms in the present invention will be explained to facilitate understanding by those skilled in the art.
1) An electronic device, which may be a user device, refers to a device that provides voice and/or data connectivity to a user, and may include, for example, a handheld device having wireless connection capability, or a processing device connected to a wireless modem. The user equipment may communicate with a core Network via a Radio Access Network (RAN), and may exchange voice and/or data with the RAN. The User equipment may include UE, wireless Terminal equipment, mobile Terminal equipment, subscriber Unit (Subscriber Unit), subscriber Station (Subscriber Station), mobile Station (Mobile), remote Station (Remote Station), access Point (AP), remote Terminal (Remote Terminal), access Terminal (Access Terminal), user Terminal (User Terminal), user Agent (User Agent), or User equipment (User Device). For example, it may be a mobile telephone (or so-called "cellular" telephone), a computer with a mobile terminal, a portable, pocket, hand-held, computer-included or vehicle-mounted mobile device. Examples of such devices include Personal Communication Service (PCS) phones, cordless phones, session Initiation Protocol (SIP) phones, wireless Local Loop (WLL) stations, personal Digital Assistants (PDAs), and the like.
2) The "plurality" in the embodiment of the present invention means two or more. "and/or" describes the association relationship of the associated object, indicating that there may be three relationships, for example, a and/or B, which may indicate: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" generally indicates that the preceding and following related objects are in an "or" relationship, unless otherwise specified.
The technical scheme provided by the embodiment of the invention is described in the following by combining the drawings in the specification.
Referring to fig. 1, a first embodiment of the present invention provides an information processing method applied to an electronic device, where a touch key is disposed at an edge position of a plane where a display screen of the electronic device is located, and the touch key is as wide as the display screen, and the method includes:
s101: obtaining the touch operation of the operation body through the touch key detection;
s102: matching the touch operation with M preset operations, and when the touch operation is successfully matched with a first preset operation in the M preset operations, acquiring a first control instruction corresponding to the first preset operation according to the corresponding relation between the M preset operations and the M control instructions; the M control instructions at least comprise a volume adjusting instruction and a home screen interface returning instruction, and M is an integer larger than 1;
s103: responding to the first control instruction.
Specifically, in this embodiment, as shown in fig. 2, a touch key 202 is disposed at a lower edge of a display screen 201 of an electronic device, the touch key 202 is in the same plane as the display screen 201 and has the same width as the display screen 201, the touch key 202 is in a long bar shape and is integrated with the display screen 201 in appearance, of course, in a specific implementation process, the touch key 202 may also be disposed at an upper edge, a left edge or a right edge of the display screen 201, and a position where the touch key 202 is disposed may be set according to actual needs, which is not limited in this application.
A plurality of control instructions corresponding to the touch keys are prestored in the electronic equipment, the touch operation of the operation body can be detected through the touch keys, when the obtained touch operation is matched with the preset operation, the control instructions corresponding to the preset operation can be obtained, and then the control of the corresponding functions of the electronic equipment can be realized by responding to the control instructions.
Specifically, in this embodiment, the volume adjusting instruction includes a volume increasing instruction and a volume decreasing instruction, the preset operation corresponding to the volume increasing instruction may be an operation of sliding left on the touch key, and the preset operation corresponding to the volume decreasing instruction may be an operation of sliding right on the touch key. The preset operation corresponding to the command of returning to the home screen interface may be a long press operation, a double-click operation, or the like. In a specific implementation process, the preset operation corresponding to each control instruction may be set according to actual needs, and the present application is not limited herein.
Furthermore, the control instruction prestored in the electronic equipment at least comprises a volume adjusting instruction and a main screen interface returning instruction, namely the volume adjusting function and the Home key can be realized through the touch key, the electronic equipment does not need to independently set a volume increasing key, a volume reducing key and a Home key, the volume adjusting function and the Home key can be realized only by setting one touch key, the number of entity keys is reduced, the machine body space is effectively saved, and the integrated design of lightening and thinning of the electronic equipment and the screen is facilitated.
In the present embodiment, step S102: matching the touch operation with M preset operations, wherein the specific implementation process comprises the following steps:
obtaining the current state of a display screen of the electronic equipment;
determining N preset operations from the M preset operations based on the current state, wherein N is an integer which is greater than 0 and less than or equal to M;
and matching the touch operation with the N preset operations.
When the current state is the screen locking state, it is determined that the control instruction corresponding to the N preset operations only includes the volume adjusting instruction.
Specifically, there are M control instructions corresponding to the touch key, where the M control instructions include a volume adjustment instruction and an instruction for returning to the main screen interface, and may further include other instructions, such as: and returning to a previous interface instruction, a page turning instruction, a fast forwarding/fast rewinding instruction and the like. When the touch operation of an operation body on the touch key is detected through the touch key, the current state of a display screen of the electronic equipment is obtained, if the current state of the display screen of the electronic equipment is in a screen locking state, the electronic equipment cannot respond to other instructions except a volume adjusting instruction in M control instructions, so that the electronic equipment only matches the obtained touch operation with preset operation corresponding to the volume adjusting instruction, if the matching is successful, the electronic equipment obtains the corresponding volume adjusting instruction, then responds to the volume adjusting instruction, and the output volume of the electronic equipment is adjusted. If the match is not successful, the electronic device will not respond to any of the M control commands.
Furthermore, in order to prevent the display screen of the electronic device from being mistakenly touched to adjust the volume when the display screen is in the screen locking state, the state of the electronic device needs to be determined before the touch operation is matched with the preset operation corresponding to the volume adjusting instruction, and the touch operation is matched with the preset operation corresponding to the volume adjusting instruction when the state of the electronic device is the preset state. Such as: when a user places the mobile phone in a handbag, the user may touch the touch key by mistake to generate a sliding operation to the left or right, and at this time, it is required to determine whether the state of the mobile phone is a preset state, where the preset state may be a state where the user holds the mobile phone, or a state where the light intensity of the environment where the mobile phone is located is greater than the preset light intensity. Furthermore, if the state of the mobile phone is determined not to be the preset state, the mobile phone does not match the detected touch operation with the preset operation. Like this, can effectively prevent the mistake and touch, promote user experience.
Further, when the current state is the unlock state, the touch operation may be matched with M preset operations in the following manners:
the first method comprises the following steps: and determining that the control instructions corresponding to the N preset operations at least comprise the volume adjusting instruction and the home screen interface returning instruction.
Specifically, in this embodiment, following the above example, there are M control instructions corresponding to the touch key, where the M control instructions include a volume adjustment instruction and an instruction for returning to the main screen interface, and may further include other instructions, such as: and returning to a previous interface instruction, a page turning instruction, a fast forwarding/fast rewinding instruction and the like. When the touch operation of an operation body on the touch key is detected through the touch key, the current state of a display screen of the electronic equipment is obtained, if the current state of the display screen of the electronic equipment is an unlocking state, M control instructions are all in an enabling state, and the electronic equipment matches the detected touch operation with M preset operations corresponding to the M control instructions. Namely: the electronic equipment responds to the control instruction corresponding to any one of the M preset operations as long as the operation body generates the any one of the M preset operations on the touch key.
And the second method comprises the following steps: acquiring the current function state of the touch key; and acquiring N preset operations corresponding to the current functional state, wherein the touch key has at least two functional states, and in the current functional state, N control instructions corresponding to the functional states can be responded, and the N control instructions correspond to the N preset operations.
Specifically, in this embodiment, there are M control instructions corresponding to the touch key, where the M control instructions include a command for adjusting the volume and a command for returning to the main screen interface, and may further include other commands, such as: and returning to a previous interface instruction, a page turning instruction, a fast forwarding/fast rewinding instruction and the like. When the touch operation of an operating body on a touch key is detected through the touch key, the current state of a display screen of electronic equipment is obtained, if the current state of the display screen of the electronic equipment is an unlocking state, the electronic equipment can preset a plurality of functional states, each functional state corresponds to one or more control instructions and preset operation corresponding to the control instructions, all the functional states can be switched, when the functional states are switched, the electronic equipment can be adjusted to the display state corresponding to the functional state, a user can determine the functional state of the touch key through the display state, and then the user can know that in the functional state of the touch key, the electronic equipment can only match the detected touch operation with N preset operations corresponding to the functional state, and only the electronic equipment can respond to the instructions corresponding to the functional state.
Such as: the electronic equipment is provided with a volume adjusting function state, a brightness adjusting function state and a menu function state. The volume adjusting function state corresponds to preset operation of sliding leftwards on the touch key and preset operation of sliding rightwards on the touch key, the preset operation of sliding leftwards corresponds to a volume increasing instruction, and the preset operation of sliding rightwards corresponds to a volume decreasing instruction. The brightness adjusting function state corresponds to a preset operation of sliding leftwards on the touch key and a preset operation of sliding rightwards on the touch key, the preset operation of sliding leftwards corresponds to a brightness adding instruction, and the preset operation of sliding rightwards corresponds to a brightness subtracting instruction. The menu function state corresponds to preset operations of clicking and double-clicking on the touch key, the command of returning to the upper-level display interface corresponds to the preset operation of clicking, and the command of returning to the main screen display interface corresponds to the preset operation of double-clicking. The functional states can be switched through the operation of a user, and the preset operation for triggering the functional states to be switched can be a circling operation, a re-pressing operation or other operations on the touch key, which is not limited in the present application.
Furthermore, when the electronic device switches the functional state of the touch key to the volume adjustment functional state based on the operation of the user, the display screen of the electronic device may display a sound icon so that the user can know that the current functional state of the touch key is the volume adjustment functional state, and in this functional state, the electronic device matches the detected touch operation with the preset operation that slides left on the touch key and the preset operation that slides right on the touch key, and correspondingly, the electronic device can only respond to the volume increase instruction and the volume decrease instruction.
When the electronic device switches the functional state of the touch key to the brightness adjustment functional state based on the operation of the user, the display screen of the electronic device may display a brightness icon, so that the user can know that the current functional state of the touch key is the brightness adjustment functional state, and in the functional state, the electronic device matches the detected touch operation with the preset operation of sliding left on the touch key and the preset operation of sliding right on the touch key, and correspondingly, the electronic device can only respond to the brightness addition instruction and the brightness subtraction instruction.
When the electronic equipment switches the functional state of the touch key to the menu functional state based on the operation of a user, a display screen of the electronic equipment can display an icon of a menu, so that the user can know that the current functional state of the touch key is the menu functional state, in the functional state, the electronic equipment matches the detected touch operation with the preset operation of clicking and double clicking on the touch key, and correspondingly, the electronic equipment can only respond to an instruction of returning to a previous-level display interface and an instruction of returning to a main screen display interface.
In a specific implementation process, the functional state, the preset operation corresponding to the functional state, and the control instruction may be set according to actual needs, and the application is not limited herein.
And the third is that: obtaining an application program currently operated by the electronic equipment; and obtaining N preset operations corresponding to the currently running application program, wherein when the touch key runs the application program, the electronic device can respond to N control instructions corresponding to the application program, and the N control instructions correspond to the N preset operations.
Specifically, in this embodiment, there are M control instructions corresponding to the touch key, where the M control instructions include a command for adjusting the volume and a command for returning to the main screen interface, and may further include other commands, such as: and returning to a previous interface instruction, a page turning instruction, a fast forward/fast backward instruction and the like. Control instructions corresponding to each application program in the electronic equipment and preset operations corresponding to the control instructions are preset in the electronic equipment through the touch keys. When the touch operation of the operation body on the touch key is detected through the touch key, the current state of the display screen of the electronic equipment is obtained, and if the current state of the display screen of the electronic equipment is the unlocking state, the electronic equipment can also determine the currently running application program. Furthermore, the electronic device can only match the detected touch operation with N preset operations corresponding to the currently running application program, and the electronic device can only respond to the instruction corresponding to the application program.
Such as: the electronic equipment is provided with preset operation corresponding to the music application program and sliding leftwards on the touch key and preset operation corresponding to sliding rightwards on the touch key, the preset operation sliding leftwards corresponds to a volume increasing instruction, and the preset operation sliding rightwards corresponds to a volume decreasing instruction. When the electronic equipment runs a music application program and detects the touch operation of an operation body on the touch key, the touch operation is matched with the preset operation of sliding leftwards on the touch key and the preset operation of sliding rightwards on the touch key, and correspondingly, the electronic equipment can only respond to a volume increasing instruction and a volume decreasing instruction.
For another example: the electronic equipment is provided with a preset operation of sliding leftwards on the touch key and a preset operation of sliding rightwards on the touch key corresponding to a reading application program, the preset operation of sliding leftwards corresponds to a next page turning instruction, and the preset operation of sliding rightwards corresponds to a previous page turning instruction. When the electronic equipment runs a reading application program and detects the touch operation of an operation body on a touch key, matching the touch operation with the preset operation of sliding leftwards on the touch key and the preset operation of sliding rightwards on the touch key, and correspondingly, the electronic equipment can only respond to a page turning instruction and a page turning instruction.
In the specific implementation process, the preset operation and the control instruction corresponding to the application program can be set according to actual needs, and the application is not limited herein.
The electronic equipment can have a higher response speed and better user experience by means of matching touch operation based on the functional state and the current running application program.
Referring to fig. 3, a second embodiment of the present invention provides a schematic diagram of an electronic device including, but not limited to: electronic equipment such as smart phones (e.g., android phones and IOS phones), tablet computers, notebook computers, palmtop computers, wearable intelligent equipment, and the like. Other electronic devices are also possible, and this is not necessarily the case.
The electronic device includes:
the touch key 202 is arranged at the edge position of a plane where a display screen of the electronic equipment is located, the width of the touch key is the same as that of the display screen, and the touch key is used for detecting and obtaining touch operation of an operation body;
a memory 302 for storing at least one program module;
the processor 303 is configured to, by obtaining and running the at least one program module in the memory 302, match the touch operation with M preset operations, and when the touch operation is successfully matched with a first preset operation in the M preset operations, obtain, according to a correspondence between the M preset operations and the M control instructions, a first control instruction corresponding to the first preset operation; the M control instructions at least comprise a volume adjusting instruction and a home screen interface returning instruction, and M is an integer larger than 1; responding to the first control instruction.
As shown in fig. 2, a touch key 202 is disposed at a lower edge of a display screen 201 of an electronic device, the touch key 202 is on the same plane as the display screen 201 and has the same width as the display screen 201, the touch key 202 is in a shape of a long strip and is integrated with the display screen 201 in appearance, of course, in a specific implementation process, the touch key 202 may also be disposed at an upper edge, a left edge or a right edge of the display screen 201, and a position where the touch key 202 is disposed may be set according to an actual need, which is not limited in this application.
In a possible embodiment, the processor 303 is configured to match the touch operation with M preset operations, and includes:
obtaining the current state of the display screen of the electronic equipment;
determining N preset operations from the M preset operations based on the current state, wherein N is an integer which is greater than 0 and less than or equal to M;
and matching the touch operation with the N preset operations.
In a possible embodiment, the processor 303 is configured to determine, based on the current state, N preset operations from the M preset operations, and includes:
and when the current state is the screen locking state, determining that the control instruction corresponding to the N preset operations only comprises the volume adjusting instruction.
In a possible embodiment, the processor 303 is configured to determine, based on the current state, N preset operations from the M preset operations, and includes:
and when the current state is an unlocking state, determining that the control instructions corresponding to the N preset operations at least comprise the volume adjusting instruction and the home screen interface returning instruction.
In a possible embodiment, the processor 303 is configured to determine, based on the current state, N preset operations from the M preset operations, and includes:
when the current state is an unlocking state, acquiring the current function state of the touch key;
and acquiring N preset operations corresponding to the current functional state, wherein the touch key has at least two functional states, and in the current functional state, N control instructions corresponding to the functional states can be responded, and the N control instructions correspond to the N preset operations.
In a possible embodiment, the processor 303 is configured to determine N preset operations from the M preset operations based on the current state, and includes:
when the current state is an unlocking state, obtaining an application program currently operated by the electronic equipment;
and obtaining N preset operations corresponding to the currently running application program, wherein when the touch key runs the application program, the electronic device can respond to N control instructions corresponding to the application program, and the N control instructions correspond to the N preset operations.
A third embodiment of the present invention provides an electronic device, wherein a touch key is disposed at an edge position of a plane where a display screen of the electronic device is located, the touch key has the same width as the display screen, please refer to fig. 4, and the electronic device further includes:
a first obtaining unit 401, configured to obtain a touch operation of an operation body obtained by the touch key detection;
a second obtaining unit 402, configured to match the touch operation with M preset operations, and when the touch operation is successfully matched with a first preset operation in the M preset operations, obtain a first control instruction corresponding to the first preset operation according to a correspondence between the M preset operations and M control instructions; the M control instructions at least comprise a volume adjusting instruction and a home screen interface returning instruction, and M is an integer larger than 1;
a response unit 403, configured to respond to the first control instruction.
In a possible implementation manner, the second obtaining unit 402 includes:
the acquisition module is used for acquiring the current state of the display screen of the electronic equipment;
a determining module, configured to determine N preset operations from the M preset operations based on the current state, where N is an integer greater than 0 and less than or equal to M;
and the matching module is used for matching the touch operation with the N preset operations.
In a possible implementation, the determining module includes:
and the first determining submodule is used for determining that the control instructions corresponding to the N preset operations only comprise the volume adjusting instruction when the current state is the screen locking state.
In a possible implementation, the determining module includes:
and the second determining submodule is used for determining that the control instructions corresponding to the N preset operations at least comprise the volume adjusting instruction and the home screen interface returning instruction when the current state is the unlocking state.
In a possible embodiment, the determining module includes:
the first obtaining submodule is used for obtaining the current function state of the touch key when the current state is the unlocking state;
and the second obtaining submodule is used for obtaining N preset operations corresponding to the current functional state, wherein the touch key has at least two functional states, N control instructions corresponding to the functional states can be responded in the current functional state, and the N control instructions correspond to the N preset operations.
In a possible implementation, the determining module includes:
the third obtaining submodule is used for obtaining the application program currently operated by the electronic equipment when the current state is the unlocking state;
and the fourth obtaining submodule is used for obtaining N preset operations corresponding to the currently running application program, wherein when the touch key is used for running the application program, the electronic equipment can respond to N control instructions corresponding to the application program, and the N control instructions correspond to the N preset operations.
A fourth embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, and the unit integrated with the information alert device in the third embodiment of the present invention may be stored in a computer-readable storage medium if it is implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, all or part of the flow of the method according to the first embodiment may be implemented by a computer program, which may be stored in a computer-readable storage medium and used by a processor to implement the steps of the method embodiments. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U.S. disk, removable hard disk, magnetic diskette, optical disk, computer Memory, read-Only Memory (ROM), random Access Memory (RAM), electrical carrier wave signal, telecommunications signal, and software distribution medium, etc. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
The electronic equipment is provided with the touch keys which are on the same plane as the display screen and have the same width as the display screen, the touch keys are visually integrated with the screen, the electronic equipment is pre-stored with a plurality of control instructions corresponding to the touch keys, when the touch operation of the operation body is detected to be the preset operation through the touch keys, the control instructions corresponding to the preset operation can be obtained, and then the control of the corresponding functions of the electronic equipment can be realized by responding to the control instructions. Because the control command that electronic equipment prestores includes the volume regulation instruction and returns the main screen interface instruction, can realize the function of volume control function and Home key through this touch button promptly, electronic equipment need not to set up increase volume key alone, reduce volume key and Home key, only need set up a touch button can realize the function of volume control function and Home key, the quantity of entity button has been reduced, the fuselage space has effectively been saved, be favorable to electronic equipment frivolousization and screen integration design.
In the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the described units or division of units is only one type of division of logical functions, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed coupling or direct coupling or communication connection between each other may be through some interfaces, indirect coupling or communication connection between devices or units, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the elements may be selected according to actual needs to implement the embodiments of the present invention.
The functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may also be an independent physical module.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device, such as a personal computer, a server, or a network device, or a processor (processor) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a Universal Serial Bus flash drive (usb flash drive), a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, and an optical disk.
The above embodiments are only used to describe the technical solutions of the present invention in detail, but the above embodiments are only used to help understanding the method of the embodiments of the present invention, and should not be construed as limiting the embodiments of the present invention. Variations or substitutions that may be readily apparent to one skilled in the art are intended to be included within the scope of the embodiments of the present invention.

Claims (13)

1. An information processing method is applied to electronic equipment, and is characterized in that a touch key is arranged at the edge position of a plane where a display screen of the electronic equipment is located, the touch key and the display screen are the same in width, and the method comprises the following steps:
obtaining the touch operation of the operation body through the touch key detection;
matching the touch operation with M preset operations, and when the touch operation is successfully matched with a first preset operation in the M preset operations, acquiring a first control instruction corresponding to the first preset operation according to the corresponding relation between the M preset operations and the M control instructions; the M control instructions at least comprise a volume adjusting instruction and a home screen interface returning instruction, and M is an integer larger than 1;
responding to the first control instruction;
wherein, the matching of the touch operation and the M preset operations specifically comprises:
obtaining the current state of a display screen of the electronic equipment;
when the current state is an unlocking state, obtaining an application program currently operated by the electronic equipment;
obtaining N preset operations corresponding to the currently running application program from the M preset operations, wherein when the touch key is used for running the application program, the electronic equipment responds to N control instructions corresponding to the application program, the N control instructions correspond to the N preset operations, and N is an integer which is greater than 0 and less than or equal to M;
and matching the touch operation with the N preset operations.
2. The method of claim 1, further comprising:
and when the current state is the screen locking state, determining that the control instruction corresponding to the N preset operations only comprises the volume adjusting instruction.
3. The method of claim 1, further comprising:
and when the current state is an unlocking state, determining that the control instructions corresponding to the N preset operations at least comprise the volume adjusting instruction and the home screen interface returning instruction.
4. The method of claim 1, further comprising:
when the current state is an unlocking state, acquiring the current function state of the touch key;
and acquiring N preset operations corresponding to the current function state, wherein the touch key has at least two function states, and responding to N control instructions corresponding to the function states in the current function state, wherein the N control instructions correspond to the N preset operations.
5. An electronic device, characterized in that the electronic device comprises:
the touch key is arranged at the edge position of the plane where the display screen of the electronic equipment is located, the width of the touch key is the same as that of the display screen, and the touch key is used for detecting and obtaining the touch operation of an operation body;
a memory for storing at least one program module;
the processor is used for matching the touch operation with M preset operations by obtaining and running the at least one program module in the memory, and when the touch operation is successfully matched with a first preset operation in the M preset operations, acquiring a first control instruction corresponding to the first preset operation according to the corresponding relation between the M preset operations and the M control instructions; the M control instructions at least comprise a volume adjusting instruction and a home screen interface returning instruction, and M is an integer larger than 1; responding to the first control instruction;
wherein, the processor is used for matching the touch operation with M preset operations, and comprises:
obtaining the current state of a display screen of the electronic equipment;
when the current state is an unlocking state, obtaining an application program currently operated by the electronic equipment;
obtaining N preset operations corresponding to the currently running application program from the M preset operations, wherein when the touch key is used for running the application program, the electronic equipment responds to N control instructions corresponding to the application program, the N control instructions correspond to the N preset operations, and N is an integer which is greater than 0 and less than or equal to M;
and matching the touch operation with the N preset operations.
6. The electronic device of claim 5, wherein the processor is further to:
and when the current state is the screen locking state, determining that the control instructions corresponding to the N preset operations only comprise the volume adjusting instruction.
7. The electronic device of claim 5, wherein the processor is further to:
and when the current state is an unlocking state, determining that the control instructions corresponding to the N preset operations at least comprise the volume adjusting instruction and the home screen interface returning instruction.
8. The electronic device of claim 5, wherein the processor is further to:
when the current state is an unlocking state, acquiring the current function state of the touch key;
and acquiring N preset operations corresponding to the current functional state, wherein the touch key has at least two functional states, and responding to N control instructions corresponding to the functional states in the current functional state, wherein the N control instructions correspond to the N preset operations.
9. The utility model provides an electronic equipment, its characterized in that, the edge position department of the plane in electronic equipment display screen place is provided with touch button, touch button with the display screen is the same width, electronic equipment still includes:
the first acquisition unit is used for acquiring the touch operation of the operation body obtained by the touch key detection;
the second obtaining unit is used for matching the touch operation with M preset operations, and obtaining a first control instruction corresponding to a first preset operation according to the corresponding relation between the M preset operations and the M control instructions when the touch operation is successfully matched with the first preset operation in the M preset operations; the M control instructions at least comprise a volume adjusting instruction and a home screen interface returning instruction, and M is an integer larger than 1;
a response unit, configured to respond to the first control instruction;
wherein the second acquisition unit includes:
the acquisition module is used for acquiring the current state of the display screen of the electronic equipment;
the third obtaining submodule is used for obtaining the application program currently operated by the electronic equipment when the current state is the unlocking state;
a fourth obtaining sub-module, configured to obtain N preset operations corresponding to the currently running application program from the M preset operations, where, when the touch key runs the application program, the electronic device responds to N control instructions corresponding to the application program, the N control instructions correspond to the N preset operations, and N is an integer greater than 0 and less than or equal to M;
and the matching module is used for matching the touch operation with the N preset operations.
10. The electronic device of claim 9, wherein the electronic device further comprises:
and the first determining submodule is used for determining that the control instructions corresponding to the N preset operations only comprise the volume adjusting instruction when the current state is the screen locking state.
11. The electronic device of claim 9, wherein the electronic device further comprises:
and the second determining submodule is used for determining that the control instructions corresponding to the N preset operations at least comprise the volume adjusting instruction and the main screen interface returning instruction when the current state is the unlocking state.
12. The electronic device of claim 9, wherein the electronic device further comprises:
the first obtaining submodule is used for obtaining the current function state of the touch key when the current state is the unlocking state;
and the second obtaining submodule is used for obtaining N preset operations corresponding to the current functional state, wherein the touch key has at least two functional states, and responds to N control instructions corresponding to the functional states in the current functional state, and the N control instructions correspond to the N preset operations.
13. A computer-readable storage medium having stored thereon a computer program, characterized in that: the computer program realizing the steps of the method according to any one of claims 1-4 when executed by a processor.
CN201710405410.8A 2017-06-01 2017-06-01 Information processing method and electronic equipment Active CN107340963B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710405410.8A CN107340963B (en) 2017-06-01 2017-06-01 Information processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710405410.8A CN107340963B (en) 2017-06-01 2017-06-01 Information processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN107340963A CN107340963A (en) 2017-11-10
CN107340963B true CN107340963B (en) 2022-12-13

Family

ID=60219954

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710405410.8A Active CN107340963B (en) 2017-06-01 2017-06-01 Information processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN107340963B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108469933A (en) * 2018-03-27 2018-08-31 湖州华科信息咨询有限公司 A kind of equipment for touch screen multiprocessing operation
CN109656417A (en) * 2019-01-11 2019-04-19 深圳市乔威电源有限公司 A kind of touch control device
CN109814789A (en) * 2019-02-25 2019-05-28 努比亚技术有限公司 Power button processing method, wearable device and computer readable storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103713804A (en) * 2013-12-05 2014-04-09 小米科技有限责任公司 Equipment control method and device and electronic equipment
CN104932828A (en) * 2015-06-29 2015-09-23 联想(北京)有限公司 Information processing method and electronic equipment

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101655765A (en) * 2008-08-22 2010-02-24 深圳富泰宏精密工业有限公司 Electronic device utilizing virtual direction keys to operate and corresponding operation method
CN102203705B (en) * 2011-06-10 2015-04-08 华为终端有限公司 A touch-off method and wireless hand-held device
CN102629185A (en) * 2012-02-29 2012-08-08 中兴通讯股份有限公司 Processing method of touch operation and mobile terminal
CN103853481B (en) * 2012-12-06 2021-03-12 腾讯科技(深圳)有限公司 Method and system for simulating touch screen mobile terminal key
CN104281376A (en) * 2013-07-04 2015-01-14 福建省辉锐材料科技有限公司 Control method and system of mobile terminal
CN105100386B (en) * 2014-05-23 2020-02-28 中兴通讯股份有限公司 Method and device for realizing full-touch key of terminal
CN104811523A (en) * 2015-05-13 2015-07-29 努比亚技术有限公司 Key control method and mobile terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103713804A (en) * 2013-12-05 2014-04-09 小米科技有限责任公司 Equipment control method and device and electronic equipment
CN104932828A (en) * 2015-06-29 2015-09-23 联想(北京)有限公司 Information processing method and electronic equipment

Also Published As

Publication number Publication date
CN107340963A (en) 2017-11-10

Similar Documents

Publication Publication Date Title
CN106899751B (en) Method and electronic device for transmitting and receiving contents through terminal
US10705649B2 (en) Pressure touch control method and electronic device
CN107340963B (en) Information processing method and electronic equipment
CN106445739B (en) Data migration method and terminal equipment
CN106507269B (en) Data migration method and terminal equipment
CN105657868A (en) Mobile terminal and interface control method thereof
CN107770845B (en) mobile hotspot management method and device, terminal and storage medium
EP2835724A1 (en) Control method and input device of touchscreen terminal
CN106484563B (en) Data migration method and terminal equipment
CN105302444A (en) Picture processing method and apparatus
US11297227B2 (en) Wireless device having dedicated rear panel control
JP2019537116A (en) Method of adjusting screen-on period of terminal and terminal
CN110944318A (en) Lock card setting method and device, storage medium and terminal
US20220210260A1 (en) Volume Adjustment Method and Apparatus, Terminal Device, and Storage Medium
CN106681622A (en) Emergency communication method, emergency communication device and terminal equipment
CN111460424B (en) Interaction method, terminal and computer storage medium for lock screen configuration
CN105516335B (en) The method and device of mobile terminal application
CN108769376A (en) Display methods, device, terminal and the computer readable storage medium of status bar
KR20150114826A (en) Mobile terminal and method for controlling the same
CN113093941A (en) Operation method, mobile terminal and storage medium
CN108600957B (en) Antenna control method and related product
CN108028869A (en) The method of terminal device and processing incoming call
CN104423867A (en) Character input method and character input device
CN113093959B (en) Interaction method, mobile terminal and storage medium
CN113946272B (en) Control method of electronic equipment 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