CN110083395B - Touch control method, electronic equipment, detachable part and storage medium - Google Patents

Touch control method, electronic equipment, detachable part and storage medium Download PDF

Info

Publication number
CN110083395B
CN110083395B CN201910300187.XA CN201910300187A CN110083395B CN 110083395 B CN110083395 B CN 110083395B CN 201910300187 A CN201910300187 A CN 201910300187A CN 110083395 B CN110083395 B CN 110083395B
Authority
CN
China
Prior art keywords
touch
touch operation
preset
display screen
detachable
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
CN201910300187.XA
Other languages
Chinese (zh)
Other versions
CN110083395A (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.)
Shanghai Moaan Intelligent Technology Co ltd
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Shanghai Moaan Intelligent Technology Co ltd
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Moaan Intelligent Technology Co ltd, Beijing Xiaomi Mobile Software Co Ltd filed Critical Shanghai Moaan Intelligent Technology Co ltd
Priority to CN201910300187.XA priority Critical patent/CN110083395B/en
Publication of CN110083395A publication Critical patent/CN110083395A/en
Application granted granted Critical
Publication of CN110083395B publication Critical patent/CN110083395B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/442Shutdown

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The disclosure relates to a touch control method, electronic equipment, a detachable part and a storage medium, wherein the method is applied to the electronic equipment, and the electronic equipment comprises a display screen, a fixed part and a detachable part supporting touch control response, wherein the display screen is connected with a body shell; wherein the detachable part is connected with the body shell through a fixed part; the method comprises the following steps: acquiring touch operation on the display screen; determining that the touch operation is triggered by the detachable component according to the touch characteristics of the touch operation; and generating a corresponding target instruction according to the touch operation, and executing the target instruction. By arranging the detachable component on the electronic equipment, the operational safety feeling can be provided for the user on the basis of not changing the connection circuit of the electronic equipment.

Description

