Method and device for operating electronic equipment

By implementing the air-distance operation mode on electronic devices, using finger size information to guide users to operate in contactless space operation areas, solving the risk of disease transmission caused by the retention of viruses and bacteria on the electronic device screen, and improving the operating experience.

CN112699796BActive Publication Date: 2024-11-15VIVO MOBILE COMM CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011611692.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-30
Publication Date
2024-11-15
Estimated Expiration
2040-12-30

AI Technical Summary

Technical Problem

The touch screen of electronic devices is prone to retain pathogenic organisms such as viruses and bacteria, resulting in contact operation bringing the risk of disease transmission.

Method used

When the electronic device is in the air-distance operation mode, by obtaining the user's finger size information, outputting a target prompt message, and directing the user to move his finger to the target space operation area of ​​the corresponding size, thereby achieving contactless operation.

Benefits of technology

It effectively avoids the risk of disease transmission caused by contact operation, and guides the user to operate in a suitable space operation area based on the user's finger size information, improving the user's operating experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112699796B_ABST
    Figure CN112699796B_ABST
Patent Text Reader

Abstract

The present application discloses an operation method and device for an electronic device, belonging to the field of communication technology. The method comprises: when the electronic device is in an air-to-air operation mode, obtaining the user's finger size information; outputting a target prompt message according to the finger size information, wherein the target prompt information is used to guide the user to move the finger to the target space operation area, and the target space operation area is associated with the finger size information; when it is detected that the user moves the finger to the target space operation area, receiving the target input of the user's finger in the target space operation area, and responding to the target input. In this way, the user can perform contactless operation on the electronic device in space, thereby avoiding the risk of disease transmission caused by contact, and can guide the user to operate in a suitable space operation area according to the user's finger size information, thereby improving the user's operation experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of communication technology, and specifically relates to an operating method and device of an electronic device. Background Art

[0002] At present, electronic devices are basically operated by users through touch screens, which require users to touch the screen with their fingers. However, viruses, bacteria and other pathogenic organisms are easily retained on the screens of electronic devices, thus posing the problem of the risk of disease transmission due to contact operations. Summary of the invention

[0003] The purpose of the embodiments of the present application is to provide an electronic device operation method, device and electronic device, which can overcome the disease transmission risk problem existing in existing contact operations.

[0004] In order to solve the above technical problems, this application is implemented as follows:

[0005] In a first aspect, an embodiment of the present application provides an operating method of an electronic device, the method comprising:

[0006] When the electronic device is in an airborne operation mode, obtaining finger size information of the user;

[0007] Outputting a target prompt message according to the finger size information, wherein the target prompt information is used to guide the user to move the finger to a target space operation area, and the target space operation area is associated with the finger size information;

[0008] In the case of detecting that the user moves a finger to the target space operation area, receiving a target input of the user's finger in the target space operation area, and responding to the target input.

[0009] In a second aspect, an embodiment of the present application provides an operating device for an electronic device, including:

[0010] A first acquisition module, configured to acquire finger size information of a user when the electronic device is in an airborne operation mode;

[0011] an output module, configured to output a target prompt message according to the finger size information, wherein the target prompt information is used to guide the user to move the finger to a target space operation area, and the target space operation area is associated with the finger size information;

[0012] The execution module is used to receive a target input of the user's finger in the target space operation area and respond to the target input when it is detected that the user moves the finger to the target space operation area.

[0013] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the operating method of the electronic device as described in the first aspect.

[0014] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the operating method of the electronic device as described in the first aspect are implemented.

[0015] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the operating method of the electronic device as described in the first aspect.

[0016] In an embodiment of the present application, when the electronic device is in the air operation mode, the user's finger size information is obtained; according to the finger size information, a target prompt message is output, wherein the target prompt information is used to guide the user to move the finger to the target space operation area, and the target space operation area is associated with the finger size information; when it is detected that the user moves the finger to the target space operation area, the target input of the user's finger in the target space operation area is received, and the target input is responded to. In this way, the user can perform contactless operation on the electronic device in space, thereby avoiding the risk of disease transmission caused by contact, and can guide the user to operate in a suitable space operation area according to the user's finger size information, thereby improving the user's operation experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 is a flow chart of an operating method of an electronic device provided by an embodiment of the present application;

[0018] Figure 2 is a schematic diagram of an operation interface for determining a spatial reference position provided in an embodiment of the present application;

[0019] Figure 3 This is a schematic diagram of an operation interface for guiding a user to move to a spatial operation area of ​​corresponding size according to different recognized finger sizes provided by an embodiment of the present application;

[0020] Figure 4 This is a schematic diagram of an operation interface for inputting different characters in the air provided in an embodiment of the present application;

[0021] Figure 5 It is a schematic diagram of an operation interface for outputting a relevant prompt message before starting an operation to guide the user to move to a target space operation area, provided by an embodiment of the present application;

[0022] Figure 6 This is a schematic diagram of an operation interface for selecting spatial operation areas of different scales through a scale option control provided in an embodiment of the present application;

[0023] Figure 7 is a schematic diagram of the structure of an operating device of an electronic device provided in an embodiment of the present application;

[0024] Figure 8 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application;

[0025] Fig. 9 It is a schematic diagram of the structure of another electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0026] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0027] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0028] The operating method and device of the electronic device provided by the embodiments of the present application are described in detail below with reference to the accompanying drawings through specific embodiments and their application scenarios.

[0029] See also Figure 1 , Figure 1 A flowchart of an operating method of an electronic device provided in an embodiment of the present application, such as Figure 1 As shown, the method comprises the following steps:

[0030] Step 101: When the electronic device is in an air operation mode, obtain the user's finger size information.

[0031] The above-mentioned air operation mode can be a mode configured by the electronic device that can perform air operation. The above-mentioned electronic device is in the air operation mode. The electronic device can start the air operation mode based on the user's trigger operation, or it can start the air operation mode based on a specific event trigger.

