Prompt method, device and electronic equipment
By combining visual interfaces and vibration levels on electronic devices, users are guided to slide, click or rotate images for verification, which solves the problem of blind, weak-sighted and elderly users being unable to effectively perform human-machine verification, and improves the safety and convenience of use. sex.
Patent Information
- Application Number
- CN202111117367.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-23
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2041-09-23
AI Technical Summary
Existing electronic devices cannot effectively support blind, weak-sighted and elderly users for human-machine verification, resulting in low safety and difficult operation.
By combining the visual interface with the vibration level on the electronic device, the information verification type is obtained and the vibration information is output at the matching position to guide the user to slide, click or rotate the image for verification.
It reduces the difficulty for special users to operate electronic devices and improves convenience, safety and user experience.
Smart Images

Figure CN113821138B
Abstract
Description
Technical Field
[0001] The present application belongs to the field of communication technology, and specifically relates to a prompting method, device and electronic equipment. Background Art
[0002] With the development of science and technology, electronic devices have been widely used in users' daily life and work. In order to improve the safety of users using electronic devices, human-machine verification can be performed by users dragging the slider displayed on the electronic device, rotating the picture displayed on the electronic device, etc., to ensure the safety of using electronic devices. However, for many special users such as blind users, users with poor eyesight or elderly users, it increases the difficulty of using electronic devices, making it impossible for special users to use electronic devices for human-machine verification, reducing the safety of special users using electronic devices. Summary of the invention
[0003] The purpose of the embodiments of the present application is to provide a prompt method, apparatus, device and storage medium, which can solve the problem that special users are currently unable to use electronic devices for human-machine verification, resulting in low security and difficult operation of the electronic devices.
[0004] In a first aspect, an embodiment of the present application provides a prompting method, which is applied to an electronic device. The method may include:
[0005] When the electronic device displays an information verification interface, obtaining the type of information verification;
[0006] When the type of information verification meets a preset condition, receiving a touch input from a user on a screen of the electronic device;
[0007] When the first position corresponding to the touch input matches the second position of the target control, outputting first vibration information, where the first vibration information is used to prompt the user to operate the target control;
[0008] Among them, the type of information verification that meets the preset conditions includes any one of the following: the type of information verification is a sliding verification type, the type of information verification is a click verification type, and the type of information verification is a rotating image verification type.
[0009] In a second aspect, an embodiment of the present application provides a prompting device, which is applied to an electronic device, and the device may include:
[0010] An acquisition module, used to acquire the type of information verification when the electronic device displays an information verification interface;
[0011] A receiving module, used to receive a touch input from a user on a screen of an electronic device when the type of information verification meets a preset condition;
[0012] an output module, configured to output first vibration information when a first position corresponding to the touch input matches a second position of the target control, wherein the first vibration information is used to prompt the user to operate the target control;
[0013] Among them, the type of information verification that meets the preset conditions includes any one of the following: the type of information verification is a sliding verification type, the type of information verification is a click verification type, and the type of information verification is a rotating image verification type.
[0014] 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, and when the program or instruction is executed by the processor, the steps of the prompt method shown in the first aspect are implemented.
[0015] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the prompt method shown in the first aspect are implemented.
[0016] In a fifth aspect, an embodiment of the present application provides a chip, the chip including a processor and a communication interface, the communication interface and the processor are coupled, and the processor is used to run a program or instruction to implement the steps of the prompt method shown in the first aspect.
[0017] In an embodiment of the present application, when the electronic device displays an information verification interface, the type of information verification is obtained, and when the type of information verification meets a preset condition, the user's touch input on the screen of the electronic device is received, and when the first position corresponding to the touch input matches the second position of the target control, the first vibration information is output, and the first vibration information is used to prompt the user to operate the target control. In this way, the visual interface can be combined with the vibration level, and when the first position corresponding to the touch input matches the second position of the target control, a prompt is given with the corresponding vibration level, so that the user is prompted to perform information verification during the human-machine verification process. In this way, for many special users such as blind users, users with poor eyesight or elderly users, the difficulty of using electronic devices is reduced, and the convenience, safety and user experience of special users using electronic devices are improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 A schematic diagram of a prompt architecture provided in an embodiment of the present application;
[0019] Figure 2 A schematic diagram of an interface of a prompt method provided in an embodiment of the present application;
[0020] Figure 3 A flowchart of a prompting method provided in an embodiment of the present application;
[0021] Figure 4 One of the interface interaction diagrams of a prompting method provided in an embodiment of the present application;
[0022] Figure 5 The second diagram of the interface interaction of a prompting method provided in an embodiment of the present application;
[0023] Figure 6 The third diagram of the interface interaction of a prompt method provided in an embodiment of the present application;
[0024] Figure 7 A schematic diagram of the structure of a prompting device provided in an embodiment of the present application;
[0025] Figure 8 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application;
[0026] Fig. 9 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0027] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.
[0028] 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.
[0029] At present, many applications will add a human-machine verification process to the path of obtaining verification codes in order to prevent malicious access to the interface, such as prompting the user to drag the slider displayed by the electronic device, prompting the user to rotate the image displayed by the electronic device, prompting the user to click the image or text displayed by the electronic device in sequence, etc. Although electronic devices provide voice broadcasting auxiliary functions for text content for many special users such as blind users, users with poor eyesight or elderly users. However, since electronic devices cannot voice broadcast images, special users cannot use electronic devices for human-machine verification, which reduces the safety of special users using electronic devices.
[0030] Based on this, the following Figure 1-Figure 2 , the prompt method provided in the embodiment of the present application is described in detail through specific embodiments and their application scenarios.
[0031] The present application embodiment proposes a prompt architecture, such as Figure 1 As shown, the prompt architecture may include an electronic device 10, which may include an electronic device screen 101, an electronic device vibration motor 102 and an audio playback device 103 such as a microphone, providing a function of combining different inputs with different vibration levels, and providing a function of outputting different vibration levels to be repaired and voice broadcast.
[0032] Based on Figure 1 The architecture shown in the embodiment of the present application is described based on the electronic device 10.
[0033] Understandable, except Figure 1 In addition to the architecture shown, touch can also be provided by the screen by applying different degrees of microcurrent to different areas of the screen to provide different touch sensations.
[0034] like Figure 2As shown, when the electronic device 10 displays an information verification interface, the type of information verification is obtained. Then, when the type of information verification meets the preset conditions, such as the type of information verification is a sliding verification type, a click verification type, or a rotating image verification type (when the current user's operation mode is a blind operation mode, and the type of information verification meets the preset conditions), a prompt audio is played, and the prompt audio is used to prompt the user to perform an input corresponding to the type of information verification. Then, the electronic device 10 receives the user's touch input on the electronic device screen, obtains the first distance between the first position 20 corresponding to the touch input and the second position 21 of the target control, and when the first distance is greater than or equal to the first preset threshold, determines that the first position and the second position do not match, and outputs the second vibration information to guide the user to change the touch position, so that when the first distance is less than the first preset threshold, determines that the first position and the second position match, outputs the first vibration information, and the first vibration information is used to prompt the user to operate the target control, so as to prompt and guide the user to perform information verification during the human-machine verification process. It should be noted that the vibration parameter of the second vibration information is less than the vibration parameter of the first vibration information. Here, the vibration parameter in the embodiment of the present application may include at least one of the following: vibration frequency, vibration intensity, and vibration volume.
[0035] Therefore, the prompt method provided in the embodiment of the present application can combine the visual interface with the vibration level, and combine it with different vibration levels at different touch positions, so as to prompt the user to perform information verification during the human-machine verification process. In this way, for many special users such as blind users, users with poor eyesight or elderly users, the operating difficulty of using electronic devices is reduced, and the convenience, safety and user experience of special users in using electronic devices are improved.
[0036] It should be noted that the prompt method provided in the embodiment of the present application can be applied to the scenario where special users such as blind users, users with poor eyesight or elderly users use electronic devices for human-computer verification. Similarly, the prompt method provided in the embodiment of the present application can also be applied to the scenario where special users such as blind users, users with poor eyesight or elderly users use electronic devices for human-computer interaction. Of course, the prompt method provided in the embodiment of the present application can also be applied to the scenario of users other than the special users shown above in the human-computer interaction process, that is, another prompt method is provided for users other than the special users shown above.
[0037] According to the above architecture and application scenarios, the following are combined Figure 3 The prompt method provided in the embodiment of the present application is described in detail.
[0038] Figure 3 A flowchart of a prompting method provided in an embodiment of the present application.
[0039] like Figure 3 As shown, this control method can be applied to Figure 1 or Figure 2 The electronic device shown, based on this, can specifically include the following steps:
[0040] Step 310, when the electronic device displays an information verification interface, obtain the type of information verification. Step 320, when the type of information verification meets the preset conditions, receive the user's touch input on the electronic device screen. Step 330, when the first position corresponding to the touch input matches the second position of the target control, output first vibration information, the first vibration information is used to prompt the user to operate the target control.
[0041] In this way, when the electronic device displays an information verification interface, the type of information verification is obtained, and when the type of information verification meets the preset conditions, the user's touch input on the electronic device screen is received, and when the first position corresponding to the touch input matches the second position of the target control, the first vibration information is output, and the first vibration information is used to prompt the user to operate the target control. In this way, the visual interface can be combined with the vibration level, and when the first position corresponding to the touch input matches the second position of the target control, the corresponding vibration level is used to prompt the user to perform information verification during the human-machine verification process. In this way, for many special users such as blind users, users with poor eyesight or elderly users, the difficulty of using electronic devices is reduced, and the convenience, safety and user experience of special users using electronic devices are improved.
[0042] The above steps are described in detail below:
[0043] First, step 310 is involved. In one or more optional embodiments, in order to ensure that the user understands the type of information verification so as to complete the information verification, after step 310, the following may also be included:
[0044] According to the type of information verification, a prompt audio is played, and the prompt audio is used to prompt the user to perform input corresponding to the type of information verification.
[0045] In another or more optional embodiments, after step 310, the following may also be included:
[0046] Acquire a first operation mode of the electronic device;
[0047] When the first operation mode matches the preset operation mode, a prompt audio is played according to the type of information verification, and the prompt audio is used to prompt the user to perform an input corresponding to the type of information verification. Here, the preset operation mode involved in the embodiment of the present application may include a blind operation mode or a special operation mode.
[0048] Exemplarily, the electronic device detects whether the electronic device is in the state of opening screen reading or opening the braille keyboard. When it is detected that the electronic device is in the state of opening screen reading or opening the braille keyboard, it is determined that the first operation mode of the electronic device matches the preset operation mode, that is, it can be characterized that the user using the electronic device is a special user such as a blind user, a user with poor eyesight, or an elderly user. In this way, a voice broadcast can be made to the user to prompt the user to understand the type of the current verification information, so as to ensure that the user holding the electronic device understands the type of the current verification information, and facilitates the user to operate the electronic device in different touch modes.
[0049] It should be noted that the steps of obtaining the first operating mode and detecting whether the first operating mode matches the preset operating mode can be steps executed after the electronic device displays the information verification interface, or can be steps executed before the electronic device displays the information verification interface. Of course, it can also be steps executed after step 310, and the order in which the steps are executed is not limited here.
[0050] Secondly, involving step 320, the type of information verification in the embodiment of the present application satisfies the preset conditions and includes any one of the following: the type of information verification is a sliding verification type, the type of information verification is a click verification type, and the type of information verification is a rotating image verification type.
[0051] Based on this, in the case of different types of information verification, the electronic device can output different levels of vibration information according to the position of the touch through different touch inputs on the screen of the electronic device, guide the user to operate the electronic device to perform the human-machine verification process, and prompt the user of the information verification process through the strength of the vibration of the electronic device, which can solve the current problem that special users cannot use electronic devices for human-machine verification.
[0052] Thus, in one or more optional embodiments, when the type of information verification is a sliding verification type, the target control is a slider control, the information verification interface includes a verification image, and the verification image includes a gap area matching the shape of the slider control, after the involved step 330, the prompt method may further include:
[0053] Receive user drag input on the slider control;
[0054] In response to the drag input, when it is detected that the position of the slider control matches the position of the notch area, a third vibration information is input, the third vibration information is used to prompt the user to complete the information verification of the sliding verification type, and the vibration parameter of the third vibration information is greater than the vibration parameter of the first vibration information.
[0055] In addition, in some examples, the verification image may further include a slide track area of a sliding slider control. Thus, before outputting the third vibration information, the prompting method may further include:
[0056] When it is detected that the drag input of the slider control by the user does not match the track area, the sixth vibration information is output, and the sixth vibration information is used to prompt the user that the position of the slider control is far away from the track area, and the vibration parameter of the sixth vibration information is greater than the vibration parameter of the first vibration information. Conversely, when it is detected that the drag input of the slider control by the user matches the track area, the first vibration information is output or no vibration information is output to prompt the user that the position of the slider control matches the track area, until the position of the slider control is detected to match the position of the notch area, and the third vibration information is input.
[0057] It should be noted that in order to use different levels of vibration information to represent different stages of information verification, here, the vibration parameter of the sixth vibration information is greater than the vibration parameter of the first vibration information, and less than the vibration parameter of the third vibration information, so as to ensure that the level of output vibration information in the final stage of information verification is the highest, that is, the vibration parameter is the largest, such as the highest vibration frequency, the maximum vibration intensity, the maximum vibration volume, etc.
[0058] For example, Figure 4 As shown, the type of information verification is a sliding verification type, the target control is a slider control 40, and the electronic device 10 displays a verification image 41, which includes a slide rail area 410 of the slider control and a notch area 411 matching the shape of the slider control.
[0059] Based on this, when the electronic device detects that the user touches an area other than the slider control 40 on the electronic device screen, no vibration operation is performed. When the first position corresponding to the touch input matches the second position of the slider control 40, the first vibration information is output to prompt the user to operate the slider control 40.
[0060] Next, when the electronic device receives the user's drag input to the slider control 40, it detects whether the position of the slider control 40 matches the track area 410. When it is detected that the position of the slider control 40 matches the track area 410, no vibration information is output to indicate that the slider control 40 slides in the track area 410. On the contrary, when it is detected that the position of the slider control 40 does not match the track area 410, the sixth vibration information is output, which is used to prompt the user that the position of the slider control is away from the track area, until it is detected that the position of the slider control 40 matches the position of the notch area 411, and the third vibration information is input to prompt the user to complete the information verification of the sliding verification type.
[0061] Here, the vibration parameter of the third vibration information is greater than the vibration parameter of the first vibration information. Therefore, the closer to the notch area 411, the stronger the vibration. In this way, the user can determine the sliding position of the slider control 40 by the change in the strength of the vibration of the electronic device. In this way, by releasing the slider control 40 at the location where the electronic device vibrates most strongly, that is, the notch area 411, the human-machine verification process by dragging the slider control 40 under the sliding verification type can be completed.
[0062] In another or more optional embodiments, when the information verification type is a click verification type, the information verification interface includes a click verification image, and the click verification image includes a target control, the step 330 involved may specifically include:
[0063] In the case where the target control includes M sub-controls, obtaining the sequence information of the M sub-controls, where M is an integer greater than or equal to 2;
[0064] When a first position corresponding to the touch input matches a second position of a target sub-control, first vibration information is output, and the target sub-control is determined according to the sequence information.
[0065] Based on this, after step 330, the prompt method may further include:
[0066] Receive click input to the target child control;
[0067] In response to the click input, fourth vibration information is output, and a vibration parameter of the fourth vibration information is greater than the vibration parameter of the first vibration information.
[0068] For example, Figure 5As shown, the electronic device 10 displays a click verification image 50. The click verification image 50 includes a target control, where the target control includes M sub-controls. In this way, in the embodiments of the present application, optical character recognition (OCR) can be used to recognize the information corresponding to each sub-control in the M sub-controls, such as characters and pictures. Further, the information verification interface may further include prompt information indicating to click these characters and pictures in a certain predetermined order. According to this prompt information, the click order of the characters and pictures corresponding to the M sub-controls is obtained, and the click order of these characters and pictures is determined as the order information of the M sub-controls. For example, if the target control includes 4 sub-controls, such as sub-control 1, sub-control 2, sub-control 3, and sub-control 4, sub-control 1 corresponds to the character "事", sub-control 2 corresponds to the character "如", sub-control 3 corresponds to the character "万", and sub-control 4 corresponds to the character "意", and if the information verification interface displays the prompt information "Please click in sequence: 万事如意", then the click order of the 4 sub-controls can be determined. In this way, taking the example where the electronic device can complete the information verification of this click verification type only after receiving the user's clicks on the 4 sub-controls in the order information of the 4 sub-controls, such as clicking sub-control 3, sub-control 1, sub-control 2, and sub-control 4 in sequence, an illustration is made.
[0069] It should be noted that when the information verification interface is a visually impaired guidance interface, when the electronic device receives the user's first touch input, that is, when touching down, it will not manipulate the characters corresponding to the sub-controls.
[0070] Based on this, the electronic device can determine the first distance between the first position and the second position corresponding to the touch input according to the user's first touch input. The second position is the position of the sub-control 3 ranked first in the sequence information of the 4 sub-controls. Based on this, when the first distance is greater than or equal to the first preset threshold, it is determined that the first position and the second position do not match, and the second vibration information is output. In this way, the user can be guided to find the position of the sub-control 3 and perform a click operation on it. On the contrary, when the first distance is less than the first preset threshold, it is determined that the first position and the second position match, and the first vibration information is output. In this way, the user can be prompted to click on the sub-control 3. In this way, when the click input of the user on the sub-control 3 is received, the fourth vibration information is output to complete the input of the character "wan". The fourth vibration information can also prompt the user to continue to touch and search for the sub-control 1 ranked second. In this way, when the first position corresponding to the user's touch input matches the position of the sub-control 1 ranked second in the sequence information of the 4 sub-controls, the first vibration information is output to prompt the user to click on the sub-control 1 to complete the input of the character "shi". In this way, when the click input of the user on the sub-control 1 is received, the fourth vibration information is output to prompt the user to complete the input of the second character "shi", and the fourth vibration information can also prompt the user to continue to touch and search for the sub-control 2 ranked third. In this way, when the first position corresponding to the user's touch input matches the position of the sub-control 2 ranked third in the sequence information of the 4 sub-controls, the first vibration information is input to prompt the user to click on the sub-control 2 to input the character "ru". In this way, when the click input of the user on the sub-control 2 is received, the fourth vibration information is output to prompt the user to complete the input of the third character "ru", and the fourth vibration information can also prompt the user to continue to touch and search for the sub-control 4 ranked fourth. When the first position corresponding to the user's touch input matches the position of the sub-control 4 ranked fourth in the sequence information of the 4 sub-controls, the first vibration information is output to prompt the user to click on the sub-control 4 to input the character "yi". In this way, when the click input of the user on the sub-control 4 is received, the fourth vibration information can be output to prompt the user to complete the input of the fourth character "yi", or the seventh vibration information can be input to prompt the user to complete the information verification of the click verification type.
[0071] In addition, in some embodiments, the click verification image includes a target control and a first control, wherein the target control may include N sub-controls, N being an integer greater than or equal to 1. It can be understood that the first control is a control corresponding to a character that does not need to be clicked, and the target control is a control corresponding to a character that requires the user to click. Exemplarily, the click verification image may include four characters, y, l, s, and g, each character corresponding to a control. If the text prompt in the verification information indicates that y and g are characters that do not require the user to click, for example, the text prompt is "Please click ls in sequence", then the controls corresponding to y and g are the first control. Thus, l and s are characters that require the user to click, and the controls corresponding to l and s are the target control. In this way, the target control may include sub-control 1 corresponding to l and sub-control 2 corresponding to s, and the order of clicking l and s is l to s.
[0072] Based on this, when the electronic device recognizes the first control and the user performs a touch input to the first control, the electronic device does not respond to the user's touch input to the first control. Then, when the electronic device receives the user's touch input to sub-control 1, the electronic device outputs the first vibration information to prompt the user that sub-control 1 is within the area, and after receiving the user's click input to sub-control 1, the electronic device outputs the fourth vibration information. Then, when the electronic device receives the user's touch input to sub-control 2, the electronic device outputs the first vibration information to prompt the user that sub-control 2 is within the area, and after receiving the user's click input to sub-control 1, the electronic device outputs the fourth vibration information.
[0073] It should be noted that if the user touches sub-control 2 first, that is, when the electronic device receives the touch input to sub-control 2, since the order of sub-control 2 is not before sub-control 1, the first vibration information will not be output. Therefore, when it is detected that the user touches a control that does not need to be clicked, and a control that is not arranged according to the sequence information, or when it is detected that the user clicks a control that does not need to be clicked, and a control that is not arranged according to the sequence information, the electronic device does not respond to the input. Only when the electronic device receives the user's input to the control arranged according to the sequence information, it executes the operation of outputting vibration information and selecting characters to complete the information verification.
[0074] In one or more optional embodiments, when the information verification type is a rotating image verification type and the target control is an image, after step 330, the prompt method may further include:
[0075] Receive user input for image rotation;
[0076] In response to the rotation input, when it is detected that the image display direction matches the preset display direction, fifth vibration information is output, the fifth vibration information is used to prompt the user to complete the information verification of the rotation image verification type, and the vibration parameter of the fifth vibration information is greater than the vibration parameter of the first vibration information.
[0077] It should be noted that the preset display direction means that before the electronic device executes step 330, it recognizes the image through optical character recognition (OCR) to obtain the characters in the image, then recognizes the directions of the characters in the image to obtain the preset display direction of the characters. The preset display direction is used to indicate that the directions of the characters in the image are adjusted to the adjustment direction prompted in the verification information.
[0078] For example, Figure 6 As shown, the electronic device 10 displays an image 601, and the target control is the image 601. Based on this, when the electronic device detects that the user touches an area other than the image 601 on the screen of the electronic device, it does not respond to the input (i.e., does not output vibration information), and when it is detected that the user touches within the image 601 area, that is, when the first position corresponding to the user touch input matches the second position of the image 601, the first vibration information is output according to the vibration frequency and vibration volume of the first vibration level to prompt the user that the image is within the touch area.
[0079] Next, the electronic device receives a user's input for rotating the image, adjusts the image's rotation angle in response to the rotation input, and outputs fifth vibration information when it is detected that the image is rotating or the display direction of the rotated image matches a preset display direction.
[0080] In this way, the user can be prompted whether the image is in the preset position and whether the human-machine verification process of adjusting the image direction of the rotated image under the rotated image verification type is completed through the transformation of different vibration information.
[0081] It should be noted that here, a prompt audio can be played by the electronic device to prompt the user to continue inputting image 601 when it is detected that the image display direction does not match the preset display direction, such as playing a prompt audio "Please continue to adjust the rotation angle of the image".
[0082] In addition, in some other embodiments, the electronic device 10 displays an image 601. When the image 601 is a plurality of images such as image 1 to image K (K is an integer greater than 1), image recognition can be performed on the image to identify images that need to be rotated and images that do not need to be rotated among the plurality of images. In this way, the target control includes the image that needs to be rotated, and the second control includes the image that does not need to be rotated. Therefore, referring to the above Figure 5 In the embodiment shown, the application and operation principle of the second control are similar to the application and operation principle of the first control. Specifically, the information verification of image 1-image k can be performed with reference to the above embodiment, which will not be repeated here.
[0083] It should be noted that in order to ensure that the user can better understand the prompt auxiliary function provided by the electronic device, when the electronic device detects that the user uses the prompt function involved in the prompt method provided in the embodiment of the present application for the first time, or the user needs to browse the prompt function introduction involved in the prompt method provided in the embodiment of the present application, the user can be prompted through voice and vibration functions, so that the user can understand the prompt function provided by the prompt method provided in the embodiment of the present application through the guidance tutorial provided by the voice and vibration functions, so that special users can use the electronic device for human-machine verification. And, the vibration level involved in the prompt method provided in the embodiment of the present application is positively correlated with the vibration frequency and vibration volume of the electronic device, that is, the higher the vibration level, the faster the vibration frequency of the corresponding electronic device and the higher the vibration volume; conversely, the lower the vibration level, the slower the vibration frequency of the corresponding electronic device and the lower the vibration volume.
[0084] In addition, in some other possible embodiments, before the first position corresponding to the touch input involved above matches the second position of the target control, the prompting method involved in the embodiment of the present application may further include:
[0085] Obtain a first distance between the first position and the second position;
[0086] When the first distance is greater than or equal to the first preset threshold, determining that the first position and the second position do not match, and outputting second vibration information;
[0087] Alternatively, when the first distance is less than a first preset threshold, determining that the first position and the second position match, and outputting first vibration information;
[0088] The vibration parameter of the second vibration information is smaller than the vibration parameter of the first vibration information.
[0089] In an embodiment of the present application, when the electronic device displays an information verification interface, the type of information verification is obtained, and when the type of information verification meets a preset condition, the user's touch input on the screen of the electronic device is received, and when the first position corresponding to the touch input matches the second position of the target control, the first vibration information is output, and the first vibration information is used to prompt the user to operate the target control. In this way, the visual interface can be combined with the vibration level, and when the first position corresponding to the touch input matches the second position of the target control, a prompt is given with the corresponding vibration level, so that the user is prompted to perform information verification during the human-machine verification process. In this way, for many special users such as blind users, users with poor eyesight or elderly users, the difficulty of using electronic devices is reduced, and the convenience, safety and user experience of special users using electronic devices are improved.
[0090] It should be noted that the prompt method provided in the embodiment of the present application can be executed by a prompt device or a prompt module in the prompt device for executing the prompt method. In the embodiment of the present application, the prompt device provided in the embodiment of the present application is described by taking the prompt method executed by the prompt device as an example.
[0091] Based on the same inventive concept, the present application also provides a prompting device. Figure 7 Provide detailed explanation.
[0092] Figure 7 A schematic diagram of the structure of a prompting device provided in an embodiment of the present application.
[0093] like Figure 7 As shown, the prompting device 70 is applied to Figure 1 to Figure 2 The electronic device shown may specifically include:
[0094] An acquisition module 701 is used to acquire the type of information verification when the electronic device displays an information verification interface;
[0095] The receiving module 702 is used to receive a touch input of a user on a screen of an electronic device when the type of information verification meets a preset condition;
[0096] The output module 703 is used to output first vibration information when the first position corresponding to the touch input matches the second position of the target control, where the first vibration information is used to prompt the user to operate the target control;
[0097] Among them, the type of information verification that meets the preset conditions includes any one of the following: the type of information verification is a sliding verification type, the type of information verification is a click verification type, and the type of information verification is a rotating image verification type.
[0098] In this way, the visual interface can be combined with the vibration level. When the first position corresponding to the touch input matches the second position of the target control, a prompt is given with the corresponding vibration level, so that the user is prompted to verify the information during the human-machine verification process. In this way, for many special users such as blind users, users with poor eyesight or elderly users, the difficulty of using electronic devices is reduced, and the convenience, safety and user experience of special users in using electronic devices are improved.
[0099] The prompting device 70 is described in detail below, as shown below:
[0100] In one or more possible embodiments, the prompt device 70 in the embodiment of the present application may further include a determination module, based on which the acquisition module 701 is further used to acquire a first distance between the first position and the second position. The determination module is used to determine that the first position and the second position do not match when the first distance is greater than or equal to a first preset threshold, and output second vibration information, or to determine that the first position and the second position match when the first distance is less than the first preset threshold, and output first vibration information, and the vibration parameter of the second vibration information is less than the vibration parameter of the first vibration information.
[0101] In another or more possible embodiments, the receiving module 702 is also used to receive the user's dragging input on the slider control when the information verification type is a sliding verification type, the target control is a slider control, the information verification interface includes a verification image, and the verification image includes a notch area.
[0102] Based on this, the output module 703 is also used to, in response to the drag input, input a third vibration information when it is detected that the position of the slider control matches the position of the notch area. The third vibration information is used to prompt the user to complete the information verification of the sliding verification type. The vibration parameter of the third vibration information is greater than the vibration parameter of the first vibration information.
[0103] In one or more possible embodiments, the acquisition module 701 is also used to obtain sequence information of M sub-controls when the information verification type is a click verification type, the information verification interface includes a click verification image, the click verification image includes a target control, and the target control includes M sub-controls, where M is an integer greater than or equal to 2.
[0104] Based on this, the output module 703 is also used to output first vibration information when the first position corresponding to the touch input matches the second position of the target subcontrol, and the target subcontrol is determined according to the sequence information. The receiving module 702 is also used to receive a click input to the target subcontrol. The output module 703 is also used to output fourth vibration information in response to the click input, and the vibration parameter of the fourth vibration information is greater than the vibration parameter of the first vibration information.
[0105] In one or more further possible embodiments, the receiving module 702 is further configured to, when the information verification type is a rotation image verification type and the target control is an image, receive a user's rotation input of the image.
[0106] Based on this, the output module 703 is also used to, in response to the rotation input, output the fifth vibration information when it is detected that the image display direction matches the preset display direction. The fifth vibration information is used to prompt the user to complete the information verification of the rotation image verification type. The vibration parameter of the fifth vibration information is greater than the vibration parameter of the first vibration information.
[0107] In one or more possible embodiments, the prompt device 70 in the embodiment of the present application also includes a playback module for playing a prompt audio according to the type of information verification, and the prompt audio is used to prompt the user to perform input corresponding to the type of information verification.
[0108] The prompting device in the embodiment of the present application can be a device, or a component, integrated circuit, or chip in an electronic device. 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.
[0109] The prompting 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.
[0110] The prompting 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.
[0111] In an embodiment of the present application, when the electronic device displays an information verification interface, the type of information verification is obtained, and when the type of information verification meets a preset condition, the user's touch input on the screen of the electronic device is received, and when the first position corresponding to the touch input matches the second position of the target control, the first vibration information is output, and the first vibration information is used to prompt the user to operate the target control. In this way, the visual interface can be combined with the vibration level, and when the first position corresponding to the touch input matches the second position of the target control, a prompt is given with the corresponding vibration level, so that the user is prompted to perform information verification during the human-machine verification process. In this way, for many special users such as blind users, users with poor eyesight or elderly users, the difficulty of using electronic devices is reduced, and the convenience, safety and user experience of special users using electronic devices are improved.
[0112] Optional, such as Figure 8 As shown, an embodiment of the present application also provides an electronic device 80, 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 above-mentioned prompt method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0113] It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
[0114] Fig. 9 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application.
[0115] 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 909, a memory 909, and a processor 910 and other components.
[0116] 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.
[0117] Wherein, in an embodiment of the present application, the processor 910 is used to obtain the type of information verification when the electronic device displays an information verification interface. The user input unit 907 is used to receive a touch input from a user on the screen of the electronic device when the type of information verification meets a preset condition. The processor 910 can also be used to output a first vibration message when a first position corresponding to the touch input matches a second position of the target control, and the first vibration message is used to prompt the user to operate the target control; wherein the type of information verification meets the preset condition and includes any one of the following: the type of information verification is a sliding verification type, the type of information verification is a click verification type, and the type of information verification is a rotating image verification type.
[0118] It should be understood that the input unit 904 may include a graphics processor (GPU) 9041 and a microphone 9042, and the graphics processor 9041 processes the image data of a static image or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 906 may include a display panel, and the display panel 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 prompter. Other input devices 9072 may include, but are not limited to, a physical keyboard, a function key (such as a volume prompt button, a switch button, etc.), a trackball, a mouse, and a joystick, which will not be repeated here. The memory 909 may be used to store software programs and various data, including but not limited to applications and operating systems. The processor 910 may 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.
[0119] 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, the various processes of the above-mentioned prompt method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0120] The processor is the processor in the electronic device 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.
[0121] In addition, an embodiment of the present application further provides a chip, which includes a processor and a communication interface, the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned prompt method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0122] 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.
[0123] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0124] In addition, it should be noted 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 a reverse order according to the functions involved. For example, the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
[0125] 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 computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods of each embodiment of the present application.
[0126] 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 prompting method, characterized in that: include: When the electronic device displays an information verification interface, obtaining the type of the information verification; In the case where the type of information verification meets a preset condition, receiving a touch input on the screen of the electronic device by a user; When the first position corresponding to the touch input matches the second position of the target control, outputting first vibration information, where the first vibration information is used to prompt the user to operate the target control; Among them, the type of information verification that meets the preset conditions includes any one of the following: the type of information verification is a sliding verification type, the type of information verification is a click verification type, and the type of information verification is a rotating image verification type.
2. The method according to claim 1, characterized in that Before the first position corresponding to the touch input matches the second position of the target control, the method further includes: Acquire a first distance between the first position and the second position; When the first distance is greater than or equal to a first preset threshold, determining that the first position and the second position do not match, and outputting second vibration information; Alternatively, when the first distance is less than the first preset threshold, determining that the first position matches the second position, and outputting the first vibration information; The vibration parameter of the second vibration information is smaller than the vibration parameter of the first vibration information.
3. The method according to claim 1, characterized in that: The type of information verification is a sliding verification type, the target control is a slider control, the information verification interface includes a verification image, and the verification image includes a gap area; After outputting the first vibration information, the method further includes: Receiving a user's drag input to the slider control; In response to the drag input, when it is detected that the position of the slider control matches the position of the notch area, a third vibration information is input, wherein the third vibration information is used to prompt the user to complete information verification of a sliding verification type, and a vibration parameter of the third vibration information is greater than a vibration parameter of the first vibration information.
4. The method according to claim 1, characterized in that: The type of information verification is a click verification type, the information verification interface includes a click verification image, and the click verification image includes the target control; When the first position corresponding to the touch input matches the second position of the target control, outputting first vibration information includes: In the case where the target control includes M sub-controls, obtaining sequence information of the M sub-controls, where M is an integer greater than or equal to 2; outputting first vibration information when a first position corresponding to the touch input matches a second position of a target subcontrol, the target subcontrol being determined according to the sequence information; After outputting the first vibration information, the method further includes: Receiving a click input to the target subcontrol; In response to the click input, fourth vibration information is output, and a vibration parameter of the fourth vibration information is greater than the vibration parameter of the first vibration information.
5. The method according to claim 1, characterized in that The type of information verification is a rotating image verification type, and the target control is an image; After outputting the first vibration information, the method further includes: receiving a rotation input of the image from a user; In response to the rotation input, when it is detected that the image display direction matches the preset display direction, fifth vibration information is output, and the fifth vibration information is used to prompt the user to complete the information verification of the rotation image verification type, and the vibration parameter of the fifth vibration information is greater than the vibration parameter of the first vibration information.
6. The method according to claim 1, characterized in that After obtaining the type of information verification, the method further includes: According to the type of the information verification, a prompt audio is played, and the prompt audio is used to prompt the user to perform an input corresponding to the type of the information verification.
7. A prompting device, characterized in that: include: An acquisition module, used to acquire the type of information verification when the electronic device displays an information verification interface; A receiving module, configured to receive a touch input from a user on a screen of the electronic device if the type of information verification meets a preset condition; an output module, configured to output first vibration information when a first position corresponding to the touch input matches a second position of a target control, wherein the first vibration information is used to prompt a user to operate the target control; Among them, the type of information verification that meets the preset conditions includes any one of the following: the type of information verification is a sliding verification type, the type of information verification is a click verification type, and the type of information verification is a rotating image verification type.
8. The device according to claim 7, characterized in that The prompt device also includes a determination module; wherein, The acquisition module is further used to acquire a first distance between the first position and the second position; The determination module is configured to determine that the first position and the second position do not match and output second vibration information when the first distance is greater than or equal to a first preset threshold; or to determine that the first position and the second position match and output the first vibration information when the first distance is less than the first preset threshold; The vibration parameter of the second vibration information is smaller than the vibration parameter of the first vibration information.
9. The device according to claim 7, characterized in that The receiving module is further configured to, when the type of the information verification is a sliding verification type, the target control is a slider control, the information verification interface includes a verification image, and the verification image includes a gap area, receive a user's drag input on the slider control; The output module is also used to, in response to the drag input, input third vibration information when it is detected that the position of the slider control matches the position of the notch area, wherein the third vibration information is used to prompt the user to complete information verification of a sliding verification type, and a vibration parameter of the third vibration information is greater than a vibration parameter of the first vibration information.
10. The device according to claim 7, characterized in that The acquisition module is further used for, when the type of the information verification is a click verification type, the information verification interface includes a click verification image, the click verification image includes the target control, and the target control includes M sub-controls, acquiring the sequence information of the M sub-controls, where M is an integer greater than or equal to 2; The output module is further configured to output first vibration information when a first position corresponding to the touch input matches a second position of a target subcontrol, wherein the target subcontrol is determined according to the sequence information; The receiving module is further used to receive a click input to the target sub-control; The output module is further configured to output fourth vibration information in response to the click input, wherein a vibration parameter of the fourth vibration information is greater than a vibration parameter of the first vibration information.
11. The device according to claim 7, characterized in that The receiving module is further used for receiving a user's rotation input of the image when the type of the information verification is a rotation image verification type and the target control is an image; The output module is also used to, in response to the rotation input, output fifth vibration information when it is detected that the image display direction matches the preset display direction, wherein the fifth vibration information is used to prompt the user to complete information verification of the rotation image verification type, and the vibration parameter of the fifth vibration information is greater than the vibration parameter of the first vibration information.
12. The device according to claim 7, characterized in that The prompt device also includes a playing module, which is used to play a prompt audio according to the type of the information verification, and the prompt audio is used to prompt the user to perform an input corresponding to the type of the information verification.
13. An electronic device, characterized in that: The method comprises 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 prompt method as described in any one of claims 1 to 6.