Touch control method, electronic equipment, detachable part and storage medium
Technical Field
The disclosure relates to the field of electronic technology, and in particular, to a touch method, an electronic device, a detachable component, and a storage medium.
Background
With the development of electronic technology, electronic devices are often provided with a display screen such as a touch screen. The display screen has gradually replaced the traditional key design because of intuitive and convenient operation. Especially, the current electronic equipment tends to be large-screen and full-screen, and no key is turned into the main stream design direction of the electronic equipment.
However, in some specific scenarios, for example, those requiring simple repeated operations, physical keys are more practical. The physical keys are usually provided with protrusions or depressions for convenient positioning by the user. While the display screen is typically planar, requiring the user to visually locate. In addition, the physical key has a key stroke and has certain reliability after being pressed. While the display screen is typically a rigid glass material, it is not easy to determine whether the operation is effective. Therefore, the display screen can cause an unsafe feeling to the user, and the user can not determine whether the touch position is correct or not and whether the operation after touch is effective or not.
Disclosure of Invention
In order to overcome the problems in the related art, the present disclosure provides a touch method, an electronic device, a detachable component, and a storage medium, which can provide a user with an operational sense of security without changing a connection circuit of the electronic device.
According to an aspect of the present disclosure, a touch method is provided and applied to an electronic device, where the electronic device includes a display screen, a fixed component, and a detachable component supporting a touch response, where the display screen is connected to a body housing; wherein the detachable part is connected with the body shell through a fixed part;
the method comprises the following steps:
acquiring touch operation on the display screen;
determining that the touch operation is triggered by the detachable component according to the touch characteristics of the touch operation;
and generating a corresponding target instruction according to the touch operation, and executing the target instruction.
In one possible implementation manner, according to the touch characteristic of the touch operation, determining that the touch operation is triggered by the detachable component includes:
acquiring a touch position of the touch operation acting on the display screen;
and when the touch position is at a preset touch position, determining that the touch operation is triggered by the detachable component.
In one possible implementation manner, according to the touch characteristic of the touch operation, determining that the touch operation is triggered by the detachable component includes:
acquiring the touch position and the touch times of the touch operation on the display screen;
and when the touch position is at a preset touch position and the touch frequency is greater than or equal to the preset touch frequency, determining that the touch operation is triggered by the detachable component.
In a possible implementation manner, the determining that the touch operation is triggered by the detachable component according to the touch characteristic of the touch operation includes:
judging whether the touch characteristic of the touch operation is matched with a preset touch characteristic;
displaying confirmation information to a user when the touch characteristic of the touch operation is matched with the preset touch characteristic, wherein the confirmation information is used for prompting the user to select whether the detachable component is installed or not;
and under the condition that a touch instruction of the detachable component is received, determining that the touch operation is triggered by the detachable component.
In one possible implementation manner, the executing the target instruction includes:
and shielding or canceling the touch operation of the preset touch area of the display screen.
In a possible implementation manner, the shielding or unmasking the touch operation of the preset touch area of the display screen includes:
when the touch operation meets the preset operation condition, shielding or canceling the touch operation of a preset touch area of the display screen; the preset operating conditions include at least one of the following:
the touch position is a preset touch position; the touch time length is longer than or equal to a preset touch time length; the touch times are equal to preset touch times; the touch area is equal to a preset touch area; the touch point shape is a preset shape.
In one possible implementation, after determining that the touch operation is triggered by the detachable component, the method further includes:
and adjusting the current display interface of the display screen according to the touch position of the detachable component for touch control of the display screen, so that the detachable component does not shade the display content of the display interface.
According to another aspect of the present disclosure, there is provided an electronic device including: the display screen, the fixed part and the detachable part are connected with the body shell and support touch response; wherein the detachable part is connected with the body shell through a fixed part;
the electronic device further includes:
the acquisition module is used for acquiring touch operation on the display screen;
the determining module is used for determining that the touch operation is triggered by the detachable component according to the touch characteristics of the touch operation;
and the execution module is used for generating a corresponding target instruction according to the touch operation and executing the target instruction.
In one possible implementation, the determining module includes:
the first acquisition sub-module is used for acquiring the touch position of the detachable component acting on the display screen;
and the first determining submodule is used for determining that the touch operation is triggered by the detachable part when the touch position is at a preset touch position.
In one possible implementation, the determining module includes:
the second acquisition sub-module is used for acquiring the touch position and the touch times of the detachable component acting on the display screen;
and the second determining submodule is used for determining that the touch operation is triggered by the detachable part when the touch position is at a preset touch position and the touch frequency is greater than or equal to the preset touch frequency.
In one possible implementation, the determining module includes:
the judging sub-module is used for judging whether the touch characteristic of the touch operation is matched with a preset touch characteristic;
the display screen is used for displaying confirmation information to a user when the touch characteristic of the touch operation is matched with the preset touch characteristic, and the confirmation information is used for prompting the user to select whether the detachable component is installed or not;
and the second determining submodule is used for determining that the touch operation is triggered by the detachable component under the condition that the touch instruction of the detachable component is received.
In one possible implementation manner, the execution module is specifically configured to mask or cancel the touch operation of the preset touch area of the display screen.
In one possible implementation manner, the execution module is specifically configured to mask or cancel the touch operation of the preset touch area of the display screen when the target touch operation meets a preset operation condition; the preset operating conditions include at least one of the following:
the touch position of the target touch operation is a preset touch position; the touch duration of the target touch operation is greater than or equal to the preset touch duration; the touch times of the target touch operation are equal to the preset touch times; the touch area of the target touch operation is equal to the preset touch area; the shape of the touch point of the target touch operation is a preset shape.
In one possible implementation, the electronic device further includes:
and the adjusting module is used for adjusting the current display interface of the display screen according to the touch position of the detachable component for touch control of the display screen, so that the detachable component does not shade the display content of the display interface.
According to another aspect of the present disclosure, there is provided a detachable component provided on an electronic device as described above, the electronic device including a display screen connected to a body housing, a fixing component, and a detachable component supporting a touch response; wherein the detachable part is connected with the body shell through a fixing part.
According to another aspect of the present disclosure, there is provided an electronic device including:
the display screen, the fixed part and the detachable part are connected with the body shell and support touch response; wherein the detachable part is connected with the body shell through a fixed part;
a processor; a memory for storing processor-executable instructions; wherein the processor is configured to perform the above method.
According to another aspect of the present disclosure, there is provided a non-transitory computer readable storage medium having stored thereon computer program instructions, wherein the computer program instructions, when executed by a processor, implement the above-described method.
The technical scheme provided by the embodiment of the disclosure can comprise the following beneficial effects: the touch scheme provided by the embodiment of the disclosure can be applied to electronic equipment, and the electronic equipment can be provided with a detachable part. The electronic device obtains touch operation on the display screen, and then can determine that the touch operation is triggered by the detachable accessory according to the touch characteristics of the touch operation, so that a corresponding target instruction can be generated according to the touch operation, and the target instruction can be executed. First, since the electronic device may be provided with a detachable part, a user can control the electronic device by using the detachable part. Secondly, under the condition that an additional adapting circuit is not added and the circuit connection mode of the electronic equipment is not changed, a user can control the electronic equipment through the detachable component, so that the user has a safe feel in operation. And thirdly, the detachable component can be conveniently detached, so that the electronic equipment can be assembled and used without occupying the space of the electronic equipment.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 shows a flowchart of a touch method according to an embodiment of the disclosure.
Fig. 2 illustrates a flowchart for determining that a touch operation is triggered by a detachable component according to an embodiment of the present disclosure.
Fig. 3 illustrates a flowchart for determining that a touch operation is triggered by a detachable component according to an embodiment of the present disclosure.
Fig. 4 illustrates a flowchart for determining that a touch operation is triggered by a detachable component according to an embodiment of the present disclosure.
Fig. 5 shows a block diagram of an electronic device according to an embodiment of the disclosure.
Fig. 6 shows a block diagram of an electronic device according to an embodiment of the disclosure.
Fig. 7 illustrates a block diagram of an electronic device, according to an embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
The word "exemplary" is used herein to mean "serving as an example, embodiment, or illustration. Any embodiment described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments.
In addition, numerous specific details are set forth in the following detailed description in order to provide a better understanding of the present disclosure. It will be understood by those skilled in the art that the present disclosure may be practiced without some of these specific details. In some instances, methods, means, elements, and circuits well known to those skilled in the art have not been described in detail in order not to obscure the present disclosure.
FIG. 1 is a flowchart of a touch method that may be applied to an electronic device that includes a display screen coupled to a body housing, a stationary component, and a detachable component that supports a touch response, according to an exemplary embodiment; wherein, detachable part passes through fixed part and is connected with the body shell. As shown in fig. 1, the touch method includes the following steps.
In step 11, a touch operation is acquired on the display screen.
In the embodiments of the present disclosure, an electronic device may include a body housing and a display screen, which may be a touch screen. The electronic device may also include a detachable component. The detachable member may be connected with the body housing by a fixing member. Here, the fixing member may be a member for fixing, and one end of the detachable member may be fixedly coupled to the body housing, for example, a groove, a buckle, or the like. The detachable member, after being secured to the body housing, may be brought into contact with a display screen of the electronic device under force. The electronic device may receive a touch operation through the display screen. The touch operation may be a touch operation of a user touching the display screen, or a touch operation of the other end of the detachable component touching the display screen of the electronic device under the action of pressure.
In step 12, according to the touch characteristics of the touch operation, it is determined that the touch operation is triggered by the detachable component.
After the electronic device obtains the touch operation, the electronic device may obtain the touch characteristic of the touch operation, and then determine, according to the touch characteristic of the touch operation, whether the obtained touch operation is a touch operation of the detachable component, and determine that the touch operation is a touch operation triggered by the detachable component. When the touch operation is determined to be triggered by the detachable component, the acquired touch characteristic can be compared with the touch characteristic of the detachable component, and if the acquired touch characteristic is matched with the touch characteristic of the detachable component, the acquired touch operation can be determined to be triggered by the detachable component. The touch-sensitive features that are compared may include at least one of the following: a touch position; a touch duration; the number of touch times; a touch area; touch point shape.
In step 13, a corresponding target instruction is generated according to the touch operation, and the target instruction is executed.
Here, in the case where it is determined that the acquired touch operation is a touch operation triggered by the detachable component, the electronic device may execute the operation indicated by the target instruction according to the target instruction corresponding to the touch operation. It should be noted that, the touch characteristics of the touch operation are different, and the target instructions corresponding to the touch operation may be different. For example, the touch operation is a click operation, and the target instruction corresponding to the touch operation may be a page switching operation; the touch operation is two continuous clicking operations, and the target instruction corresponding to the touch operation can be an opening or closing operation.
According to the touch control method provided by the embodiment of the disclosure, the electronic device can execute the target instruction corresponding to the touch control operation according to the touch control characteristics of the detachable component, so that the electronic device can be controlled by the touch control operation of the detachable component. The detachable component can replace a button to provide feedback sense of key stroke and force for a user, so that the user has operational safety sense when operating the electronic equipment through the detachable component, and misoperation caused by touch of the user to the electronic equipment can be reduced.
According to the touch scheme provided by the embodiment of the disclosure, the touch operation can be acquired on the display screen, then whether the touch operation is the touch operation of the detachable component touch display screen of the electronic device can be judged according to the touch characteristics of the touch operation, after the touch operation is determined to be the touch operation triggered by the detachable component, a corresponding target instruction can be generated according to the touch operation of the detachable component, and the target instruction is executed, so that the electronic device can be controlled through the detachable component arranged on the electronic device.
In the related art, a display screen of an electronic device is generally a full screen, and a user controls the electronic device by performing a touch operation on the display screen. However, since the display screen does not have a physical key stroke, the user cannot determine whether the touch operation is effective, or the user may cause an incorrect operation phenomenon due to some accidental touch, so that the direct touch of the user on the display screen is not safe. For electronic devices with fixed physical keys, the electronic device may be provided with connection contacts on the housing, which connect to the electronic device internal circuitry. The arrangement mode of the physical keys can increase the complexity of the design of the internal circuit of the electronic equipment, damage the integrity of the shell, influence the aesthetic feeling and increase the cost of the electronic equipment. Meanwhile, the impedance of the connecting contact through the physical key is easy to be corroded to be damaged, and a certain risk exists in reliability. For the manner of setting the physical key through the wireless technology, the use flows of pairing connection, power management and the like are required to be set for the electronic equipment and the physical key, so that the software and hardware design requirements and the power consumption expense of the physical key can be increased and decreased. The electronic equipment provided by the embodiment of the disclosure is provided with the detachable part, the detachable accessory is simple in structure and low in cost, and is assembled and used without adaptation with the electronic equipment, reliable key selection is provided for a user who directly touches a display screen, and the use experience of the user is enhanced.
The electronic device in the embodiment of the disclosure may determine that the touch operation is triggered by the detachable component according to the touch characteristic of the touch operation, and the determining that the touch operation is triggered by the detachable component is described in the following by way of example.
In one possible implementation, the electronic device may determine, according to the touch location, whether the touch operation is a touch operation triggered by the detachable component. Fig. 2 illustrates a flowchart for determining that a touch operation is triggered by a detachable component according to an embodiment of the present disclosure. As shown in fig. 2, determining that the triggering operation is triggered by the detachable component may include:
in step 1211, acquiring a touch position of the touch operation on the display screen;
in step 1212, when the touch location is at a preset touch location, it is determined that the touch operation is triggered by the detachable component.
Here, the touch feature of the touch operation may be a touch position. After the electronic device obtains the touch operation on the display screen, the electronic device can obtain the touch position of the touch operation on the display screen, then the obtained touch position can be compared with a preset touch position, and if the obtained touch position is matched with the preset touch position, the obtained touch operation can be determined to be the touch operation triggered by the detachable component.
In one possible implementation, to avoid misjudgment, the electronic may determine, according to the number of touches and the touch position, whether the touch operation is a touch operation triggered by the detachable component. Fig. 3 illustrates a flowchart for determining that a touch operation is triggered by a detachable component according to an embodiment of the present disclosure. As shown in fig. 3, determining that the triggering operation is triggered by the detachable component may include:
in step 1221, a touch position and a touch frequency of the touch operation on the display screen are obtained;
in step 1222, when the touch location is at a preset touch location and the number of touches is greater than or equal to a preset number of touches, determining that the touch operation is triggered by the detachable component.
Here, the touch characteristics of the touch operation may be a touch position and a touch number. After the electronic device obtains the touch operation on the display screen, the touch position and the touch frequency of the touch operation on the display screen can be obtained, wherein the touch frequency can be the touch frequency obtained by the electronic device in a preset touch interval time. If the touch position matches the preset touch position and the number of touches exceeds the preset number of touches, it may be determined that the touch operation is triggered by the detachable component. For example, the touch position of the touch operation continuously acting on the display screen for a plurality of times may be obtained, and if the obtained touch positions continuously for a plurality of times are all matched with the preset touch position, it may be determined that the obtained touch operation is a touch operation triggered by the detachable component.
It should be noted that the electronic device may determine whether the touch operation is triggered by the detachable accessory according to one or more of the touch features. The touch feature may include: a touch position; a touch duration; the number of touch times; a touch area; touch point shape. For example, the electronic device can use the multi-dimensional information such as the touch position, the touch area, the touch point shape and the like as the basis for judgment, which is helpful for reducing misjudgment and improving the accuracy of automatic identification of the electronic device. The above modes can be selected or overlapped according to actual conditions.
In one possible implementation, to distinguish whether the triggering operation is triggered by a detachable component or by a finger, it may be confirmed by the user. Fig. 4 illustrates a flowchart for determining that a touch operation is triggered by a detachable component according to an embodiment of the present disclosure. As shown in fig. 4, determining that the triggering operation is triggered by the detachable component may include:
in step 1231, it is determined whether the touch characteristics of the touch operation match preset touch characteristics;
in step 1232, if the touch feature of the touch operation matches the preset touch feature, displaying confirmation information to the user, where the confirmation information is used to prompt the user to select whether the detachable component is installed;
in step 1233, in the case of receiving a touch instruction of the detachable component, it is determined that the touch operation is triggered by the detachable component.
Here, after the electronic device obtains the touch operation on the display screen, the touch feature of the touch operation on the display screen may be obtained, where the touch feature may include one or more of the following features: a touch position; a touch duration; the number of touch times; a touch area; the touch point shape, for example, acquires a touch position of a touch operation. If the touch characteristic is matched with the preset touch characteristic, confirmation information can be displayed to the user through the display screen, the user is prompted to confirm whether the detachable accessory is installed or not, and if the touch instruction with the detachable component is received, the touch operation can be determined to be triggered by the detachable component.
In step 13, after determining the touch operation triggered by the detachable component, the electronic device may generate a corresponding target instruction according to the touch operation, and execute the target instruction. The following is an exemplary description of a process of executing a target instruction.
In one possible implementation, the electronic device may mask or unmask a touch operation of a preset touch area of the display screen after determining that the touch operation is a touch operation triggered by the detachable component. For example, in a reading scenario, the electronic device has a relatively simple usage function, and the most commonly used function is page turning, and if the electronic device is not provided with a key, a finger of a user may contact a display screen when holding the electronic device, so that misoperation such as page turning of the electronic device is caused. After the detachable component is arranged for the electronic equipment, when a user presses the detachable component, the touch operation of the page turning area of the display screen can be disabled, so that the page turning function or the adjustment function of the page turning area is disabled, and the user can hold the electronic equipment more randomly.
As another example, in a game scenario, the flexibility of user operation is affected by a particular grip gesture, and certain locations of the display screen may be inconvenient to touch. Accordingly, the operation function of some positions of the display screen can be set as a target instruction corresponding to the detachable part, so that the touch control mode of the electronic equipment is increased.
In one possible implementation manner, after determining that the touch operation is a touch operation triggered by the detachable component, the electronic device may adjust, according to a touch position where the detachable component touches the display screen, a display interface of the display screen at present, so that the detachable component does not obstruct display content of the display interface. At present, the display screen of the electronic equipment is developed towards the directions of ultra-narrow frames and ultra-high screen duty ratio, and if the detachable component is designed on the front surface of the display screen, the display area of the screen can be shielded, so that the display interface can be adjusted when the touch operation is determined to be the touch operation of the detachable component. It should be noted that, the adjustment of the display interface may be performed after the electronic device is first determined to be mounted with the detachable component, and the adjusted display interface is maintained. The touch operation of the detachable component after the first time may not be performed any more on the display interface.
It should be noted that, although the touch method is described above by taking a reading and game scene as an example, those skilled in the art will understand that the present disclosure should not be limited thereto. In fact, the user can flexibly set the application scene and the target instruction according to personal preference and/or actual application scene, so long as the touch scheme provided by the embodiment of the disclosure is used.
Thus, by providing the detachable member on the electronic device, the user can realize control of the electronic device by using the detachable member. Meanwhile, under the condition that an additional adapting circuit is not added and the circuit connection mode of the electronic equipment is not changed, a user can control the electronic equipment through the detachable component, so that the user has a safe feel in operation. In addition, the detachable part can be conveniently detached, so that the electronic equipment can be assembled and used immediately, and the space of the electronic equipment is not occupied.
Based on the same inventive concept as the touch method, the embodiment of the disclosure also provides an electronic device. Fig. 5 shows a block diagram of an electronic device according to an embodiment of the disclosure. The electronic device includes: a display screen 52, a fixed part 53, and a detachable part 54 supporting a touch response, which are connected with the body housing 51; wherein the detachable member 54 is connected with the body housing 51 through the fixing member 53.
As shown in fig. 5, the front view of fig. 5 shows an effect of the electronic device when the detachable member 54 is mounted to the electronic device, and one end of the detachable member 54 may contact the display screen 52 of the electronic device when in a pressed state, thereby generating a touch operation. The other end of the detachable member 54 is connected to the body casing 51 of the electronic apparatus through the fixing member 53. Here, the detachable member 54 may have a U-shape. The back view of fig. 5 shows an effect diagram of the electronic device not being equipped with the detachable part 54. The body case 51 of the electronic device has a fixing member 53, which may be a groove, a buckle, or the like. The detachable member 54 may be attached to the body casing 51 of the electronic device by the fixing member 53 in the arrow direction.
Fig. 6 is a block diagram of an electronic device, according to an example embodiment. Referring to fig. 6, the electronic device further includes an acquisition module 61, a determination module 62, and an execution module 63.
The acquiring module 61 is configured to acquire a touch operation on the display screen;
the determining module 62 is configured to determine that the touch operation is triggered by the detachable component according to a touch characteristic of the touch operation;
the execution module 63 is configured to generate a corresponding target instruction according to the touch operation, and execute the target instruction.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
In one possible implementation, the determination module 62 includes a first acquisition sub-module and a first determination sub-module.
The first acquisition sub-module is configured to acquire a touch position of the detachable component acting on the display screen;
the first determination sub-module is configured to determine that the touch operation is triggered by the detachable component when the touch position is at a preset touch position.
In one possible implementation, the determination module 62 includes a second acquisition sub-module and a second determination sub-module.
The second acquisition sub-module is configured to acquire the touch position and the touch times of the detachable component acting on the display screen;
the second determining sub-module is configured to determine that the touch operation is triggered by the detachable component when the touch position is at a preset touch position and the number of touches is greater than or equal to a preset number of touches.
In one possible implementation, the determination module 62 includes a judgment sub-module and a second determination sub-module.
The judging sub-module is configured to judge whether the touch characteristic of the touch operation is matched with a preset touch characteristic;
the display screen is configured to display confirmation information to a user when the touch characteristic of the touch operation matches the preset touch characteristic, wherein the confirmation information is used for prompting the user to select whether the detachable component is installed or not;
the second determination submodule is configured to determine, in a case where a touch instruction of the detachable component is received, that the touch operation is triggered by the detachable component in a case where a touch instruction of the detachable component is received.
In one possible implementation, the execution module 63 is configured to mask or unmask a touch operation of a preset touch area of the display screen.
In a possible implementation manner, the execution module 63 is configured to mask or cancel the touch operation of the preset touch area of the display screen when the target touch operation meets a preset operation condition; the preset operating conditions include at least one of the following:
the touch position of the target touch operation is a preset touch position; the touch duration of the target touch operation is greater than or equal to the preset touch duration; the touch times of the target touch operation are equal to the preset touch times; the touch area of the target touch operation is equal to the preset touch area; the shape of the touch point of the target touch operation is a preset shape.
In one possible implementation, the electronic device further includes an adjustment module.
The adjusting module is configured to adjust a current display interface of the display screen according to the touch position of the detachable component in touch with the display screen, so that the detachable component does not shade the display content of the display interface.
The embodiment of the disclosure also provides a detachable component which is arranged on the electronic equipment, wherein the electronic equipment comprises a display screen, a fixed component and a detachable component supporting touch response, wherein the display screen is connected with the body shell; wherein the detachable part is connected with the body shell through a fixing part.
Fig. 7 is a block diagram of an electronic device 800, according to an example embodiment. For example, electronic device 800 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, exercise device, personal digital assistant, or the like.
Referring to fig. 7, an electronic device 800 may include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an input/output (I/O) interface 812, a sensor component 814, and a communication component 816.
The processing component 802 generally controls overall operation of the apparatus 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interactions between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the apparatus 800. Examples of such data include instructions for any application or method operating on the device 800, contact data, phonebook data, messages, pictures, videos, and the like. The memory 804 may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
The power supply component 806 provides power to the various components of the device 800. The power components 806 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the device 800.
The multimedia component 808 includes a screen between the device 800 and the user that provides an output interface. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or slide action, but also the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and/or a rear camera. The front camera and/or the rear camera may receive external multimedia data when the apparatus 800 is in an operational mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the device 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 further includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be a keyboard, click wheel, buttons, etc. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The sensor assembly 814 includes one or more sensors for providing status assessment of various aspects of the apparatus 800. For example, the sensor assembly 814 may detect an on/off state of the device 800, a relative positioning of the components, such as a display and keypad of the device 800, the sensor assembly 814 may also detect a change in position of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, an orientation or acceleration/deceleration of the device 800, and a change in temperature of the device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communication between the apparatus 800 and other devices, either in a wired or wireless manner. The device 800 may access a wireless network based on a communication standard, such as WiFi,2G or 3G, or a combination thereof. In one exemplary embodiment, the communication component 816 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic elements for executing the methods described above.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided, such as memory 804 including instructions executable by processor 820 of apparatus 800 to perform the above-described method. For example, the non-transitory computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (13)