[0032] The above-mentioned acquisition of the user's finger size information may be by collecting the user's finger information of the air operation, such as a finger image or a fingerprint image, and determining the user's finger size information based on the finger information, wherein the finger image may be a fingertip image including a fingerprint portion. Specifically, the user's finger information may be collected by the optoelectronic module of the electronic device, such as collecting the user's finger image by a front camera, or collecting the user's fingerprint image by a high-definition front camera, and then determining the user's finger size information based on the collected image size. In this way, through the user's finger size information, it can be determined whether the user's finger is a big finger or a small finger, and then the corresponding target space operation area suitable for the user's finger operation can be determined. For example, a big finger may correspond to a larger target space operation area, and a small finger may correspond to a smaller target space operation area.

[0033] It should be noted that, in the case where the spatial reference position (the distance between the position and the electronic device is the reference distance) is not set, the size of the collected finger image or fingerprint image will also change due to the different distances between the finger and the electronic device. For example, the farther the distance from the electronic device is, the smaller the size of the collected finger image is. In order to ensure that the user's finger size information can be accurately determined without being affected by the distance in this case, the corresponding reference sizes at different distances can be set as references. For example, at the first distance, the first size is used as the reference, and at the second distance, the second size is used as the reference. When the first distance is greater than the second distance, the first size is smaller than the second size, and so on. Therefore, when obtaining the user's finger size information, the distance between the user's finger and the electronic device can be detected by a module such as a photoelectric distance sensor, and then the user's finger size information can be determined according to the reference size corresponding to the distance. For example, if the size of the finger image collected at the first distance exceeds a certain value of the first size, it is determined to be a large finger. If the size of the finger image collected at the first distance is less than a certain value of the first size, it is determined to be a small finger.

[0034] When it is determined that there is a spatial reference position, the user's finger size information may be determined based on the finger image size or fingerprint image size corresponding to the user's finger at the spatial reference position.

[0035] That is, obtaining the user's finger size information may include:

[0036] When detecting that the user's finger is located at the spatial reference position, collecting the user's finger image;

[0037] Based on the size of the finger image, the user's finger size information is determined.

[0038] That is, in an optional implementation, the user's finger size information can be detected only when it is determined that the user's finger is placed at the spatial reference position. Specifically, the user's finger size information can be determined by acquiring the current user's finger image and determining the size of the finger image. For example, the size of the finger image can be mapped to the user's finger size information. The larger the size of the finger image, the larger the user's finger size information is, and the smaller the size of the finger image, the smaller the user's finger size information is.

[0039] Among them, there is a distance between the spatial reference position and the electronic device; the spatial reference position can be a reference position in a predetermined reference plane, and the reference position can be a spatial position that has a mapping relationship with the target reference position on the screen of the electronic device, for example, a position aligned with the target reference position in a spatial plane about 4 cm above the screen of the electronic device, wherein the target reference position can be a pre-set specific reference position, for example, the position of a specific character on the input keyboard displayed on the screen is the target reference position, or a fixed point on the screen (such as the center of the screen) is the target reference position, etc.

[0040] In this way, by using the spatial reference position as a reference for determining the size of the finger, it can help better determine the user's finger size information and is easier to implement.

[0041] Furthermore, when the user's finger is detected to be located at the spatial reference position, collecting the user's finger image includes:

[0042] Detect whether the position difference between the user's finger position and the spatial reference position is within a preset error range;

[0043] When it is detected that the position difference between the user's finger position and the spatial reference position is within the preset error range, the user's finger image is collected.

[0044] That is, in this implementation, when the electronic device is in the air-to-air operation mode, the user's finger position can be determined by collecting the user's finger image. Specifically, the finger information can be collected by the photoelectric module of the electronic device, and when the finger information is collected, it is determined whether the current finger is located at the spatial reference position, or whether the position difference between the current finger position and the spatial reference position is within the allowable error range. If so, it means that the current finger is already located at the spatial reference position, and the electronic device can collect the user's finger image based on the current position to determine the user's finger size information. Otherwise, the user needs to continue moving the finger until it reaches the spatial reference position to trigger the electronic device to determine the user's finger size information, and then output a corresponding prompt.

[0045] Wherein, judging whether the position difference between the user's finger position and the spatial reference position is within a preset error range may be specifically by collecting the current finger position information and comparing the position information with the spatial reference position to judge whether the position difference between the two is within a preset error range, wherein the finger position information may be determined by obtaining the coordinate position of the finger in the collected image; or, by comparing the currently collected finger image with the pre-collected finger image at the spatial reference position to judge whether the size and position of the finger image are basically consistent, to judge whether the position difference between the two is within a preset error range. The preset error range may be the maximum allowable position error pre-set as needed.

[0046] In this way, by detecting whether the position difference between the user's finger position and the spatial reference position is within a preset error range, it can not only help to accurately and quickly determine whether the user's finger is at the spatial reference position, but also allow the user a certain operating error, which helps to improve the user's operating experience.

[0047] Optionally, the above-mentioned optoelectronic module can be a module such as a front camera, an under-screen camera, a mobile camera, etc. that can collect finger information. The finger information may include finger images, fingerprint images, etc., and specifically can be specified specific information that needs to be used, such as finger images, fingerprint information, etc.

[0048] Optionally, the optoelectronic module is a front camera or an under-screen camera. When a front camera is used, the existing hardware modules of the electronic device can be fully utilized to implement the solution in the embodiment of the present application without increasing the cost of the hardware device; when an under-screen camera is used, the existing under-screen camera technology can be used to implement the solution in the embodiment of the present application, and because the camera is set under the screen, it is closer to the finger operation position, and thus has a more suitable acquisition range than the front camera set above the screen, thereby ensuring that the user has a larger and more suitable operating space.

[0049] Optionally, after detecting whether the position difference between the user's finger position and the spatial reference position is within a preset error range, the method further includes:

[0050] When it is detected that the position difference between the user's finger position and the spatial reference position is not within the preset error range, outputting a first prompt message for guiding the user to move the finger to the spatial reference position according to the relative offset information between the finger position and the spatial reference position;

[0051] Collecting the position of the finger after the movement, and determining whether the position difference between the finger position after the movement and the spatial reference position is within the preset error range;

[0052] When the position difference between the finger position after the movement and the spatial reference position is within the preset error range, the step of acquiring the user's finger image is performed.

[0053] That is, after determining whether the position difference between the finger position and the spatial reference position is within the preset error range, if the position difference between the current finger position and the spatial reference position is not within the preset error range, it indicates that the current user has not placed the finger at the spatial reference position. In this case, relevant prompts can be output to guide the user to move the finger to the spatial reference position to complete the reference position alignment.

