CN105511758B - Information processing method and electronic equipment - Google Patents

Information processing method and electronic equipment Download PDF

Info

Publication number
CN105511758B
CN105511758B CN201510918093.0A CN201510918093A CN105511758B CN 105511758 B CN105511758 B CN 105511758B CN 201510918093 A CN201510918093 A CN 201510918093A CN 105511758 B CN105511758 B CN 105511758B
Authority
CN
China
Prior art keywords
click event
click
monitored
preset
electronic device
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
CN201510918093.0A
Other languages
Chinese (zh)
Other versions
CN105511758A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201510918093.0A priority Critical patent/CN105511758B/en
Publication of CN105511758A publication Critical patent/CN105511758A/en
Application granted granted Critical
Publication of CN105511758B publication Critical patent/CN105511758B/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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Landscapes

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

Abstract

The application provides an information processing method and electronic equipment, when a first click event is monitored, whether a valid second click event is monitored in a first preset time range is verified, the first preset time range is obtained based on first generation time of the first click event, if the valid second click event is not monitored in the first preset time range, the first click event is an independent click event, a system responds to the first click event, otherwise, the system considers that the first click event and the second click event are the same click event and does not respond to the first click event, so that the problems that when a certain target object in a current display interface of the electronic equipment is double-clicked in the prior art, two identical display windows of the target object can be opened, one of the two identical display windows needs to be closed by a user, and great inconvenience is brought to the use of the user are solved, the user experience is poor.

Description

