Game operation method, electronic device, storage medium and computer program product
By detecting mode selection signals and interactive signals, corresponding control instructions are generated, and the operation interfaces of multiple disabled users are supported, which solves the problem that multiple disabled users cannot be supported at the same time in the prior art, and realizes the integrated gaming experience of different types of users and accessibility services.
Patent Information
- Application Number
- CN202411409762.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-10
- Publication Date
- 2025-01-14
AI Technical Summary
The existing game operation interface cannot support multiple types of disabled users at the same time, resulting in the problem of not being able to play with different types of disabled users together.
By selecting signals in the detection mode, the target game operation interface is determined, and corresponding control instructions are generated based on the target user's interactive signals, supporting visual impairment, hearing impairment, upper limb disability and a sound user's operation interface, realizing unified control of various operating methods.
It is realized that different types of disabled users can play the same game content in different operating methods, reducing the differences between disabled users and sound users during the game process, and providing better accessibility services.
Smart Images

Figure CN119303296A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to a game operation method, electronic equipment, storage medium and computer program product. Background Art
[0002] With the continuous development of the game industry, electronic games have become an indispensable part of the daily lives of more and more users.
[0003] In related technologies, in order to ensure that disabled users with visual impairments, hearing impairments, etc. and healthy users can play the same games, technicians usually configure basic auxiliary functions such as text prompts and voice prompts in the game operation interface, so that disabled users can touch the screen through text prompts and voice prompts, thereby achieving control of the game operation interface.
[0004] However, the game operation interface constructed in the related technology can usually only be used by disabled users with a single type of disability. At the same time, for users with upper limb disabilities, they are also unable to control the game operation interface constructed in the related technology, which leads to the technical problem that the game operation interface cannot be played by users with different types of disabilities. Summary of the invention
[0005] The main purpose of this application is to provide a game operation method, electronic device, storage medium and computer program product, aiming to solve the technical problem in the related art that the game operation interface cannot be played by various types of disabled users.
[0006] To achieve the above objectives, the present application proposes a game operation method, which includes:
[0007] Detecting a mode selection signal generated on a mode selection interface;
[0008] Determining a target game operation interface based on the mode selection signal, wherein the target game operation interface includes a visually impaired game operation interface, a hearing impaired game operation interface, an upper limb disability operation interface, and a healthy game operation interface;
[0009] Displaying the target game operation interface and detecting the target interaction signal triggered by the target user;
[0010] A target game control instruction is determined based on the target interaction signal, and the game screen is controlled according to the target game control instruction.
[0011] In one embodiment, the step of determining the target game operation interface based on the mode selection signal includes:
[0012] In a case where it is determined that the mode selection signal is a first screen touch signal, determining a first user touch area corresponding to the target user based on the first screen touch signal;
[0013] If it is determined that the first user touched area is a visually impaired interface option area, outputting first voice prompt information corresponding to the visually impaired interface option area;
[0014] detecting a second screen touch signal generated on the mode selection interface, and determining a second user touch area corresponding to the target user based on the second screen touch signal;
[0015] Determining whether the second user touched area is the visually impaired interface option area;
[0016] If it is determined that the second user touch area is the visually impaired interface option area, the visually impaired game operation interface is determined to be the target game operation interface.
[0017] In one embodiment, the step of determining the target game operation interface based on the mode selection signal further includes:
[0018] In the case where it is determined that the mode selection signal is a first voice signal, determining a mode selection keyword included in the first voice signal;
[0019] Determine a plurality of preset operation interface options and preset selection keywords corresponding to each of the plurality of preset operation interface options;
[0020] Screening the plurality of preset selection keywords based on the mode selection keyword to determine a target operation interface option from the plurality of preset operation interface options;
[0021] The target game operation interface is determined according to the target operation interface option.
[0022] In one embodiment, the step of determining the target game control instruction based on the target interaction signal includes:
[0023] When the target game operation interface is the visually impaired game operation interface, detecting a third screen touch signal generated on the visually impaired game operation interface;
[0024] Determine the first game operation option selected by the target user based on the third screen touch signal, and output second voice prompt information corresponding to the first game operation option;
[0025] detecting a fourth screen touch signal generated on the visually impaired game operation interface, and determining whether the target user selects the first game operation option again based on the fourth screen touch signal;
[0026] If it is determined that the target user selects the first game operation option again, the first preset control instruction corresponding to the first game operation option is determined as the target game control instruction.
[0027] In one embodiment, the step of determining the target game control instruction based on the target interaction signal further includes:
[0028] When the target game operation interface is the hearing-impaired game operation interface, obtaining first text prompt information corresponding to the hearing-impaired game operation interface;
[0029] Outputting the first text prompt information, and detecting a fifth screen touch signal generated on the hearing-impaired game operation interface;
[0030] The second game operation option selected by the target user is determined based on the fifth screen touch signal, and the second preset control instruction corresponding to the second game operation option is determined as the target game control instruction.
[0031] In one embodiment, the step of determining the target game control instruction based on the target interaction signal further includes:
[0032] When the target game operation interface is the upper limb disability operation interface, determining second text prompt information corresponding to the upper limb disability operation interface;
[0033] Outputting the second text prompt information and collecting a second voice signal emitted by the target user;
[0034] Determine the first preset trigger keyword corresponding to each preset game operation option included in the upper limb disability operation interface;
[0035] screening each of the first preset trigger keywords based on the second voice signal to determine a third game operation option selected by the target user;
[0036] The third preset control instruction corresponding to the third game operation option is determined as the target game control instruction.
[0037] In one embodiment, after the step of determining the third preset control instruction corresponding to the third game operation option as the target game control instruction, the method further includes:
[0038] Obtaining multiple second preset trigger keywords;
[0039] The plurality of first preset trigger keywords are replaced based on the plurality of second preset trigger keywords.
[0040] In addition, to achieve the above-mentioned purpose, the present application also proposes an electronic device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the game operation method described above.
[0041] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the game operation method described above are implemented.
[0042] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps of the game operation method described above are implemented.
[0043] The game operation method provided in the embodiment of the present application detects a mode selection signal generated on a mode selection interface; determines a target game operation interface based on the mode selection signal, wherein the target game operation interface includes a visually impaired game operation interface, a hearing impaired game operation interface, an upper limb disability operation interface and a healthy game operation interface; displays the target game operation interface, and detects a target interaction signal triggered by a target user; determines a target game control instruction based on the target interaction signal, and controls the game screen according to the target game control instruction.
[0044] In this embodiment, when the electronic device is running, it first detects a mode selection signal generated on the mode selection interface. Then, the electronic device processes the mode selection signal to identify the target game operation interface selected by the target user in the preset visually impaired game operation interface, hearing-impaired game operation interface, upper limb disability operation interface and healthy game operation interface based on the mode selection signal. Then, the electronic device displays the target game operation interface to the outside and collects the target interaction signal triggered by the target user. Finally, the electronic device processes the target interaction signal to identify the target game control instruction that the target user wants to trigger, and controls the game screen according to the target game control instruction.
[0045] In this way, the present application solves the technical problem in the related art that the game operation interface cannot be played by multiple different types of disabled users. That is, the present application sets multiple game operation interfaces for different types of disabled users, such as the visually impaired game operation interface, the hearing impaired game operation interface, the upper limb disabled operation interface and the healthy game operation interface in the game, and enters the corresponding target game operation interface according to the mode selection signal triggered by the target user, so as to identify the target game control command that the target user wants to trigger based on the interaction signal triggered by the target user in the target game operation interface, and then control the game screen according to the target game control command. This allows different types of disabled users to play the same game content in different operation methods, thereby achieving the technical effect of allowing different types of disabled users to integrate in the same game. At the same time, it also reduces the differences between disabled users and healthy users during the game process, thereby better providing barrier-free services between disabled people and healthy people as a production tool. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0047] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0048] Figure 1 A flowchart of the first embodiment of the game operation method of the present application is provided;
[0049] Figure 2 This is a schematic diagram of a mode selection interface involved in an embodiment of the game operation method of the present application;
[0050] Figure 3 This is a schematic diagram of a game operation interface for the visually impaired involved in an embodiment of the game operation method of the present application;
[0051] Figure 4 This is a schematic diagram of a game operation interface for the hearing-impaired involved in an embodiment of the game operation method of the present application;
[0052] Figure 5 This is a schematic diagram of an upper limb disability operation interface involved in an embodiment of the game operation method of this application;
[0053] Figure 6 This is a schematic diagram of a sound game operation interface involved in an embodiment of the game operation method of the present application;
[0054] Figure 7 This is a schematic diagram of the device structure of the hardware operating environment involved in the game operation method in the embodiment of the present application.
[0055] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0056] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.
[0057] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.
[0058] In this embodiment, for ease of description, the following description is based on electronic devices that can communicate with spectators and other electronic devices, or mobile terminals, data storage control terminals, PCs and other terminals connected to electronic devices as the execution entities.
[0059] Based on the above electronic device, the overall concept of the game operation method of the present application is proposed here.
[0060] With the continuous development of the game industry, electronic games have become an indispensable part of the daily lives of more and more users. In the relevant technology, in order to ensure that users with disabilities such as visual impairment and hearing impairment can play the same game as healthy users, technicians usually configure basic auxiliary functions such as text prompts and voice prompts in the game operation interface, so that disabled users can touch the screen through text prompts and voice prompts to achieve control of the game operation interface. However, the game operation interface constructed in the relevant technology can usually only be used by disabled users with a single type of disability. At the same time, for users with upper limb disabilities, they are also unable to control the game operation interface constructed in the relevant technology, which leads to the technical problem that the game operation interface cannot allow multiple different types of disabled users to play at the same time.
[0061] In response to the above phenomenon, the present application provides a game operation method, which includes: detecting a mode selection signal generated on a mode selection interface; determining a target game operation interface based on the mode selection signal, wherein the target game operation interface includes a visually impaired game operation interface, a hearing impaired game operation interface, an upper limb disability operation interface and a healthy game operation interface; displaying the target game operation interface and detecting a target interaction signal triggered by a target user; determining a target game control instruction based on the target interaction signal, and controlling the game screen according to the target game control instruction.
[0062] In this way, the present application solves the technical problem in the related art that the game operation interface cannot be played by multiple different types of disabled users. That is, the present application sets multiple game operation interfaces for different types of disabled users, such as the visually impaired game operation interface, the hearing impaired game operation interface, the upper limb disabled operation interface and the healthy game operation interface in the game, and enters the corresponding target game operation interface according to the mode selection signal triggered by the target user, so as to identify the target game control command that the target user wants to trigger based on the interaction signal triggered by the target user in the target game operation interface, and then control the game screen according to the target game control command. This allows different types of disabled users to play the same game content in different operation methods, thereby achieving the technical effect of allowing different types of disabled users to integrate in the same game. At the same time, it also reduces the differences between disabled users and healthy users during the game process. The present application not only designs barrier-free games for disabled people and healthy people, but also better makes existing games accessible, and is a production tool.
[0063] Based on the overall concept of the game operation method of the present application, the embodiment of the present application provides a game operation method, referring to Figure 1 , Figure 1 This is a flowchart of the first embodiment of the game operation method of the present application.
[0064] In this embodiment, the game operation method includes steps S10 to S40:
[0065] Step S10: detecting a mode selection signal generated on the mode selection interface;
[0066] Please note that, please refer to Figure 2 , Figure 2 This is a schematic diagram of a mode selection interface involved in an embodiment of the game operation method of the present application, such as Figure 2 As shown, the mode selection interface is a selection interface including multiple preset operation interface options. It can be understood that the multiple preset operation interface options specifically include: a visually impaired interface option, a hearing impaired interface option, an upper limb disability interface option, and a healthy interface option. Among them, after the visually impaired interface option area corresponding to the visually impaired interface option is touched by the user, the electronic device can issue a voice prompt message to prompt the user that the preset operation interface option touched is the visually impaired interface option.
[0067] In addition, the mode selection signal is a control signal used by the target user to control the electronic device in order to select the target game operation interface. It can be understood that the mode selection signal can specifically be a screen touch signal generated on the mode selection interface when the target user touches the display module of the electronic device, or it can be a voice signal issued by the user when the display module displays the mode selection interface.
[0068] In this embodiment, when the electronic device is running, it first displays a mode selection interface including visually impaired interface options, hearing impaired interface options, upper limb disability interface options, and healthy interface options to the target user through the display module configured by itself, and detects the screen touch signal generated when the target user touches the display module, or detects the first voice signal emitted by the target user when the display module displays the mode selection interface.
[0069] For example, for example, Figure 2 As shown, when the electronic device is running, it first displays the mode selection interface including the visually impaired interface option, the hearing impaired interface option, the upper limb disabled interface option, and the healthy interface option to the user through the display screen configured by itself. At this time, the target user can touch the display screen to generate a screen touch signal in the mode selection interface, and then the electronic device can identify the mode selection interface to obtain the mode selection signal generated in the mode selection interface. Similarly, in addition to detecting the screen to obtain the screen touch signal as the mode selection signal, the electronic device can also call the microphone configured by itself to detect the surrounding environment, so as to obtain the first voice signal emitted by the target user, and determine the first voice signal as the mode selection signal for selecting the game operation interface.
[0070] Step S20: determining a target game operation interface based on the mode selection signal, wherein the target game operation interface includes a visually impaired game operation interface, a hearing impaired game operation interface, an upper limb disability operation interface, and a healthy game operation interface;
[0071] In this embodiment, after obtaining the mode selection signal triggered by the target user, the electronic device further processes the mode selection signal, thereby determining the target game operation interface selected by the target user among the preset visually impaired game operation interface, hearing impaired game operation interface, upper limb disability operation interface and healthy game operation interface based on the mode selection signal.
[0072] For example, for example, Figure 2 As shown, after acquiring the mode selection signal triggered by the target user, the electronic device further processes the mode selection signal. When the target user is a visually impaired user, if the mode selection signal triggered by the visually impaired user is to double-click the visually impaired interface option, the electronic device determines the visually impaired game operation interface as the target game operation interface matched by the visually impaired user among the preset visually impaired game operation interface, the hearing-impaired game operation interface, the upper limb disability operation interface, and the sound game operation interface;
[0073] Similarly, when the target user is a hearing-impaired user, if the mode selection signal triggered by the hearing-impaired user is a long press of the hearing-impaired interface option, the electronic device determines that the preset hearing-impaired game operation interface is the target game operation interface matched by the hearing-impaired user;
[0074] Similarly, when the target user is an upper limb disabled user, if the mode selection signal triggered by the upper limb disabled user is a first voice signal containing the letters "AC", the electronic device determines that the preset upper limb disabled operation interface is the target game operation interface that matches the upper limb disabled user;
[0075] Similarly, when the target user is a healthy user, if the mode selection signal triggered by the healthy user is a sliding healthy interface option, the electronic device determines that the preset healthy operation interface is the target game operation interface matched by the healthy user.
[0076] In a feasible implementation manner, the above step S20 may specifically include steps S201 to S205:
[0077] Step S201: when it is determined that the mode selection signal is a first screen touch signal, determining a first user touch area corresponding to a target user based on the first screen touch signal;
[0078] Step S202: if it is determined that the area touched by the first user is a visually impaired interface option area, outputting first voice prompt information corresponding to the visually impaired interface option area;
[0079] Step S203: detecting a second screen touch signal generated on the mode selection interface, and determining a second user touch area corresponding to the target user based on the second screen touch signal;
[0080] Step S204: determining whether the second user touched area is the visually impaired interface option area;
[0081] Step S205: If it is determined that the second user touch area is the visually impaired interface option area, the visually impaired game operation interface is determined to be the target game operation interface.
[0082] In this embodiment, after acquiring the mode selection signal, the electronic device first processes the mode selection signal to determine the signal type of the mode selection signal. When determining that the signal type is a first screen touch signal generated by the target user by touching the display module, the electronic device identifies the first screen touch signal to determine the first user touch area touched by the target user in the mode selection interface based on the first screen touch signal. After that, the electronic device reads the storage module configured by itself to obtain the first voice prompt information that can prompt the user that the visually impaired interface option area where the visually impaired interface option is located. The electronic device then plays the first voice prompt information to the outside, and then the electronic device The sub-device further detects the mode selection interface to obtain a second screen touch signal generated on the mode selection interface when the target user touches the display module after hearing the first voice prompt information. The electronic device then detects the second screen touch signal to determine the second user touch area touched by the target user. Then, the electronic device determines whether the second user touch area is the above-mentioned visually impaired interface option area. Finally, if the electronic device determines that the second user touch area is the visually impaired interface option area, then the visually impaired game operation interface is determined as the target game operation interface selected by the target user among the preset visually impaired game operation interface, hearing impaired game operation interface, upper limb disability operation interface and healthy game operation interface.
[0083] For example, for example, Figure 2As shown, if the target user is a visually impaired user, he can control the electronic device to enter the visually impaired game operation interface by clicking the visually impaired interface option area where the visually impaired control option is located in the mode selection interface. However, since the visually impaired user cannot see the information contained in the mode selection interface, after the first screen touch signal is generated when he touches the screen for the first time, in order to prevent the visually impaired person from entering other game operation interfaces such as the hearing-impaired game operation interface after touching other mode options, the electronic device first parses the first screen touch signal and determines whether the first user touch area corresponding to the first screen touch signal is the visually impaired control option area. When the electronic device detects that the first user touch area is the visually impaired control option area, it obtains a preset first voice prompt signal "Press twice to enter the game" that matches the visually impaired control option area, and the electronic device uses its own configured The speaker is provided to play the first voice prompt signal externally to prompt the visually impaired user that he has touched the visually impaired control option area. After that, after completing the playing of the first voice prompt signal, the electronic device further detects the mode selection interface, so as to obtain the second screen touch signal generated on the mode selection interface when the visually impaired user touches the display module again after hearing the first voice prompt signal. The electronic device then processes the second screen touch signal to determine the second user touch area. After that, the electronic device determines whether the second user touch area is the visually impaired control option area. Finally, if the electronic device determines that the second user touch area is the visually impaired control option area, then among the preset visually impaired game operation interface, hearing-impaired game operation interface, upper limb disability operation interface and healthy game operation interface, the visually impaired game operation interface is determined as the target game operation interface selected by the visually impaired user.
[0084] In this way, when the visually impaired user touches the visually impaired interface option for the first time, the electronic device can give a corresponding voice prompt, and when it is determined that the visually impaired user touches the visually impaired interface option again, it enters the visually impaired game operation interface, thereby avoiding the situation where the visually impaired user enters other game operation interfaces due to misoperation.
[0085] In addition, in this embodiment and another embodiment, when the electronic device determines that the target user selects the visually impaired game operation interface, it can also control the display module configured by itself to enter the energy-saving mode, so that only a black screen is displayed on the visually impaired game operation interface, thereby reducing the energy consumption of the display module and further improving the battery life of the electronic device.
[0086] It should be noted that, in this embodiment and another embodiment, if the target user is a hearing-impaired user or a healthy user, the target user can read the preset operation interface options contained in the mode selection interface, and determine the trigger conditions corresponding to each preset operation interface option. The target user can then touch the display screen according to the trigger conditions to trigger a first screen touch signal that meets the trigger conditions on the display screen, thereby allowing the electronic device to enter the corresponding target game operation interface.
[0087] Specifically, when the trigger condition corresponding to the hearing-impaired control option is "pressing the control option for 1 second", if the hearing-impaired user triggers a first screen touch signal on the display screen, the electronic device determines that the first screen touch signal is located in the hearing-impaired interface option area corresponding to the hearing-impaired control option, and determines based on the first screen touch signal that the hearing-impaired user presses the hearing-impaired interface option area for 1 second, and then determines that the preset hearing-impaired game operation interface is the target game operation area;
[0088] Similarly, when the trigger condition corresponding to the healthy control option is "sliding the normal control option", if the healthy user triggers the first screen touch signal on the display screen, the electronic device determines that the first screen touch signal is located in the healthy interface option area corresponding to the healthy control option, and based on the first screen touch signal determines that the healthy user slides the healthy interface option, determines the preset healthy game operation interface as the target game operation area.
[0089] In addition, it should be noted that for users with upper limb disabilities, if their upper limbs have partial mobility, they can select the target game operation interface based on the triggering method corresponding to the above-mentioned hearing-impaired users or healthy users. If their upper limbs have no mobility at all, they can select the target game operation interface by triggering voice signals. It can be understood that the specific process of users with upper limb disabilities selecting the target game operation interface by triggering voice signals can be referred to the following embodiments, so it will not be repeated here.
[0090] In a feasible implementation manner, the above step S20 may further include steps S206 to S209:
[0091] Step S206: when it is determined that the mode selection signal is a first voice signal, determining a mode selection keyword contained in the first voice signal;
[0092] Step S207: determining a plurality of preset operation interface options and preset selection keywords corresponding to the plurality of preset operation interface options;
[0093] Step S208: screening the plurality of preset selection keywords based on the mode selection keyword to determine a target operation interface option from the plurality of preset operation interface options;
[0094] Step S209: determining a target game operation interface according to the target operation interface option.
[0095] In this embodiment, after acquiring the mode selection signal, the electronic device first processes the mode selection signal to determine the signal type of the mode selection signal. When determining that the signal type is the first voice signal emitted by the target user, the electronic device processes the first voice signal to extract the mode selection keyword contained in the first voice signal. Thereafter, the electronic device determines a plurality of preset operation interface options and determines the preset selection keywords corresponding to each of the plurality of preset operation interface options. Thereafter, the electronic device compares the acquired mode selection keyword with the plurality of preset selection keywords respectively to determine the target selection keyword consistent with the mode selection keyword among the plurality of preset selection keywords, and determines the preset operation interface option corresponding to the target selection keyword as the target operation interface option. Finally, the electronic device determines the target game operation interface selected by the target user based on the target operation interface option.
[0096] Exemplarily, if the target user is a visually impaired user, a hearing-impaired user, or an upper limb disabled user, in addition to selecting the target game control interface by touching the screen, the target user can also select a suitable target game operation interface by issuing a voice command. For example, when the target user is a visually impaired user, the target user issues a first voice signal containing "SZ". At this time, when the electronic device collects the first voice signal through the microphone configured by itself, the electronic device determines the first voice signal as a mode selection signal for selecting the game control interface. The electronic device then recognizes the first voice signal to extract the mode selection keyword "SZ" contained in the first voice signal. After that, the electronic device determines the preset value corresponding to the visually impaired interface option. Assume that the selection keyword is "SZ", the preset selection keyword corresponding to the hearing-impaired interface option is "TZ", the preset selection keyword corresponding to the upper limb disability interface option is "AC", and the preset selection keyword corresponding to the sound game interface option is "JQ". After that, the electronic device compares the acquired mode selection keyword "SZ" with each preset selection keyword, thereby determining "SZ" as the target selection keyword among each preset selection keyword. The electronic device then determines the visually impaired interface option corresponding to the target selection keyword "SZ" as the target interface option. Finally, the electronic device determines the visually impaired game operation interface as the target game control interface to be adopted based on the target interface option.
[0097] Similarly, when the target user is a hearing-impaired user, he / she sends a first voice signal including "TZ". At this time, the electronic device processes the first voice signal to obtain the mode selection keyword "TZ". The electronic device then compares the mode selection keyword "TZ" with each preset selection keyword, thereby determining the preset selection keyword "TZ" as the target selection keyword among the preset selection keywords. Finally, the electronic device determines the hearing-impaired game operation interface as the target game control interface to be adopted based on the target selection keyword "TZ".
[0098] Similarly, if Figure 2 As shown, when the target user is an upper limb disabled user, he sends a first voice signal containing "AC". At this time, the electronic device processes the first voice signal to obtain the mode selection keyword "AC". The electronic device then compares the mode selection keyword "AC" with each preset selection keyword, thereby determining the preset selection keyword "AC" as the target selection keyword among the preset selection keywords. Finally, the electronic device determines the upper limb disabled operation interface as the target game control interface to be adopted based on the target selection keyword "AC".
[0099] Similarly, when the target user is a healthy user, he sends a first voice signal including "JQ". At this time, the electronic device processes the first voice signal to obtain the mode selection keyword "JQ". The electronic device then compares the mode selection keyword "JQ" with each preset selection keyword, thereby determining the preset selection keyword "JQ" as the target selection keyword among the preset selection keywords. Finally, the electronic device determines the healthy game operation interface as the target game control interface to be adopted based on the target selection keyword "JQ".
[0100] In this way, users with upper limb disabilities can send voice signals to control electronic devices to enter the upper limb disability operation interface, thereby entering a game operation interface suitable for themselves without having to perform screen contact operations.
[0101] In addition, in this embodiment and another embodiment, before collecting the first voice signal, the electronic device may also read the storage module configured by itself to obtain multiple preset selection keywords, and generate a second voice prompt signal based on the multiple preset selection keywords. After that, the electronic device plays the second voice prompt signal through a speaker to inform the target user of the preset selection keywords corresponding to each preset game operation mode.
[0102] Step S30: displaying the target game operation interface, and detecting a target interaction signal triggered by a target user;
[0103] It should be noted that the target interaction signal is an interaction signal sent by the target user in the target game operation interface in order to control the game screen. The target interaction signal can specifically be a screen touch signal sent by the target user when touching the display module of the electronic device, or it can be a voice signal sent by the user collected when the electronic device displays the target game operation interface.
[0104] In this embodiment, after determining the target game operation interface selected by the target user, the electronic device controls the display module configured by itself to display the target game operation interface to the outside. At the same time, the electronic device obtains the target interaction signal sent by the target user under the target game operation interface in order to control the game screen.
[0105] Exemplarily, for example, after the electronic device determines the target game operation interface selected by the target user, it calls the display module configured by itself to display the target game operation interface containing multiple game operation options such as "Rock", "Scissors", "Paper", "Confirm", and "Exit" to the target user. At the same time, the target game operation interface is further detected to obtain the screen touch signal / voice signal triggered by the target user on the target game operation interface in order to control the game screen.
[0106] Step S40: determining a target game control instruction based on the target interaction signal, and controlling the game screen according to the target game control instruction;
[0107] In this embodiment, after acquiring the target interaction signal, the electronic device further processes the target interaction signal, thereby determining the target game control instruction that the target user wants to trigger based on the target interaction signal, and the electronic device then controls the game screen according to the target game control instruction.
[0108] In a feasible implementation manner, the step of “determining the target game control instruction based on the target interaction signal” in the above step S40 may specifically include steps S401 to S404:
[0109] Step S401: when the target game operation interface is the visually impaired game operation interface, detecting a third screen touch signal generated on the visually impaired game operation interface;
[0110] Step S402: determining the first game operation option selected by the target user based on the third screen touch signal, and outputting second voice prompt information corresponding to the first game operation option;
[0111] Step S403: detecting a fourth screen touch signal generated on the visually impaired game operation interface, and determining whether the target user selects the first game operation option again based on the fourth screen touch signal;
[0112] Step S404: if it is determined that the target user selects the first game operation option again, the first preset control instruction corresponding to the first game operation option is determined as the target game control instruction.
[0113] In this embodiment, when the electronic device enters the visually impaired game operation interface, it first detects a third screen touch signal generated in the visually impaired game operation interface when the target user touches the display module. After that, the electronic device analyzes the third screen touch signal to determine the first game operation option touched by the target user. At the same time, the electronic device generates a second voice prompt information based on the game information contained in the first game operation option, and the electronic device then plays the second voice prompt information to the outside. After completing the operation of playing the second voice prompt information, the electronic device further detects the visually impaired game operation interface to obtain a fourth screen touch signal generated in the visually impaired game operation interface when the target occupant touches the display module. The electronic device then analyzes the fourth screen touch signal to determine whether the target user has touched the first game operation option again based on the fourth screen touch signal. Finally, if the electronic device determines that the target user has touched the first game operation option again, it reads the first preset control instruction corresponding to the first game operation option, and determines the first preset control instruction as the target game control instruction that the target user needs to adopt.
[0114] For example, see Figure 3 , Figure 3 Schematic diagram of a game operation interface for the visually impaired involved in an embodiment of the game operation method of the present application, such as Figure 3As shown, if the target game operation interface selected by the visually impaired user is the visually impaired game operation interface, the electronic device first detects the visually impaired game operation interface to obtain a third screen touch signal generated on the visually impaired game operation interface when the visually impaired user touches the visually impaired game operation interface. Afterwards, the electronic device parses the obtained third screen touch signal to determine that the first game operation option touched by the visually impaired user is "stone". At this time, the electronic device obtains text information matching "stone" as "click again to hit the stone". The electronic device then generates a second voice prompt message "click again to hit the stone" based on the text information, and plays the second voice prompt message to the outside through the speaker to prompt the visually impaired user that the game operation option selected is "stone". The electronic device plays the second voice prompt message when playing the second voice After the prompt message, the visually impaired game operation interface is further detected to obtain the fourth screen touch signal generated on the visually impaired game operation interface when the visually impaired user touches the visually impaired game operation interface after hearing the second voice prompt message, and based on the fourth touch signal, it is determined whether the visually impaired user touches the game operation option "stone" again. Finally, if the electronic device determines that the visually impaired user touches the game operation option "stone" again, it reads the storage module configured by itself to obtain the first instruction mapping table corresponding to the visually impaired game operation interface, and determines that the first preset control instruction corresponding to "stone" is "hit the stone" according to the first instruction mapping table. The electronic device then determines the first preset control instruction "hit the stone" as the target game control instruction that the visually impaired user wants to select.
[0115] In this way, the electronic device can display the visually impaired game operation interface to the outside world, detect the operations performed by the visually impaired user in the visually impaired game operation interface, and give corresponding voice prompts to the visually impaired user's operations, so that the visually impaired user can judge whether he or she has taken correct operations, thereby ensuring that visually impaired users and other types of disabled users and healthy users can play the same games.
[0116] In a feasible implementation manner, the step of "determining the target game control instruction based on the target interaction signal" in the above step S40 may further include steps S405 to S407:
[0117] Step S405: when the target game operation interface is the hearing-impaired game operation interface, obtaining first text prompt information corresponding to the hearing-impaired game operation interface;
[0118] Step S406: outputting the first text prompt information, and detecting a fifth screen touch signal generated on the hearing-impaired game operation interface;
[0119] Step S407: determining the second game operation option selected by the target user based on the fifth screen touch signal, and determining the second preset control instruction corresponding to the second game operation option as the target game control instruction.
[0120] In this embodiment, when the electronic device enters the hearing-impaired game operation interface, it first parses the hearing-impaired game operation interface to obtain first text prompt information that can reflect all game information contained in the hearing-impaired game operation interface. After that, the electronic device displays the first text prompt information to the outside through the display module, so that the target user can determine the preset control instructions corresponding to each game operation option based on the first text prompt information. After outputting the first text prompt information, the electronic device detects the fifth screen touch signal generated in the hearing-impaired game operation interface when the target user touches the display module. Finally, the electronic device parses the fifth screen touch signal, thereby determining the second game operation option touched by the target user in the hearing-impaired operation interface based on the fifth screen touch signal, and determines the second preset control instruction corresponding to the second game operation option, and determines it as the target game control instruction to be selected by the target user.
[0121] For example, see Figure 4 , Figure 4 This is a schematic diagram of a game operation interface for the hearing-impaired involved in an embodiment of the game operation method of the present application, such as Figure 4 As shown, if the target game operation interface selected by the hearing-impaired user is the hearing-impaired game operation interface, the electronic device first determines that the game is in the decision-making stage based on the fact that the hearing-impaired game operation interface simultaneously contains multiple game operation options, and determines that the first text prompt information corresponding to the decision-making stage is "Please select". After that, the electronic device displays the first text prompt information on the hearing-impaired game operation interface to prompt the hearing-impaired user that he currently needs to choose from the three game operation options of "Rock", "Scissors" and "Paper". After displaying the first text prompt information, the electronic device further detects the hearing-impaired game operation interface to obtain the hearing-impaired user's selection after seeing the first text prompt information. When the hearing-impaired game operation interface is touched, a fifth screen touch signal is generated on the hearing-impaired game operation interface. Finally, the electronic device parses the fifth screen touch signal to determine that the second game operation option selected by the hearing-impaired user is "stone" among the three game operation options of "rock", "scissors" and "paper". The electronic device then reads the above-mentioned storage module to obtain a second instruction mapping table that matches the hearing-impaired game operation interface, and determines that the second preset control instruction corresponding to "stone" is "hit the stone" based on the second instruction mapping table. The electronic device then determines the second preset control instruction "hit the stone" as the target game control instruction that the hearing-impaired user wants to select.
[0122] In addition, in this embodiment and another embodiment, after determining the second game operation option, the electronic device can also generate a third text prompt content based on the second game operation option, and display the third text prompt content through the display screen when the electronic device performs an interactive operation based on the second game operation option.
[0123] In a feasible implementation manner, the step of "determining the target game control instruction based on the target interaction signal" in the above step S40 may further include steps S408 to S412:
[0124] Step S408: when the target game operation interface is the upper limb disability operation interface, determining second text prompt information corresponding to the upper limb disability operation interface;
[0125] Step S409: outputting the second text prompt information, and collecting a second voice signal emitted by the target user;
[0126] Step S410: determining the first preset trigger keyword corresponding to each preset game operation option included in the upper limb disability operation interface;
[0127] Step S411: screening each of the first preset trigger keywords based on the second voice signal to determine the third game operation option selected by the target user;
[0128] Step S412: determining the third preset control instruction corresponding to the third game operation option as the target game control instruction.
[0129] In this embodiment, when the electronic device enters the upper limb disability operation interface, it first accesses the above-mentioned storage module to obtain a third instruction mapping table matching the upper limb disability operation interface, thereby determining the first preset trigger key sub-subs corresponding to each of the multiple game operation options according to the third instruction mapping table, and the electronic device then generates a second text prompt information matching the upper limb disability operation interface according to the multiple game operation options and each first preset trigger key sub-subs. After that, the electronic device displays the second text prompt information on the upper limb disability operation interface, and collects a second voice signal sent by the target user for controlling the upper limb disability interface. After that, the electronic device processes the second voice signal to extract the user trigger keyword contained in the second voice signal, and screens each first preset trigger keyword based on the user trigger keyword to determine the target preset trigger keyword consistent with the user trigger keyword. The electronic device determines the game operation option corresponding to the target preset trigger keyword as the third game operation option selected by the target user. Finally, the electronic device determines the third preset control instruction corresponding to the third game operation option, and determines the third preset control instruction as the target game control instruction that the target user needs to adopt.
[0130] For example, see Figure 5 , Figure 5 This is a schematic diagram of an upper limb disability operation interface involved in an embodiment of the game operation method of this application, such as Figure 5 As shown, if the target game operation interface selected by the upper limb disabled user is the upper limb disabled operation interface, the electronic device first reads the above-mentioned storage module to obtain the third instruction mapping table corresponding to the upper limb disabled operation interface, and the electronic device then determines that the preset trigger keywords corresponding to multiple game operation options such as "rock", "scissors", "cloth", "confirm", and "exit" are "ST", "GH", "HM", "PO", and "LZ" respectively according to the third instruction mapping table. The electronic device then generates a second prompt text information according to the multiple game operation options and the preset trigger keywords, and displays the second prompt text information on the upper limb disabled operation interface for the upper limb disabled user to confirm the preset trigger keywords corresponding to each game operation option. Afterwards, if the upper limb disabled user wants to select the "stone" option, he needs to read "ST". At this time, the electronic device collects the second voice signal emitted by the upper limb disabled user through the microphone, and then the electronic device The electronic device determines that the preset trigger keywords corresponding to multiple game operation options such as "rock", "scissors", "paper", "confirm", and "exit" are "ST", "GH", "HM", "PO", and "LZ" respectively. Then, the electronic device processes the acquired second voice signal to extract the user trigger keyword "ST" contained in the second voice signal. The electronic device then filters multiple preset trigger keywords based on the user trigger keyword, thereby determining "ST" as the target trigger keyword among the multiple preset trigger keywords. The electronic device determines the game operation option "stone" corresponding to the target trigger keyword "ST" as the third game operation option selected by the upper limb disabled user. Finally, the electronic device determines that the third preset control instruction corresponding to "stone" is "hit the stone" based on the third instruction mapping table. The electronic device then determines the third preset control instruction as "hit the stone" as the target game control instruction that the upper limb disabled user wants to select.
[0131] It should be noted that the above-mentioned preset trigger keywords are randomly generated keywords composed of any symbols corresponding to each game operation option. It is understandable that there are no repeated letters / numbers / symbols between the preset trigger keywords. In addition, if in a game battle, electronic device A and electronic device B both select the upper limb disability operation interface, then in different upper limb disability operation interfaces, the preset keywords corresponding to the "hit the stone" operation option will be different.
[0132] In this way, the electronic device can display the upper limb disability game interface to the outside world, so that upper limb disability users can perform the game operations they need to use without having to touch the screen, thereby ensuring that upper limb disability users and other types of disabled users and healthy users can play the same games.
[0133] In addition, in this embodiment and another embodiment, please refer to Figure 6 , Figure 6 This is a schematic diagram of a sound game operation interface involved in an embodiment of the game operation method of the present application, such as Figure 6 As shown, if the target game operation interface selected by the healthy user is the healthy game operation interface, the electronic device displays the healthy game operation interface including multiple game operation options such as "Rock", "Scissors", "Paper", "Confirm", and "Exit" through the screen. At this time, the electronic device detects the sixth screen touch signal generated under the healthy game operation interface when the healthy user touches the screen, and determines that the fourth game operation option touched by the healthy user is "Rock" according to the sixth screen touch signal, and determines "hit the stone" as the target game control instruction triggered by the healthy user.
[0134] It should be noted that, in this embodiment and another embodiment, in addition to operating the game through the able-bodied operation interface, the able-bodied user can also enter the above-mentioned visually impaired game operation interface, hearing-impaired game operation interface, and upper limb disability operation interface to play the game.
[0135] In this embodiment, when the electronic device is running, it first displays a mode selection interface including a visually impaired interface option, a hearing impaired interface option, an upper limb disability interface option, and a healthy interface option to the target user through the display module configured by itself, and detects a screen touch signal generated when the target user touches the display module, or detects a first voice signal emitted by the target user when the display module displays the mode selection interface. Afterwards, the electronic device processes the mode selection signal, thereby determining the target game operation interface selected by the target user among the preset visually impaired game operation interface, hearing impaired game operation interface, upper limb disability operation interface, and healthy game operation interface based on the mode selection signal. Afterwards, the electronic device controls the display module configured by itself to display the target game operation interface. At the same time, the electronic device obtains a target interaction signal emitted by the target user in the target game operation interface for controlling the game screen. Finally, the electronic device processes the target interaction signal, thereby determining the target game control instruction that the target user wants to trigger based on the target interaction signal, and the electronic device then controls the game screen according to the target game control instruction.
[0136] In this way, the present application solves the technical problem in the related art that the game operation interface cannot be played by multiple different types of disabled users. That is, the present application sets multiple game operation interfaces for different types of disabled users, such as the visually impaired game operation interface, the hearing impaired game operation interface, the upper limb disabled operation interface and the healthy game operation interface in the game, and enters the corresponding target game operation interface according to the mode selection signal triggered by the target user, so as to identify the target game control command that the target user wants to trigger based on the interaction signal triggered by the target user in the target game operation interface, and then control the game screen according to the target game control command. This allows different types of disabled users to play the same game content in different operation methods, thereby achieving the technical effect of allowing different types of disabled users to integrate in the same game. At the same time, it also reduces the differences between disabled users and healthy users during the game process, thereby better providing barrier-free services between disabled people and healthy people as a production tool.
[0137] Based on the first embodiment of the present application, a second embodiment of the present application is proposed. In the second embodiment of the present application, the same or similar contents as those of the above-mentioned embodiment 1 can be referred to the above introduction and will not be repeated later. On this basis, after the above-mentioned step S412, the game operation method of the present application can also include steps A10 to A20:
[0138] Step A10: Acquire multiple second preset trigger keywords;
[0139] Step A20: replacing the plurality of the first preset trigger keywords based on the plurality of the second preset trigger keywords.
[0140] In this embodiment, after entering the upper limb disability operation interface and determining the third game operation option selected by the target user, the electronic device further reads the above-mentioned third instruction mapping table to obtain a second preset trigger keyword that is different from the multiple first preset trigger keywords corresponding to the upper limb disability operation interface. Thereafter, the electronic device replaces the multiple first preset trigger keywords based on the multiple second preset trigger keywords so that each game operation option is bound to the new second preset trigger keyword.
[0141] Exemplarily, for example, after the electronic device enters the upper limb disability operation interface and determines that the third game operation option selected by the target user is "Rock", the electronic device further reads the above-mentioned third instruction mapping table to obtain multiple new second preset trigger keywords "NB", "TZ", "UE", "XS", "AC", and then the electronic device replaces the above-mentioned first preset trigger keywords based on the second preset trigger keywords to change the preset trigger keywords corresponding to "Rock", "Scissors", "Paper", "Confirm", and "Exit" to "NB", "TZ", "UE", "XS", and "AC".
[0142] In addition, if Figure 5 As shown, in this embodiment and another embodiment, after the electronic device determines that the third game operation option selected by the target user is "Stone", it can further read the above-mentioned third instruction mapping table to obtain the second preset trigger keyword "WE" corresponding to the game operation option "Return", and update the next battle screen based on the second preset trigger keyword "WE" to display the new second preset trigger keyword "WE" on the game operation option "Return" included in the battle screen.
[0143] In this way, the electronic device can replace the preset trigger keywords to avoid the situation where the voice commands issued by the upper limb disabled users during the operation of the game cannot be interpreted by other users when the upper limb disabled users and other users play the same game offline, thereby further narrowing the operational differences between the upper limb disabled users and other users.
[0144] For example, in order to help understand the implementation process of the game operation method obtained by combining this embodiment with the above embodiments, a preferred embodiment of the game operation method of the present application is proposed here, specifically:
[0145] In this embodiment, when a visually impaired user plays the "Rock, Scissors, Paper" game against an upper limb disabled user through electronic device A and electronic device B, electronic device A, when running, first displays a mode selection interface including visually impaired interface options, hearing impaired interface options, upper limb disabled interface options, and healthy interface options to the user through the display screen configured by itself. At this time, the visually impaired user can touch the display screen of electronic device A to trigger a first screen touch signal on the mode selection interface. Electronic device A then analyzes the first screen touch signal, and outputs a preset first voice prompt signal "Press twice to enter the game" when determining that the visually impaired user touches the visually impaired control option area. After completing the playback of the first voice prompt signal, the electronic device further detects the mode selection interface to obtain a second screen touch signal generated on the mode selection interface when the visually impaired user touches the display module again. When the electronic device A determines that the visually impaired user touches the visually impaired control option area again according to the second screen touch signal, it displays a mode selection interface including "Rock", "Scissors", After that, the electronic device A detects the visually impaired game operation interface to obtain a third screen touch signal generated on the visually impaired game operation interface when the visually impaired user touches the visually impaired game operation interface. The electronic device A analyzes the obtained third screen touch signal to determine that the first game operation option touched by the visually impaired user is "stone". At this time, the electronic device A plays a second voice prompt message "click again to hit the stone" through the speaker, and further detects the visually impaired game operation interface to obtain a fourth screen touch signal generated on the visually impaired game operation interface when the visually impaired user touches the visually impaired game operation interface after hearing the second voice prompt message. When the electronic device A determines that the visually impaired user touches the game operation option "stone" again based on the fourth touch signal, it determines that the first preset control instruction corresponding to "stone" is "hit the stone". The electronic device then determines the first preset control instruction "hit the stone" as the target game control instruction that the visually impaired user wants to select.
[0146] Similarly, when electronic device B is running, it first displays a mode selection interface including visually impaired interface options, hearing-impaired interface options, upper limb disability interface options, and healthy interface options to the upper limb disabled user through its own configured display screen. At this time, the upper limb disabled user can send a first voice signal including "SZ", and electronic device B then parses the first voice signal, thereby displaying an upper limb disability operation interface including multiple game operation options such as "rock", "scissors", "cloth", "confirm", and "exit" according to the first voice signal. The electronic device reads the above-mentioned storage module to obtain a third instruction mapping table corresponding to the upper limb disability operation interface, and the electronic device then determines that the preset trigger keywords corresponding to the multiple game operation options such as "rock", "scissors", "cloth", "confirm", and "exit" are "ST", "GH", "HM", "PO", and "LZ" respectively according to the third instruction mapping table. The electronic device then generates a second prompt text message based on multiple game operation options and each preset trigger keyword, and displays the second prompt text message on the upper limb disabled user operation interface for the upper limb disabled user to confirm the preset trigger keyword corresponding to each game operation option. The upper limb disabled user reads "ST" to send a second voice signal. At this time, the electronic device collects the second voice signal sent by the upper limb disabled user through a microphone. The electronic device processes the acquired second voice signal to extract the user trigger keyword "ST" contained in the second voice signal. The electronic device then determines the game operation option "stone" as the third game operation option selected by the upper limb disabled user based on the user trigger keyword. Finally, the electronic device determines that the third preset control instruction corresponding to "stone" is "hit the stone". The electronic device then determines the third preset control instruction "hit the stone" as the target game control instruction that the upper limb disabled user wants to select.
[0147] In addition, in this embodiment and another embodiment, persons with disabilities such as upper limb disabilities, visual impairments, and hearing impairments can also watch the "Rock, Scissors, Paper" game between the above-mentioned electronic device A and electronic device B through the viewing device A. At this time, the disabled person can select a target game operation interface that matches himself / herself through the mode selection interface included in the viewing device A, and perform other operations such as commenting on the "Rock, Scissors, Paper" game between electronic device A and electronic device B under the target operation interface. It can be understood that the specific process of determining a target game operation interface that matches himself / herself in the viewing device A and commenting on the target game operation interface is similar to the above-mentioned embodiment, so it will not be repeated here.
[0148] The present application provides an electronic device, which includes: at least one processor; and a memory that is communicatively connected to the at least one processor; wherein the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the game operation method in the above-mentioned embodiment one.
[0149] Reference below Figure 7 , which shows a schematic diagram of the structure of an electronic device suitable for implementing the embodiments of the present application. The electronic device in the embodiments of the present application may include but is not limited to an electronic device that can communicate with a spectator terminal, other electronic devices, or a mobile terminal, data storage control terminal, PC or other fixed terminal connected to the electronic device. Figure 7 The electronic device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0150] like Figure 7 As shown, the electronic device may include a processing device 1001 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the electronic device are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the electronic device to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows an electronic device with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or have alternatively.
[0151] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.
[0152] The electronic device provided by the present application adopts the game operation method in the above embodiment, which can solve the technical problem that the game operation interface in the related art cannot be played by users with different types of disabilities. Compared with the prior art, the beneficial effects of the electronic device provided by the present application are the same as the beneficial effects of the game operation method provided by the above embodiment, and the other technical features in the electronic device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.
[0153] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0154] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0155] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, wherein the computer-readable program instructions are used to execute the game operation method in the above-mentioned embodiment.
[0156] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM: Random Access Memory), a read-only memory (ROM: Read Only Memory), an erasable programmable read-only memory (EPROM: Erasable Programmable Read Only Memory or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM: CD-Read Only Memory), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency: Radio Frequency), etc., or any suitable combination of the above.
[0157] The computer-readable storage medium may be included in the electronic device, or may exist independently without being installed in the electronic device.
[0158] The above-mentioned computer-readable storage medium carries one or more programs. When the above-mentioned one or more programs are executed by an electronic device, the electronic device: detects a mode selection signal generated on a mode selection interface; determines a target game operation interface based on the mode selection signal, wherein the target game operation interface includes a visually impaired game operation interface, a hearing-impaired game operation interface, an upper limb disability operation interface and a healthy game operation interface; displays the target game operation interface and detects a target interaction signal triggered by a target user; determines a target game control instruction based on the target interaction signal, and controls the game screen according to the target game control instruction.
[0159] Computer program code for performing the operations of the present application may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0160] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0161] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.
[0162] The readable storage medium provided by the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned game operation method, and can solve the technical problem in the related art that the game operation interface cannot be played by various types of disabled users. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the present application are the same as the beneficial effects of the game operation method provided by the above-mentioned embodiment, and will not be elaborated here.
[0163] The present application also provides a computer program product, including a computer program, which implements the steps of the above-mentioned game operation method when executed by a processor.
[0164] The computer program product provided by this application can solve the technical problem in the related art that the game operation interface cannot be played by users with different types of disabilities. Compared with the prior art, the beneficial effects of the computer program product provided by this application are the same as the beneficial effects of the game operation method provided by the above embodiment, which will not be repeated here.
[0165] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.
Claims
1. A game operation method, characterized in that: The game operation method comprises: Detecting a mode selection signal generated on a mode selection interface; Determining a target game operation interface based on the mode selection signal, wherein the target game operation interface includes a visually impaired game operation interface, a hearing impaired game operation interface, an upper limb disability operation interface, and a healthy game operation interface; Displaying the target game operation interface and detecting the target interaction signal triggered by the target user; A target game control instruction is determined based on the target interaction signal, and the game screen is controlled according to the target game control instruction.
2. The game operation method according to claim 1, characterized in that: The step of determining the target game operation interface based on the mode selection signal comprises: In a case where it is determined that the mode selection signal is a first screen touch signal, determining a first user touch area corresponding to the target user based on the first screen touch signal; If it is determined that the first user touched area is a visually impaired interface option area, outputting first voice prompt information corresponding to the visually impaired interface option area; detecting a second screen touch signal generated on the mode selection interface, and determining a second user touch area corresponding to the target user based on the second screen touch signal; Determining whether the second user touched area is the visually impaired interface option area; If it is determined that the second user touch area is the visually impaired interface option area, the visually impaired game operation interface is determined to be the target game operation interface.
3. The game operation method according to claim 1, characterized in that: The step of determining the target game operation interface based on the mode selection signal further includes: In the case where it is determined that the mode selection signal is a first voice signal, determining a mode selection keyword included in the first voice signal; Determine a plurality of preset operation interface options and preset selection keywords corresponding to each of the plurality of preset operation interface options; Screening the plurality of preset selection keywords based on the mode selection keyword to determine a target operation interface option from the plurality of preset operation interface options; The target game operation interface is determined according to the target operation interface option.
4. The game operation method according to claim 1, characterized in that: The step of determining the target game control instruction based on the target interaction signal comprises: When the target game operation interface is the visually impaired game operation interface, detecting a third screen touch signal generated on the visually impaired game operation interface; Determine the first game operation option selected by the target user based on the third screen touch signal, and output second voice prompt information corresponding to the first game operation option; detecting a fourth screen touch signal generated on the visually impaired game operation interface, and determining whether the target user selects the first game operation option again based on the fourth screen touch signal; If it is determined that the target user selects the first game operation option again, the first preset control instruction corresponding to the first game operation option is determined as the target game control instruction.
5. The game operation method according to claim 1, characterized in that: The step of determining the target game control instruction based on the target interaction signal further includes: When the target game operation interface is the hearing-impaired game operation interface, obtaining first text prompt information corresponding to the hearing-impaired game operation interface; Outputting the first text prompt information, and detecting a fifth screen touch signal generated on the hearing-impaired game operation interface; The second game operation option selected by the target user is determined based on the fifth screen touch signal, and the second preset control instruction corresponding to the second game operation option is determined as the target game control instruction.
6. The game operation method according to claim 1, characterized in that: The step of determining the target game control instruction based on the target interaction signal further includes: When the target game operation interface is the upper limb disability operation interface, determining second text prompt information corresponding to the upper limb disability operation interface; Outputting the second text prompt information and collecting a second voice signal emitted by the target user; Determine the first preset trigger keyword corresponding to each preset game operation option included in the upper limb disability operation interface; screening each of the first preset trigger keywords based on the second voice signal to determine a third game operation option selected by the target user; The third preset control instruction corresponding to the third game operation option is determined as the target game control instruction.
7. The game operation method according to claim 6, characterized in that: After the step of determining the third preset control instruction corresponding to the third game operation option as the target game control instruction, the method further includes: Obtaining multiple second preset trigger keywords; The plurality of first preset trigger keywords are replaced based on the plurality of second preset trigger keywords.
8. An electronic device, characterized in that: The device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the game operation method according to any one of claims 1 to 7.
9. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the game operation method according to any one of claims 1 to 7 are implemented.
10. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the game operation method according to any one of claims 1 to 7 are implemented.