[0054] Specifically, the current finger position can be collected in real time to determine the relative offset information between the current finger position and the spatial reference position, such as the offset direction and the offset distance. Based on the relative offset information, a corresponding prompt message for guiding the direction of movement of the user's finger can be output, that is, the first prompt message. For example, if it is determined that the current user's finger is located on the left side of the spatial reference position, the user can be prompted to move the finger to the right. Alternatively, if the distance between the spatial reference position and the screen is 4 cm, if it is determined that the current user's finger is far away from the screen, the user can be prompted to move the finger toward the screen, and so on.

[0055] Furthermore, when the user moves his finger according to the first prompt message, the photoelectric module of the electronic device can also collect the position of the finger after the move in real time, and determine whether the position difference between the finger position after the move and the spatial reference position is within the preset error range. The specific implementation method is similar to the method described above and will not be repeated here.

[0056] When it is determined that the position difference between the finger position after moving and the spatial reference position is within the preset error range, that is, the reference position alignment is completed, the electronic device can capture the user's finger image based on the current position to determine a spatial operation area suitable for the user's finger operation.

[0057] In this way, by outputting corresponding prompts to guide the user's finger movement direction, the user can be helped to quickly complete the alignment of the spatial reference position.

[0058] Optionally, before step 101, the method further includes:

[0059] When the electronic device is in an air operation setting mode, collecting finger information of an identified finger, wherein the identified finger is a finger with a fingerprint pre-recorded;

[0060] In the case where it is detected that the duration of the stay of the identified finger at the target spatial position exceeds a predetermined duration, determining the target spatial position as a spatial reference position aligned with the target reference position on the screen of the electronic device, and recording the finger information of the identified finger;

[0061] In the case where it is detected that the user's finger is located at the spatial reference position, before collecting the user's finger image, the method further includes:

[0062] When the electronic device is in the air-to-air operation mode and valid finger information is collected, it is detected whether the user's finger is located at the spatial reference position, wherein the valid finger information is finger information that matches the finger information of the identified finger.

[0063] That is, in an optional implementation, in order to improve the safety of the air operation, a finger used for the air operation can be pre-set, and the spatial reference position can be set using the finger.

[0064] Specifically, when the air operation function is turned on, the air operation setting mode can be entered to set the air operation finger and the spatial reference position. There are many ways to turn on the air operation function, for example, turning it on in the system settings, turning it on through the shortcut key in the shortcut menu, turning it on by a specific gesture trigger, etc. When the air operation function is turned on, the air operation setting mode can be entered. In this setting mode, the photoelectric module of the electronic device can be started, and the finger information of the identified finger can be collected through the photoelectric module. The identified finger can be a finger with a fingerprint pre-recorded, that is, a finger without a fingerprint recorded cannot be used for air operation. The finger information may include finger images and fingerprint information.

[0065] In the air operation setting mode, the user can place the identification finger above the screen and move it arbitrarily in the space that can be collected by the photoelectric module to find a suitable spatial reference position. After finding a suitable spatial reference position, the user can keep the finger at the position for a certain period of time so that the electronic device determines the position as the spatial reference position. That is to say, when the photoelectric module collects that the identification finger stays at a certain spatial position for more than a predetermined period of time, such as 3 seconds, the spatial position can be determined as the spatial reference position, and the spatial position can be aligned with the target reference position. The finger information of the identification finger can also be recorded, and the identification finger can be used as the air operation finger. The user needs to use the identification finger for air operation later. It should be noted that when determining the spatial reference position, the vertical distance of the spatial reference position relative to the screen of the electronic device, that is, the distance between the spatial reference plane and the plane where the device screen is located, can also be recorded, so as to prompt the user of the approximate position of the spatial reference plane in the subsequent air operation scene.

[0066] For example, see Figure 2 , the finger information of the identification finger can be collected by the front camera 21 of the electronic device 20. Within the collection range of the front camera 21, no matter how the user identification finger moves, the position of the user identification finger can be corresponded to the position of the character key Y on the keyboard 22 displayed on the screen of the electronic device 20. After the user finds a suitable spatial reference position, such as spatial position 11, he can stay there for a while, and the spatial reference position can be aligned with the position of the character Y on the keyboard 22. It should be noted that Figure 2 The spatial operation area 23 is for illustration only and does not mean that it is located on the side of the electronic device 20, but is located on a spatial plane above the screen, parallel to the screen and at a certain distance.

[0067] After completing the above-mentioned air operation settings, the user can use the identified finger to complete the alignment confirmation of the spatial reference position when the air operation is needed. Any non-identified finger used by the user will be considered as an invalid operating finger. That is to say, only when valid finger information is collected will the detection of whether the user's finger is located at the spatial reference position begin, such as judging whether the position difference between the user's current finger position and the spatial reference position is within a preset error range. Specifically, the photoelectric module can be used to collect the finger information of the current operation, the finger information including the fingerprint image, and the finger information is matched with the recorded finger information of the identified finger to confirm whether the current operating finger is the identified finger. If so, it is further detected whether the user's finger is located at the spatial reference position.

[0068] In this way, through this implementation, it can be ensured that remote operation is safer, unauthorized users are prevented from operating the electronic device, and accidental operation by other fingers of the user can be prevented.

[0069] Optionally, before step 101, the method further includes:

[0070] Acquire parameter information of an identified finger, wherein the identified finger is a finger with a fingerprint pre-recorded, and the parameter information includes fingerprint information and size information;

[0071] When the parameter information of the identified finger matches the preset parameter information of the identified finger, the air operation mode is turned on.

[0072] That is, in an optional implementation, in order to improve the security of air operation, a finger used for air operation can be pre-set, that is, an identification finger can be used as the air operation finger, and the parameter information of the identification finger can be pre-entered, such as fingerprint information and size information, wherein the size information can be the size of the fingerprint image of the recorded identification finger, and the pre-entered identification finger parameter information is used to match the parameter information of the user's identification finger obtained in each air operation to trigger the air operation mode to be turned on.