Information processing method and electronic equipment
Technical Field
The present invention relates to the field of electronic device applications, and in particular, to an information processing method and an electronic device.
Background
With the rapid development of communication technology, in order to meet the requirements of users on the aspects of diversification of functions, simplicity in operation, convenience in carrying and the like of electronic equipment, the traditional display screen of the electronic equipment is gradually replaced by a touch screen at present, the touch screen not only has the display function of the traditional display screen, but also can replace input equipment such as a mouse and a keyboard, and a user can enter a corresponding operation interface by clicking a certain icon of the current display interface once, so that the operation is simple and convenient. Moreover, in order to meet the requirements of users who are used to operate the mouse, the electronic device can be externally connected with input devices such as the mouse, at the moment, the left key operation of the mouse is usually processed as touch operation, namely, the user can open the target object by directly clicking the left key of the mouse, and compared with the traditional double-click operation, the method is simpler and quicker.
However, for a user who is used to use a mouse to double-click a target object to enter a display interface of the target object, after the electronic device is used, the habit of double-clicking the target object often causes inconvenience for actual operation, for example, the user repeatedly opens the display interface of the same target object, and the operation feeling of using the touch screen electronic device is affected.
Disclosure of Invention
In view of this, the present invention provides an information method and an electronic device, which solve the technical problems that when a target object in a current display interface of the electronic device is double-clicked in the prior art, two identical display windows of the target object are opened, and a user needs to close one of the two identical display windows, which brings much inconvenience to the user and brings poor user experience.
In order to achieve the above object, the present application provides the following technical solutions:
an information processing method applied to an electronic device, the method comprising:
monitoring a first click event, wherein the first click event is generated based on a click operation of an input device;
verifying whether a valid second click event is monitored within a first preset time range, wherein the first preset time range is determined based on first occurrence time of the first click event;
responding to the first click event if an effective second click event is not monitored within the first preset time range;
and if a valid second click event is monitored within the first preset time range, determining that the first click event and the second click event are the same click event, and not responding to the first click event any more.
Preferably, the verifying whether a valid second click event is monitored within the first preset time range includes:
analyzing a first occurrence time carried by the first click event;
calculating a first preset time range according to the first generation time and a preset first time threshold;
and verifying whether a valid second click event is monitored within the first preset time range.
Preferably, the verifying whether a valid second click event is monitored within the first preset time range includes:
analyzing a first occurrence time carried by the first click event;
obtaining a monitored second click event which is nearest to the first generation time and effective;
and judging whether the time difference between the second occurrence time of the second click event and the first occurrence time is smaller than a preset first time threshold value.
Preferably, the monitoring of the first click event comprises:
capturing touch operation of an input device on a preset operation area of a display screen of the electronic device;
and analyzing the touch operation to generate a corresponding first click event.
Preferably, before the detecting the first click event, the method further comprises:
and displaying an indication mark on a display screen of the electronic equipment, wherein the display position of the indication mark changes along with the movement of the input equipment.
Preferably, wherein the monitoring of the first click event comprises:
when the click operation of the input device of the electronic device is monitored, verifying whether the indication mark is located in a preset operation area;
and when the indication mark is positioned in the preset operation area, generating a first click event.
An electronic device, the electronic device comprising:
an input device; the processor is used for monitoring a first click event, verifying whether a valid second click event is monitored within a first preset time range, responding to the first click event if the valid second click event is not monitored within the first preset time range, and determining that the first click event and the second click event are the same click event and do not respond to the first click event if the valid second click event is monitored within the first preset time range;
the first click event is generated based on single click operation of an input device, and the first preset time range is determined based on first generation time of the first click event.
Preferably, the processor is specifically configured to: analyzing the first occurrence time carried by the first click event, calculating a first preset time range according to the first occurrence time and a preset first time threshold, and then verifying whether a valid second click event is monitored in the first preset time range.
Preferably, the processor is specifically configured to: analyzing the first occurrence time carried by the first click event, acquiring a monitored second click event which is closest to the first occurrence time and is effective, and then judging whether the time difference between the second occurrence time of the second click event and the first occurrence time is smaller than a preset first time threshold value.
Preferably, the processor comprises:
the first sensor is used for capturing touch operation of an input device on a preset operation area of the display screen of the electronic device, so that the touch operation can be analyzed, and a corresponding first click event can be generated.
Preferably, the electronic device further includes:
and the display screen is used for displaying the indication mark, and the display position of the indication mark changes along with the movement of the input equipment.
Preferably, the processor is specifically configured to verify whether the indication identifier is located in a preset operation area when the click operation of the input device of the electronic device is monitored, and generate a first click event when the indication identifier is located in the preset operation area.
Therefore, compared with the prior art, the application provides an information processing method and an electronic device, when a first click event is monitored, whether a valid second click event is monitored in a first preset time range is verified, the first preset time range is obtained based on first generation time of the first click event, if a valid second click event is not monitored in the first preset time range, the first click event is considered to be valid, a system can respond to the first click event, otherwise, the system considers that the first click event is invalid, does not respond to the first click event, and continues to monitor the electronic device, so that the problem that when a certain target object in a current display interface of the electronic device is double-clicked in the prior art, two identical display windows of the target object are opened, and the user needs to close one of the two display windows is solved, the technical problems of inconvenience and poor user experience are brought to the use of the user.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a schematic flowchart of an embodiment of an information processing method provided in the present application;
FIG. 2 is a partial schematic flow chart diagram illustrating another embodiment of an information processing method provided herein;
FIG. 3 is a partial schematic flow chart diagram illustrating another embodiment of an information processing method according to the present application;
FIG. 4 is a schematic flow chart diagram illustrating a preferred embodiment of an information processing method provided in the present application;
fig. 5 is a schematic structural diagram of an embodiment of an electronic device provided in the present application;
fig. 6 is an operation diagram of an embodiment of an electronic device provided in the present application.
Detailed Description
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 only a part of the embodiments of the present invention, and not all of the embodiments. 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.
In practical application, in order to meet the requirements of a user on operation and convenience in carrying of the electronic equipment, the display screen of the conventional Android electronic equipment is usually a touch screen, the electronic equipment can be used without an external input device, and the Android electronic equipment is very practical and convenient to carry.
Certainly, such electronic devices may also be externally connected with input devices such as a mouse, and at this time, the input devices may also be used normally, but in this case, the clicking operation of the input device is usually handled as a touch operation by the electronic device system, that is, a user can directly enter a display interface or an operation interface of a target object by clicking the target object displayed on the display screen of the electronic device by using the input device, which is faster and meets the office and entertainment requirements of more users.
However, for many users who are used to double-click on the display interface or the operation interface of the target object, the processing method brings much inconvenience to the operation process of the user using the electronic device, such as repeatedly opening or starting an object (such as a file, a folder, an application program, etc.), and reduces the user experience.
In order to improve the problem, the conventional double-click operation is processed as the click operation by monitoring the click operation of the electronic equipment, so that the same target object is prevented from being repeatedly opened or started, users who are accustomed to touch operation and users who are accustomed to mouse operation can conveniently use the electronic equipment, and the user experience is greatly improved.
Specifically, the application provides an information processing method and an electronic device, when a first click event is monitored, whether a valid second click event is monitored in a first preset time range is verified, the first preset time range is obtained based on first occurrence time of the first click event, if a valid second click event is not monitored in the first preset time range, the first click event is considered to be valid, a system responds to the first click event, otherwise, the system considers that the first click event is invalid, does not respond to the first click event, and continues to monitor the electronic device, so that the problems that in the prior art, when a certain target object in a current display interface of the electronic device is double-clicked, two identical display windows of the target object are opened, one of the two identical display windows needs to be closed by a user, and great inconvenience is brought to the use of the user are solved, the user experience is poor.
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in detail below.
As shown in fig. 1, which is a schematic flow chart of an embodiment of an information processing method provided by the present invention, the method may be applied to electronic devices, such as various Android electronic devices widely used at present, and such electronic devices generally process a left click of an input device, such as a mouse, as a touch operation, and in practical application, the method may include the following steps:
step S110: a first click event is monitored.
In combination with the above analysis, in order to treat the double-click operation as the single-click operation, the method and the device for monitoring the operation of the user on the electronic device may monitor the operation of the user on the electronic device in real time, and therefore, the first single-click event in this embodiment may be generated based on the single-click operation of the input device, where the input device may be a device such as a mouse, or may be a device that can operate the touch screen by using a finger of the user or by replacing the finger of the user, which is not limited in this application.
As can be seen from this description, the first click event may be generated by a user directly touching a display screen of the electronic device, or may be generated by a user clicking the electronic device with a device such as a mouse, which is not limited in this application.
Based on this, in step S110, a touch operation of the input device on the preset operation area of the display screen of the electronic device may be captured, and the touch operation may be analyzed to generate a corresponding first click event. In this case, the display screen of the electronic device is a touch screen.
Optionally, before step S110, after the electronic device is started, an indication mark is displayed on the display screen of the electronic device, and a display position of the indication mark changes along with movement of the input device, that is, the indication mark is a display icon correspondingly displayed on the display screen of the electronic device by the input device.
In this case, the step S110 may specifically be: when the click operation of the input device of the electronic device is monitored, whether the indication mark is located in a preset operation area or not is verified, and when the indication mark is located in the preset operation area, a first click event is generated. It should be noted that this case does not limit the type of the display screen of the electronic device, i.e., it may be a touch screen or a non-touch screen.
The preset operation area in the above embodiment may be an area capable of responding to a touch or click operation of an input device on the display screen of the electronic device, which may be a non-blank area, and the application does not limit the specific position of the preset operation area on the display screen of the electronic device.
Step S120: verifying whether a valid second click event is monitored within a first preset time range, and if not, executing the step S130; if yes, go to step S140.
In practical application, two click operations with a short time interval performed by the input device on an object displayed on a display screen of the electronic device are regarded as one double click operation, and this time interval may be regarded as a first preset time. It should be noted that, the specific value of the first preset time is not limited in the present application, and may be determined by experiments and the like according to the actual performance of the electronic device, but is not limited thereto.
Based on the above description of the inventive concept of the present application, to solve the prior art problems, the present application will not respond to the second click operation monitored in this situation. Therefore, when the single-click operation is monitored, whether the single-click operation and the single-click operation closest to the single-click operation can form a double-click operation can be verified, that is, whether other single-click operations still occur within a first preset time away from the occurrence time of the single-click operation can be verified, and if the other single-click operations do not occur, the single-click operation is an independent single-click event; on the contrary, it is stated that the electronic device has performed a double-click operation, and at this time, the single-click operation detected this time may not be responded to in order to avoid repeated opening or starting of the same target object.
It can be seen that, in the effective second click event that needs to be verified in step S120, it is actually required to query whether the click operation is still monitored within a first preset time range before the occurrence time of the click operation monitored this time, that is, whether the input device still performs the click operation on the same operation position on the display screen of the electronic device within the first preset time range before the occurrence time of the click operation performed on the electronic device by the input device, if so, it is indicated that the input device performs the double click operation on the same operation position, and at this time, step S140 is executed, so as to avoid repeatedly starting or opening the target object at the same operation position.
Based on the above analysis, the above step S120 can be implemented in the following two ways, but is not limited thereto.
The first method is as follows: as shown in fig. 2, the step S120 may include:
step S1211: and analyzing the first occurrence time carried by the first click event.
In practical application of this embodiment, when a first click event is monitored, information such as a specific click position and occurrence time of the first click event, and a clicked object may be monitored at the same time, so that the electronic device control system processes the first click event according to the information.
Step S1212: and calculating a first preset time range according to the first generation time and a preset first time threshold.
As can be seen from the above analysis, two click operations with a short interval time are usually treated as one double click operation in the process of performing a click operation on an electronic device, where the first time threshold is a critical value for determining whether two adjacent click operations occur as the occurrence time of one double click operation, that is, if the time interval between two adjacent click operations is smaller than the first time threshold, the two click operations are treated as one double click operation, and otherwise, the two click operations are treated as two independent click operations.
Therefore, in this embodiment, the time obtained by subtracting the first time threshold from the first occurrence time is the first preset time, and the time range from the first preset time to the first occurrence time is the first preset time range. For example, if a first click event occurs at 12 o ' clock 3 min 20 sec 3 msec, and the first time threshold may be 1 sec, then within a first predetermined time range, i.e., 12 o ' clock 3 min 19 sec 3 msec to 12 o ' clock 3 min 20 sec 3 msec, a valid second click event has been detected within the time range, then the first click event and the second click event will constitute a double click event, and the embodiment will not respond to the first click event.
It should be noted that, the specific value of the first time threshold is not limited in this application, and may be determined according to factors such as the actual performance of the electronic device, but is not limited thereto.
Step S1213: and verifying whether a valid second click event is monitored within the first preset time range.
In this embodiment, the valid second click event may be a click event that performs a click operation on the same click position of the first click event. That is to say, the same display position on the display screen of the electronic device is clicked at least twice, and then it is verified whether the same display position can be processed as a double-click operation, if the same display position is clicked twice in the first preset time range, the two click operations performed on different positions on the display screen cannot be processed as a double-click operation, and the control system of the electronic device still needs to respond to the two click operations respectively.
Therefore, in the process of executing step S1213, the monitored second click event is found within the first preset time range, and it is also required to verify that the click position (or click object) carried by the second click event is the same as the click position (or click object) of the first click event, and if the click position (or click object) carried by the second click event is the same as the click position (or click object) of the first click event, it indicates that the second click event is an effective click event for the first click event; if not, it is determined that the second click event is not a valid second click event for the first click event, and then step S130 may be directly performed.
As another embodiment of the present application, when the monitored click events are classified and stored by the electronic device according to the click position or the click object of the input device on the display screen at the moment, in the step S120, it may be verified whether the second click event is monitored within the first preset time range within the type to which the first click event belongs, and at this time, it is not necessary to further determine whether the click positions or the click objects carried by the first click event and the second click event are the same. In practical applications, the method is not limited to the two verification methods.
The second method comprises the following steps: as shown in fig. 3, the step S120 may include:
step S1221: and analyzing the first occurrence time carried by the first click event.
In this embodiment, the monitored click event may generally carry the occurrence time, the click position, the click object, and the like, which is not limited in this application.
Step S1222: and acquiring a monitored second click event which is nearest to the first generation time and effective.
The effective second click event obtaining manner may be implemented according to the description manner of the corresponding part in the first manner, which is not described herein again.
Step S1223: and judging whether the time difference between the second occurrence time of the second click event and the first occurrence time is smaller than a preset first time threshold value.
In conjunction with the above description, the first time threshold is a time threshold for verifying whether the first click event and the second click event can be processed as a double click event, i.e. a key for determining whether to respond to the first click event, and reference may be made to the description of a corresponding part of the above manner.
Step S130: in response to the first click event.
After the verification, if the first click event is generated by the input device performing a click operation on the first display position (or the first click position) or the first display object of the display screen of the electronic device, a second click event for the first display position or the first display object is not monitored within a first preset time range from the first generation time of the first click event, which indicates that the first click event is an independent click event, the electronic device will respond to the first click event and open or start the first display object.
For example, a first click event is to enter a first folder, and if a second click event that enters the first folder does not occur within a first time threshold before the occurrence time of the first click event, the electronic device will enter the first folder in response to the first click event, that is, open the first folder; on the contrary, it is stated that the first folder is being opened at this time, and the first folder does not need to be triggered to be opened again.
Step S140: it is determined that the first click event and the second click event are the same click event and no longer respond to the first click event.
Based on the above analysis, the first click event is a click event that occurs for the same display position or display object on the display screen within the first time threshold after the second click event occurs, which indicates that the first click event and the second click event can be treated as one-time double-click event.
In summary, in the embodiment, when the first click event is detected, by verifying whether a valid second click event is detected within the first preset time range, the first preset time range is obtained based on the first occurrence time of the first click event, if a valid second click event is not monitored in the first preset time range, the system considers that the first click event is valid and responds to the first click event, otherwise, the system considers that the first click event is invalid and does not respond to the first click event but continues to monitor the electronic equipment, thereby solving the problem that when a target object in the current display interface of the electronic equipment is double-clicked in the prior art, two identical display windows of the target object can be opened, and one of the two identical display windows needs to be closed by a user, so that inconvenience is brought to the use of the user, and the user experience is poor.
As shown in fig. 4, a schematic flow chart of a preferred embodiment of an information processing method provided by the present application may be applied to electronic devices, such as various Android electronic devices widely used at present, where such electronic devices generally process a left click of an input device, such as a mouse, as a touch operation, and in practical application, the method may include the following steps:
step S401: and displaying the indication mark on a display screen of the electronic equipment.
Wherein the display position of the indicator changes with the movement of the input device. For example, when the input device is a mouse, after the mouse is connected to the electronic device, an icon representing the mouse is displayed on a display screen of the electronic device, that is, the indicator in this embodiment, and when the user moves the mouse, the indicator on the display screen moves correspondingly, so that a target object that the user needs to open or start is selected.
Step S402: monitoring whether the single-click operation of the input device of the electronic device occurs, if so, executing step S403; if not, continue to execute step S402
Step S403: verifying whether the indication mark is located in a preset operation area, if so, entering step S404; if not, the process returns to step S402.
In the embodiment, since the user may respond to the operation when operating the object displayed on the display screen of the electronic device by using the input device, the user may not respond to the operation when operating the blank area on the display screen.
However, when the control system of the electronic device presets clicking the blank area of the currently displayed interface and exits from the currently displayed operation interface of the certain object, the user performs a click operation on the blank area by using the input device, and the click operation is also responded. In this case, the blank area in the display interface is also the preset operation area.
Therefore, the preset operation area in the present application may be all areas capable of responding to an operation of the input device on a certain position, and may be changed according to a change of a current display interface displayed on the display screen, which is not limited in the present application.
Step S404: a first click event is generated.
Based on the above analysis, the first click event may be generated based on a click operation of the input device, and is not limited to the generation method given in this embodiment.
Step S405: and analyzing the first occurrence time carried by the first click event.
Step S406: verifying whether a valid second click event is monitored, and if so, executing step S407; if not, go to step S410.
In this embodiment, the valid second click event may refer to a click event generated by a click operation performed on a click position of the first click event.
Step S407: and acquiring a monitored effective second click event closest to the first occurrence time.
In practical applications, when determining whether a double-click operation occurs, generally, the time interval between the current single-click operation and the last single-click operation is determined, and if the time interval is short enough, it is considered that two single-click operations constitute one double-click operation. Therefore, after the first click event is monitored, the second click event which is valid and occurs the most recently can be searched from the occurrence time of the first click event.
Step S408: judging whether the time difference between the second occurrence time of the effective second click event and the first occurrence time is smaller than a preset first time threshold, if so, executing step S409; if not, go to step S410.
The first time threshold may be a basis for the control system of the electronic device to determine that two click operations are one double click operation, that is, two click operations for the same click position or object are smaller than the first time threshold, which may be regarded as one double click operation.
Step S409: determining that the first click event is the same click event as the valid second click event and no longer responding to the first click event.
Step S410: in response to the first click event.
To sum up, in this embodiment, when a first click event is monitored, whether a valid second click event is monitored within a first preset time range is verified, where the first preset time range is obtained based on a first occurrence time of the first click event, and if a valid second click event is not monitored within the first preset time range, it is indicated that the first click event is an independent click event, the system will respond to the first click event, otherwise, the system will consider that the first click event and the second click event are the same click event, which constitutes a conventional double click event, and the system will not respond to the first click event any more, thereby solving the problem that when a certain target object in the current display interface of the electronic device is double-clicked in the prior art, two identical display windows of the target object will be opened, and the user needs to close one of the two display windows, the technical problems of inconvenience and poor user experience are brought to the use of the user.
As shown in fig. 5, for a schematic structural diagram of an embodiment of an electronic device provided in the present application, the electronic device may include: an input device 510 and a processor 520, wherein:
with reference to the operation diagram of an electronic device shown in fig. 6, when the display screen 530 of the electronic device is a touch screen, the input device 510 may be a device that can operate the touch screen by a user finger or a finger instead of the user finger, so as to implement a touch operation on the display screen; of course, the external device may be an external device such as a mouse, so that a user can operate the electronic device by using the external device, which is not limited in the present application.
When the display screen 530 of the electronic device is a non-touch screen, the input device 510 may be an external device such as a mouse, so that a user can operate the electronic device by using the external device.
When the input device 510 is an external device such as a mouse, an indication mark is displayed on the display screen 530, and a display position of the indication mark changes along with the movement of the input device 510, so as to select a target object of a plurality of objects currently displayed on the display screen 530.
The processor 520 is configured to monitor a first click event, verify whether a valid second click event is monitored within a first preset time range, respond to the first click event if the valid second click event is not monitored within the first preset time range, and determine that the first click event and the second click event are the same click event and do not respond to the first click event if the valid second click event is monitored within the first preset time range.
The first click event is generated based on single click operation of an input device, and the first preset time range is determined based on first generation time of the first click event.
Optionally, the input device 510 operates in a different manner for the electronic device, and accordingly, the processor 520 detects the first click event in a different manner.
Specifically, the processor 520 may include a first sensor, and in practical applications, a touch operation of the input device on a preset operation area of the display screen of the electronic device may be captured by the first sensor, so as to resolve the touch operation, and generate a corresponding first click event.
Of course, the processor 520 may also verify whether the indication identifier is located in a preset operation area when the single-click operation of the input device of the electronic device is monitored, and generate a first click event when the indication identifier is located in the preset operation area.
As another embodiment of the present application, the manner for the processor 520 to verify whether a valid second click event is monitored within a first preset time range may specifically include:
the first method is as follows: the processor 520 is configured to analyze a first occurrence time carried by the first click event, calculate a first preset time range according to the first occurrence time and a preset first time threshold, and then verify whether a valid second click event is monitored within the first preset time range.
The second method comprises the following steps: the processor 520 is configured to analyze a first occurrence time carried by the first click event, obtain a monitored second click event which is closest to the first occurrence time and is valid, and then determine whether a time difference between a second occurrence time of the second click event and the first occurrence time is smaller than a preset first time threshold.
It should be noted that, the way for the processor 520 to verify whether a valid second click event is detected within the first preset time range is not limited to the above two ways, and this application only exemplifies this way.
In this application, the valid second click event may refer to a click event generated by a click operation performed on a click position of the first click event.
Therefore, in this embodiment, when a first click event is monitored, whether a valid second click event is monitored within a first preset time range is verified, the first preset time range is obtained based on a first occurrence time of the first click event, if a valid second click event is not monitored within the first preset time range, it is indicated that the first click event is an independent click event, the system will respond to the first click event, otherwise, the system will consider that the first click event and the second click event are the same click event, which constitutes a conventional double-click event, and the system will not respond to the first click event any more, thereby solving the problem that when a certain target object in the current display interface of the electronic device is double-clicked in the prior art, two identical display windows of the target object will be opened, and the user needs to close one of the two display windows, the technical problems of inconvenience and poor user experience are brought to the use of the user.
Finally, it should also be noted that, in this document, relational terms such as first and second, and the like may be used solely to distinguish one element, module, or operation from another element, module, or operation without necessarily requiring or implying any actual such relationship or order between such elements, modules, or operations. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method or system that comprises the element.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. For the electronic equipment disclosed by the embodiment, the description is relatively simple because the electronic equipment corresponds to the method disclosed by the embodiment, and the relevant part can be referred to the method part for description.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (12)