1. The touch control method is characterized by being applied to electronic equipment, wherein the electronic equipment comprises a display screen, a fixed part and a detachable part supporting touch control response, wherein the display screen is connected with a body shell; wherein the detachable part is connected with the body shell through a fixed part;
the method comprises the following steps:
acquiring touch operation on the display screen;
determining that the touch operation is triggered by the detachable component according to the touch characteristics of the touch operation;
generating a corresponding target instruction according to the touch operation, and executing the target instruction; the touch characteristics of the touch operation are different, and the target instructions corresponding to the touch operation are also different;
the executing the target instruction includes:
when the touch operation meets the preset operation condition, shielding or canceling the touch operation of a preset touch area of the display screen; the preset operating conditions include at least one of the following:
the touch position is a preset touch position; the touch time length is longer than or equal to a preset touch time length; the touch times are equal to preset touch times; the touch area is equal to a preset touch area; the touch point shape is a preset shape.
2. The touch method of claim 1, wherein determining that the touch operation is triggered by the detachable component according to a touch characteristic of the touch operation comprises:
acquiring a touch position of the touch operation acting on the display screen;
and when the touch position is at a preset touch position, determining that the touch operation is triggered by the detachable component.
3. The touch method of claim 1, wherein determining that the touch operation is triggered by the detachable component according to a touch characteristic of the touch operation comprises:
acquiring the touch position and the touch times of the touch operation on the display screen;
and when the touch position is at a preset touch position and the touch frequency is greater than or equal to the preset touch frequency, determining that the touch operation is triggered by the detachable component.
4. The touch method according to claim 1, wherein the determining that the touch operation is triggered by the detachable component according to the touch characteristic of the touch operation comprises:
judging whether the touch characteristic of the touch operation is matched with a preset touch characteristic;
displaying confirmation information to a user when the touch characteristic of the touch operation is matched with the preset touch characteristic, wherein the confirmation information is used for prompting the user to select whether the detachable component is installed or not;
and under the condition that a touch instruction of the detachable component is received, determining that the touch operation is triggered by the detachable component.
5. The touch method of claim 1, further comprising, after determining that the touch operation is triggered by the detachable component:
and adjusting the current display interface of the display screen according to the touch position of the detachable component for touch control of the display screen, so that the detachable component does not shade the display content of the display interface.
6. An electronic device, comprising: the display screen, the fixed part and the detachable part are connected with the body shell and support touch response; wherein the detachable part is connected with the body shell through a fixed part;
the electronic device further includes:
the acquisition module is used for acquiring touch operation on the display screen;
the determining module is used for determining that the touch operation is triggered by the detachable component according to the touch characteristics of the touch operation;
the execution module is used for generating a corresponding target instruction according to the touch operation and executing the target instruction; the touch characteristics of the touch operation are different, and the target instructions corresponding to the touch operation are also different;
the execution module is specifically configured to mask or cancel masking a touch operation of a preset touch area of the display screen when the touch operation meets a preset operation condition; the preset operating conditions include at least one of the following:
the touch position of the touch operation is a preset touch position; the touch duration of the touch operation is greater than or equal to the preset touch duration; the touch times of the touch operation are equal to the preset touch times; the touch area of the touch operation is equal to the preset touch area; the shape of the touch point of the touch operation is a preset shape.
7. The electronic device of claim 6, wherein the determination module comprises:
the first acquisition sub-module is used for acquiring the touch position of the detachable component acting on the display screen;
and the first determining submodule is used for determining that the touch operation is triggered by the detachable part when the touch position is at a preset touch position.
8. The electronic device of claim 6, wherein the determination module comprises:
the second acquisition sub-module is used for acquiring the touch position and the touch times of the detachable component acting on the display screen;
and the second determining submodule is used for determining that the touch operation is triggered by the detachable part when the touch position is at a preset touch position and the touch frequency is greater than or equal to the preset touch frequency.
9. The electronic device of claim 6, wherein the determination module comprises:
the judging sub-module is used for judging whether the touch characteristic of the touch operation is matched with a preset touch characteristic;
the display screen is used for displaying confirmation information to a user when the touch characteristic of the touch operation is matched with the preset touch characteristic, and the confirmation information is used for prompting the user to select whether the detachable component is installed or not;
and the second determining submodule is used for determining that the touch operation is triggered by the detachable component under the condition that the touch instruction of the detachable component is received.
10. The electronic device of claim 6, wherein the electronic device further comprises:
and the adjusting module is used for adjusting the current display interface of the display screen according to the touch position of the detachable component for touch control of the display screen, so that the detachable component does not shade the display content of the display interface.
11. A detachable component, characterized in that the detachable component is arranged on the electronic equipment according to any one of claims 6-10, and the electronic equipment comprises a display screen, a fixed component and a detachable component supporting touch response, wherein the display screen is connected with a body shell; wherein the detachable part is connected with the body shell through a fixing part.
12. An electronic device, comprising:
the display screen, the fixed part and the detachable part are connected with the body shell and support touch response; wherein the detachable part is connected with the body shell through a fixed part;
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to implement the touch method of any one of claims 1 to 5 when executing the executable instructions of the memory.
13. A non-transitory computer readable storage medium having stored thereon computer program instructions, which when executed by a processor, implement the touch method of any of claims 1 to 5.
CN201910300187.XA 2019-04-15 2019-04-15 Touch control method, electronic equipment, detachable part and storage medium Active CN110083395B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910300187.XA CN110083395B (en) 2019-04-15 2019-04-15 Touch control method, electronic equipment, detachable part and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910300187.XA CN110083395B (en) 2019-04-15 2019-04-15 Touch control method, electronic equipment, detachable part and storage medium