[0073] In this way, when the user needs to turn on the air operation mode, the user can place the identified finger at a suitable spatial position, so that the electronic device can obtain the parameter information of the identified finger, that is, the fingerprint information and size information that can be currently collected, and by matching the currently obtained parameter information of the identified finger with the preset parameter information of the identified finger, it can be specifically determined whether the fingerprint information matches, and whether the size information matches, such as whether the fingerprint image size matches the preset fingerprint image size. It can be understood that size matching is used to determine whether the fingerprint image of the identified finger is complete, that is, whether the user places the identified finger within the collection range of the electronic device; when a match is determined, it can be determined that the user's current operating finger and placement position meet the conditions for air operation, and then the air operation mode can be turned on for the user, so that the user can perform air operation normally.

[0074] In this way, through this implementation, the security of air operation can be improved, and the effectiveness of the user's air operation can be guaranteed, thereby avoiding invalid operations, erroneous operations or arbitrary operations by others.

[0075] Optionally, before acquiring the parameter information for identifying the finger, the method further includes:

[0076] When the electronic device enters a preset page, the photoelectric module of the electronic device is started to collect parameter information of the identified finger.

[0077] The preset page can be a pre-set page that can enable air operation, for example, a message editing page, an instant messaging page, or other pages that require the activation of an input method keyboard, or other pages where the user needs to enable air operation. The preset page can be automatically set by the system or customized by the user.

[0078] In this implementation, when the electronic device enters a preset page, the photoelectric module can be triggered to start, and finger information can be collected through the photoelectric module, that is, the electronic device enters an air-to-air operation mode.

[0079] In this way, the air operation mode can be automatically pre-started for the user on certain specific pages without the need for manual operation by the user.

[0080] Step 102: output a target prompt message according to the finger size information, wherein the target prompt information is used to guide the user to move the finger to a target space operation area, and the target space operation area is associated with the finger size information.

[0081] In the embodiment of the present application, in order to facilitate user operation, the target space operation area suitable for the user's operation can be adjusted according to the acquired user finger size information, and a corresponding prompt can be output to guide the user to move the finger to the target space operation area. The target space operation area is associated with the finger size information, and can be pre-defined with different space operation areas corresponding to different finger size information.

[0082] In this step, the corresponding target space operation area suitable for the current user's finger operation can be determined according to the finger size information, and then the corresponding target prompt message can be generated and output to guide the user to move the finger to the target space operation area. In particular, when the user's finger is in the target space operation area, the user can be prompted to maintain the current finger position. For example, the target prompt message can be "Please move your finger far away (ie, away from the screen) to a larger operation area", "Please move your finger near (ie, close to the screen) to a smaller operation area", "Please maintain the current finger position", etc.

[0083] Optionally, step 102 includes:

[0084] When the finger size information is first size information, outputting first target prompt information, wherein the first target prompt information indicates a first target space operation area;

[0085] Alternatively, when the finger size information is second size information, second target prompt information is output, and the second target prompt information indicates a second target space operation area;

[0086] The first size information is larger than the second size information, and a first area of ​​the first target space operation region is larger than a second area of ​​the second target space operation region.

[0087] In an optional implementation, several sets of corresponding relationships between spatial distances (i.e., the distance between a finger and an electronic device) and the size of an operating area (such as the size of a spatial keyboard) can be pre-set. Specifically, the closer the finger is to the electronic device, the smaller the spatial keyboard is, and the farther the finger is from the screen, the larger the spatial keyboard is.

[0088] In addition, considering that the sizes of operation areas suitable for users with different finger sizes are also different, for example, users with large hands are suitable for operating a spatial keyboard with a larger key spacing, therefore, the spatial operation area suitable for the current user's finger operation can be determined based on the currently acquired finger size information. Specifically, when the user's finger size information is large, it can be determined that the current user's finger is large, so that a larger spatial operation area can be selected for the user; when the finger size information is small, it can be determined that the current user's finger is small, so that a smaller spatial operation area can be selected for the user. Of course, the corresponding relationship between the finger size information and the operation area area can also be pre-set to help quickly determine the target operation area area corresponding to the current user's finger size information.

[0089] Then, the spatial distance corresponding to the target operation area area can be determined based on the determined target operation area area and the pre-set correspondence between the spatial distance and the operation area area. Therefore, when both the spatial distance and the target operation area area are determined, the specific position of the corresponding target space operation area in the space can be determined, and then the corresponding prompt including the finger movement direction can be output to guide the user to move the finger to the target space operation area.

[0090] More specifically, the correspondence between at least two reference size information and the target space operation area can be preset, wherein the two reference size information can be the first size information and the second size information respectively, and the corresponding two target space operation areas are the first target space operation area and the second target space operation area respectively, and the first size information can be larger than the second size information. At this time, the first area of ​​the first target space operation area is larger than the second area of ​​the second target space operation area. That is to say, in order to facilitate user operation, a larger finger size information can be set to correspond to a larger space operation area. It should be noted that due to light divergence, the effective operation area that can be collected by the optoelectronic module of the electronic device, such as the front camera, is related to the distance between the finger and the electronic device. Therefore, the larger the area, the farther the distance from the electronic device. That is to say, the distance between the first target space operation area and the electronic device will be farther than the second target space operation area.

[0091] Therefore, when the finger size information is the first size information, the first target prompt information can be output to instruct the user to move the finger to the first target space operation area; when the finger size information is the second size information, the second target prompt information can be output to instruct the user to move the finger to the second target space operation area.

[0092] In this way, through this implementation, the user can be guided to move to a suitable spatial operation area according to the size of the user's fingers, thereby improving the user's operation convenience.

[0093] Optionally, when a keyboard is displayed on the screen of the electronic device, the target space operation area is mapped to the keyboard;

[0094] When the first size information is greater than the second size information, the key spacing of the keyboard in the first target space operation area is greater than the key spacing of the keyboard in the second target space operation area.

[0095] That is, in an optional implementation, when a keyboard is displayed on the screen of the electronic device, the target space operation area can be mapped to the keyboard, that is, the target space operation area can be equivalent to a space keyboard, and the typing operation in the target space operation area can correspond to the typing operation on the keyboard on the screen.

[0096] And under the above premise, not only is the area of ​​the first target space operation area larger than that of the second target space operation area, the key spacing of the keyboard in the first target space operation area can also be larger than the key spacing of the keyboard in the second target space operation area, so that the key spacing in the space keyboard area operated by fat-finger users is larger, so as to avoid the problem of misoperation caused by the user's large fingers but small key spacing.