1. An information processing method is applied to touch screen electronic equipment and used for monitoring clicking operation of the electronic equipment, and the method comprises the following steps:
monitoring a first click event, wherein the first click event is generated based on a click operation of an input device;
verifying whether a valid second click event is monitored within a first preset time range, wherein the first preset time range is determined based on first occurrence time of the first click event;
responding to the first click event if an effective second click event is not monitored within the first preset time range;
if a valid second click event is monitored within the first preset time range, determining that the first click event and the second click event are the same click event, and not responding to the first click event any more, and processing a conventional double-click operation formed by the first click event and the second click event as a click operation so as to avoid repeatedly opening or starting the same target object.
2. The method of claim 1, wherein verifying whether a valid second click event is monitored within a first preset time range comprises:
analyzing a first occurrence time carried by the first click event;
calculating a first preset time range according to the first generation time and a preset first time threshold;
and verifying whether a valid second click event is monitored within the first preset time range.
3. The method of claim 1, wherein verifying whether a valid second click event is monitored within a first preset time range comprises:
analyzing a first occurrence time carried by the first click event;
obtaining a monitored second click event which is nearest to the first generation time and effective;
and judging whether the time difference between the second occurrence time of the second click event and the first occurrence time is smaller than a preset first time threshold value.
4. The method of any of claims 1-3, wherein the monitoring of the first click event comprises:
capturing touch operation of an input device on a preset operation area of a display screen of the electronic device;
and analyzing the touch operation to generate a corresponding first click event.
5. The method of any of claims 1-3, wherein prior to detecting the first click event, the method further comprises:
and displaying an indication mark on a display screen of the electronic equipment, wherein the display position of the indication mark changes along with the movement of the input equipment.
6. The method of claim 5, wherein the monitoring for a first click event comprises:
when the click operation of the input device of the electronic device is monitored, verifying whether the indication mark is located in a preset operation area;
and when the indication mark is positioned in the preset operation area, generating a first click event.
7. An electronic device, characterized in that the electronic device comprises:
an input device; the processor is used for monitoring a first click event, verifying whether a valid second click event is monitored within a first preset time range, responding to the first click event if the valid second click event is not monitored within the first preset time range, determining that the first click event and the second click event are the same click event and do not respond to the first click event any more if the valid second click event is monitored within the first preset time range, and processing a conventional double-click operation formed by the first click event and the second click event as a click operation to avoid repeatedly opening or starting the same target object;
the first click event is generated based on single click operation of an input device, and the first preset time range is determined based on first generation time of the first click event.
8. The electronic device of claim 7, wherein the processor is specifically configured to: analyzing the first occurrence time carried by the first click event, calculating a first preset time range according to the first occurrence time and a preset first time threshold, and then verifying whether a valid second click event is monitored in the first preset time range.
9. The electronic device of claim 7, wherein the processor is specifically configured to: analyzing the first occurrence time carried by the first click event, acquiring a monitored second click event which is closest to the first occurrence time and is effective, and then judging whether the time difference between the second occurrence time of the second click event and the first occurrence time is smaller than a preset first time threshold value.
10. The electronic device of any of claims 7-9, wherein the processor comprises:
the first sensor is used for capturing touch operation of an input device on a preset operation area of the display screen of the electronic device, so that the touch operation can be analyzed, and a corresponding first click event can be generated.
11. The electronic device of any of claims 7-9, further comprising:
and the display screen is used for displaying the indication mark, and the display position of the indication mark changes along with the movement of the input equipment.
12. The electronic device according to claim 11, wherein the processor is specifically configured to verify whether the indicator is located in a preset operation area when a click operation of an input device of the electronic device is monitored, and generate a first click event when the indicator is located in the preset operation area.
CN201510918093.0A 2015-12-10 2015-12-10 Information processing method and electronic equipment Active CN105511758B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510918093.0A CN105511758B (en) 2015-12-10 2015-12-10 Information processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510918093.0A CN105511758B (en) 2015-12-10 2015-12-10 Information processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN105511758A CN105511758A (en) 2016-04-20
CN105511758B true CN105511758B (en) 2021-02-19

