A method and device for assisting visually impaired people to participate in a board game
By setting accessibility focus and voice broadcasting technology for board game applications, the challenges of visually impaired users participating in card games have been solved, enabling them to participate and communicate effectively.
Patent Information
- Application Number
- CN202310095207.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-01-17
- Publication Date
- 2025-12-12
- Estimated Expiration
- 2043-01-17
AI Technical Summary
Visually impaired users have difficulty participating in popular card games due to their visual impairments, which makes it difficult for them to have entertainment and communication with ordinary users. Existing technologies are insufficient to enable visually impaired users to participate effectively in card games.
By setting accessibility focus for the interface elements of the board game application and receiving user gesture commands for voice broadcast, the interaction of interface elements and the advancement of the game flow are realized, providing voice prompts and feedback to support the participation of visually impaired users in the game.
This enables visually impaired users to participate in board games through voice and interface elements, enriching their entertainment life and promoting communication with ordinary users.
Smart Images

Figure CN116212358B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] Embodiments of the present application relate to the technical field of electronic devices, and in particular to a method for assisting visually impaired people to participate in table games and a device thereof. BACKGROUND
[0002] Card games are increasingly popular and have become a new favorite of many social activities, and even spawned many economic forms. In the prior art, visually impaired users are limited in participating in entertainment activities due to visual defects. Common popular games including cards are difficult to participate in. Some games popular in the visually impaired user community often rely on hearing or other senses, and it is difficult to break out of the circle and be accepted and loved by more people. This makes it difficult for visually impaired users and ordinary users to communicate and have fun. Similarly, many games that are loved by ordinary players cannot be participated in by visually impaired users. SUMMARY
[0003] The purpose of the embodiments of the present application is to provide a method for assisting visually impaired people to participate in table games and a device thereof, which can facilitate visually impaired users to participate in current popular card game activities, thereby enriching the entertainment life of visually impaired user groups and helping visually impaired users to better integrate into society.
[0004] To solve the above technical problems, the embodiments of the present application adopt the following technical solutions:
[0005] In a first aspect, the embodiments of the present application provide a method for assisting visually impaired people to participate in table games, applied to an electronic device, the method comprising:
[0006] setting a corresponding accessibility focus for an interface element of a table game application, wherein the interface element includes a current game state and operation instructions;
[0007] receiving a first gesture operation instruction of a user on the accessibility focus, and performing voice broadcast on the description information of the accessibility focus;
[0008] if the interface element includes an interactive element, and if a second gesture operation instruction of a user on the accessibility focus corresponding to the interactive element is received within a preset time period, then feeding back the second gesture operation instruction, obtaining a feedback result, and advancing the game process according to different feedback results, switching the interface or changing the current interface element;
[0009] voice broadcasting the interface switched or the current interface element changed in the advancing of the game process.
[0010] In some embodiments, the switching of the interface or the change of the current interface element includes interface switching or current interface element change caused by game segment switching.
[0011] In some embodiments, after the receiving the first gesture operation instruction of the user on the accessibility focus, the method further comprises:
[0012] If the sound playing mode of the electronic device is detected as the speaker mode, playing first prompt voice information based on the speaker mode to prompt the user to insert an earphone or convert to a receiver mode according to the environment;
[0013] The voice broadcast comprises:
[0014] If the sound playing mode of the electronic device is detected as the receiver mode or the earphone insertion mode, performing voice broadcast based on the receiver mode or the earphone insertion mode.
[0015] In some embodiments, after the receiving the first gesture operation instruction of the user on the accessibility focus, the method further comprises:
[0016] Based on the second gesture operation instruction, determining whether the first current interface changes according to the game link of the board game application;
[0017] If the first current interface changes, performing voice broadcast on the description information of the accessibility focus of the changed first current interface, and refreshing the accessibility focus of the first current interface.
[0018] In some embodiments, after the receiving the first gesture operation instruction of the user on the accessibility focus, the method further comprises:
[0019] If the first current interface does not change, determining whether the interactive element of the unchanged first current interface changes;
[0020] If the interactive element changes, performing voice broadcast on the description information of the accessibility focus of the changed interactive element, and refreshing the accessibility focus of the first current interface.
[0021] In some embodiments, the feedback on the second gesture operation instruction to obtain a feedback result comprises:
[0022] If the feedback result is to restrict the execution of the second gesture operation instruction, playing second prompt voice information to prompt the user that the operation fails and the reason for the operation failure.
[0023] In some embodiments, the method further comprises:
[0024] In the current game session, if no second gesture operation instruction of the user on the accessibility focus is received within a preset time length, third prompt voice information is played to prompt the user that the operation is timed out.
[0025] In some embodiments, the method further includes:
[0026] When the current game session is in a player communication state, a dialog box is output on a second current interface; the dialog box includes an information area and an input area, the information area includes a player name and player information, the input area includes an input template and a text edit box, and the player name and player information, the input template and the text edit box are respectively set with a first assistive function focus;
[0027] If a third finger operation instruction of the user on the first assistive function focus of the input template is received, a plurality of text templates are output, and the text templates carry corresponding text information;
[0028] When a selection operation instruction of the user on the text template is received, the text information is filled into the text edit box;
[0029] When a sending operation instruction of the user on the first assistive function focus corresponding to the edited text edit box is received, the text template is sent to the information area.
[0030] In some embodiments, the method further includes:
[0031] When the current game session is in a player communication state and a game environment in which the player is located is isolated, the dialog box further includes a voice call button, and the voice call button is set with a second assistive function focus;
[0032] When a voice request operation instruction of the user on the second assistive function focus is received, if there is a player who meets a current session rule, a voice call mode is established, so that the player who meets the current session rule can join the current voice session for communication.
[0033] In a second aspect, the application further provides a device for assisting visually impaired people to participate in a table game, applied to an electronic device, the device comprising:
[0034] A setting module is configured to set a corresponding accessibility focus for interface elements of a table game application, wherein the interface elements include a current game state and operation instructions;
[0035] A first voice broadcast module is configured to receive a first gesture operation instruction of the user on the accessibility focus, and broadcast description information of the accessibility focus by voice;
[0036] a feedback module, configured to, if the interface element comprises an interactive element, and if a second gesture operation instruction of a user on the accessibility focus corresponding to the interactive element is received within a preset time length, feed back the second gesture operation instruction, obtain a feedback result, and advance the game flow, switch the interface, or change the current interface element according to different feedback results;
[0037] a second voice broadcast module, configured to broadcast a voice for the advancement of the game flow, the switching of the interface, or the change of the current interface element.
[0038] In a third aspect, the present application also provides an electronic device, which comprises:
[0039] at least one processor, and
[0040] a memory, which is in communication connection with the processor, and which stores instructions executable by the at least one processor, wherein the instructions are executed by the at least one processor to implement the steps of the method for assisting the visually impaired to participate in a table game according to the first aspect.
[0041] In a fourth aspect, the present application also provides a nonvolatile computer readable storage medium, which stores computer executable instructions, and when the computer executable instructions are executed by an electronic device, the steps of the method for assisting the visually impaired to participate in a table game according to the first aspect are implemented.
[0042] The method and device for assisting the visually impaired to participate in a table game provided by the embodiments of the present application have the following beneficial effects: Different from the prior art, the electronic device sets an accessibility focus corresponding to the interface element of the table game application program, so that the visually impaired user can obtain information corresponding to the interface element, wherein the interface element comprises a current game state and operation instructions, so that the visually impaired user can obtain information about the current state of the table game application program and operation instructions; when the visually impaired user performs a gesture operation on the accessibility focus, the electronic device receives a first gesture operation instruction of the user, and broadcasts a voice for the description information of the accessibility focus, so that the visually impaired user can obtain corresponding voice prompts when operating the interface element; if the interface element comprises an interactive element, and if a second gesture operation instruction of the user on the accessibility focus corresponding to the interactive element is received within a preset time length, feedback is performed to obtain a feedback result, and the feedback in the interactive process is also given to the user by switching the interface, changing the interface element, and broadcasting a voice, so that the visually impaired user can participate in the table game. BRIEF DESCRIPTION OF DRAWINGS
[0043] One or more embodiments are illustrated by way of example in the drawings and described herein in connection with the appended drawings, which are not necessarily drawn to scale, wherein like references numerals refer to like elements, and in which:
[0044] Figure 1 is a schematic diagram of the present application in which multiple players participate in a table game using a smart terminal;
[0045] Figure 2 is a flowchart of one embodiment of the method of the present application for assisting visually impaired people to participate in a table game;
[0046] Figure 3 is a structural diagram of one embodiment of the device of the present application for assisting visually impaired people to participate in a table game;
[0047] Figure 4 is a hardware structure diagram of the controller in one embodiment of the electronic device of the present application. DETAILED DESCRIPTION
[0048] The present application will be described in detail below with specific embodiments. The following embodiments will help those skilled in the art to further understand the present application, but do not limit the present application in any form. It should be noted that for those skilled in the art, without departing from the concept of the present application, a number of modifications and improvements can be made. These are within the scope of the present application.
[0049] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in combination with the drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and do not limit the present application.
[0050] It should be noted that if there is no conflict, each feature in the embodiments of the present application can be combined with each other, and all within the scope of the present application. In addition, although the functional modules are divided in the device schematic diagram, and the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in a different order than the modules in the device or the order in the flowchart. In addition, the "first", "second", "third" and the like used herein do not limit the data and execution order, but only distinguish the same items or similar items with basically the same function and effect.
[0051] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used in the description herein is for describing particular embodiments only and is not intended to be limiting of the application. The term "and / or" includes any and all combinations of one or more of the associated listed items.
[0052] Furthermore, the technical features involved in each embodiment of the application described below can be combined with each other as long as there is no conflict.
[0053] The method and device for assisting visually impaired people to participate in table games provided by the embodiments of the application can be applied to electronic devices. The electronic device of the application can be a smart phone, a tablet computer, or other electronic devices with a touch display screen. A table game application is installed in the electronic device for users to use the table game application for entertainment. The table game includes chess, cards, and puzzle games. The table game application of the application mainly includes card games.
[0054] In addition, the electronic device is also installed with a screen reader application. After the visually impaired user starts the screen reader application in the electronic device, the screen reader is used to browse and operate the information displayed on the display screen of the electronic device.
[0055] As shown in Figure 1 The method for assisting visually impaired people to participate in table games of the application is applied to an electronic device. Both visually impaired users and ordinary users can be players in the method. The table game can be participated in by multiple players, and each player can operate a smart phone. Therefore, multiple smart phones can be included. Each smart phone is installed with a table game application. Each player logs in his / her account to participate in the game, thereby realizing the participation of visually impaired users and the participation of visually impaired users and ordinary users. Not only can the entertainment life of visually impaired people be enriched, but also the visually impaired users can better integrate into the society and gain more happiness and friendship.
[0056] Please refer to Figure 2 , Figure 2 The method can be executed by a controller in an electronic device 100. The method includes steps S201-S204.
[0057] S201: Setting a corresponding accessibility focus for an interface element of a table game application, wherein the interface element includes a current game state and operation instructions.
[0058] In the table game application, the displayed interface elements usually include menus, cards, instruction areas, function areas, and the like. The respective interface elements set corresponding accessibility focus, which is convenient for the visually impaired users to obtain relevant information by using accessibility gestures to touch after the screen reader is turned on.
[0059] The interface elements include the current game state and operation instructions, which are convenient for the visually impaired users and ordinary users to obtain the game state in which they are in the table game application, and the operation instructions are convenient for the users to view, so as to obtain the rules and the like of each game link.
[0060] S202: receiving a first gesture operation instruction of a user on the accessibility focus, and performing voice broadcast on the description information of the accessibility focus.
[0061] In some embodiments, after the receiving of the first gesture operation instruction of the user on the accessibility focus, the method further includes:
[0062] When it is detected that the sound playing mode of the electronic device is the speaker mode, first prompt voice information is played based on the speaker mode, to prompt the user to insert an earphone into the electronic device or convert the electronic device into a receiver mode according to the environment.
[0063] The voice broadcast includes:
[0064] When it is detected that the sound playing mode of the electronic device is the receiver mode or the earphone insertion mode, the voice broadcast is performed based on the receiver mode or the earphone insertion mode.
[0065] Specifically, the first gesture operation can be a single-finger touch or a single-finger swipe of the user, and the first gesture operation instruction is an instruction triggered by the single-finger touch or the single-finger swipe of the user. When the user performs the first gesture operation on the accessibility focus, the electronic device performs voice broadcast on the description information of the accessibility focus by means of the screen reader, so as to facilitate the visually impaired user to browse the description information of the accessibility focus.
[0066] And, due to the characteristics of card-based table games, if it is an online and offline combination, such as multiple players meeting in a live scene and using their own smart phones to participate in the game, part of the information should only be known to the current player and not obtained by other players. In the offline game scene, using a loudspeaker to broadcast the game information will cause the game information to be leaked. Therefore, when it is detected that the sound playing mode of the electronic device is a loudspeaker mode, first prompt voice information is played based on the loudspeaker mode. The first prompt voice information is used to prompt the user to insert an earphone or convert to a handset mode according to the environment to prevent the game information from being leaked. Therefore, the voice broadcast of the present application is based on the handset mode or the earphone insertion mode for voice broadcast when it is detected that the sound playing mode of the electronic device is the handset mode or the earphone insertion mode, thereby avoiding information leakage caused by direct loudspeaker playing.
[0067] Of course, it can also be a pure online way, such as multiple players logging in to a table game application and not meeting each other. Even if the visually impaired user uses the loudspeaker mode to play the voice during the game process, there is no risk of game information leakage. Therefore, the form of voice broadcast can not be limited.
[0068] S203: If the interface element includes an interactive element, and if a second gesture operation instruction of a user on the accessibility focus corresponding to the interactive element is received within a preset time length, the second gesture operation instruction is fed back, a feedback result is obtained, and the game process is promoted according to different feedback results, the interface is switched or the current interface element is changed.
[0069] Specifically, the interactive element refers to an element that the current user player can interact with other players, such as the voting function commonly used in card-based games. When voting for the number of cards, the selectable card number displayed on the interface element is the interactive element. In the game link of the table game, in order to promote the game process, the time length of each game link is usually set, such as the voting link, and the preset time length for player operation is not less than 20 seconds. Taking the preset time length of 20 seconds as an example, if a second gesture operation instruction of a user on the accessibility focus corresponding to the interactive element (the voting state of the card number) is received within the preset time length of 20 seconds, the second gesture operation can be a single-finger double-click gesture. When the visually impaired user touches the number of cards that he wants to vote for with a single finger, the number of cards that the user touches with a single finger is played based on the handset mode or the earphone mode voice. When the user performs a single-finger double-click gesture operation on the number of cards, the second gesture operation instruction (single-finger double-click gesture operation) is fed back, a feedback result is obtained, the feedback result can be that the number of cards is voted and the game process after the voting is successful is fed back, thereby promoting the game process according to the feedback result, such as completing the voting and entering the next interface, or changing the current interface element, for example, the interface element is switched from unselected to selected.
[0070] It can be understood that according to the game link, there are different interactive elements, and the interface element corresponding to the voting link is only one of the interactive elements, and because of the interactive elements of different game links, different feedback results will be generated when the user performs the accessibility focus operation on the interactive element, and the electronic device advances the game process according to the different feedback results, switches the interface or changes the current interface element.
[0071] Correspondingly, in the current game link, if the second gesture operation instruction of the user on the accessibility focus is not received within a preset time length, third prompt voice information is played to prompt the user that the operation is timed out. For example, the preset time length is 20 seconds, in the voting link, the user does not perform the second gesture operation of voting within 20 seconds, and the third prompt voice information is played based on the earpiece mode or the earphone insertion mode to prompt the user that the operation is timed out.
[0072] In some embodiments, the switching of the interface or the change of the current interface element includes interface switching or current interface element change caused by game link switching. For example, when the dealing link is switched to the communication link, the interface is switched or the current interface element is changed.
[0073] In some embodiments, after the second gesture operation instruction of the user on the accessibility focus corresponding to the interactive element is received within the preset time length, the method further includes:
[0074] determining whether the first current interface changes according to the game link of the table game application based on the second gesture operation instruction;
[0075] if the first current interface changes, the description information of the accessibility focus of the changed first current interface is played by voice, and the accessibility focus of the first current interface is refreshed.
[0076] Specifically, if the second gesture operation instruction of the user on the accessibility focus corresponding to the interactive element is received within the preset time length, it is judged whether the first current interface changes according to the game link of the table game application based on the second gesture operation instruction, that is, when the user operates the interactive element, the game link judges whether the current interface changes. Different game links will display different interface elements; if the first current interface changes, the description information of the accessibility focus of the changed first current interface is audibly broadcasted, and the accessibility focus of the first current interface is refreshed. When the interface changes, the changed interface is audibly broadcasted, so that the visually impaired user knows that the interface has changed, and the accessibility focus of the first current interface is refreshed.
[0077] In some embodiments, after judging whether the first current interface changes according to the game link of the table game application based on the second gesture operation instruction, the method further comprises:
[0078] If the first current interface does not change, it is judged whether the interactive element of the unchanged first current interface changes.
[0079] If the interactive element changes, the description information of the accessibility focus of the changed interactive element is audibly broadcasted, and the accessibility focus of the first current interface is refreshed.
[0080] Specifically, after judging whether the first current interface changes according to the game link of the table game application based on the second gesture operation instruction, if the first current interface does not change, it is judged whether the interactive element of the unchanged first current interface changes, that is, if the first current interface is switched, it is judged whether the interactive element under the first current interface changes. If the interactive element of the first current interface changes, the same is audibly broadcasted, and the audibly broadcasted is based on the earpiece mode or the earphone insertion mode, so that the visually impaired user knows that the interactive element of the first current interface has changed, and the accessibility focus of the first current interface is refreshed.
[0081] In some embodiments, the feedback on the second gesture operation instruction to obtain a feedback result comprises:
[0082] If the feedback result is to limit the execution of the second gesture operation instruction, a second prompt voice information is played to prompt the user that the operation fails and the reason for the operation failure.
[0083] Specifically, if the second gesture operation instruction of the user on the accessibility focus corresponding to the interactable element is received within a preset time length, the electronic device plays a second prompt voice information when feeding back the second gesture operation instruction, prompting the user that the operation fails and the reason for the operation failure. Therefore, the electronic device can play the second prompt voice information when the user makes a mistake in operation, and the user can re-operate after clicking the confirmation.
[0084] S204: voice broadcast of the game progress, the switched interface, or the changed current interface element.
[0085] Specifically, the electronic device voice broadcasts the game progress, the switched interface, or the changed current interface element. Optionally, the voice broadcast is based on the earpiece mode or the earphone insertion mode, so that the visually impaired user knows the game progress, the interface switching, or the element change.
[0086] In the embodiments of the present application, the electronic device sets the accessibility focus corresponding to the interface element of the tabletop game application, so that the visually impaired user can obtain the information corresponding to the interface element, wherein the interface element includes the current game state and operation instructions, thereby realizing the information acquisition of the visually impaired user on the current state and operation instructions of the tabletop game application. When the visually impaired user performs gesture operation on the accessibility focus, the electronic device receives the first gesture operation instruction of the user, and voice broadcasts the description information of the accessibility focus, so that the visually impaired user obtains the corresponding voice prompt when operating the interface element. If the interface element includes an interactable element, and if the second gesture operation instruction of the user on the accessibility focus corresponding to the interactable element is received within a preset time length, the feedback result is obtained by feeding back, and the feedback in the interaction process is also given to the user by switching the interface, changing the interface element, and voice broadcasting, so that the visually impaired user can participate in the tabletop game.
[0087] In some embodiments, the method further includes:
[0088] When the current game session is in the player communication state, a dialog box is output on the second current interface; the dialog box includes an information area and an input area, the information area includes a player name and player information, the input area includes an input template and a text editing box, and the player name and player information, the input template, and the text editing box are respectively set with a first auxiliary function focus;
[0089] If a third finger operation instruction of the user on the first auxiliary function focus of the input template is received, a plurality of text templates are output, and the text templates carry corresponding text information;
[0090] filling the text information into the text edit box upon receiving a selection operation instruction of the user on the text template;
[0091] sending the text template to the information area upon receiving a sending operation instruction of the user on the first auxiliary function focus corresponding to the edited text edit box.
[0092] Specifically, the card-based table game provides a communication mode between players. When the current game session is in a player communication state, such as an open player communication state, if it is an offline environment, a visually impaired user can communicate with other players by means of text. When communicating by means of text, a dialog box is output on a second current interface, the dialog box includes an information area and an input area, the information area includes a player name and player information, the input area includes an input template and a text edit box, and the player name and player information, the input template and the text edit box are respectively provided with a first auxiliary function focus. That is, in the information area, the player name and the player information can be touched by means of single-finger touch. Since the first auxiliary function focus is provided, the name and the player information of other players can be obtained by means of a screen reader, and the messages can also be browsed by sweeping. In the input area, the input template can be selected, such as different game sessions with different input templates, or self-edited text. The visually impaired user can use a single-finger touch gesture to obtain the input template content and use a single-finger sweeping gesture to switch between the input templates.
[0093] The visually impaired user can switch between the selectable input templates by means of single-finger up-and-down sweeping. Each time the switching is performed, the text information of the switched input template is read by means of a screen reader, so that the visually impaired user knows the information. When the user receives a selection operation instruction on the text template, the text information is filled into the text edit box. That is, when the user determines the desired text template, the text template is selected, and the selection operation instruction can be triggered by means of a single-finger double-click gesture, so as to fill the text information into the text edit box.
[0094] When the user finishes editing, a sending button auxiliary function focus is provided, and the visually impaired user can send the message by means of single-finger double-clicking the focus. The electronic device sends the text template to the information area upon receiving a sending operation instruction of the user on the first auxiliary function focus corresponding to the edited text edit box, so as to complete the communication between the visually impaired user and other players.
[0095] In some embodiments, the method further includes:
[0096] When the current game session is in a player communication state and the game environment in which the player is located is isolated, the dialog box further comprises a voice call button, and the voice call button is correspondingly provided with a second auxiliary function focus;
[0097] When a voice request operation instruction of a user for the second auxiliary function focus is received, a voice call mode is established if there is a player who meets the current session rule. The player who meets the current session rule can join the current voice session for communication. In addition, the interface can also provide mute and exit auxiliary function focus, and the visually impaired user can perform corresponding operations through double-click operation.
[0098] The embodiment of the application further provides a device for assisting the visually impaired to participate in a table game, please refer to Figure 3 which shows the structure of a device for assisting the visually impaired to participate in a table game provided by the embodiment of the application. The device 300 for assisting the visually impaired to participate in a table game comprises:
[0099] The setting module 301 is configured to set a corresponding accessibility focus for the interface elements of the table game application, wherein the interface elements comprise a current game state and operation instructions.
[0100] The first voice broadcast module 302 is configured to receive a first gesture operation instruction of a user for the accessibility focus, and broadcast the description information of the accessibility focus by voice.
[0101] The feedback module 303 is configured to, if the interface elements comprise interactive elements, and if a second gesture operation instruction of a user for the accessibility focus corresponding to the interactive elements is received within a preset time length, feed back the second gesture operation instruction, obtain a feedback result, and advance the game process, switch the interface or change the current interface elements according to different feedback results.
[0102] The second voice broadcast module 304 is configured to broadcast the advancement of the game process, the switched interface or the changed current interface elements by voice.
[0103] In the embodiments of the present application, the electronic device sets a corresponding accessibility focus for an interface element of a table game application, so as to facilitate a visually impaired user to obtain information corresponding to the interface element, wherein the interface element includes a current game state and operation instructions, thereby realizing information acquisition of the visually impaired user on the current state and operation instructions of the table game application; when the visually impaired user performs a gesture operation on the accessibility focus, the electronic device receives a first gesture operation instruction of the user and performs voice broadcast on the description information of the accessibility focus, so that the visually impaired user obtains corresponding voice prompts when operating the interface element; if the interface element includes an interactive element, and if a second gesture operation instruction of the user on the accessibility focus corresponding to the interactive element is received within a preset time length, a feedback result is obtained through feedback, and the feedback in the interaction process is also provided to the user through switching of an interface, change of an interface element and voice broadcast, so that the visually impaired user can participate in the table game.
[0104] In some embodiments, the switching of the interface or the change of the current interface element includes interface switching or current interface element change caused by game stage switching.
[0105] In some embodiments, the apparatus 300 further includes a detection module 305 configured to:
[0106] If it is detected that the sound playing mode of the electronic device is a loudspeaker mode, first prompt voice information is played based on the loudspeaker mode, so as to prompt the user to insert an earphone or convert to a receiver mode according to the environment.
[0107] The first voice broadcast module 302 or the second voice broadcast module 304 is further configured to:
[0108] If it is detected that the sound playing mode of the electronic device is a receiver mode or an earphone insertion mode, voice broadcast is performed based on the receiver mode or the earphone insertion mode.
[0109] In some embodiments, the apparatus 300 further includes a first refreshing module 306 configured to:
[0110] Based on the second gesture operation instruction, it is determined whether the first current interface changes according to the game stage of the table game application;
[0111] If the first current interface changes, the description information of the accessibility focus of the changed first current interface is broadcasted by voice, and the accessibility focus of the first current interface is refreshed.
[0112] In some embodiments, the apparatus 300 further includes a second refreshing module 307 configured to:
[0113] If the first current interface does not change, it is determined whether an interactive element of the unchanged first current interface changes;
[0114] If the interactive element changes, description information of an accessibility focus of the changed interactive element is voice broadcasted, and the accessibility focus of the first current interface is refreshed.
[0115] In some embodiments, the feedback module 303 is further configured to:
[0116] If the feedback result is to limit execution of the second gesture operation instruction, second prompt voice information is played to prompt the user that the operation fails and the reason for the operation failure.
[0117] In some embodiments, the device 300 further comprises a timeout prompt module 308 configured to:
[0118] If no second gesture operation instruction of the accessibility focus of the user is received within a preset time length in the current game session, third prompt voice information is played to prompt the user that the operation times out.
[0119] In some embodiments, the device 300 further comprises a first communication module 309 configured to:
[0120] When the current game session is in a player communication state, a dialog box is output in a second current interface; the dialog box comprises an information area and an input area, the information area comprises a player name and player information, the input area comprises an input template and a text editing box, and the player name and player information, the input template and the text editing box are respectively correspondingly provided with a first auxiliary function focus;
[0121] If a third finger operation instruction of the first auxiliary function focus of the input template of the user is received, a plurality of text templates are output, and the text templates carry corresponding text information;
[0122] When a selection operation instruction of the text template of the user is received, the text information is filled into the text editing box;
[0123] When a sending operation instruction of the first auxiliary function focus corresponding to the edited text editing box of the user is received, the text template is sent to the information area.
[0124] In some embodiments, the device 300 further comprises a second communication module 310 configured to:
[0125] When the current game session is in a player communication state and a game environment in which the player is located is isolated, the dialog box further comprises a voice call button, and the voice call button is correspondingly provided with a second auxiliary function focus;
[0126] When a user receives a voice request operation command for the second accessibility function focus, if there is a player who meets the current session rules, a voice call mode is established, so that players who meet the current session entry rules can join the current voice session to communicate.
[0127] It should be noted that the above-described apparatus can execute the method provided in the embodiments of this application, and has the corresponding functional modules and beneficial effects for executing the method. Technical details not described in detail in the apparatus embodiments can be found in the method provided in the embodiments of this application.
[0128] Figure 4 A schematic diagram of the hardware structure of the controller of electronic device 100 in one embodiment of the electronic device is shown below. Figure 4 As shown, the controller includes:
[0129] One or more processors 111 and memory 112. Figure 4 The example uses a processor 111 and a memory 112.
[0130] Processor 111 and memory 112 can be connected via a bus or other means. Figure 4 Taking the example of a connection between China and Israel via a bus.
[0131] Memory 112, as a non-volatile computer-readable storage medium, can be used to store non-volatile software programs, non-volatile computer-executable programs, and modules, such as the program instructions / modules corresponding to the method for assisting visually impaired people to participate in board games in the embodiments of this application (e.g., attached...). Figure 3 The components shown are: setting module 301, first voice broadcast module 302, feedback module 303, second voice broadcast module 304, detection module 305, first refresh module 306, second refresh module 307, timeout prompt module 308, first communication module 309, and second communication module 310. The processor 111 executes various functional applications and data processing of the controller by running non-volatile software programs, instructions, and modules stored in the memory 112, thereby implementing the method described in the above embodiment for assisting visually impaired individuals in participating in board games.
[0132] The memory 112 can include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application required by a function, and the data storage area can store data created according to the use of the personnel access detection device and the like. In addition, the memory 112 can include a high-speed random access memory, and can also include a non-volatile memory such as at least one magnetic disk storage device, a flash memory device, or other non-volatile solid-state memory device. In some embodiments, the memory 112 can optionally include a memory disposed remotely with respect to the processor 111, and these remote memories can be connected to the electronic device through a network. Examples of the above network include but are not limited to the Internet, a wide area network, a local area network, and combinations thereof.
[0133] The one or more modules are stored in the memory 112, and when executed by the one or more processors 111, perform the method of assisting the visually impaired to participate in the table game in any of the above method embodiments, for example, perform the method steps S201 to S204 in the above description Figure 2 , and realize the functions of the modules 301-310 in Figure 3 .
[0134] The above product can perform the method provided by the embodiments of the present application, and has the corresponding function modules and beneficial effects of performing the method. Technical details not described in detail in the embodiments can be referred to the method provided by the embodiments of the present application.
[0135] The embodiments of the present application provide a non-volatile computer readable storage medium, the computer readable storage medium stores computer executable instructions, the computer executable instructions are executed by one or more processors, for example, one processor 111 in Figure 4 , so that the above one or more processors can perform the method of assisting the visually impaired to participate in the table game in any of the above method embodiments, for example, perform the method steps S201 to S204 in the above description Figure 2 , and realize the functions of the modules 301-310 in Figure 3 .
[0136] The above described device embodiments are only schematic, wherein the units described as separate components can or can not be physically separate, and the components displayed as units can or can not be physical units, that is, can be located in one place, or can be distributed on multiple network units. According to actual needs, part or all of the modules can be selected to achieve the purpose of the embodiments of the present application.
[0137] Those skilled in the art can clearly understand the implementation of the embodiments by the foregoing description of the embodiments, and the embodiments can be implemented by means of software plus a general hardware platform, or by hardware. Those skilled in the art can understand that all or part of the processes in the above-described embodiments can be completed by a computer program instructing related hardware, and the program can be stored in a computer readable storage medium. When the program is executed, the program can include the processes of the above-described embodiments. The storage medium can be a magnetic disc, an optical disc, a read-only memory (ROM), a random access memory (RAM), or the like.
[0138] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, and are not limited thereto. Under the idea of the present application, the technical features of the above embodiments or different embodiments can be combined, the steps can be implemented in any order, and there are many other changes of different aspects of the present application as described above. In order to be brief, they are not provided in detail. Although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that the technical solutions recorded in the foregoing embodiments can be modified, or some technical features can be replaced by equivalents. The modification or replacement does not make the essence of the corresponding technical solution deviate from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A method for assisting visually impaired individuals in participating in board games, characterized in that, Applied to electronic devices, the method includes: Set accessibility focus for the interface elements of the board game application, wherein the interface elements include the current game state and operation instructions; Upon receiving a user's first gesture command for the accessibility focus, the system will provide a voice reading of the description information of the accessibility focus. If the interface elements include interactive elements, and if a second gesture operation instruction from the user is received on the accessibility focus corresponding to the interactive element within a preset time period, then the second gesture operation instruction is fed back, a feedback result is obtained, and the game process is advanced according to different feedback results, switching the interface or changing the current interface elements. The game progresses, and the interface switches or the current interface elements are changed via voice announcement. In the current game segment, if no second gesture operation command from the user is received for the accessibility focus within a preset time period, a third prompt voice message will be played to remind the user that the operation has timed out. When the current game segment is in a player communication state, a dialog box is output on the second current interface; the dialog box includes an information area and an input area, the information area includes the player name and player information, the input area includes an input template and a text editing box, and the player name and player information, the input template and the text editing box are respectively set to the first auxiliary function focus; If a third finger operation command is received from the user on the first assistive function focus of the input template, multiple text templates are output, and the text templates carry corresponding text information; When a user selects the text template, the text information is filled into the text editing box. Upon receiving a user's command to send an operation to the first auxiliary function focus corresponding to the edited text editing box, the text template is sent to the information area.
2. The method according to claim 1, characterized in that, Switching the interface or changing the current interface elements includes switching the interface or changing the current interface elements caused by switching game segments.
3. The method according to claim 1, characterized in that, After receiving the user's first gesture instruction for the accessibility focus, the method further includes: If the electronic device is detected to be in speaker mode, a first prompt voice message is played based on the speaker mode to prompt the user to insert headphones or switch to earpiece mode on the electronic device according to the environment. The process of providing voice broadcasting includes: If the electronic device is detected to be in earpiece mode or headphone plug mode, then voice broadcasting is performed based on the earpiece mode or headphone plug mode.
4. The method according to claim 1, characterized in that, After receiving a second gesture command from the user regarding the accessibility focus of the interactive element within a preset time period, the method further includes: Based on the second gesture operation command, determine whether the first current interface has changed according to the game stage of the board game application; If the first current interface changes, the description information of the accessibility focus of the changed first current interface is read aloud by voice, and the accessibility focus of the first current interface is refreshed.
5. The method according to claim 1, characterized in that, After determining whether the first current interface has changed based on the second gesture operation command and according to the game phase of the board game application, the method further includes: If the first current interface has not changed, then determine whether the interactive elements of the unchanged first current interface have changed; If the interactive element changes, the description information of the accessibility focus of the changed interactive element is read aloud via voice, and the accessibility focus of the first current interface is refreshed.
6. The method according to claim 1, characterized in that, The step of providing feedback on the second gesture operation command and obtaining the feedback result includes: If the feedback result is that the execution of the second gesture operation command is restricted, then a second prompt voice message is played to inform the user of the operation failure and the reason for the failure.
7. The method according to claim 1, characterized in that, The method further includes: When the current game segment is in a state of player communication and the player's game environment is isolated, the dialog box also includes a voice call button, and the voice call button is set to a second auxiliary function focus; When a user receives a voice request operation command for the second accessibility function focus, if there is a player who meets the current session rules, a voice call mode is established, allowing players who meet the current session entry rules to join the current voice session for communication.
8. A device for assisting visually impaired people in participating in board games, characterized in that, Applied to electronic devices, the device includes: The settings module is used to set the accessibility focus of the interface elements of the board game application, wherein the interface elements include the current game status and operation instructions. The first voice broadcast module is used to receive a first gesture operation command from the user for the accessibility focus and to broadcast the description information of the accessibility focus via voice. The feedback module is used to provide feedback on the second gesture operation command if the interface element includes an interactive element and if a second gesture operation command is received from the user on the accessibility focus corresponding to the interactive element within a preset time period, to obtain a feedback result, and to advance the game process according to different feedback results, switch the interface or change the current interface element. In the current game segment, if a second gesture operation command is not received from the user on the accessibility focus within a preset time period, a third prompt voice message is played to prompt the user that the operation has timed out. The second voice broadcast module is used to provide voice broadcasts of the game's progress, the switching of interfaces, or changes to current interface elements; The first communication module is used to output a dialog box on the second current interface when the player is in a communication state during the current game phase. The dialog box includes an information area and an input area. The information area includes the player's name and player information, and the input area includes an input template and a text editing box. The player's name and player information, the input template, and the text editing box are respectively set with a first auxiliary function focus. If a third-finger operation command is received from the user on the first auxiliary function focus of the input template, multiple text templates are output, and each text template carries corresponding text information. When a user selects a text template, the text information is filled into the text editing box. When a user sends a command to the first auxiliary function focus corresponding to the edited text editing box, the text template is sent to the information area.
Citation Information
Patent Citations
Game interaction method and device, electronic equipment and storage medium
CN111870947A
Method and device for assisting visually impaired people in browsing and interacting Feed stream information
CN115562551A