[0097] For example, see Figure 3 When it is recognized that the user's fingers are small (small in size), such as the hands of a child, a corresponding prompt can be output to guide the user to move the fingers to the small keyboard area 31. When it is recognized that the user's fingers are large, such as fat hands, a corresponding prompt can be output to guide the user to move the fingers to the large keyboard area 32, wherein the key spacing in the small keyboard area 31 is relatively small, while the key spacing in the large keyboard area 32 is larger.

[0098] In this way, the key spacing in the space keyboard can also synchronously adapt to the different finger sizes of users, making it easier for users to perform air operations and improving the user's operating experience.

[0099] Step 103: When it is detected that the user moves the finger to the target space operation area, a target input of the user's finger in the target space operation area is received, and the target input is responded to.

[0100] In an embodiment of the present application, after the user moves his finger to the target space operation area, the electronic device can detect that the user's finger is located in the target space operation area. In this case, the user can start air operation in the target space operation area, and the electronic device can receive and respond to the user's air input, that is, receive the target input of the user's finger in the target space operation area, and respond to the target input. The target input can be various user inputs such as clicking, sliding, and keeping the finger at a certain position for a certain period of time on the target space operation area.

[0101] Specifically, it can include a variety of different air operation scenarios. For example, based on the input position information of the target input, the specific information of the air input, such as the characters on the input method keyboard, can be determined; or, based on the input position information of the target input, the specific air operation object, such as a specific button, control, etc. can be determined; or, based on the input position information of the target input, the specific operation gesture or operation trajectory can be determined, and the electronic device can be controlled to respond to these operations.

[0102] Optionally, receiving a target input of a user's finger in the target space operation area and responding to the target input includes:

[0103] Collecting the movement position information of the user's finger, and converting the movement position information into the input position information corresponding to the screen of the electronic device;

[0104] Based on the input position information, the electronic device is operated.

[0105] Specifically, after starting the air operation, the user can move his finger in the target spatial operation area according to actual operation needs, and the electronic device can collect the movement position information of the user's finger in real time, and convert the movement position information into the input position information corresponding to the screen of the electronic device. More specifically, the relative distance of each movement can be converted into the relative movement distance corresponding to the screen of the electronic device, and then combined with the target reference position on the screen of the electronic device, or the last spatial operation position corresponding to the input position on the screen, it can be determined that the spatial operation position of the user's finger corresponds to the specific input position on the screen of the electronic device.

[0106] In this way, through this implementation, it can be ensured that the input position of the user's finger in the spatial operation area is accurately mapped to the operation position on the screen of the electronic device, thereby realizing air-to-air operation and response.

[0107] Furthermore, the collecting of the movement position information of the user's finger and converting the movement position information into the input position information corresponding to the screen of the electronic device includes:

[0108] Collect the first relative distance moved by the user's finger during air input;

[0109] Converting the first relative distance into a second relative distance corresponding to the screen of the electronic device;

[0110] Determine a second input position corresponding to the screen of the electronic device according to the first input position and the second relative distance, wherein the first input position is an input position corresponding to the screen of the electronic device in the last input;

[0111] The operating the electronic device based on the input position information includes:

[0112] Determine that the object information at the second input position is the object information of the remote input.

[0113] That is, in this implementation, the physical position of each air input can be determined by collecting the movement distance of the user's finger each time the air input is performed, and converting the movement distance into the corresponding movement distance on the screen of the electronic device, thereby determining the object information of each air input.

[0114] Specifically, the photoelectric module can be used to collect the first relative distance of the finger movement during each air input, where the first relative distance is the distance between the finger position after movement and the finger position before movement. Then, the first relative distance is converted into a second relative distance corresponding to the screen of the electronic device. Specifically, the conversion can be proportional or at a specific ratio. For example, when a specific ratio between the size of the spatial operation area and the size of the device operation area is set, the first relative distance can be converted at that ratio. Alternatively, the ratio of the two can be calculated according to the size of the current target spatial operation area and the size of the device operation area, and then the first relative distance can be converted at that ratio.

[0115] Then, the second input position on the screen of the electronic device corresponding to the current input can be determined based on the converted second relative distance and the input position on the screen of the electronic device corresponding to the previous input. Specifically, the second relative distance can be added to the input position on the screen of the electronic device corresponding to the previous input to determine the second input position, and then the object information at the second input position can be determined as the object information of the air input, and the object information can be characters, controls, icons, etc. on the keyboard.

[0116] For example, see Figure 4 When the user moves his finger on the space keyboard 42 to the space positions 12, 13, 14 and 15 in sequence, by converting the moving distance on the space keyboard 42 into the moving distance on the screen keyboard 41, it can be determined that the user's input positions in sequence are the positions of the character keys T, Y, U and I on the screen keyboard 41, and then it can be determined that the characters input by the user in sequence are T, Y, U and I.

[0117] In this way, through this implementation, the conversion of the moving position in space can be completed quickly and accurately, ensuring the accuracy of the remote input.

[0118] Optionally, before receiving a target input of a user's finger in the target space operation area, the method further includes:

[0119] When it is detected that the user moves a finger to the target space operation area, a first position of the identified finger is acquired, where the identified finger is a finger that establishes a mapping relationship with the target control displayed on the screen of the electronic device;

[0120] In a case where the residence time of the identification finger at the first position is greater than a preset time length, it is determined that the first position in the target space operation area is mapped to the target control.

[0121] In an optional implementation, in order to enhance the user operating experience, after the user moves his finger to the target space operation area, before receiving and responding to the user input, the mapping relationship between the user's finger position and the target control on the electronic device screen can be determined first, so that the user can conveniently perform air operations based on the mapping relationship.

[0122] Specifically, when it is detected that the user moves the finger to the target space operation area, the position information of the identification finger, that is, the first position, can be obtained first. The identification finger can be a finger that establishes a mapping relationship with the target control displayed on the screen of the electronic device, that is, the identification finger of the air operation can be pre-set, and a mapping relationship between the identification finger and the target control can be established. The mapping relationship can be understood as no matter where the user places the identification finger in the target space operation area, it points to the target control. It should be noted that the identification finger can be the same finger as the finger of the user when moving the finger to the target space operation area, that is, the user uses the identification finger during the entire air operation process.