Family

ID=55719782

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510918093.0A Active CN105511758B (en) 2015-12-10 2015-12-10 Information processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN105511758B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108108065A (en) * 2017-11-28 2018-06-01 努比亚技术有限公司 Light sensation key realization method, mobile terminal and computer readable storage medium
CN108777742B (en) * 2018-05-23 2021-02-09 Oppo(重庆)智能科技有限公司 Mobile terminal, switching method of display interface of mobile terminal and computer storage medium
CN108717349B (en) * 2018-06-01 2021-01-26 Oppo广东移动通信有限公司 Terminal bright screen control method and device, terminal and storage medium
CN111541920A (en) * 2020-03-31 2020-08-14 易视腾科技股份有限公司 Remote control instruction generation method and device based on mobile phone
CN112261459B (en) * 2020-10-23 2023-03-24 北京字节跳动网络技术有限公司 Video processing method and device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102508593A (en) * 2011-09-28 2012-06-20 魏新成 Method for opening webpage in new webpage tab window by means of double-click of hyperlink by fingers
CN103440091A (en) * 2013-08-07 2013-12-11 广东明创软件科技有限公司 Method for realizing shortcut operation and mobile terminal
CN104375761A (en) * 2014-11-07 2015-02-25 惠州Tcl移动通信有限公司 Method and system for preventing misoperation of touch screen mobile phone
CN104731502A (en) * 2015-03-27 2015-06-24 努比亚技术有限公司 Double-click recognition method and device based on virtual partition touch screen and mobile terminal
CN105045454A (en) * 2015-08-27 2015-11-11 广东欧珀移动通信有限公司 Method for preventing from wrongly touching terminal and terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102455848A (en) * 2010-10-26 2012-05-16 宏碁股份有限公司 Input control method for screen touch type keyboard, and electronic device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102508593A (en) * 2011-09-28 2012-06-20 魏新成 Method for opening webpage in new webpage tab window by means of double-click of hyperlink by fingers
CN103440091A (en) * 2013-08-07 2013-12-11 广东明创软件科技有限公司 Method for realizing shortcut operation and mobile terminal
CN104375761A (en) * 2014-11-07 2015-02-25 惠州Tcl移动通信有限公司 Method and system for preventing misoperation of touch screen mobile phone
CN104731502A (en) * 2015-03-27 2015-06-24 努比亚技术有限公司 Double-click recognition method and device based on virtual partition touch screen and mobile terminal
CN105045454A (en) * 2015-08-27 2015-11-11 广东欧珀移动通信有限公司 Method for preventing from wrongly touching terminal and terminal

