Input implementation method and apparatus for blind people
By using the state machine and voice prompts of the POS device, the lack of tactile feedback for blind and visually impaired users when inputting on the touchscreen is solved, realizing a safe and reliable input method for the blind, suitable for secure input of information such as PIN codes.
Patent Information
- Application Number
- PCT/CN2024/128045
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-07-11
- Filing Date
- 2024-10-29
- Publication Date
- 2026-01-15
AI Technical Summary
Blind and visually impaired people lack tactile feedback when using touchscreens for input, making it difficult for them to know whether the input is complete. This is especially true in situations requiring confidentiality, such as entering passwords, where the lack of voice prompts makes input difficult.
By utilizing the state machine mechanism and sound prompts of the POS device, a method for inputting information for the blind is implemented. This includes state machine status judgment and sound prompts, recording the coordinate data of user operations, and confirming operation and input completion based on the key types on the blind keyboard.
It enables safe and reliable input for blind and visually impaired users, protects user privacy, and is suitable for secure input of information such as PIN codes.
Smart Images

Figure CN2024128045_15012026_PF_FP_ABST
Abstract
Description
A method and device for inputting information for the blind Cross-referencing
[0001] This application claims priority to Chinese Patent Application No. 202410924463.0, filed on July 11, 2024, entitled “A Method and Apparatus for Input by the Blind”, the entire contents of which are incorporated herein by reference. Technical Field
[0002] This disclosure relates to the field of electronic devices, and more particularly to a method and apparatus for implementing input for the blind. Background Technology
[0003] With the development and progress of science and technology, more and more physical buttons on terminal devices (such as POS devices) are being replaced by "soft" buttons (i.e., soft keyboards) on touch screens. However, the input process after this replacement brings difficulties to some users, including the lack of tactile buttons and the lack of feedback when pressing buttons. For example, blind and visually impaired people cannot navigate on touch screens as they would with a physical keyboard, and they cannot know whether the input is complete. Although these problems can be addressed through voice feedback to blind and visually impaired people, some private occasions and confidential information are not suitable for voice prompts, such as the process of entering passwords. Therefore, there is an urgent need to provide a safe and reliable input method suitable for blind people. Summary of the Invention
[0004] The purpose of this disclosure is to overcome the shortcomings of the prior art and provide a method and apparatus for implementing input for the blind.
[0005] In a first aspect, embodiments of this disclosure provide a method for implementing input for the blind, including:
[0006] Step S1: When the POS device receives the blind input method selected by the merchant, it prompts the blind user to perform the input operation through sound.
[0007] Step S2: The POS device initializes its state machine to the "moving" state. When a long press operation is detected, step S3 is executed.
[0008] Step S3: The POS device determines the state of the state machine. If it is moving, step S4 is executed; if it is lifting, step S5 is executed; if it is pressing, step S8 is executed.
[0009] Step S4: The POS device sets the state machine to "lifted" and returns to step S3;
[0010] Step S5: The POS device determines whether the user's operation is lifting. If yes, the state machine state is set to pressed, and the process returns to step S3; otherwise, step S6 is executed.
[0011] Step S6: The POS device determines whether the user's operation is within the Braille keyboard area. If yes, proceed to step S7; otherwise, provide an audio prompt that the current operation is outside the Braille keyboard area and return to step S3.
[0012] Step S7: The POS device determines the type of button touched by the user. If it is an OK button, it will prompt the user with an audio signal that the button is OK, record the coordinate data of the user's touch position, and return to step S3. If it is a Cancel button, it will prompt the user with an audio signal that the button is Cancel, record the coordinate data of the user's touch position, and return to step S3. If it is a character key, it will prompt the user with an audio signal that the operation is in the character area of the Braille keyboard, record the coordinate data of the user's touch position, and return to step S3.
[0013] Step S8: The POS device determines whether the user's operation is a double-click. If yes, the state machine is set to move and step S9 is executed; otherwise, it returns to step S3.
[0014] Step S9: The POS device determines the key type corresponding to the recorded coordinate data based on the coordinate range of the keys on the blind keypad. If it is an OK key, it determines whether the length of the data in the password storage area meets the requirements. If it does, it completes the input operation through a sound prompt and ends. If it is a Cancel key, it cancels the input operation through a sound prompt, clears the data in the password storage area, and ends. If it is a character key, it saves the character key value in the password storage area and prompts the character key value's sequence number in the password storage area through a sound prompt, then returns to step S3.
[0015] Secondly, embodiments of this disclosure provide a device for implementing input for the blind, including:
[0016] The prompting module is used to prompt the blind user to perform the input operation through sound when it receives the blind input method selected by the merchant.
[0017] The initialization detection module is used to initialize the state machine to the moving state, and also to trigger the first judgment module when a long press operation is detected.
[0018] The first judgment module is used to judge the state of the state machine. If it is moving, the first setting module is triggered; if it is lifting, the first judgment setting module is triggered; if it is pressing, the second judgment setting module is triggered.
[0019] The first setting module is used to set the state machine to "up" and trigger the first judgment module;
[0020] The first judgment setting module is used to determine whether the user operation is a lift. If so, the state machine state is set to a press and the first judgment module is triggered. Otherwise, the first judgment prompt module is triggered.
[0021] The first judgment and prompting module is used to determine whether the user's operation is within the area of the Braille keyboard. If so, the second judgment and prompting module is triggered. Otherwise, the first judgment module is triggered by sound prompting that the current operation is outside the Braille keyboard area.
[0022] The second judgment prompt module is used to determine the type of button touched by the user. If it is an OK button, it will prompt the user with an audio signal that the current touch is an OK button, record the coordinate data of the user's touch position, and trigger the first judgment module. If it is a Cancel button, it will prompt the user with an audio signal that the current touch is a Cancel button, record the coordinate data of the user's touch position, and trigger the first judgment module. If it is a character key, it will prompt the user with an audio signal that the current operation is in the character area of the Braille keyboard, record the coordinate data of the user's touch position, and trigger the first judgment module.
[0023] The second judgment setting module is used to determine whether the user operation is a double-click. If so, the state machine state is set to move, triggering the judgment processing module; otherwise, the first judgment module is triggered.
[0024] The judgment and processing module is used to determine the key type corresponding to the recorded coordinate data based on the coordinate range of the keys on the blind keyboard. If it is an confirmation key, it determines whether the length of the data in the password storage area meets the requirements. If it does, it completes the input operation through a sound prompt and ends. If it is a cancel key, it cancels the input operation through a sound prompt, clears the data in the password storage area, and ends. If it is a character key, it saves the character key value in the password storage area and triggers the first judgment module by sound prompting the serial number of the character key value in the password storage area.
[0025] Thirdly, this disclosure also provides a POS device, which includes at least one processor, a memory, and instructions stored in the memory and executable by the at least one processor, wherein the at least one processor executes the instructions to implement the aforementioned method for implementing input for the blind.
[0026] Fourthly, embodiments of this disclosure also provide a computer-readable storage medium comprising a computer program that, when executed on a POS device, causes the POS device to perform the aforementioned method for implementing blind input.
[0027] Fifthly, this disclosure also provides a chip system, including a chip coupled to a memory, for executing a computer program stored in the memory to perform the aforementioned method for implementing input for the blind.
[0028] Compared with the prior art, this disclosure has the following advantages: the solution disclosed herein is suitable for blind and visually impaired people, and uses different voice prompts for different operations to achieve secure input of information such as PIN codes, protect user privacy, and is convenient to use. Attached Figure Description
[0029] Figure 1 is a flowchart of a method for implementing input for the blind according to Embodiment 1 of this disclosure;
[0030] Figure 2 is a schematic diagram of the interruption handling process in a method for implementing input for the blind provided in Embodiment 2 of this disclosure;
[0031] Figure 3 is a flowchart illustrating the setting of event flag bits in a method for implementing input for the blind provided in Embodiment 2 of this disclosure;
[0032] Figures 4 to 6 are schematic diagrams of the main flow of a method for implementing input for the blind provided in Embodiment 2 of this disclosure;
[0033] Figure 7 is a schematic diagram of a Braille keyboard on a POS device in Embodiment 2 of this disclosure;
[0034] Figure 8 is a block diagram of a device for implementing input for the blind provided in Embodiment 3 of this disclosure. Detailed Implementation
[0035] This application proposes a method and apparatus for implementing input for the blind. The specific embodiments of this application will be described in detail below with reference to the accompanying drawings. Examples of the embodiments are shown in the accompanying drawings. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain this application, and should not be construed as limiting this application.
[0036] It will be understood by those skilled in the art that, unless otherwise defined, all terms used herein (including technical and scientific terms) have the same meaning as commonly understood by one of ordinary skill in the art to which this application pertains. It should also be understood that terms such as those defined in general dictionaries should be understood to have the same meaning as in the context of the prior art, and should not be interpreted in an idealized or overly formal sense unless specifically defined as herein.
[0037] To make the objectives, technical solutions, and advantages of this disclosure clearer, the embodiments of this disclosure will be described in further detail below with reference to the accompanying drawings.
[0038] Example 1
[0039] This disclosure provides a method for implementing input for the blind, as shown in Figure 1, including:
[0040] Step S1: When the POS device receives the blind input method selected by the merchant, it prompts the blind user to enter the PIN code through sound.
[0041] In this embodiment, the POS device includes an application chip, a security chip, and a touch chip. Step S1 includes:
[0042] Step S11: When the application chip receives the blind input method selected by the merchant, it sends a blind mode instruction containing the coordinate range of the keys on the blind keyboard to the security chip.
[0043] Optionally, before step S11, the process may include: when the POS device receives information from the merchant to start the application, prompting the merchant to select an input method; if the blind input method is selected, step S11 is executed; otherwise, the normal input process is entered.
[0044] Step S12: The security chip receives and parses the blind mode command, saves the coordinate range of the keys on the blind keyboard obtained from the parsing, and controls the switching circuit to switch the control mode of the touch chip's input data from the application chip to the security chip.
[0045] Step S13: The security chip provides audio prompts to the blind user to perform input operations.
[0046] Optionally, this embodiment may further include setting a timeout period between steps S1 and S2;
[0047] Step S2: The POS device initializes its state machine to the moving state. When a long press operation is detected, step S3 is executed.
[0048] Specifically, in this embodiment, step S2 includes: the POS device initializes the state machine to the state of movement, and when the event flag is detected to be sliding, step S3 is executed;
[0049] Optionally, when the event flag is detected to be not sliding, the following steps are also included: the POS device determines whether the waiting time is greater than the timeout period; if so, an error is reported; otherwise, the device continues to check whether the event flag is sliding.
[0050] Step S3: The POS device determines the state of the state machine. If it is moving, proceed to step S4; if it is lifting, proceed to step S5; if it is pressing, proceed to step S8.
[0051] Step S4: Set the POS device's state machine to "lifted" and return to step S3;
[0052] Step S5: The POS device determines whether the user's operation is a lift. If yes, the state machine is set to a press state, and the process returns to step S3; otherwise, step S6 is executed.
[0053] Specifically, in this embodiment, step S5 includes: the POS device determines whether the event flag is raised; if so, it sets the state machine state to pressed and returns to step S3; otherwise, it returns to step S6.
[0054] Step S6: The POS device determines whether the user's swipe operation is within the Braille keypad area. If yes, proceed to step S7; otherwise, provide an audio prompt that the current operation is outside the Braille keypad area and return to step S3.
[0055] Specifically, in this embodiment, step S6 includes:
[0056] Step S61: The POS device reads the coordinate data in the register and determines whether the read coordinate data is within the coordinate range of the keys on the blind keyboard. If yes, proceed to step S7; otherwise, proceed to step S62.
[0057] Step S62: The POS device determines whether the key value corresponding to the read coordinate data is consistent with the key value corresponding to the saved coordinate data. If yes, it returns to step S3; otherwise, it executes step S63.
[0058] Step S63: The POS device provides an audio prompt that the current operation is outside the blind keypad area, and returns to step S3;
[0059] Step S7: The POS device determines the type of button touched by the user. If it is an OK button, it will prompt the user with an audio signal that the button is OK, record the coordinate data of the user's touch position, and return to step S3. If it is a Cancel button, it will prompt the user with an audio signal that the button is Cancel, record the coordinate data of the user's touch position, and return to step S3. If it is a character key, it will prompt the user with an audio signal that the operation is in the character area of the Braille keyboard, record the coordinate data of the user's touch position, and return to step S3.
[0060] Optionally, in step S7 of this embodiment, the POS device determines the type of the button touched by the user during the swiping process, including: the POS device determines whether the button value corresponding to the read coordinate data is consistent with the button value corresponding to the saved coordinate data. If yes, it returns to step S3; otherwise, it determines the type of the button value corresponding to the read coordinate data based on the coordinate range of the buttons on the blind keyboard.
[0061] Specifically, recording the coordinate data of the user's touch position involves updating the saved coordinate data with the read coordinate data.
[0062] Step S8: The POS device determines whether the user's operation is a double-click. If yes, the state machine is set to move and step S9 is executed; otherwise, it returns to step S3.
[0063] Specifically, in this embodiment, step S8 includes:
[0064] Step S81: The POS device determines whether the event flag is pressed. If yes, proceed to step S82; otherwise, return to step S3.
[0065] Optionally, in this embodiment, before determining whether to return to step S3 in step S81, the POS device further determines whether the waiting time is greater than the timeout period. If yes, an error is reported; otherwise, the device returns to step S3.
[0066] Step S82: The POS device determines whether the event flag is a press after being released. If yes, proceed to step S83; otherwise, return to step S3.
[0067] Step S83: Set the state machine of the POS device to "moving" and proceed to step S9;
[0068] Step S9: The POS device determines the key type corresponding to the recorded coordinate data based on the coordinate range of the keys on the blind keypad. If it is an OK key, it determines whether the length of the data in the password storage area meets the requirements. If it does, it completes the input operation through a sound prompt and ends. If it is a Cancel key, it cancels the input operation through a sound prompt, clears the data in the password storage area, and ends. If it is a character key, it saves the character key value in the password storage area and provides a sound prompt indicating the sequence number of the character key value in the password storage area, then returns to step S4.
[0069] Optionally, in this embodiment, before step S9, the POS device further determines whether the saved coordinate data is within the coordinate range of the keys on the blind keyboard. If yes, step 9 is executed; otherwise, step S3 is returned.
[0070] In this embodiment, between step S1 and step S2, the following step is also included: the POS device enables the interrupt of the touch chip;
[0071] The method in this embodiment further includes: during the process of the user touching the POS device screen, the POS device generates an interrupt every preset time interval, and uses the coordinate data of the touch position and the valid data judgment bit to update the data cached in the register, and enters the interrupt handling process;
[0072] If the POS device generates an interrupt for the first time, it will directly cache the coordinate data of the touch position and the valid data judgment bit in the register and start the counter.
[0073] The interrupt handling process in this embodiment includes:
[0074] Step A1: The POS device will set the interrupt detection flag.
[0075] Step A2: The POS device determines whether the time difference between the current interruption time and the previous interruption time exceeds the maximum reporting rate time. If yes, it initializes the counter, updates the counter, and exits the interrupt handling process; otherwise, it updates the counter and exits the interrupt handling process.
[0076] The method in this embodiment also includes a process for setting event flags, specifically including:
[0077] Step B1: The POS device determines whether the interrupt detection flag is set. If yes, proceed to step B3; otherwise, proceed to step B2.
[0078] Step B2: The POS device determines whether the waiting time exceeds the first preset value. If yes, it sets the event flag to "raise" and returns to step B1; otherwise, it returns to step B1.
[0079] Step B3: The POS device resets the interrupt detection flag and determines whether the counter value is the initial value. If yes, it returns to step B1; otherwise, it executes step B4.
[0080] Step B4: The POS device reads the valid data judgment bit in the register and determines whether the valid data judgment bit is valid. If it is, proceed to step B5; otherwise, return to step B1.
[0081] Optionally, in this embodiment, before determining whether to return to step B1 in step B4, the method further includes: after a preset delay, the POS device reads the valid data judgment bit in the register again to determine whether the valid data judgment bit is valid. If it is, step B5 is executed; otherwise, step B1 is returned.
[0082] Specifically, determining whether the valid data judgment bit is valid includes: the POS device determining whether the first byte of data read from the register is the first preset data; if so, the valid data judgment bit is valid; otherwise, the valid data judgment bit is invalid.
[0083] Step B5: The POS device determines whether the user's operation is a valid touch point. If yes, proceed to step B6; otherwise, return to step B1.
[0084] Specifically, in this embodiment, step B5 includes: the POS device determines whether the user operation is a single-point touch; if so, it executes step B6; otherwise, it returns to step B1.
[0085] Step B6: The POS device determines whether the counter value has reached the threshold. If yes, proceed to step B7; otherwise, return to step B8.
[0086] Step B7: The POS device sets the event flag to sliding, reads the coordinate data in the register and updates the saved coordinate data accordingly, then returns to step B1;
[0087] Step B8: Set the event flag of the POS device to pressed, then return to step B1.
[0088] The method described in this embodiment is applicable to blind and visually impaired individuals. It uses different voice prompts for different operations to achieve secure input of information such as PIN codes, protect user privacy, and facilitate use.
[0089] Example 2
[0090] This disclosure provides a method for implementing input for the blind, applicable to POS devices that include a security chip (SP), an application chip (AP), and a touch chip (TP). The method in this embodiment includes a main process, a process for setting event flags, and an interrupt handling process. These three processes are three independent threads.
[0091] In this embodiment, during the process of the user touching the POS device screen, the TP generates an interrupt every first preset time interval, uses the coordinate data of the touch position and the valid data to update the data cached in the register, and sends an interrupt signal to the SP. After receiving the interrupt signal, the SP enters the interrupt handling process.
[0092] In this embodiment, if the TP obtains valid coordinate data, the valid data bit identifier is set to the first preset data. If the user accidentally touches the screen of the POS device or the TP does not obtain a valid keyboard value, the valid data bit identifier is set to a non-first preset data, for example, the first preset data is 80.
[0093] If TP generates an interrupt for the first time, it will directly cache the coordinate data of the touch position and the valid data judgment bit in the register and start the counter;
[0094] Specifically, when a user touches the screen of the POS device, a square wave is generated. The TP detects a rising edge of the square wave to indicate that an interrupt has been generated.
[0095] For example, the first preset duration is 10ms;
[0096] As shown in Figure 2, the interrupt handling process specifically includes:
[0097] Step 201: SP sets the interrupt detection flag;
[0098] Step 202: SP determines whether the time difference between the current interrupt generation time and the previous interrupt generation time exceeds the maximum reporting rate time. If yes, initialize and update the counter, and exit the interrupt handling process; otherwise, update the counter and exit the interrupt handling process.
[0099] Preferably, updating the counter specifically involves incrementing the counter value by 1;
[0100] In this embodiment, the process of setting the event flag is shown in Figure 3, including:
[0101] Step 301: SP checks whether the interrupt detection flag is set. If yes, proceed to step 303; otherwise, proceed to step 302.
[0102] Step 302: SP determines whether the waiting time exceeds the first preset value. If yes, the event flag is set to "raised" and the process returns to step 301; otherwise, the process returns to step 301.
[0103] In this embodiment, if SP determines in step 302 that the waiting time for the start of the timer in step 301 exceeds a first preset value, it indicates that no key is pressed or the user's finger has been lifted; for example, the first preset value is 100ms.
[0104] Step 303: Reset the SP interrupt detection flag and determine whether the counter value is the initial value. If yes, return to step 301; otherwise, execute step 304.
[0105] Optionally, step 303 may also include, if determined to be yes, the SP returning invalid key information to the AP;
[0106] Step 304: SP reads the valid data judgment bit in the register and determines whether the read valid data judgment bit is valid. If it is, proceed to step 306; otherwise, proceed to step 305.
[0107] Step 305: After the SP delay is preset, read the valid data judgment bit in the register again and determine whether the read valid data judgment bit is valid. If it is, proceed to step 306; otherwise, return to step 301.
[0108] Specifically, determining whether the valid data check bit is valid includes: SP checking whether the first byte of data read from the register is the first preset data. If it is, the valid data check bit is valid; otherwise, the valid data check bit is invalid. For example, the first preset data is 80.
[0109] Step 306: SP determines whether the user's operation is a valid touch point. If yes, proceed to step 307; otherwise, return to step 301.
[0110] Specifically, in this embodiment, step 306 includes: SP determines whether the user operation is a single-point touch. If yes, the user operation is a valid touch point, and step 307 is executed; otherwise, the user operation is an invalid touch point, and step 301 is returned.
[0111] Step 307: SP determines whether the value of the counter has reached the threshold. If yes, proceed to step 308; otherwise, return to step 309.
[0112] Step 308: SP sets the event flag to sliding, reads the coordinate data in the register and uses it to update the saved coordinate data, then returns to step 301;
[0113] In this embodiment, if step 308 is the first time the coordinate data in the register is read, it is saved directly;
[0114] Step 309: SP sets the event flag to pressed, then returns to step 301;
[0115] The main flow in this embodiment is shown in Figures 4 to 6, including:
[0116] Step 401: The AP receives the online PIN request sent by the POS device;
[0117] Specifically, when a merchant operates on a POS device, the POS device receives a request from the merchant to input information to launch the application, generates an online PIN, and sends the online PIN request to the AP.
[0118] Step 402: The AP prompts the merchant whether to select the blind input method. If yes, proceed to step 403; otherwise, proceed to the normal input process.
[0119] Step 403: The AP sends the blind mode instruction, which includes the coordinate range of the keys on the blind keypad, to the SP via the API;
[0120] For example, the schematic diagram of the Braille keyboard on the POS device in this embodiment is shown in Figure 7. Optionally, in addition to the number keys, the Braille keyboard may also have other character keys, such as letter keys and symbol keys.
[0121] Step 404: SP parses the received blind mode command, saves the coordinate range of the keys on the blind keyboard obtained from the parsing, and controls the switching circuit to switch the control mode of TP input data from AP to SP;
[0122] In this embodiment, TP is connected to SP and AP respectively. The control of TP is switched by a switch (i.e., switching circuit). For example, when entering a password, the control of TP input data is switched from AP to SP by the switch.
[0123] Step 405: SP calls the interface to obtain the online PIN and prompts the blind user to enter the PIN code via AP voice prompts;
[0124] In this embodiment, when a blind user initiates an operation (long presses the POS device screen), the AP will broadcast the blind user's operation in real time. For example, if the blind user touches outside the keyboard area on the POS device screen, the AP will broadcast the operation outside the keyboard area. If the blind user touches the cancel key, the AP will broadcast the cancel key. If the blind user touches the confirm key, the AP will broadcast the confirm key. If the blind user touches a new character key within the keyboard area, the AP will broadcast a prompt sound, such as "beep".
[0125] Step 406: Enable TP interrupt on SP, with the rising edge of the level being valid, and set the timeout period;
[0126] Step 407: SP initializes the state machine to transition;
[0127] Step 408: SP determines whether the event flag is sliding. If yes, proceed to step 410; otherwise, proceed to step 409.
[0128] Step 409: SP checks if the waiting time is greater than the timeout period. If yes, an error is reported; otherwise, return to step 408.
[0129] In this embodiment, the waiting time in step 409 is the duration from when the timing starts to run in step 408;
[0130] Step 410: SP determines the state of the state machine. If it is moving, execute step 411; if it is lifting, execute step 412; if it is pressing, execute step 422.
[0131] Step 411: SP sets the state machine to "up" and returns to step 410;
[0132] Step 412: SP determines whether the event flag is raised. If yes, proceed to step 413; otherwise, proceed to step 414.
[0133] Step 413: SP sends an operation message to AP via the data serial port to indicate that the operation is lifted, sets the state machine state to pressed, and returns to step 410;
[0134] Step 414: SP reads the coordinate data in the register and determines whether the read coordinate data is within the coordinate range of the keys on the blind keyboard. If yes, proceed to step 417; otherwise, proceed to step 415.
[0135] Step 415: SP determines whether the key value corresponding to the read coordinate data is consistent with the key value corresponding to the saved coordinate data. If yes, return to step 410; otherwise, proceed to step 416.
[0136] Step 416: SP sends information about the operation outside the keyboard area to AP via the data serial port, and returns to step 410;
[0137] In this embodiment, after receiving the information that the operation is outside the keyboard area, the AP will broadcast the corresponding voice information, such as the voice broadcast "outside the area";
[0138] Step 417: SP determines whether the key value corresponding to the read coordinate data is consistent with the key value corresponding to the saved coordinate data. If yes, return to step 410; otherwise, proceed to step 418.
[0139] Step 418: SP determines the type of key value corresponding to the read coordinate data. If it is an OK key, proceed to step 419; if it is a Cancel key, proceed to step 420; if it is a character key, proceed to step 421.
[0140] Optionally, the character keys in this embodiment include numeric keys and / or letter keys and / or symbol keys;
[0141] Step 419: SP sends touch confirmation key information to AP via data serial port, updates the saved coordinate data with the read coordinate data, and returns to step 410;
[0142] In this embodiment, when the AP receives the operation message "Confirm key", it will announce "Confirm key" via voice.
[0143] Step 420: SP sends the operation information of touch cancel key to AP through the data serial port, updates the saved coordinate data with the read coordinate data, and returns to step 410;
[0144] In this embodiment, when the AP receives information indicating that the operation is to touch the cancel key, it will announce "Cancel key" via voice.
[0145] Step 421: SP sends touch character key information to AP via data serial port, updates the saved coordinate data with the read coordinate data, and returns to step 410;
[0146] In this embodiment, when the AP receives information indicating that the operation is a touch character key, it plays the corresponding prompt sound, such as "beep".
[0147] Step 422: SP checks if the event flag is pressed. If yes, proceed to step 424; otherwise, proceed to step 423.
[0148] Step 423: SP checks if the waiting time is greater than the timeout period. If yes, it reports an error; otherwise, it returns to step 410.
[0149] In this embodiment, the waiting time in step 423 is the duration from the start of the timing in step 422.
[0150] Step 424: SP determines whether the event flag is a press after release. If yes, proceed to step 425; otherwise, proceed to step 410.
[0151] Step 425: SP sets the state machine state to moving, determines whether the saved coordinate data is within the coordinate range of the keys on the blind keyboard, if yes, confirms the key value corresponding to the saved coordinate data according to the coordinate range of the keys on the blind keyboard, sends the valid key information and the corresponding key value to AP through the data serial port, and returns to step 410; otherwise, returns to step 410.
[0152] In this embodiment, when the AP receives valid key information and the corresponding key value, it determines the key type corresponding to the key value. If it is a cancel key, it provides a voice prompt "Cancel operation," clears the data in the password storage area, and ends the process. If it is a character key, it saves the received key values sequentially in the password storage area and displays * (or other characters or graphics, i.e., does not directly display the user's entered PIN code). It announces the sequence number of the key value in the password storage area (e.g., the sixth key, so that a blind user knows to press the confirmation key to confirm the PIN code input). If it is a confirmation key, the AP determines whether the length of the data in the password storage area meets the requirements (e.g., whether the length of the data in the password storage area is 6). If yes, it provides a voice prompt "Input complete," otherwise it reports an error. After the process of this embodiment is completed, the AP can use the data in the password storage area to perform other operations, such as authenticating the identity of blind users (i.e., determining whether the data in the password storage area matches the saved password), etc.
[0153] This embodiment provides an example of a practical application scenario. A merchant selects an application on the POS device. The application chip provides a voice prompt to insert a bank card. When the application chip detects a bank card inserted into the POS device, it prompts the merchant to enter an amount. Upon receiving the entered amount, the POS device generates an online PIN request and sends it to the application chip. The application chip then instructs the POS device to display a Braille input method button on the screen. When the merchant clicks the button, the application chip sends a Braille mode command, including Braille input method indicators and the coordinates of the keys on the Braille keyboard, to the POS device's security chip via a secure API. The security chip parses the Braille mode command and saves the obtained coordinates of the keys on the Braille keyboard. The control switching circuit then switches the control method for touch chip input data from the application chip to the security chip. The application chip provides voice prompts. When a blind user enters a password, the application chip announces "Operation outside the keyboard area" when the user's finger touches a blank area. When the user's finger slides from outside the keyboard area to a character key within the keyboard area, the application chip emits a "beep" sound. The user continues to slide their finger within the keyboard area, emitting a "beep" sound as they move from one character key to another. When the user lifts their finger and double-clicks the POS device screen, an asterisk (*) is displayed on the screen, and the sequence number of the asterisk (e.g., the third one) is announced. If the sequence number is different from the password length, the blind user continues inputting. When the blind user hears the sequence number equal to the password length, they slide their finger within the keyboard area and hear the "Confirm" key, then lift their finger and double-click the screen. The application chip announces "Input complete." After the password is entered, the application chip uses the password stored in the memory to authenticate the blind user. If authentication is successful, the application continues. If the blind user wants to cancel the operation, they slide their finger within the keyboard area and hear the "Cancel" key, then lift their finger and double-click the screen. The application chip announces the input operation is canceled and clears the password storage area.
[0154] Example 3
[0155] This disclosure provides a device for enabling input for the blind, which is installed in a POS device, as shown in Figure 8. The device in this embodiment includes:
[0156] The prompting module 71 is used to prompt the blind user to perform the input operation through sound when it receives the blind input method selected by the merchant.
[0157] In this embodiment, the POS device includes an application chip, a security chip, and a touch chip. The receiving prompt module 71 is specifically used to send a blind mode instruction containing the coordinate range of the keys on the blind keyboard to the security chip when the application chip receives the blind input method selected by the merchant. The security chip receives the blind mode instruction and parses it, saves the coordinate range of the keys on the blind keyboard obtained from the parsing, and controls the switching circuit to switch the control mode of the touch chip's input data from the application chip to the security chip.
[0158] Optionally, the device in this embodiment further includes: a prompting module, used to prompt the merchant to select an input method when the merchant needs to input information to start the application; if the blind input method is selected, the prompting module 71 is triggered; otherwise, the normal input process is entered.
[0159] Optionally, the receiving prompt module 71 is also used to set a timeout period;
[0160] The initialization detection module 72 is used to initialize the state machine to the state of movement, and also to trigger the first judgment module 73 when a long press operation is detected;
[0161] In this embodiment, the initialization detection module 72 is specifically used to initialize the state machine to the state of movement, and is also used to detect whether the event flag is sliding. If the event flag is detected to be sliding, it means that a long press operation by a blind user has been detected.
[0162] Optionally, the device in this embodiment further includes a timeout determination module, which is used to determine whether the waiting time is greater than the timeout time when the initialization detection module 72 detects that the event flag bit is not sliding. If it is, an error is reported; otherwise, the initialization detection module 72 is triggered.
[0163] The first judgment module 73 is used to judge the state of the state machine. If it is moving, the first setting module 74 is triggered; if it is lifting, the first judgment setting module 75 is triggered; if it is pressing, the second judgment setting module 78 is triggered.
[0164] The first setting module 74 is used to set the state machine to "lifted" and trigger the first judgment module 73.
[0165] The first judgment setting module 75 is used to determine whether the user operation is a lift. If it is, the state machine is set to a press and the first judgment module 73 is triggered. Otherwise, the first judgment prompt module 76 is triggered.
[0166] In this embodiment, the first judgment setting module 75 is specifically used to determine whether the event flag is lifted. If it is, the state machine is set to pressed, triggering the first judgment module 73; otherwise, the first judgment prompt module 76 is triggered.
[0167] The first judgment prompt module 76 is used to determine whether the user's sliding operation is within the area of the blind keyboard. If so, the second judgment prompt module 77 is triggered. Otherwise, the current operation is prompted by sound to be outside the area of the blind keyboard. If so, the first judgment module 73 is triggered.
[0168] Specifically, in this embodiment, the first judgment and prompting module 76 includes:
[0169] The first reading and judgment unit is used to read the coordinate data in the register and determine whether the read coordinate data is within the coordinate range of the keys on the blind keyboard. If it is, the second judgment and prompt module 77 is triggered; otherwise, the first judgment unit is triggered.
[0170] The first judgment unit is used to determine whether the key value corresponding to the read coordinate data is consistent with the key value corresponding to the saved coordinate data. If they are consistent, the first judgment module 73 is triggered; otherwise, the first prompt unit is triggered.
[0171] The first prompting unit is used to prompt by sound that the current operation is outside the blind keyboard area, triggering the first judgment module 73;
[0172] The second judgment prompt module 77 is used to determine the type of button touched by the user. If it is an OK button, it will prompt the user with an audio signal that the current touch is an OK button, record the coordinate data of the user's touch position, and trigger the first judgment module 73. If it is a Cancel button, it will prompt the user with an audio signal that the current touch is a Cancel button, record the coordinate data of the user's touch position, and trigger the first judgment module 73. If it is a character key, it will prompt the user with an audio signal that the current operation is in the character area of the Braille keyboard, record the coordinate data of the user's touch position, and trigger the first judgment module 73.
[0173] In this embodiment, the second judgment prompt module 77 is used to determine the type of the key touched by the user. Specifically, the second judgment prompt module 77 determines whether the key value corresponding to the read coordinate data is consistent with the key value corresponding to the saved coordinate data. If so, the first judgment module 73 is triggered. Otherwise, the type of key value corresponding to the read coordinate data is determined according to the coordinate range of the keys on the blind keyboard.
[0174] Specifically, the second judgment and prompting module 77 records the coordinate data of the user's touch position, and the second judgment and prompting module 77 updates the saved coordinate data with the read coordinate data.
[0175] The second judgment setting module 78 is used to determine whether the user operation is a double-click. If it is, the state machine is set to move and the judgment processing module 79 is triggered. Otherwise, the first judgment module 73 is triggered.
[0176] Specifically, in this embodiment, the second determination setting module 78 includes:
[0177] The third judgment unit is used to determine whether the event flag is pressed. If it is, the fourth judgment unit is triggered; otherwise, the first judgment module 73 is triggered.
[0178] The fourth judgment unit is used to determine whether the event flag is a press after being released. If it is, the setting judgment unit is triggered; otherwise, the first judgment module 73 is triggered.
[0179] The judgment unit is set to set the state machine state to "movement" and trigger the judgment processing module 79.
[0180] Optionally, the second judgment module 78 in this embodiment further includes: a second judgment timeout unit, used to determine whether the waiting time is greater than the timeout time when the third judgment unit determines that it is not; if it is, an error is reported; otherwise, the first judgment module 73 is triggered.
[0181] The judgment and processing module 79 is used to determine the key type corresponding to the recorded coordinate data based on the coordinate range of the keys on the blind keyboard. If it is an confirmation key, it determines whether the length of the data in the password storage area meets the requirements. If it does, it completes the input operation through sound prompts and ends. If it is a cancel key, it cancels the input operation through sound prompts, clears the data in the password storage area, and ends. If it is a character key, it saves the character key value in the password storage area and triggers the first judgment module 73 through sound prompts of the character key value's sequence number in the password storage area.
[0182] In this embodiment, the judgment processing module 79 is also used to determine whether the saved coordinate data is within the coordinate range of the keys on the blind keyboard. If so, the key type corresponding to the saved coordinate data is determined according to the coordinate range of the keys on the blind keyboard; otherwise, the first judgment module 73 is triggered.
[0183] In this embodiment, the receiving prompt module 71 is also used to enable the interrupt of the touch chip;
[0184] Correspondingly, the apparatus in this embodiment also includes a cache generation module and an interrupt handling module;
[0185] The buffer generation module is used to generate an interrupt every preset time interval during the user's touch of the POS device screen, and update the data cached in the register with the coordinate data of the touch position and the valid data judgment bit, triggering the interrupt handling module;
[0186] Among them, if the POS device generates an interrupt for the first time, the buffer module is also used to directly cache the coordinate data of the touch position and the valid data judgment bit in the register, and start the counter.
[0187] The interrupt handling module is used to set the interrupt detection flag, determine whether the time difference between the current interrupt and the previous interrupt exceeds the maximum reporting rate time, initialize the counter and update the counter, then end; otherwise, update the counter and end.
[0188] The device in this embodiment further includes an event flag setting module, specifically including:
[0189] The fifth judgment unit is used to determine whether the interrupt detection flag is set. If it is, the reset judgment unit is triggered; otherwise, the first judgment setting unit is triggered.
[0190] The first judgment setting unit is used to determine whether the waiting time exceeds the first preset value. If it does, the event flag is set to be raised, triggering the fifth judgment unit; otherwise, the fifth judgment unit is triggered.
[0191] The reset judgment unit is used to reset the interrupt detection flag and determine whether the value of the counter is the initial value. If it is, the fifth judgment unit is triggered; otherwise, the read judgment unit is triggered.
[0192] The read judgment unit is used to read the valid data judgment bit in the register and determine whether the valid data judgment bit is valid. If it is valid, the sixth judgment unit is triggered; otherwise, the fifth judgment unit is triggered.
[0193] Optionally, the setting event flag module in this embodiment further includes a waiting delay unit, which is used to trigger the reading judgment unit after a preset delay when the reading judgment unit determines that it is not;
[0194] Specifically, the read judgment unit determines whether the valid data judgment bit is valid, including: the read judgment unit determines whether the first byte of data read from the register is the first preset data. If it is, the valid data judgment bit is valid; otherwise, the valid data judgment bit is invalid.
[0195] The sixth judgment unit is used to determine whether the user operation is a valid touch point. If it is, the seventh judgment unit is triggered; otherwise, the fifth judgment unit is triggered.
[0196] In this embodiment, the sixth judgment unit is specifically used to determine whether the user operation is a single-point touch. If it is, the seventh judgment unit is triggered; otherwise, the fifth judgment unit is triggered.
[0197] The seventh judgment unit is used to determine whether the value of the counter has reached the threshold. If it has, the first setting update unit is triggered; otherwise, the second setting update unit is triggered.
[0198] The first setting update unit is used to set the event flag to sliding, read the coordinate data in the register and use it to update the saved coordinate data, triggering the fifth judgment unit;
[0199] The second setting update unit is used to set the event flag to "pressed" to trigger the fifth judgment unit.
[0200] The method described in this embodiment is applicable to blind and visually impaired individuals. It uses different voice prompts for different operations to achieve secure input of information such as PIN codes, protect user privacy, and facilitate use.
[0201] Optionally, embodiments of this application also provide a POS device, which includes at least one processor, a memory, and instructions stored in the memory and executable by the at least one processor. The at least one processor executes the instructions to implement the blind input method described in the above embodiments. When the POS device is a chip system, it can be composed of chips or may include chips and other discrete devices; embodiments of this application do not specifically limit this. The chip is coupled to the memory and is used to execute the computer program stored in the memory to execute the blind input method disclosed in the above embodiments.
[0202] In the above embodiments, implementation can be achieved entirely or partially through software, hardware, firmware, or any combination thereof. When implemented using software programs, implementation can be entirely or partially in the form of a computer program product. This computer program product includes one or more computer programs. When the computer program is loaded and executed on the POS device, all or part of the processes or functions described in the embodiments of this application are generated. The computer program can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one base station, POS device, server, or data center to another via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium accessible to the POS device or a data storage device including one or more servers, data centers, etc., that can be integrated with the medium. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid-state disk (SSD)). In the embodiments of this application, the POS device may include the aforementioned apparatus.
[0203] Although this application has been described herein in conjunction with various embodiments, those skilled in the art, by reviewing the accompanying drawings, disclosure, and appended claims, will understand and implement other variations of the disclosed embodiments in carrying out the claimed application. In the claims, the word "comprising" does not exclude other components or steps, and "a" or "an" does not exclude multiple components. A single processor or other unit can implement several functions listed in the claims. While different dependent claims may recite certain measures, this does not mean that these measures cannot be combined to produce good results.
[0204] Although this application has been described in conjunction with specific features and embodiments, it is obvious that various modifications and combinations can be made thereto without departing from the spirit and scope of this application. Accordingly, this specification and drawings are merely exemplary illustrations of this application as defined by the appended claims, and are considered to cover any and all modifications, variations, combinations, or equivalents within the scope of this application. Clearly, those skilled in the art can make various alterations and modifications to this application without departing from the spirit and scope of this application. Thus, if such modifications and modifications of this application fall within the scope of the claims of this application and their equivalents, this application is also intended to include such modifications and modifications.
Claims
1. A method for implementing input for the blind, comprising: Step S1: When the POS device receives the blind input method selected by the merchant, it prompts the blind user to perform the input operation through sound. Step S2: The POS device initializes its state machine to the "moving" state. When a long press operation is detected, step S3 is executed. Step S3: The POS device determines the state of the state machine. If it is moving, step S4 is executed; if it is lifting, step S5 is executed; if it is pressing, step S8 is executed. Step S4: The POS device sets the state machine to "lifted" and returns to step S3; Step S5: The POS device determines whether the user's operation is lifting. If yes, the state machine state is set to pressed, and the process returns to step S3; otherwise, step S6 is executed. Step S6: The POS device determines whether the user's operation is within the Braille keyboard area. If yes, proceed to step S7; otherwise, provide an audio prompt that the current operation is outside the Braille keyboard area and return to step S3. Step S7: The POS device determines the type of button touched by the user. If it is an OK button, it will prompt the user with an audio signal that the button is OK, record the coordinate data of the user's touch position, and return to step S3. If it is a Cancel button, it will prompt the user with an audio signal that the button is Cancel, record the coordinate data of the user's touch position, and return to step S3. If it is a character key, it will prompt the user with an audio signal that the operation is in the character area of the Braille keyboard, record the coordinate data of the user's touch position, and return to step S3. Step S8: The POS device determines whether the user's operation is a double-click. If yes, the state machine is set to move and step S9 is executed; otherwise, it returns to step S3. Step S9: The POS device determines the key type corresponding to the recorded coordinate data based on the coordinate range of the keys on the blind keypad. If it is an OK key, it determines whether the length of the data in the password storage area meets the requirements. If it does, it completes the input operation through a sound prompt and ends. If it is a Cancel key, it cancels the input operation through a sound prompt, clears the data in the password storage area, and ends. If it is a character key, it saves the character key value in the password storage area and prompts the character key value's sequence number in the password storage area through a sound prompt, then returns to step S3.
2. The method for implementing input for the blind as described in claim 1, wherein the POS device comprises an application chip, a security chip, and a touch chip, and step S1 includes: Step S11: When the application chip receives the blind input method selected by the merchant, it sends a blind mode instruction containing the coordinate range of the keys on the blind keyboard to the security chip; Step S12: The security chip receives and parses the blind mode instruction, saves the coordinate range of the keys on the blind keyboard obtained from the parsing, and controls the switching circuit to switch the control mode of the input data of the touch chip from the application chip to the security chip. Step S13: The security chip provides voice prompts to the blind user to perform input operations through the application chip.
3. The method for implementing input for the blind as described in claim 2, wherein the method further includes the following step before step S11: When the POS device receives a message from the merchant that the application needs to be started, it prompts the merchant to select an input method. If the blind input method is selected, step S11 is executed; otherwise, the normal input process is entered.
4. The method for implementing input for the blind as described in claim 1, wherein the step S1 and the step S2 further include: The POS device enables the interrupt of the touch chip; The method further includes: during the process of the user touching the screen of the POS device, the POS device generates an interrupt every preset time interval, and updates the data cached in the register with the coordinate data of the touch position and the valid data judgment bit, and enters the interrupt handling process; The method further includes: activating a counter when the POS device first generates an interrupt; The interrupt handling process includes: Step A1: The POS device will interrupt the detection flag setting; Step A2: The POS device determines whether the time difference between the current interruption time and the previous interruption time exceeds the maximum reporting rate time. If yes, it initializes the counter, updates the counter, and exits the interrupt handling process; otherwise, it updates the counter and exits the interrupt handling process.
5. The method for implementing input for the blind as described in claim 4, wherein, It also includes the process of setting event flags, specifically including: Step B1: The POS device determines whether the interrupt detection flag is set. If yes, it executes step B3; otherwise, it executes step B2. Step B2: The POS device determines whether the waiting time exceeds the first preset value. If yes, it sets the event flag to "raise" and returns to step B1; otherwise, it returns to step B1. Step B3: The POS device resets the interrupt detection flag and determines whether the value of the counter is the initial value. If yes, it returns to step B1; otherwise, it executes step B4. Step B4: The POS device reads the valid data judgment bit in the register and determines whether the valid data judgment bit is valid. If it is, proceed to step B5; otherwise, return to step B1. Step B5: The POS device determines whether the user's operation is a valid touch point. If yes, proceed to step B6; otherwise, return to step B1. Step B6: The POS device determines whether the value of the counter has reached the threshold. If yes, proceed to step B7; otherwise, proceed to step B8. Step B7: The POS device sets the event flag to sliding, reads the coordinate data in the register and updates the saved coordinate data accordingly, then returns to step B1; Step B8: The POS device sets the event flag to pressed, then returns to step B1.
6. The method for implementing input for the blind as described in claim 5, wherein before determining whether to return to step B1 in step B4, the method further includes: After a preset delay, the POS device reads the valid data judgment bit in the register again to determine whether the valid data judgment bit is valid. If it is, step B5 is executed; otherwise, step B1 is returned.
7. The method for implementing input for the blind as described in claim 5 or 6, wherein determining whether the valid data determination bit is valid includes: The POS device determines whether the first byte of data read from the register is the first preset data. If it is, the valid data judgment bit is valid; otherwise, the valid data judgment bit is invalid.
8. The method for implementing input for the blind as described in claim 5, wherein step B5 includes: The POS device determines whether the user's operation is a single-point touch. If yes, it executes step B6; otherwise, it returns to step B1.
9. The method for implementing input for the blind as described in claim 5, wherein step S2 includes: The POS device initializes the state machine to the state of movement, and executes step S3 when the event flag is detected to be sliding.
10. The method for implementing input for the blind as described in claim 9, wherein the step S1 and the step S2 further include: Set the timeout period; In step S2, when the event flag is detected to be not sliding, the POS device further determines whether the waiting time is greater than the timeout time. If so, an error is reported; otherwise, the device continues to detect whether the event flag is sliding.
11. The method for implementing input for the blind as described in claim 1, wherein step S6 includes: Step S61: The POS device reads the coordinate data in the register and determines whether the read coordinate data is within the coordinate range of the keys on the blind keyboard. If yes, proceed to step S7; otherwise, proceed to step S62. Step S62: The POS device determines whether the key value corresponding to the read coordinate data is consistent with the key value corresponding to the saved coordinate data. If yes, it returns to step S3; otherwise, it executes step S63. Step S63: The POS device provides an audio prompt that the current operation is outside the blind keyboard area, and returns to step S3; The POS device in step S7 determines the type of key touched by the user, including: the POS device determines whether the key value corresponding to the read coordinate data is consistent with the key value corresponding to the saved coordinate data. If yes, it returns to step S3; otherwise, it determines the type of key value corresponding to the read coordinate data based on the coordinate range of the keys on the blind keyboard. The process of recording the coordinate data of the user's touch position specifically involves updating the saved coordinate data with the read coordinate data.
12. The method for implementing input for the blind as described in claim 5, wherein step S5 includes: Step S51: The POS device determines whether the event flag is raised. If yes, proceed to step S52; otherwise, proceed to step S6. Step S52: The POS device sets the state machine to pressed, and returns to step S3.
13. The method for implementing input for the blind as described in claim 5, wherein step S8 includes: Step S81: The POS device determines whether the event flag is pressed. If yes, proceed to step S82; otherwise, return to step S3. Step S82: The POS device determines whether the event flag is a press after being released. If yes, proceed to step S83; otherwise, return to step S3. Step S83: The POS device sets the state machine to "moving" and executes step S9.
14. The method for implementing input for the blind as described in claim 13, wherein the step S1 and the step S2 further include: Set the timeout period; Before step S81 determines whether to return to step S3, the process further includes: the POS device determining whether the waiting time is greater than the timeout period; if so, an error is reported; otherwise, it returns to step S3.
15. The method for implementing input for the blind as described in claim 11, wherein the method further comprises, before step S9: The POS device determines whether the saved coordinate data is within the coordinate range of the keys on the blind keyboard. If yes, it executes step S9; otherwise, it returns to step S3.
16. A device for enabling input for the blind, comprising: At least one processor, a memory, and instructions stored in the memory and executable by the at least one processor, wherein the at least one processor executes the instructions to perform the following steps: Step S1: When the POS device receives the blind input method selected by the merchant, it prompts the blind user to perform the input operation through sound. Step S2: The POS device initializes its state machine to the "moving" state. When a long press operation is detected, step S3 is executed. Step S3: The POS device determines the state of the state machine. If it is moving, step S4 is executed; if it is lifting, step S5 is executed; if it is pressing, step S8 is executed. Step S4: The POS device sets the state machine to "lifted" and returns to step S3; Step S5: The POS device determines whether the user's operation is lifting. If yes, the state machine state is set to pressed, and the process returns to step S3; otherwise, step S6 is executed. Step S6: The POS device determines whether the user's operation is within the Braille keyboard area. If yes, proceed to step S7; otherwise, provide an audio prompt that the current operation is outside the Braille keyboard area and return to step S3. Step S7: The POS device determines the type of button touched by the user. If it is an OK button, it will prompt the user with an audio signal that the button is OK, record the coordinate data of the user's touch position, and return to step S3. If it is a Cancel button, it will prompt the user with an audio signal that the button is Cancel, record the coordinate data of the user's touch position, and return to step S3. If it is a character key, it will prompt the user with an audio signal that the operation is in the character area of the Braille keyboard, record the coordinate data of the user's touch position, and return to step S3. Step S8: The POS device determines whether the user's operation is a double-click. If yes, the state machine is set to move and step S9 is executed; otherwise, it returns to step S3. Step S9: The POS device determines the key type corresponding to the recorded coordinate data based on the coordinate range of the keys on the blind keypad. If it is an OK key, it determines whether the length of the data in the password storage area meets the requirements. If it does, it completes the input operation through a sound prompt and ends. If it is a Cancel key, it cancels the input operation through a sound prompt, clears the data in the password storage area, and ends. If it is a character key, it saves the character key value in the password storage area and prompts the character key value's sequence number in the password storage area through a sound prompt, then returns to step S3.
17. A POS device, wherein the POS device includes at least one processor, a memory, and instructions stored in the memory and executable by the at least one processor, the at least one processor executing the instructions to implement the blind input implementation method according to any one of claims 1 to 15.
18. A computer-readable storage medium comprising a computer program that, when executed on a POS device, causes the POS device to perform the blind input implementation method as described in any one of claims 1 to 15.
19. A chip system comprising a chip coupled to a memory for executing a computer program stored in the memory to perform the blind input implementation method according to any one of claims 1 to 15.
Citation Information
Patent Citations
Dynamic token with log function and working method thereof
CN104394145A
Password input method and terminal device
CN111580737A
Multi-touch data input method and device, point-of-sale terminal and storage medium
CN114489374A
Method and device for assisting visual impaired object in inputting and electronic equipment
CN117930993A
Blind person input implementation method and device
CN118466893A