[0123] In this implementation, after the user finds a position suitable as a spatial reference position in the target spatial operation area, the user can leave the identification finger at the position for a certain period of time to trigger the electronic device to map the position to the target control. Therefore, after obtaining the first position of the identification finger, if it is detected that the identification finger stays at the first position for more than a preset period of time, it can be determined that the first position is mapped to the target control.

[0124] Among them, the first position can be any position in the target space operation area, and the target control can be a specific control on the screen of the electronic device. For example, when a keyboard is displayed on the screen of the electronic device, the target control can be a key on the keyboard on the screen of the electronic device, or it can also be a certain control displayed on the screen of the electronic device for determining the position mapping relationship. In this way, taking the air typing input scenario as an example, after determining that the first position is mapped to the target control, the user's typing input can be received, and the key position of each air input by the user can be determined based on the position mapping relationship between the target space operation area and the keyboard on the screen of the electronic device, and then the characters input by the user can be displayed on the screen.

[0125] In this way, through this implementation, the user's air operation experience can be improved, and the user can be helped to perform air input quickly and accurately.

[0126] Optionally, before receiving a target input of a user's finger in the target space operation area, the method further includes:

[0127] When it is detected that the user moves the finger to the target space operation area, a second prompt message is output to instruct the user to start the air operation.

[0128] In an optional implementation, in order to facilitate the user to obtain feedback that the air operation can be started and improve the air operation experience, when it is detected that the user moves the finger to the target space operation area, a corresponding prompt can be output to prompt the user that the finger has been placed in the target space operation area and the air operation can be started.

[0129] Combine the following Figure 5 , taking the air input of characters on the keyboard as an example, the above implementation is illustrated by way of example:

[0130] In the air operation mode, the user needs to first complete the spatial reference position alignment, and then move the finger to the target spatial operation area according to the prompts, such as Figure 5 As shown, in order to guide the user to quickly complete the alignment, a prompt such as "Please keep your finger about 4 cm away from the screen" can be output first, so that the user knows approximately how far the finger should be placed from the screen. In the process of the user moving the finger, corresponding prompts can be output, such as "Please move your finger above the screen" to guide the user's finger movement direction in real time to reach the spatial reference position. When the finger reaches the spatial reference position, a prompt such as "Please move your finger slightly forward" can be output. When it is detected that the user's finger reaches the target spatial operation area, the prompt "Please start air operation" can continue to be output.

[0131] It should be noted that the prompt messages in the embodiments of the present application can be output in any prompting form such as text, voice, graphics, etc. that can achieve the prompting purpose.

[0132] Optionally, a ratio option control is displayed on the screen of the electronic device, and the ratio option in the ratio option control is used to indicate the ratio of the size of the space operation area to the size of the device operation area;

[0133] After step 102, the method further includes:

[0134] In the case of detecting that the user moves a finger to the target space operation area, receiving a selection input of a proportional option in the proportional option control;

[0135] The size of the current space operation area is adjusted according to the target ratio option selected by the selection input and the size of the operation area on the screen of the electronic device.

[0136] That is, in an optional implementation, a proportional option control may be provided for the user to select the ratio of the spatial operation area size to the device operation area size, so that the user can adjust the spatial operation area size through the proportional option control, wherein the device operation area size is the size of the operation area on the electronic device screen, wherein when a keyboard is displayed on the electronic device screen, the device operation area size may be the size of the keyboard, and the proportional option control may include multiple proportional options, for example, 1:2, 1:1, 2:1, and the like.

[0137] In this way, when the user still needs to adjust the size of the current spatial operation area, the user can perform a selection input on the proportional option in the proportional option control. Specifically, the user can also achieve this through air operation. For example, the user can move the finger to the spatial position mapped to the proportional option control, stay there for a certain period of time or click on the position. After receiving the operation, the electronic device can pop up the proportional option for the user to select. The user can continue to move the finger to the spatial position mapped to the target proportional option, stay there for a certain period of time or click on the position. After receiving the operation, the electronic device can adjust the size of the current spatial operation area to the size corresponding to the target proportional option according to the target proportional option selected by the user.

[0138] For example, see Figure 6 A proportional option control 61 is displayed on the screen of the electronic device 60, and the proportional option control 61 includes three proportional options, namely 1:2, 1:1 and 2:1. When the user selects the proportional option in which the size ratio of the space keyboard to the screen keyboard is 1:2, the operable area of ​​the first space keyboard 63 is only half of that of the screen keyboard 62. When the user selects the proportional option in which the size ratio of the space keyboard to the screen keyboard is 1:1, the operable area of ​​the second space keyboard 64 is the same as that of the screen keyboard 62.

[0139] In this way, through this implementation, the user can be provided with the function of manually adjusting the size of the spatial operation area to meet the different needs of the users, and the operation method is relatively simple and intuitive.

[0140] Optionally, the method further includes:

[0141] At least one of a position and a size of an operation area on the screen of the electronic device is adjusted.

[0142] That is, after the air operation mode is turned on, the user may have no actual use demand for the operation area on the screen of the electronic device, such as the input method keyboard, so the position and / or size of the operation area on the screen of the electronic device can be adjusted to obtain the desired interface display effect. For example, the input method keyboard can be scaled and placed at the bottom of the screen or in the corner of the screen to obtain a larger screen visual effect. Specifically, the adjustment method may include automatic intelligent adjustment of the electronic device, or corresponding adjustment based on the user's operation.

[0143] The method for operating an electronic device in an embodiment of the present application obtains the user's finger size information when the electronic device is in an air operation mode; outputs a target prompt message based on the finger size information, wherein the target prompt information is used to guide the user to move the finger to a target space operation area, and the target space operation area is associated with the finger size information; when it is detected that the user moves the finger to the target space operation area, the method receives the target input of the user's finger in the target space operation area and responds to the target input. In this way, the user can perform contactless operation on the electronic device in space, thereby avoiding the risk of disease transmission caused by contact, and can guide the user to operate in a suitable space operation area based on the user's finger size information, thereby improving the user's operation experience.