Also Published As

Publication number Publication date
CN105511758A (en) 2016-04-20

Similar Documents

Publication Publication Date Title
CN105511758B (en) Information processing method and electronic equipment
CN106775084B (en) A kind of false-touch prevention method, device and mobile terminal of touch screen
CN108021259B (en) False touch prevention method and electronic equipment
CN103135818B (en) Quick operation response method and electronic equipment
US8749507B2 (en) Systems and methods for adaptive interpretation of input from a touch-sensitive input device
CN105528130B (en) Control method and device and electronic equipment
CN106415472B (en) Gesture control method and device, terminal equipment and storage medium
CN105487809A (en) Terminal control method and device
WO2014146443A1 (en) Screen control method and the apparatus
CN102043566A (en) Electronic device with touch panel and operating method thereof
CN103034427A (en) Touch screen page turning method and device and touch screen equipment
CN107870705B (en) Method and device for changing icon position of application menu
CN103019426A (en) Interacting method and interacting device in touch terminal
WO2018228146A1 (en) Convenient operating method and terminal
CN107908307A (en) The false-touch prevention of mobile terminal and its touch-screen controls method, apparatus
CN104951677B (en) Information processing method and device
WO2014146516A1 (en) Interactive device and method for left and right hands
CN103389876A (en) Function switching method based on touch display equipment and touch display equipment
CN104035695B (en) A kind of method and electronic equipment of information processing
CN104346073B (en) A kind of information processing method and electronic equipment
CN107577404B (en) Information processing method and device and electronic equipment
WO2016197714A1 (en) Method for automatically identifying operation mode, and terminal
CN105912211B (en) Instruction input method and device
CN105912158A (en) Touch-screen photographing method, device for mobile terminal and mobile terminal
CN103176723A (en) Processing method and processing device for touch response

Legal Events

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