Information processing methods, devices and electronic equipment
By automatically switching the electronic device state when the first information condition is met, the problem of malfunction of proximity or contact sensing devices is solved, simplifying user operation and improving convenience and intelligence.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- LENOVO (BEIJING) LTD
- Filing Date
- 2019-03-31
- Publication Date
- 2026-05-26
AI Technical Summary
In electronic devices, proximity or contact sensors (such as touchpads) can easily cause inconvenience to users due to accidental operation. Existing solutions require users to memorize shortcut key combinations and operate manually, which affects the user experience.
When the first information condition is met, the electronic device automatically switches its state, so that the proximity or contact sensing device prohibits the first type of input operation in the first state and switches to the second state to respond to all input operations, thus avoiding misoperation.
Simplify user operations, improve convenience, avoid accidental operations, reduce resource waste during state switching, and enhance the intelligence of electronic devices.
Smart Images

Figure CN109977045B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of information processing technology, and more specifically, to an information processing method, apparatus, and electronic device. Background Technology
[0002] In electronic devices (such as laptops) that have both character input devices (like keyboards) and proximity or touch sensors (like touchpads), the proximity or touch sensors are often located near the character input devices, which can easily lead to accidental operation by the user. For example, in a laptop, the touchpad is located below the keyboard, so when the user is typing on the keyboard, their palm or thumb may touch the touchpad, causing accidental operation. To avoid accidental operation, a common solution is for the user to disable the proximity or touch sensors using a shortcut key. This requires the user to memorize the shortcut key combinations and to operate manually, which is inconvenient for using electronic devices. Summary of the Invention
[0003] This application provides an information processing method, apparatus, and electronic device, including the following technical solutions:
[0004] An information processing method, comprising:
[0005] The electronic device is in a first state; wherein, in the first state, at least a first type of input operation received by the proximity or contact sensing device of the electronic device is prohibited from being responded to;
[0006] Obtain first information;
[0007] If the first information meets the conditions, the electronic device is switched from the first state to the second state; wherein, in the second state, it can respond to all input operations received by the proximity or contact sensing device, and all input operations include the first type of input operations.
[0008] Preferably, in the above method, the prohibition of at least a first type of input operation received by the proximity or contact sensing device of the electronic device includes:
[0009] The electronic device is prohibited from responding to first-type input operations received by its proximity or contact sensing device, but is capable of responding to second-type input operations received by the proximity or contact sensing device.
[0010] In the above method, preferably, the second type of input operation is an operation that controls the change of the position of the operation identifier; the first type of input operation is an operation that triggers an operation command at the position of the operation identifier.
[0011] In the above method, preferably, obtaining the first information includes: obtaining a first input operation received by the proximity or contact sensing device, wherein the first input operation does not belong to the first type of input operation.
[0012] Preferably, in the above method, switching the electronic device from the first state to the second state includes:
[0013] In response to the first input operation meeting the condition, the position of the control operation identifier is changed, and the electronic device is switched from the first state to the second state.
[0014] The above method, preferably, also includes:
[0015] In the second state, a second input operation received by the proximity or contact sensing device is obtained, and the second input operation belongs to the first type of input operation;
[0016] In response to the second input operation, the first operation instruction is triggered;
[0017] Switch the electronic device from the second state to the first state.
[0018] The above method, preferably, also includes:
[0019] In the second state, a second input operation received by the proximity or contact sensing device is obtained, and the second input operation belongs to the first type of input operation;
[0020] In response to the second input operation, a second operation instruction is triggered, and a timer begins;
[0021] If the proximity or contact sensing device does not receive an input operation when the timer reaches the predetermined first time, the electronic device will switch from the second state to the first state.
[0022] The above method, preferably,
[0023] The acquisition of the first information includes: acquiring the first interface event;
[0024] The first information condition includes: the first interface event indicates that a device for controlling the change of the position of the operation identifier is removed from the electronic device; or, the first interface event indicates that a device for inputting characters is connected to the electronic device.
[0025] or,
[0026] The acquisition of the first information includes: acquiring information related to the first button;
[0027] The first information condition includes: the first key-related information indicates that the operating body has not operated the character input device of the electronic device.
[0028] or,
[0029] The acquisition of the first information includes: acquiring a third input operation received by the proximity or contact sensing device, wherein the third input operation does not belong to the first type of input operation;
[0030] The first information condition includes: the contact area between the proximity or contact sensing device and the operating body performing the third input operation meets a threshold.
[0031] An information processing apparatus, comprising:
[0032] The acquisition module is used to obtain the initial information;
[0033] A switching module is configured to switch the electronic device from the first state to the second state when the electronic device is in the first state, provided that the first information meets the conditions; wherein, in the first state, at least a first type of input operation received by the proximity or contact sensing device of the electronic device is prohibited from being responded to; and in the second state, all input operations received by the proximity or contact sensing device, including the first type of input operation, are responsive.
[0034] An electronic device, comprising:
[0035] Proximity or contact sensing device for receiving input operations;
[0036] Memory, used to store at least one set of instructions;
[0037] A processor is configured to invoke and execute the instruction set in the memory, and to perform the following operations by executing the instruction set:
[0038] The electronic device is in a first state; wherein, in the first state, at least a first type of input operation received by the proximity or contact sensing device is prohibited from being responded to.
[0039] Obtain first information;
[0040] If the first information meets the conditions, the electronic device is switched from the first state to the second state; wherein, in the second state, it can respond to all input operations received by the proximity or contact sensing device, and all input operations include the first type of input operations.
[0041] As can be seen from the above solutions, the information processing method, apparatus and electronic device provided in this application, when the electronic device is in the first state, prohibits the response to at least the first type of input operation received by the proximity or contact sensing device of the electronic device, thereby avoiding the user from accidentally inputting the above-mentioned at least the first type of input operation in the first state. When the first information is obtained and the first information meets the conditions, the electronic device is switched to the second state without the user having to perform a specific operation (e.g., using a shortcut key) to switch states, thereby simplifying user operation and improving the convenience of the user in using the electronic device. Attached Figure Description
[0042] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0043] Figure 1 A flowchart illustrating an implementation of the information processing method provided in this application embodiment;
[0044] Figure 2 A flowchart illustrating another implementation of the information processing method provided in this application embodiment;
[0045] Figure 3 A flowchart illustrating yet another implementation of the information processing method provided in this application embodiment;
[0046] Figure 4 A schematic diagram of the structure of an information processing apparatus provided in an embodiment of this application;
[0047] Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application.
[0048] The terms “first,” “second,” “third,” “fourth,” etc. (if present) in the specification, claims, and accompanying drawings are used to distinguish similar parts and are not necessarily used to describe a specific order or sequence. It should be understood that such use of data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in a sequence other than that illustrated herein. Detailed Implementation
[0049] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.
[0050] The information processing method and apparatus provided in this application can be applied to electronic devices that have proximity or contact sensing devices, such as touchpads. The electronic device is configured to respond to various types of input operations from the proximity or contact sensing devices; that is, the electronic device can respond to various types of input operations received by the proximity or contact sensing devices, and each type of input operation may further include at least one subtype.
[0051] A flowchart of one implementation of the information processing method provided in this application is shown below. Figure 1 As shown, it may include:
[0052] Step S11: The electronic device is in a first state; wherein, in the first state, responding to at least a first type of input operation received by the proximity or contact sensing device is prohibited.
[0053] In other words, in the first state, the electronic device will not respond to at least some types of input operations received by the proximity or contact sensing device.
[0054] The first type of input operation is one of the many types of input operations that electronic devices are configured to respond to proximity or contact sensing devices.
[0055] The first type of input operation can be an input operation that is likely to be accidentally operated by the user while using the electronic device; or, it can be an input operation of a type specified by the user.
[0056] Step S12: Obtain the first information.
[0057] This first piece of information may not be the information input by the operator. Or,
[0058] The first piece of information is input by the operator, but it is not information specifically used to control the state of the electronic device.
[0059] There are many ways to obtain the first information, such as obtaining the first information through an interface, obtaining the first information through an image acquired by an image acquisition unit, or obtaining the first information through a proximity or contact sensing device, etc.
[0060] Step S13: If the first information satisfies the condition (referred to as the first condition for ease of description), the electronic device is switched from the first state to the second state; wherein, in the second state, it can respond to all input operations received by the proximity or contact sensing device, including the first type of input operations.
[0061] The first information condition is met, indicating that the probability of the user misoperating the proximity or contact sensor is low, or that misoperation of the proximity or contact sensor is unlikely. All input operations refer to all types of input operations that the electronic device is configured to respond to in relation to the proximity or contact sensor.
[0062] The information processing method provided in this application prohibits the electronic device from responding to at least a first type of input operation received by the proximity or contact sensing device when the electronic device is in a first state. In this way, the user can avoid accidentally inputting the above-mentioned at least a first type of input operation in the first state. When first information is obtained and the first information meets the first condition, the electronic device is switched to a second state without the user having to perform a specific operation (e.g., using a shortcut key) to switch states, thereby simplifying user operation and improving the convenience of the user in using the electronic device.
[0063] In an optional embodiment, the aforementioned prohibition of at least a first type of input operation received by the proximity or contact sensing device may include:
[0064] It prohibits responding to first-type input operations received by the proximity or contact sensing device of an electronic device, but is capable of responding to second-type input operations received by the proximity or contact sensing device.
[0065] In other words, when the electronic device is in the first state, it only responds to some types of input operations configured for the proximity or contact sensor, while other types of input operations configured for the proximity or contact sensor are not responded to by the electronic device.
[0066] Optionally, the second type of input operation can be an operation that controls the change of the position of the operation identifier; the first type of input operation can be an operation that triggers an operation command at the position of the operation identifier.
[0067] For example, the second type of input operation can be an operation that controls the movement of the mouse cursor, such as a single finger swipe. The first type of input operation can be a click-type operation, such as a single click or a double click.
[0068] The first type of input operation triggers a different operation command at the location of the operation icon, depending on the content of that location. For example, if the operation icon is a button to close a document, the first type of input operation will trigger an operation command to close the document; if the operation icon is a button to minimize a video, the first type of input operation will trigger an operation command to minimize the video; if the operation icon is a position on a video progress bar, the first type of input operation will trigger an operation command to adjust the progress.
[0069] Optionally, the second type of input operation can also be an operation that controls the scaling of a target object (such as the currently displayed document, webpage, or image). For example, bringing two fingers together shrinks the target object, while moving two fingers apart zooms it in.
[0070] Optionally, the second type of output operation can also be an operation that controls the scrolling display of the target object, such as sliding two fingers together. For example, controlling the horizontal or vertical scrolling of a document, or controlling the vertical scrolling of a webpage. For instance, sliding two fingers together upwards controls the document to scroll upwards, and sliding two fingers together downwards controls the document to scroll downwards.
[0071] In an optional embodiment, one way to obtain the first information is as follows:
[0072] A first input operation received by a proximity or contact sensing device is obtained, wherein the first input operation does not belong to a first type of input operation.
[0073] In other words, in the first state, a first input operation obtained through the proximity or contact sensing device determines whether a first type of input operation received by the proximity or contact sensing device can be responded to. This first input operation is a second type of input operation received by the proximity or contact sensing device that the electronic device can respond to in the first state.
[0074] In an optional embodiment, one way to switch the electronic device from the first state to the second state is as follows:
[0075] In response to the first input operation satisfying the first condition, the position of the control operation identifier changes, and the electronic device is switched from the first state to the second state.
[0076] In this embodiment of the application, in the first state, if the first input operation meets the first condition, the first input information will not only control the electronic device to switch from the first state to the second state, but will also be responded to by the electronic device to control the operation identifier to change its position.
[0077] For example, if the first input operation is a swipe operation, and the contact area between the operator and the proximity or contact sensor is less than a first threshold when the first input operation is performed (i.e., the first input operation is a single-finger swipe operation), in addition to moving the operation icon to change its position, the electronic device will also switch from a first state to a second state. Based on this, the user can move the operation icon to the target position before switching the electronic device from the first state to the second state, so that when the electronic device enters the second state, the user can directly input a first-type input operation at the target position to trigger the operation command. Alternatively, the user can move the operation icon a certain distance towards the target position before switching the electronic device from the first state to the second state, so that when the electronic device enters the second state, the user only needs to move the operation icon a small distance to reach the target position, and then input a first-type input operation at the target position to trigger the operation command.
[0078] In another alternative embodiment, one way to switch the electronic device from the first state to the second state is as follows:
[0079] In response to the first input operation satisfying the first condition, the target object is enlarged or reduced, and the electronic device is switched from the first state to the second state.
[0080] In this embodiment of the application, in the first state, if the first input operation meets the first condition, the first input information will not only control the electronic device to switch from the first state to the second state, but will also be responded to by the electronic device to control the target object to be enlarged or reduced.
[0081] In yet another alternative embodiment, one way to switch the electronic device from the first state to the second state is as follows:
[0082] In response to the first input operation satisfying the first condition, the target object is controlled to scroll and the electronic device is switched from the first state to the second state.
[0083] In this embodiment of the application, in the first state, if the first input operation meets the first condition, the first input operation will not only control the electronic device to switch from the first state to the second state, but will also be responded to by the electronic device to control the target object to scroll and display.
[0084] In the above embodiments, the first input operation satisfying the first condition may mean that the first input operation is a predetermined input operation in the second type of input operations that the electronic device can respond to.
[0085] In summary, when the first input operation received by the proximity or contact sensing device meets the first condition, the first input operation is not only used to control the state of the electronic device, but will also be responded to by the electronic device to realize the preset function. This eliminates the need for the user to first perform a specific operation to control the state of the electronic device before inputting an operation to realize the preset function, further simplifying the user operation.
[0086] In the process of developing this application, the applicant discovered that when using the character input device of an electronic device, users typically only touch the proximity or contact sensor occasionally, and do not continuously touch it. Moreover, when using the proximity or contact sensor, users usually perform a swipe operation first, and then a click operation. Therefore, in the first state, blocking the click operation received by the proximity or contact sensor and responding to the swipe operation received by the proximity or contact sensor and triggering a state switch can prevent users from accidentally operating the proximity or contact sensor. At the same time, it allows users to operate the proximity or contact sensor directly according to their needs without having to pay attention to whether the proximity or contact sensor is in the first state.
[0087] In an optional embodiment, another implementation flowchart of the information processing method provided in this application is shown below. Figure 2 As shown, after the electronic device switches from the first state to the second state, it may also include:
[0088] Step S21: In the second state, a second input operation received by the proximity or contact sensing device is obtained, which belongs to the first type of input operation.
[0089] In the second state, the electronic device can respond to a first type of input operation received by the proximity or contact sensor. For example, the second input operation could be a single click or a double click.
[0090] Step S22: In response to the second input operation, trigger the first operation instruction. For example, trigger the instruction to close the window.
[0091] Step S23: Switch the electronic device from the second state to the first state.
[0092] In some situations, once a user performs an operation, they typically don't perform that operation again. For example, when editing a document, after moving the operation icon to a certain position and clicking it, the electronic device displays an insertion point at that location. The user usually enters characters at that position without clicking again. Another example is zooming in on a document; a single click on the zoom button is sufficient. After zooming in, the user might continue typing rather than repeatedly clicking the zoom in or zoom out buttons. Based on this, embodiments of this application propose that after triggering the first operation instruction, the electronic device can be immediately switched from a second state back to the first state, improving the intelligence of the electronic device.
[0093] In another optional embodiment, a flowchart of yet another implementation of the information processing method provided in this application is shown below. Figure 3 As shown, after the electronic device switches from the first state to the second state, it may also include:
[0094] Step S31: In the second state, a second input operation received by the proximity or contact sensing device is obtained, which belongs to the first type of input operation.
[0095] In the second state, the electronic device can respond to a first type of input operation received by the proximity or contact sensor. For example, the second input operation could be a click operation.
[0096] Step S32: In response to the second input operation, trigger the second operation instruction and start timing.
[0097] Step S33: When the timer reaches the predetermined first time, if the proximity or contact sensor does not receive an input operation, the electronic device is switched from the second state to the first state.
[0098] In some cases, after performing a first-type input operation, a user may need to perform the operation again. For example, after moving the operation indicator to a certain position on a video playback progress bar (denoted as position A), the user may adjust the video playback progress to the corresponding progress at position A by clicking. However, the video content at this position may not be what the user wants to watch, requiring the user to adjust the progress bar position again. Another example is the operation of closing a document. After closing the document by clicking the close button, the user will not click again at that position, but may perform other operations, such as opening another document and entering information there; opening an instant messaging tool to chat with friends; or opening a browser to browse the web. When the user performs other operations, there is a possibility of accidental operation of the proximity or contact sensing device. Based on this, this application proposes that after triggering a second operation instruction, the electronic device can be switched to the first state without immediately switching back to the first state, but only after the user stops operating the proximity or contact sensing device. This avoids the waste of resources caused by frequent switching of the electronic device's state.
[0099] and Figure 2 Unlike the previous embodiment, in this embodiment, after responding to the second input operation, the electronic device is not immediately switched from the second state back to the first state. Instead, it waits for a certain period of time. If the user does not operate the proximity or contact sensor within this preset time (i.e., the proximity or contact sensor does not receive an input operation), the electronic device is then switched from the second state to the first state. This further enhances the intelligence of the electronic device.
[0100] In an optional embodiment, one way to obtain the first information described above is as follows:
[0101] Obtain the first interface event;
[0102] Accordingly, the first information satisfying the first condition may include: the first interface event indicating that a device used to control the change of the position of the operation identifier is removed from the electronic device; or, the first interface event indicating that a device used for inputting characters is connected to the electronic device. For example, the first interface event is the removal of the mouse from the electronic device, or the connection of the keyboard to the electronic device, etc.
[0103] When the first interface event indicates that the device used to control the change of the operation identifier position and / or the device used to trigger the operation command at the location of the operation identifier is removed from the electronic device, the user needs to use a proximity or contact sensing device to control the change of the operation identifier position and trigger the operation command at the location of the operation identifier. At this time, the electronic device needs to be switched from the first state to the second state so that it can control the change of the operation identifier position and trigger the operation command at the location of the operation identifier.
[0104] When the first interface event indicates that the device for inputting characters is connected to the electronic device, it means that the user wants to input characters into the electronic device using an external device. At this time, the user will usually not accidentally touch the proximity or contact sensor when inputting characters through the external device. Therefore, the electronic device can be switched from the first state to the second state.
[0105] In an optional embodiment, one way to obtain the first information described above is as follows:
[0106] Obtain information related to the first button press;
[0107] Accordingly, the first information satisfying the first condition may include: the first key-related information indicating that the operating body did not operate the character input device of the electronic device. The character input device may be the keyboard of the electronic device.
[0108] Specifically, the information related to the first button can be: whether a button event was received within a preset time period. Correspondingly, the first information satisfying the first condition can be: no button event was received within the preset time period.
[0109] If no key press event is received within the preset time period, it indicates that the user has not operated the character input device within that period. The probability of accidental touch on the proximity or contact sensor is extremely low, and the electronic device can be switched from the first state to the second state.
[0110] Optionally, the information related to the first button can also be: whether the operator is within the area where the character input device is located, or whether the operator is in contact with the character input device. Specifically, an image acquisition unit can acquire an image of the area where the character input device is located, and image analysis can be used to determine whether the operator is within the area where the character input device is located, and whether the operator is in contact with the character input device.
[0111] Accordingly, the first information satisfying the first condition can be: the operator is not within the area where the character input device is located, or, although the operator is within the area where the character input device is located, it has not touched the character input device. That is, the operator not being within the area where the character input device is located, or although the operator is within the area where the character input device is located, but has not touched the character input device, indicates that the operator has not operated the character input device of the electronic device.
[0112] In an optional embodiment, one way to obtain the first information described above is as follows:
[0113] A third input operation received by a proximity or contact sensing device is obtained, and the third input operation does not belong to the first type of input operation;
[0114] Accordingly, the first information satisfying the first condition may include: the contact area and / or contact shape between the proximity or contact sensing device and the operating body performing the third input operation satisfying a threshold.
[0115] In this embodiment, when the contact area meets a threshold, the operand is characterized as the target operand. Meeting the threshold can mean that the contact area is within a target range. For example, when the operand is the fingertip area or the side area of the fingertip, the contact area is usually relatively small, while when the thumb or palm is accidentally touched, the contact area is usually relatively large.
[0116] or,
[0117] When the contact shape meets a threshold, the operand is considered the target operand. Meeting the threshold can mean that the contact shape is the target shape or approximately the target shape. For example, when the operand is the fingertip area or the side area of the fingertip, the contact shape is closer to a circle, while when the thumb or palm accidentally touches the object, the contact shape is closer to a rectangle.
[0118] or,
[0119] When the contact area meets a first threshold and the contact shape meets a second threshold, the operand is characterized as a target operand. Meeting the first threshold for contact area can mean that the contact area is within the target range. Meeting the second threshold for contact shape can mean that the contact shape is the target shape or approximately the target shape.
[0120] In other words, in this embodiment of the application, the first information is determined to satisfy the first condition only when the input operation received by the proximity or contact sensing device is a specific input operation in the second type of input operation that the electronic device can respond to, and the contact area between the operating body and the proximity or contact sensing device meets the threshold when the specific input operation is performed.
[0121] In an optional embodiment, after the electronic device switches from the first state to the second state, the information processing method provided in this application may further include:
[0122] In the second state, second information is obtained; this second information is different from the first information.
[0123] The second information can be obtained in several ways, such as through an interface, through an image acquired by an image acquisition unit, or through a character input device of an electronic device.
[0124] If the second information satisfies the condition (for ease of description, denoted as the second condition), the electronic device is switched from the second state to the first state.
[0125] The second piece of information satisfies the second condition, indicating that the probability of the user misoperating the proximity or contact sensing device is relatively high.
[0126] In this embodiment of the application, in addition to automatically switching the electronic device from the first state to the second state, it can also automatically switch the electronic device from the second state to the first state.
[0127] In an optional embodiment, obtaining the second information described above may include:
[0128] Obtain the second interface event;
[0129] The second information satisfying the second condition may include: the second interface event indicating that a device for controlling the change of the operation identifier position is connected to the electronic device, and / or that a device for triggering an operation command at the location of the operation identifier is connected to the electronic device; or, the second interface event indicating that a device for inputting characters is removed from the electronic device. For example, the second interface event is that a mouse is connected to the electronic device, or that an external character input device is removed from the electronic device, etc.
[0130] When a device used to control the change of the position of the operation indicator and / or a device used to trigger an operation command at the location of the operation indicator are connected to the electronic device, the user will not typically use the proximity or contact sensing device. In this case, the electronic device can be switched from the second state to the first state.
[0131] When an external character input device is removed from an electronic device, the user needs to use the electronic device's character input device to input characters. At this time, the user is very likely to misoperate the proximity or contact sensor. Therefore, the electronic device can be switched from the second state to the first state.
[0132] In an optional embodiment, obtaining the second information described above may include:
[0133] Obtain information related to the second button;
[0134] Accordingly, the second information satisfying the second condition may include: the second key-related information indicates that the operator is inputting characters into the character input device of the electronic device.
[0135] Optionally, the second key-related information can be: whether a key event was received within a preset time period. Correspondingly, the second information satisfying the second condition can be: a key event was received within the preset time period. The input information corresponding to this key event is a character (including: numbers, letters, or symbols).
[0136] Optionally, the second button-related information can also be: whether the operating body moves continuously within the area where the character input device is located. Specifically, an image acquisition unit can acquire an image of the area where the character input device is located, and image analysis can be used to determine whether the operating body moves continuously within the area where the character input device is located. The corresponding second information satisfying the second condition can be: the operating body moves continuously within the area where the character input device is located. That is, continuous movement of the operating body within the area where the character input device is located indicates that the operating body is operating the character input device of the electronic device.
[0137] Corresponding to the method embodiments, this application also provides an information processing apparatus. A schematic diagram of one structure of the information processing apparatus provided in this application is shown below. Figure 4 As shown, it may include:
[0138] Obtain module 41 and switch module 42; wherein,
[0139] Module 41 is used to obtain the first information;
[0140] The switching module 42 is used to switch the electronic device from the first state to the second state when the electronic device is in the first state, if the first information meets the conditions; wherein, in the first state, at least a first type of input operation received by the proximity or contact sensing device of the electronic device is prohibited from being responded to; in the second state, it can respond to all input operations received by the proximity or contact sensing device, including the first type of input operation.
[0141] The information processing apparatus provided in this application prohibits the response to at least a first type of input operation received by the proximity or contact sensing device of the electronic device when the electronic device is in a first state. In this way, the user can avoid accidentally inputting the above-mentioned at least a first type of input operation in the first state. When first information is obtained and the first information meets the conditions, the electronic device is switched to a second state without the user having to perform a specific operation (e.g., using a shortcut key) to switch states, thereby simplifying user operation and improving the convenience of the user in using the electronic device.
[0142] In an optional embodiment, the aforementioned prohibition of at least a first type of input operation received by the proximity or contact sensing device of the electronic device may include:
[0143] The electronic device is prohibited from responding to first-type input operations received by its proximity or contact sensing device, but is capable of responding to second-type input operations received by the proximity or contact sensing device.
[0144] In an optional embodiment, the second type of input operation is an operation that controls the change of the position of the operation identifier; the first type of input operation is an operation that triggers an operation instruction at the position of the operation identifier.
[0145] In an optional embodiment, the obtaining module 41 may specifically be used for:
[0146] A first input operation received by a proximity or contact sensing device is obtained, wherein the first input operation does not belong to a first type of input operation.
[0147] In an optional embodiment, when the switching module 42 switches the electronic device from the first state to the second state, it can specifically be used for:
[0148] In response to the first input operation meeting the condition, the position of the control operation identifier changes, and the electronic device is switched from the first state to the second state.
[0149] In an optional embodiment, the obtaining module 41 may also be used for:
[0150] In the second state, a second input operation is received by the proximity or contact sensing device, which belongs to the first type of input operation.
[0151] Switching module 42 can also be used for:
[0152] In response to the second input operation, the first operation instruction is triggered;
[0153] Switch the electronic device from the second state to the first state.
[0154] In an optional embodiment, the obtaining module 41 may also be used for:
[0155] In the second state, a second input operation is received by the proximity or contact sensing device, which belongs to the first type of input operation.
[0156] Switching module 42 can also be used for:
[0157] In response to the second input operation, a second operation instruction is triggered, and a timer begins;
[0158] When the timer reaches the predetermined first time, if the proximity or contact sensor does not receive an input operation, the electronic device will switch from the second state to the first state.
[0159] In an optional embodiment, the obtaining module 41 may specifically be used to obtain the first interface event;
[0160] The first information condition may include: the first interface event indicates that a device used to control the change of the position of the operation identifier is removed from the electronic device; or, the first interface event indicates that a device used to input characters is connected to the electronic device.
[0161] In an optional embodiment, the obtaining module 41 may specifically be used to obtain information related to the first button;
[0162] The first information condition may include: the first key-related information indicates that the operator has not operated the character input device of the electronic device.
[0163] In an optional embodiment, the obtaining module 41 may be specifically used to obtain a third input operation received by the proximity or contact sensing device, which is not a first type of input operation;
[0164] The first information condition may include: the contact area between the proximity or contact sensing device and the operating body performing the third input operation meets a threshold.
[0165] In an optional embodiment, the obtaining module 41 may also be used for:
[0166] In the second state, second information is obtained; this second information is different from the first information.
[0167] Switching module 42 can also be used for:
[0168] If the second information satisfies the second condition, the electronic device is switched from the second state to the first state.
[0169] In an optional embodiment, when the obtaining module 41 obtains the second information, it can specifically be used for:
[0170] Obtain the second interface event;
[0171] The second information satisfying the second condition may include: the second interface event indicating that a device for controlling the change of the operation identifier position is connected to the electronic device, and / or that a device for triggering an operation command at the location of the operation identifier is connected to the electronic device; or, the second interface event indicating that a device for inputting characters is removed from the electronic device. For example, the second interface event is that a mouse is connected to the electronic device, or that an external character input device is removed from the electronic device, etc.
[0172] In an optional embodiment, when the obtaining module 41 obtains the second information, it can specifically be used for:
[0173] Obtain information related to the second button;
[0174] Accordingly, the second information satisfying the second condition may include: the second key-related information indicates that the operator is performing a character operation on the character input device of the electronic device.
[0175] Corresponding to the method embodiments, this application also provides an electronic device, and a schematic diagram of the structure of the electronic device provided in this application is shown below. Figure 5 As shown, it may include:
[0176] A proximity or contact sensor 51 is used to receive input operations;
[0177] Memory 52 is used to store at least one set of instructions;
[0178] Processor 53 is used to call and execute the instruction set in memory 52, and to perform the following operations by executing the instruction set:
[0179] The electronic device is in a first state; wherein, in the first state, responding to at least a first type of input operation received by a proximity or contact sensing device is prohibited;
[0180] Obtain first information;
[0181] If the first information meets the conditions, the electronic device is switched from the first state to the second state; wherein, in the second state, it can respond to input operations received by the proximity or contact sensing device, all of which include the first type of input operations.
[0182] The electronic device provided in this application, when in a first state, prohibits responding to at least a first type of input operation received by an electric proximity or contact sensing device, thereby preventing the user from accidentally inputting the aforementioned at least a first type of input operation in the first state. When first information is obtained and the first information meets the conditions, the electronic device is switched to a second state without requiring the user to perform a specific operation (e.g., using a shortcut key) to switch states, thereby simplifying user operation and improving the convenience of using the electronic device.
[0183] In an optional embodiment, the aforementioned prohibition of at least a first type of input operation received by the proximity or contact sensing device of the electronic device may include:
[0184] The electronic device is prohibited from responding to first-type input operations received by its proximity or contact sensing device, but is capable of responding to second-type input operations received by the proximity or contact sensing device.
[0185] In an optional embodiment, the second type of input operation is an operation that controls the change of the position of the operation identifier; the first type of input operation is an operation that triggers an operation instruction at the position of the operation identifier.
[0186] In an optional embodiment, when the processor 53 obtains the first information, it may specifically be used for:
[0187] A first input operation received by a proximity or contact sensing device is obtained, wherein the first input operation does not belong to a first type of input operation.
[0188] In an optional embodiment, when the processor 53 switches the electronic device from the first state to the second state, it may specifically be used to:
[0189] In response to the first input operation meeting the condition, the position of the control operation identifier changes, and the electronic device is switched from the first state to the second state.
[0190] In an alternative embodiment, processor 53 may also be used for:
[0191] In the second state, a second input operation is received by the proximity or contact sensing device, which belongs to the first type of input operation.
[0192] In response to the second input operation, the first operation instruction is triggered;
[0193] Switch the electronic device from the second state to the first state.
[0194] In an alternative embodiment, processor 53 may also be used for:
[0195] In the second state, a second input operation is received by the proximity or contact sensing device, which belongs to the first type of input operation.
[0196] In response to the second input operation, a second operation instruction is triggered, and a timer begins;
[0197] When the timer reaches the predetermined first time, if the proximity or contact sensor does not receive an input operation, the electronic device will switch from the second state to the first state.
[0198] In an optional embodiment, the electronic device may further include a communication interface and / or a character input device; the processor 53 may specifically be used to:
[0199] Obtaining a first interface event; the first information satisfying the condition may include: the first interface event indicating that the device used to control the change of the position of the operation identifier, and / or the device used to trigger an operation command at the position of the operation identifier is removed from the electronic device; or, the first interface event indicating that the device used to input characters is connected to the electronic device.
[0200] or,
[0201] Obtaining information related to the first key; the first information satisfying the condition may include: the first key-related information indicates that the operating body has not operated the character input device of the electronic device. In this embodiment, the electronic device also includes an input device for inputting characters, such as a keyboard.
[0202] or,
[0203] A third input operation received by a proximity or contact sensing device is obtained, which does not belong to the first type of input operation; the first information satisfaction condition may include: the contact area between the proximity or contact sensing device and the operating body performing the third input operation satisfies a threshold.
[0204] In an alternative embodiment, processor 53 may also be used for:
[0205] In the second state, second information is obtained; this second information is different from the first information.
[0206] If the second information satisfies the second condition, the electronic device is switched from the second state to the first state.
[0207] In an optional embodiment, when the processor 53 obtains the second information, it can specifically be used for:
[0208] Obtaining a second interface event; the second information satisfying the second condition may include: the second interface event indicating that a device for controlling the change of the operation identifier position, and / or a device for triggering an operation command at the location of the operation identifier is connected to the electronic device; or, the second interface event indicating that a device for inputting characters is removed from the electronic device. For example, the second interface event is a mouse being connected to the electronic device, or an external character input device being removed from the electronic device, etc.
[0209] or,
[0210] Obtaining information related to the second button; the second information satisfying the second condition may include: the information related to the second button indicates that the operator is performing a character operation on the character input device of the electronic device.
[0211] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0212] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. Furthermore, the couplings or direct couplings or communication connections shown or discussed may be indirect couplings or communication connections through interfaces, devices, or units, and may be electrical, mechanical, or other forms.
[0213] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0214] In addition, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0215] It should be understood that in the embodiments of this application, the claims, various embodiments, and features can be combined with each other to solve the aforementioned technical problems.
[0216] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0217] The above description of the disclosed embodiments enables those skilled in the art to make or use this application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application is not 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
1. An information processing method, comprising: The electronic device is in a first state; wherein, in the first state, at least a first type of input operation received by the proximity or contact sensing device of the electronic device is prohibited from being responded to; Obtaining the first information includes: obtaining a first input operation received by the proximity or contact sensing device, wherein the first input operation does not belong to the first type of input operation; and the first input operation is a sliding operation. If the first information satisfies the condition, the electronic device is switched from the first state to the second state, including: in response to the first input operation satisfying the condition, implementing the preset function corresponding to the sliding operation, and switching the electronic device from the first state to the second state; wherein, in the second state, it can respond to all input operations received by the proximity or contact sensing device, and all input operations include the first type of input operation; In the second state, a second input operation received by the proximity or contact sensing device is obtained, and the second input operation belongs to the first type of input operation; In response to the second input operation, the first operation instruction is triggered; Switch the electronic device from the second state to the first state.
2. The method of claim 1, wherein prohibiting at least a first type of input operation received by the proximity or contact sensing device of the electronic device includes: The electronic device is prohibited from responding to first-type input operations received by its proximity or contact sensing device, but is capable of responding to second-type input operations received by the proximity or contact sensing device.
3. The method according to claim 2, wherein the second type of input operation is an operation that controls the change of the position of the operation identifier; and the first type of input operation is an operation that triggers an operation instruction at the position of the operation identifier.
4. The method according to claim 1, wherein responding to the first input operation satisfying the condition, implementing the preset function corresponding to the sliding operation, and switching the electronic device from the first state to the second state, comprises: In response to the first input operation meeting the condition, the position of the control operation identifier is changed, and the electronic device is switched from the first state to the second state.
5. The method according to claim 1, further comprising: In the second state, a second input operation received by the proximity or contact sensing device is obtained, and the second input operation belongs to the first type of input operation; In response to the second input operation, a second operation instruction is triggered, and a timer begins; If the proximity or contact sensor does not receive an input operation when the timer reaches the predetermined first time, the electronic device will switch from the second state to the first state.
6. The method according to claim 1, The acquisition of the first information includes: Obtain the first interface event; The first information condition includes: the first interface event indicates that a device for controlling the change of the position of the operation identifier is removed from the electronic device; or, the first interface event indicates that a device for inputting characters is connected to the electronic device. or, The acquisition of the first information includes: acquiring information related to the first button; The first information condition includes: the first key-related information indicates that the operating body has not operated the character input device of the electronic device; or, The acquisition of the first information includes: acquiring a third input operation received by the proximity or contact sensing device, wherein the third input operation does not belong to the first type of input operation; The first information condition includes: the contact area between the proximity or contact sensing device and the operating body performing the third input operation meets a threshold.
7. An information processing apparatus, comprising: The acquisition module is used to acquire first information, including: acquiring a first input operation received by the proximity or contact sensing device of the electronic device, wherein the first input operation does not belong to a first type of input operation; and the first input operation is a sliding operation. A switching module is configured to switch the electronic device from a first state to a second state when the electronic device is in a first state, provided that the first information satisfies a condition. The switching module includes: responding to the condition being met by the first input operation, implementing a preset function corresponding to the sliding operation, and switching the electronic device from the first state to the second state; wherein, in the first state, responding to at least the first type of input operation received by the proximity or contact sensor of the electronic device is prohibited; in the second state, responding to all input operations received by the proximity or contact sensor, including the first type of input operation; in the second state, obtaining a second input operation received by the proximity or contact sensor, the second input operation belonging to the first type of input operation; responding to the second input operation, triggering a first operation command; and switching the electronic device from the second state to the first state.
8. An electronic device, comprising: Proximity or contact sensing device for receiving input operations; Memory, used to store at least one set of instructions; A processor is configured to invoke and execute the instruction set in the memory, and to perform the following operations by executing the instruction set: The electronic device is in a first state; wherein, in the first state, at least a first type of input operation received by the proximity or contact sensing device is prohibited from being responded to. Obtaining the first information includes: obtaining a first input operation received by the proximity or contact sensing device, wherein the first input operation does not belong to the first type of input operation; and the first input operation is a sliding operation. If the first information satisfies the condition, the electronic device is switched from the first state to the second state, including: in response to the first input operation satisfying the condition, implementing the preset function corresponding to the sliding operation, and switching the electronic device from the first state to the second state; wherein, in the second state, it can respond to all input operations received by the proximity or contact sensing device, and all input operations include the first type of input operation; In the second state, a second input operation received by the proximity or contact sensing device is obtained, and the second input operation belongs to the first type of input operation; In response to the second input operation, the first operation instruction is triggered; Switch the electronic device from the second state to the first state.