[0144] It should be noted that the operating method of the electronic device provided in the embodiment of the present application can be executed by an operating device of the electronic device, or a control module in the operating device of the electronic device for executing the operating method of the electronic device. In the embodiment of the present application, the operating device of the electronic device executing the operating method of the electronic device is taken as an example to illustrate the operating device of the electronic device provided in the embodiment of the present application.

[0145] See also Figure 7 , Figure 7 A schematic diagram of the structure of an operating device of an electronic device provided in an embodiment of the present application, such as Figure 7 As shown, the operating device 700 of the electronic device includes:

[0146] A first acquisition module 701 is used to acquire the user's finger size information when the electronic device is in an air operation mode;

[0147] An output module 702, configured to output a target prompt message according to the finger size information, wherein the target prompt information is used to guide the user to move the finger to a target space operation area, and the target space operation area is associated with the finger size information;

[0148] The execution module 703 is used to receive a target input of the user's finger in the target space operation area and respond to the target input when it is detected that the user moves the finger to the target space operation area.

[0149] Optionally, the output module 702 is used to output first target prompt information when the finger size information is first size information, where the first target prompt information indicates a first target space operation area;

[0150] Alternatively, the output module 702 is configured to output second target prompt information when the finger size information is second size information, where the second target prompt information indicates a second target space operation area;

[0151] The first size information is larger than the second size information, and a first area of ​​the first target space operation region is larger than a second area of ​​the second target space operation region.

[0152] Optionally, the execution module 703 includes:

[0153] A processing unit, used to collect the movement position information of the user's finger and convert the movement position information into input position information corresponding to the screen of the electronic device;

[0154] An execution unit is used to operate the electronic device based on the input position information.

[0155] Optionally, when a keyboard is displayed on the screen of the electronic device, the target space operation area is mapped to the keyboard;

[0156] When the first size information is greater than the second size information, the key spacing of the keyboard in the first target space operation area is greater than the key spacing of the keyboard in the second target space operation area.

[0157] Optionally, the operating device 700 of the electronic device further includes:

[0158] A second acquisition module is used to acquire parameter information of an identified finger, wherein the identified finger is a finger with a fingerprint pre-recorded, and the parameter information includes fingerprint information and size information;

[0159] The processing module is used to start the air operation mode when the parameter information of the identified finger matches the preset parameter information of the identified finger.

[0160] Optionally, the operating device 700 of the electronic device further includes:

[0161] A third acquisition module is used to acquire a first position of an identified finger when detecting that the user moves a finger to the target space operation area, wherein the identified finger is a finger that establishes a mapping relationship with a target control displayed on the screen of the electronic device;

[0162] A determination module is used to determine that the first position in the target space operation area is mapped to the target control when the residence time of the identification finger at the first position is greater than a preset time length.

[0163] Optionally, the first acquisition module 701 includes:

[0164] an acquisition unit, configured to acquire a finger image of the user when detecting that the finger of the user is located at a spatial reference position;

[0165] The determining unit is used to determine the user's finger size information based on the size of the finger image.

[0166] The operating device of the electronic device in the embodiment of the present application obtains the user's finger size information when the electronic device is in the air operation mode; outputs a target prompt message according to the finger size information, wherein the target prompt information is used to guide the user to move the finger to the target space operation area, and the target space operation area is associated with the finger size information; when it is detected that the user moves the finger to the target space operation area, the target input of the user's finger in the target space operation area is received, and the target input is responded to. In this way, the user can perform contactless operation on the electronic device in space, thereby avoiding the risk of disease transmission caused by contact, and can guide the user to operate in a suitable space operation area according to the user's finger size information, thereby improving the user's operation experience.

[0167] The operating device of the electronic device in the embodiment of the present application can be a device, or a component, integrated circuit, or chip in a terminal. The device can be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc. The non-mobile electronic device can be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.

[0168] The operating device of the electronic device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0169] The operating device of the electronic device provided in the embodiment of the present application can achieve Figures 1 to 6 To avoid repetition, the various processes implemented by the method embodiment are not described here.

[0170] Optional, such as Figure 8 As shown, an embodiment of the present application also provides an electronic device 800, including a processor 801, a memory 802, and a program or instruction stored in the memory 802 and executable on the processor 801. When the program or instruction is executed by the processor 801, each process of the operating method embodiment of the above-mentioned electronic device is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0171] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic device 9 and the non-mobile electronic devices mentioned above.

[0172] Fig. 9 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.

[0173] The electronic device 900 includes but is not limited to: a radio frequency unit 901, a network module 902, an audio output unit 903, an input unit 904, a sensor 905, a display unit 906, a user input unit 907, an interface unit 908, a memory 909, and a processor 910 and other components.

[0174] Those skilled in the art will appreciate that the electronic device 900 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 910 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Fig. 9 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.

[0175] The processor 910 is used to obtain the user's finger size information when the electronic device 900 is in the air operation mode;

[0176] Outputting a target prompt message according to the finger size information, wherein the target prompt information is used to guide the user to move the finger to a target space operation area, and the target space operation area is associated with the finger size information;

[0177] In the case of detecting that the user moves a finger to the target space operation area, receiving a target input of the user's finger in the target space operation area, and responding to the target input.

[0178] Optionally, the processor 910 is further configured to output first target prompt information when the finger size information is first size information, where the first target prompt information indicates a first target space operation area;

[0179] Alternatively, when the finger size information is second size information, second target prompt information is output, and the second target prompt information indicates a second target space operation area;

[0180] The first size information is larger than the second size information, and a first area of ​​the first target space operation region is larger than a second area of ​​the second target space operation region.

[0181] Optionally, the processor 910 is further configured to collect movement position information of the user's finger, and convert the movement position information into input position information corresponding to the screen of the electronic device;

[0182] Based on the input position information, the electronic device is operated.

[0183] Optionally, in the case where a keyboard is displayed on the screen of the electronic device, the target space operation area is mapped to the keyboard, and the target space operation area is the keyboard area under the space;

[0184] When the first size information is greater than the second size information, the key spacing of the keyboard in the first target space operation area is greater than the key spacing of the keyboard in the second target space operation area.

[0185] Optionally, the processor 910 is further configured to obtain parameter information of an identified finger, wherein the identified finger is a finger with a fingerprint pre-recorded, and the parameter information includes fingerprint information and size information;

[0186] When the parameter information of the identified finger matches the preset parameter information of the identified finger, the air operation mode is turned on.