Publications (2)

Publication Number Publication Date
CN110083395A CN110083395A (en) 2019-08-02
CN110083395B true CN110083395B (en) 2023-07-18

Family

ID=67415019

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910300187.XA Active CN110083395B (en) 2019-04-15 2019-04-15 Touch control method, electronic equipment, detachable part and storage medium

Country Status (1)

Country Link
CN (1) CN110083395B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102035934A (en) * 2009-09-30 2011-04-27 李晓 Dual-screen portable electronic equipment and management method
CN204808242U (en) * 2015-06-12 2015-11-25 联想(北京)有限公司 Writing pen and electronic equipment
CN206298594U (en) * 2016-11-12 2017-07-04 上海娇云日化有限公司 A kind of colonometer
CN108829319A (en) * 2018-06-15 2018-11-16 驭势科技(北京)有限公司 A kind of exchange method of touch screen, device, electronic equipment and storage medium
CN109002339A (en) * 2018-07-04 2018-12-14 Oppo广东移动通信有限公司 touch operation method, device, storage medium and electronic equipment
CN109117061A (en) * 2018-07-02 2019-01-01 南昌黑鲨科技有限公司 A kind of input operation processing method, processing unit and intelligent terminal
CN109241957A (en) * 2018-11-19 2019-01-18 Oppo广东移动通信有限公司 Electronic device, fingerprint collecting method, device, storage medium and mobile terminal
CN109343773A (en) * 2018-10-11 2019-02-15 广州要玩娱乐网络技术股份有限公司 Control method, device, storage medium and the terminal of Portable touch control equipment
CN109471564A (en) * 2018-12-29 2019-03-15 深圳汗思凯普科技有限公司 Handheld computer equipment touch device

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5651581B2 (en) * 2008-04-07 2015-01-14 ウォル−マート ストアズ,インコーポレイティド Customer interface device system, method and apparatus
US8963885B2 (en) * 2011-11-30 2015-02-24 Google Technology Holdings LLC Mobile device for interacting with an active stylus
TWI486056B (en) * 2012-01-05 2015-05-21 Altek Corp Image capturing device, dust removal system and vibrating for dust removal method thereof
CN204066059U (en) * 2014-08-13 2014-12-31 中兴通讯股份有限公司 A kind of terminal with expansion button
KR102312888B1 (en) * 2015-05-13 2021-10-15 삼성전자주식회사 Input apparatus, electronic device having the same and control method thereof
CN105183191B (en) * 2015-08-31 2018-11-09 联想(北京)有限公司 A kind of stylus and touch-controlled electronic devices and control method
KR20170114420A (en) * 2016-04-04 2017-10-16 삼성전자주식회사 Electronic device and method for receiving user input thereof
CN105975096A (en) * 2016-06-16 2016-09-28 成都知人善用信息技术有限公司 Novel computer wireless input device
CN106909224B (en) * 2017-02-28 2018-10-19 维沃移动通信有限公司 A kind of method and mobile terminal at display image preview interface
US10642418B2 (en) * 2017-04-20 2020-05-05 Apple Inc. Finger tracking in wet environment
CN206991208U (en) * 2017-08-04 2018-02-09 曾丽琴 A kind of computer installation of detachable keyboard
CN107911511A (en) * 2017-12-15 2018-04-13 南昌黑鲨科技有限公司 A kind of input equipment and intelligent terminal for intelligent terminal
CN207937913U (en) * 2018-01-22 2018-10-02 歌尔科技有限公司 Portable computer and detachable touch device
CN109582087A (en) * 2018-11-30 2019-04-05 努比亚技术有限公司 A kind of mobile terminal and its control method

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102035934A (en) * 2009-09-30 2011-04-27 李晓 Dual-screen portable electronic equipment and management method
CN204808242U (en) * 2015-06-12 2015-11-25 联想(北京)有限公司 Writing pen and electronic equipment
CN206298594U (en) * 2016-11-12 2017-07-04 上海娇云日化有限公司 A kind of colonometer
CN108829319A (en) * 2018-06-15 2018-11-16 驭势科技(北京)有限公司 A kind of exchange method of touch screen, device, electronic equipment and storage medium
CN109117061A (en) * 2018-07-02 2019-01-01 南昌黑鲨科技有限公司 A kind of input operation processing method, processing unit and intelligent terminal
CN109002339A (en) * 2018-07-04 2018-12-14 Oppo广东移动通信有限公司 touch operation method, device, storage medium and electronic equipment
CN109343773A (en) * 2018-10-11 2019-02-15 广州要玩娱乐网络技术股份有限公司 Control method, device, storage medium and the terminal of Portable touch control equipment
CN109241957A (en) * 2018-11-19 2019-01-18 Oppo广东移动通信有限公司 Electronic device, fingerprint collecting method, device, storage medium and mobile terminal
CN109471564A (en) * 2018-12-29 2019-03-15 深圳汗思凯普科技有限公司 Handheld computer equipment touch device