[0187] Optionally, the processor 910 is further configured to, when detecting that the user moves a finger to the target space operation area, obtain a first position of the identified finger, where the identified finger is a finger that establishes a mapping relationship with a target control displayed on the screen of the electronic device;

[0188] In a case where the residence time of the identification finger at the first position is greater than a preset time length, it is determined that the first position in the target space operation area is mapped to the target control.

[0189] Optionally, the processor 910 is further configured to collect a finger image of the user when detecting that the finger of the user is located at the spatial reference position;

[0190] Based on the size of the finger image, the user's finger size information is determined.

[0191] The electronic device 900 in the embodiment of the present application, when the electronic device is in the air operation mode, obtains the user's finger size information; outputs a target prompt message according to the finger size information, wherein the target prompt information is used to guide the user to move the finger to the target space operation area, and the target space operation area is associated with the finger size information; when it is detected that the user moves the finger to the target space operation area, the target input of the user's finger in the target space operation area is received, and the target input is responded to. In this way, the user can perform contactless operation on the electronic device in space, thereby avoiding the risk of disease transmission caused by contact, and can guide the user to operate in a suitable space operation area according to the user's finger size information, thereby improving the user's operation experience.

[0192] It should be understood that in the embodiment of the present application, the input unit 904 may include a graphics processor (Graphics Processing Unit, GPU) 9041 and a microphone 9042, and the graphics processor 9041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 906 may include a display panel 9061, and the display panel 9061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 907 includes a touch panel 9071 and other input devices 9072. The touch panel 9071 is also called a touch screen. The touch panel 9071 may include two parts: a touch detection device and a touch controller. Other input devices 9072 may include, but are not limited to, a physical keyboard, a function key (such as a volume control button, a switch button, etc.), a trackball, a mouse, and a joystick, which will not be repeated here. The memory 909 can be used to store software programs and various data, including but not limited to applications and operating systems. The processor 910 can integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and applications, etc., and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 910.

[0193] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the operating method embodiment of the above-mentioned electronic device is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0194] The processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0195] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned electronic device operation method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0196] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0197] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0198] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present application.

[0199] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.

Claims

1. A method for operating an electronic device, characterized in that: include: When the electronic device is in an airborne operation mode, obtaining finger size information of the user; Outputting a target prompt message according to the finger size information, wherein the target prompt information is used to guide the user to move the finger to a target space operation area, and the target space operation area is associated with the finger size information; In the case of detecting that the user moves a finger to the target space operation area, receiving a target input of the user's finger in the target space operation area, and responding to the target input; The step of outputting a target prompt message according to the finger size information includes: When the finger size information is first size information, outputting first target prompt information, wherein the first target prompt information indicates a first target space operation area; Alternatively, when the finger size information is second size information, second target prompt information is output, and the second target prompt information indicates a second target space operation area; The first size information is larger than the second size information, and a first area of ​​the first target space operation region is larger than a second area of ​​the second target space operation region.

2. The method according to claim 1, characterized in that The receiving a target input of a user's finger in the target space operation area and responding to the target input includes: Collecting the movement position information of the user's finger, and converting the movement position information into the input position information corresponding to the screen of the electronic device; Based on the input position information, the electronic device is operated.

3. The method according to claim 1, characterized in that In the case where a keyboard is displayed on the screen of the electronic device, the target space operation area is mapped to the keyboard; When the first size information is greater than the second size information, the key spacing of the keyboard in the first target space operation area is greater than the key spacing of the keyboard in the second target space operation area.

4. The method according to claim 1, characterized in that: Before receiving a target input of a user's finger within the target space operation area, the method further includes: When it is detected that the user moves a finger to the target space operation area, a first position of the identified finger is acquired, where the identified finger is a finger that establishes a mapping relationship with the target control displayed on the screen of the electronic device; In a case where the residence time of the identification finger at the first position is greater than a preset time length, it is determined that the first position in the target space operation area is mapped to the target control.

5. The method according to claim 1, characterized in that The step of obtaining the user's finger size information includes: When detecting that the user's finger is located at the spatial reference position, collecting the user's finger image; Based on the size of the finger image, the user's finger size information is determined.

6. An operating device for an electronic device, characterized in that: include: A first acquisition module, configured to acquire the user's finger size information when the electronic device is in an air operation mode; an output module, configured to output a target prompt message according to the finger size information, wherein the target prompt information is used to guide the user to move the finger to a target space operation area, and the target space operation area is associated with the finger size information; an execution module, configured to receive a target input of the user's finger within the target space operation area and respond to the target input when detecting that the user moves the finger to the target space operation area; The output module is used for outputting first target prompt information when the finger size information is first size information, and the first target prompt information indicates a first target space operation area; Alternatively, the output module is used for outputting second target prompt information when the finger size information is second size information, and the second target prompt information indicates a second target space operation area; The first size information is larger than the second size information, and a first area of ​​the first target space operation region is larger than a second area of ​​the second target space operation region.

7. The operating device of an electronic device according to claim 6, characterized in that: The execution module includes: A processing unit, used to collect the movement position information of the user's finger and convert the movement position information into input position information corresponding to the screen of the electronic device; An execution unit is used to operate the electronic device based on the input position information.

8. The operating device of an electronic device according to claim 6, characterized in that: In the case where a keyboard is displayed on the screen of the electronic device, the target space operation area is mapped to the keyboard; When the first size information is greater than the second size information, the key spacing of the keyboard in the first target space operation area is greater than the key spacing of the keyboard in the second target space operation area.

9. The operating device of an electronic device according to claim 6, characterized in that: The operating device of the electronic device also includes: A third acquisition module is used to acquire a first position of an identified finger when detecting that the user moves a finger to the target space operation area, wherein the identified finger is a finger that establishes a mapping relationship with a target control displayed on the screen of the electronic device; A determination module is used to determine that the first position in the target space operation area is mapped to the target control when the residence time of the identification finger at the first position is greater than a preset time length.

10. The operating device of an electronic device according to claim 6, characterized in that: The first acquisition module includes: an acquisition unit, configured to acquire a finger image of the user when detecting that the finger of the user is located at a spatial reference position; The determining unit is used to determine the user's finger size information based on the size of the finger image.