Also Published As

Publication number Publication date
CN110083395A (en) 2019-08-02

Similar Documents

Publication Publication Date Title
US9860844B2 (en) Method and apparatus of temperature control
CN110796988B (en) Backlight adjusting method and device
EP3136216A1 (en) Method for controlling mobile terminal and mobile terminal
EP3208704A1 (en) Application control method and device
CN107102772B (en) Touch control method and device
US20170344177A1 (en) Method and device for determining operation mode of terminal
CN104317402B (en) Description information display method and device and electronic equipment
EP3232301B1 (en) Mobile terminal and virtual key processing method
EP3109741B1 (en) Method and device for determining character
CN107656694B (en) Display control method and device of user interface
CN106940653B (en) Method, apparatus and computer-readable storage medium for controlling application program
CN116954540A (en) Application program display method and device and terminal
CN109905543B (en) Method and device for preventing misoperation of terminal
CN110083395B (en) Touch control method, electronic equipment, detachable part and storage medium
CN109922203B (en) Terminal, screen off method and device
CN108319899B (en) Fingerprint identification method and device
CN107832112B (en) Wallpaper setting method and device
CN106775246B (en) Screen brightness adjusting method and device
CN111353427B (en) Fingerprint unlocking signal processing method, device and medium
CN112363647A (en) Touch operation method and device and storage medium
CN108804009B (en) Gesture recognition method and device
CN111506207B (en) Method and device for determining lighting area during on-screen fingerprint identification
CN112905027A (en) Timing method and device, mobile terminal and storage medium
CN106843691B (en) Operation control method and device of mobile terminal
CN107292155B (en) Fingerprint information verification method and device and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant