CN113262472A - Processing method and device of option control, processor and electronic device - Google Patents

Processing method and device of option control, processor and electronic device Download PDF

Info

Publication number
CN113262472A
CN113262472A CN202110514332.1A CN202110514332A CN113262472A CN 113262472 A CN113262472 A CN 113262472A CN 202110514332 A CN202110514332 A CN 202110514332A CN 113262472 A CN113262472 A CN 113262472A
Authority
CN
China
Prior art keywords
option
control
option control
target
controls
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110514332.1A
Other languages
Chinese (zh)
Inventor
曹金旭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN202110514332.1A priority Critical patent/CN113262472A/en
Publication of CN113262472A publication Critical patent/CN113262472A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/40Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment
    • A63F13/42Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment by mapping the input signals into game commands, e.g. mapping the displacement of a stylus on a touch screen to the steering angle of a virtual vehicle
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/50Controlling the output signals based on the game progress
    • A63F13/52Controlling the output signals based on the game progress involving aspects of the displayed game scene
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/80Special adaptations for executing a specific game genre or game mode
    • A63F13/822Strategy games; Role-playing games
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
    • A63F2300/80Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game specially adapted for executing a specific type of game
    • A63F2300/807Role playing or strategy games

Abstract

The invention discloses a processing method and device of an option control, a processor and an electronic device. The method comprises the following steps: responding to a first touch operation acting on an initial option control, dividing an option control set to be browsed into a plurality of hierarchies to display, wherein the option control set to be browsed comprises a plurality of option controls, each hierarchy in the plurality of hierarchies comprises at least one option control, and the first hierarchy in the plurality of hierarchies comprises the initial option control; and responding to a second touch operation continuous with the first touch operation, and determining a target option control in the option control set based on a target touch position of the second touch operation or restoring the current display page to the initial display page based on the target touch position. The invention solves the technical problems that the touch control mode with a plurality of options in a prepositive relation provided by the related technology is easy to increase the operation complexity and induce misoperation.

Description

Processing method and device of option control, processor and electronic device
Technical Field
The invention relates to the field of computers, in particular to a processing method and device of an option control, a processor and an electronic device.
Background
Currently, many types of handgames provided in the related art are usually provided with a plurality of options having a front relation. After a particular option is selected by the game player, a number of entirely new options may also appear for the game player to make further selections. For example: in a multiplayer online tactical sports game (MOBA), in-office equipment synthesis; in a text adventure game, virtual character dialog options; and other situations where it is desirable to talk to a non-player controlled character (NPC) to make a selection. The following description is made with respect to two scenarios selected by the equipment synthesis and NPC dialogue, respectively:
fig. 1 is a schematic view of an equipment synthesis chain according to the related art, and as shown in fig. 1, the equipment synthesis process is generally a multistage chain. "equipment 1" located at the starting position can be regarded as the most advanced option, and "equipment 1" can be synthesized into "equipment 2" when a preset condition (such as a gold coin condition and the like) is met; and the "equipment 2" can be synthesized as any one of the "equipment 3-1", "equipment 3-2", and "equipment 3-3" when a preset condition is satisfied. It should be noted that the number of the chain components is merely an exemplary illustration, and the actual type of the chain components can be flexibly set according to the type and content of the game.
Fig. 2 is a schematic diagram of a NPC conversation chain according to the related art, and as shown in fig. 2, an NPC conversation process is generally a multi-stage chain, which may include a plurality of partial contents, such as conversation contents and option contents, thereby collectively constituting the chain of NPC conversations. When a dialog control is displayed next to the NPC, the gamer displays dialog 1 by clicking on the dialog control. When the gamer clicks on the screen, dialog 2 is displayed. When the game player clicks on the screen, option 1, option 2, and option 3 are displayed. After the game player has displayed the two NPC session contents on the screen, the game player selects among option 1, option 2, and option 3. When the game player clicks a specific option, the terminal performs an operation corresponding to the specific option. It should be noted that the number of the NPC dialog chains is only an exemplary illustration, and the actual type of the NPC dialog chains can be flexibly set according to the game type and the game content.
Therefore, the touch method with multiple options in a pre-relation provided in the related art has the following technical defects:
(1) when the number of front options is large, the game player needs to frequently perform the click operation, and it is difficult to more conveniently skip the options that the game player does not pay attention to.
(2) Although a game player can skip an option that is not focused on (e.g., NPC session) by quickly clicking on the screen, it is highly likely that the area where the game player performs a click operation overlaps with the option display area. A game player is likely to touch a non-target option in a quick clicking process, so that misoperation is caused, and game experience is influenced. Also, after the game player performs a malfunction, it is not always possible to return to the previous option immediately, and it is highly likely that the game player is also required to skip the option not focused on again by quickly clicking the screen to reselect the target option.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
At least some embodiments of the present invention provide a method, an apparatus, a processor, and an electronic apparatus for processing an option control, so as to at least solve the technical problems that the touch manner of the multiple options with a pre-relation provided in the related art is prone to increase the operation complexity and induce misoperation.
According to an embodiment of the present invention, a method for processing an option control is provided, where a graphical user interface is obtained by executing a software application on a processor of a mobile terminal and rendering the software application on a touch display of the mobile terminal, and the method for processing the option control includes:
responding to a first touch operation acting on the initial option control, and dividing an option control set to be browsed into a plurality of hierarchies to be displayed, wherein the option control set to be browsed comprises: a plurality of option controls, each of the plurality of levels including at least one option control, and a first level of the plurality of levels including: an initial option control; and responding to a second touch operation continuous with the first touch operation, determining a target option control in the option control set based on a target touch position of the second touch operation, or restoring the current display page to the initial display page based on the target touch position.
Optionally, the processing method of the option control further includes: and displaying an initial option control when a preset condition is met, wherein the preset condition is determined by the game type.
Optionally, dividing the option control set to be browsed into a plurality of hierarchies to be displayed includes: acquiring a chain relation of a plurality of option controls, wherein the chain relation is used for describing a display sequence of the plurality of option controls; and displaying the option controls in a grading way according to the chain relation.
Optionally, the plurality of option controls are divided into a first hierarchy control, a second hierarchy control, and a third hierarchy control, wherein the first hierarchy control and the second hierarchy control have an indexing relationship therebetween, and the second hierarchy control and the third hierarchy control have an indexing relationship therebetween.
Optionally, the chain relationship comprises one of: the plot trend relationship in the game and the composition relationship in the game.
Optionally, determining the target option control based on the target touch position includes: acquiring the position relation between a target touch position and a plurality of option controls; and determining the option control where the target touch position is located as a target option control based on the position relation.
Optionally, restoring the current display page to the initial display page based on the target touch position includes: acquiring the position relation between a target touch position and a plurality of option controls; and when the position relation determines that the target touch position is positioned outside the option controls, restoring the current display page to the initial display page.
Optionally, the display content of the currently displayed page includes: a plurality of option controls divided into a plurality of levels for display, the display content of the initial display page comprising: an initial options control.
Optionally, the processing method of the option control further includes: responding to a third touch operation acting on the initial option control, and displaying a first level control; responding to a third touch operation acting on a first target control in the first level control, and displaying a second level control; and responding to a third touch operation acting on a second target control in the second level control, and displaying the third level control.
According to an embodiment of the present invention, there is further provided a processing apparatus for an option control, where a graphical user interface is obtained by executing a software application on a processor of a mobile terminal and rendering the software application on a touch display of the mobile terminal, the processing apparatus for the option control includes:
the display module is used for responding to a first touch operation acting on the initial option control and dividing the option control set to be browsed into a plurality of hierarchies to be displayed, wherein the option control set to be browsed comprises: a plurality of option controls, each of the plurality of levels including at least one option control, and a first level of the plurality of levels including: an initial option control; and the processing module is used for responding to a second touch operation continuous with the first touch operation, determining a target option control in the option control set based on a target touch position of the second touch operation, or restoring the current display page to the initial display page based on the target touch position.
Optionally, the display module is further configured to display an initial option control when a preset condition is met, where the preset condition is determined by a game type.
Optionally, the display module is configured to obtain a chain relationship of the multiple option controls, where the chain relationship is used to describe a display order of the multiple option controls; and displaying the option controls in a grading way according to the chain relation.
Optionally, the plurality of option controls are divided into a first hierarchy control, a second hierarchy control, and a third hierarchy control, wherein the first hierarchy control and the second hierarchy control have an indexing relationship therebetween, and the second hierarchy control and the third hierarchy control have an indexing relationship therebetween.
Optionally, the chain relationship comprises one of: the plot trend relationship in the game and the composition relationship in the game.
Optionally, the processing module is configured to obtain a position relationship between the target touch position and the multiple option controls; and determining the option control where the target touch position is located as a target option control based on the position relation.
Optionally, the processing module is configured to obtain a position relationship between the target touch position and the multiple option controls; and when the position relation determines that the target touch position is positioned outside the option controls, restoring the current display page to the initial display page.
Optionally, the display content of the currently displayed page includes: a plurality of option controls divided into a plurality of levels for display, the display content of the initial display page comprising: an initial options control.
Optionally, the processing module is further configured to display the first-level control in response to a third touch operation applied to the initial option control; responding to a third touch operation acting on a first target control in the first level control, and displaying a second level control; and responding to a third touch operation acting on a second target control in the second level control, and displaying the third level control.
According to an embodiment of the present invention, there is further provided a non-volatile storage medium, in which a computer program is stored, where the computer program is configured to execute the processing method of the option control in any one of the above items when the computer program runs.
There is further provided, according to an embodiment of the present invention, a processor configured to run a program, where the program is configured to execute, when running, a processing method of the option control in any one of the above.
There is further provided, according to an embodiment of the present invention, an electronic apparatus, including a memory and a processor, where the memory stores a computer program, and the processor is configured to execute the computer program to perform the processing method of the option control in any one of the above.
In at least some embodiments of the present invention, in a manner that a set of option controls to be browsed is divided into multiple hierarchies to be displayed in response to a first touch operation acting on an initial option control, the set of option controls to be browsed includes multiple option controls, each hierarchy of the multiple hierarchies includes at least one option control, and a first hierarchy of the multiple hierarchies includes the initial option control, a target option control is determined in the set of option controls based on a target touch position of a second touch operation or a currently displayed page is restored to an initial displayed page based on the target touch position in response to a second touch operation continuous with the first touch operation, so that the multiple option controls are divided into multiple hierarchies to be displayed at one time, and a game player can visually know contents of all the option controls, thereby achieving a purpose of selecting the target option controls more quickly and accurately, and displaying the target option controls in a manner of being displayed in multiple hierarchies based on a target touch position, The technical effects of reducing the operation complexity and reducing the misoperation are achieved, and the technical problems that the operation complexity is easily increased and the misoperation is easily induced in the touch control mode with the multiple options of the preposition relation provided by the related technology are solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a schematic view of an equipment composite chain according to the related art;
fig. 2 is a schematic diagram of an NPC conversation chain according to the related art;
FIG. 3 is a flow diagram of a method of processing an options control according to one embodiment of the present invention;
FIG. 4 is a diagram illustrating a process for an options control according to one embodiment of the present invention;
FIG. 5 is a block diagram of a processing device for an option control according to an embodiment of the invention;
fig. 6 is a block diagram of a processing device of an option control according to an alternative embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In accordance with one embodiment of the present invention, there is provided an embodiment of a method for processing an option control, wherein the steps illustrated in the flowchart of the figure may be performed in a computer system such as a set of computer-executable instructions, and wherein although a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be performed in an order different than that illustrated herein.
The method embodiments may be performed in a mobile terminal, a computer terminal or a similar computing device. Taking the example of the Mobile terminal running on the Mobile terminal, the Mobile terminal may be a terminal device such as a smart phone (e.g., an Android phone, an iOS phone, etc.), a tablet computer, a palm computer, a Mobile Internet device (MID for short), a PAD, and the like. The mobile terminal may include one or more processors (which may include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a Digital Signal Processing (DSP) chip, a Microprocessor (MCU), a programmable logic device (FPGA), a neural Network Processor (NPU), a Tensor Processor (TPU), an Artificial Intelligence (AI) type processor, etc.) and a memory for storing data. Optionally, the mobile terminal may further include a transmission device, an input/output device, and a display device for a communication function. It will be understood by those skilled in the art that the foregoing structural description is only illustrative and not restrictive of the structure of the mobile terminal. For example, the mobile terminal may also include more or fewer components than described above, or have a different configuration than described above.
The memory may be configured to store a computer program, for example, a software program and a module of application software, such as a computer program corresponding to the processing method of the option control in the embodiment of the present invention, and the processor executes various functional applications and data processing by running the computer program stored in the memory, that is, implements the processing method of the option control described above. The memory may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory may further include memory located remotely from the processor, and these remote memories may be connected to the mobile terminal through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device is used to receive or transmit data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device includes a Network adapter (NIC) that can be connected to other Network devices through a base station to communicate with the internet. In one example, the transmission device may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
The display device may be, for example, a touch screen type Liquid Crystal Display (LCD) and a touch display (also referred to as a "touch screen" or "touch display screen"). The liquid crystal display may enable a user to interact with a user interface of the mobile terminal. In some embodiments, the mobile terminal has a Graphical User Interface (GUI) with which a user can interact by touching finger contacts and/or gestures on a touch-sensitive surface, where the human-machine interaction function optionally includes the following interactions: executable instructions for creating web pages, drawing, word processing, making electronic documents, games, video conferencing, instant messaging, emailing, call interfacing, playing digital video, playing digital music, and/or web browsing, etc., for performing the above-described human-computer interaction functions, are configured/stored in one or more processor-executable computer program products or readable storage media.
In this embodiment, a method for processing an option control running on the mobile terminal is provided, and fig. 3 is a flowchart of a method for processing an option control according to an embodiment of the present invention, where a graphical user interface is obtained by executing a software application on a processor of the mobile terminal and rendering the software application on a touch display of the mobile terminal, as shown in fig. 3, the method includes the following steps:
step S30, in response to a first touch operation acting on the initial option control, dividing the option control set to be browsed into multiple hierarchies to be displayed, where the option control set to be browsed includes: a plurality of option controls, each of the plurality of levels including at least one option control, and a first level of the plurality of levels including: an initial option control;
the initial option controls described above are typically front controls that perform specific operations within the game scene. For example: the initial option control may be a front control that dialogues with the NPC within the game scene, or the initial option control may be a front control that is instrumented with a composition within the game scene. The first touch operation may include, but is not limited to: the long-press operation and the re-press operation do not conflict with the click operation originally executed in the graphical user interface, so that the original operation habits of game players are reasonably reserved. The option control set to be browsed includes: a plurality of option controls. The method comprises the steps of dividing a plurality of option controls into a plurality of levels for displaying by executing a first touch operation on an initial option control, wherein each level in the plurality of levels comprises at least one option control, and the first level in the plurality of levels comprises: an initial options control. The multiple option controls can display all the option controls in the same graphical user interface at the same time, and can also display part of the option controls in the same graphical user interface separately.
In an alternative embodiment, the plurality of option controls are divided into a first level control, a second level control, and a third level control. The first-level control and the second-level control have an index relationship therebetween, and the second-level control and the third-level control have an index relationship therebetween.
Fig. 4 is a schematic diagram of a processing procedure of an option control according to an embodiment of the present invention, as shown in fig. 4, option 1 is an initial option control, and the multiple option controls include: option 1, option 2, option 3-1, option 3-2, and option 3-3. Option 1 is a first level (top level) control, option 2 is a second level control adjacent to option 1, and options 3-1, 3-2, and 3-3 are third level controls adjacent to option 2. Option 3-1, option 3-2, and option 3-3 are the same hierarchical controls. It should be noted that the number of the option controls is only an exemplary illustration, and the actual type of the option controls can be flexibly set according to the type of the game and the content of the game. In addition, the arrangement order of the plurality of display hierarchies in the plurality of option controls may be sequentially arranged from the left side of the graphical user interface to the right side of the graphical user interface, may be sequentially arranged from the right side of the graphical user interface to the left side of the graphical user interface, and may be sequentially arranged from the upper side of the graphical user interface to the lower side of the graphical user interface, which is not strictly limited herein.
Step S31, in response to a second touch operation continuous with the first touch operation, determining a target option control in the option control set based on a target touch position of the second touch operation, or restoring the currently displayed page to the initial displayed page based on the target touch position.
The second touch operation may include, but is not limited to: and (4) sliding operation. Through second touch operation acting on different directions in the graphical user interface, the multiple option controls can be browsed in multiple directions, for example: browsing through multiple option controls in a horizontal direction, or browsing through multiple option controls in a vertical direction. Therefore, the game player can visually check all the option controls from different angles, the skipping experience of the game player on the option controls without paying attention to can be optimized, the touch hot areas (namely the touch range or the response area of each option control) of different option controls can be prevented from being overlapped, and the possibility of misoperation of the game player is reduced.
When the second touch operation is terminated, a target touch position of the second touch operation may be acquired on the graphical user interface. For example: and the sliding track end position of the sliding operation. A target option control (i.e., an option control that the game player wishes to select) may be determined based on the target touch position, or the currently displayed page may be restored to the original displayed page based on the target touch position (i.e., the currently displayed page does not have an option control that the game player wishes to select yet). In an optional embodiment, the display content of the current display page may include a plurality of option controls that are displayed in a plurality of hierarchical levels, and the display content of the initial display page may include an initial option control. As also shown in FIG. 4, the display content of the currently displayed page may include option 1, option 2, option 3-1, option 3-2, and option 3-3. The display content of the initial display page may include option 1.
Through the steps, the method that the option control set to be browsed is divided into a plurality of layers to be displayed in response to the first touch operation acting on the initial option control, the option control set to be browsed comprises a plurality of option controls, each layer in the plurality of layers comprises at least one option control, and the first layer in the plurality of layers comprises the initial option control can be adopted, through responding to the second touch operation continuous with the first touch operation, the target option control is determined in the option control set based on the target touch position of the second touch operation or the current display page is restored to the initial display page based on the target touch position, the aim that the plurality of option controls are divided into the plurality of layers to be displayed at one time is achieved, so that a game player can visually know the content of all the option controls, and the aim that the target option controls can be selected more quickly and accurately, The technical effects of reducing the operation complexity and reducing the misoperation are achieved, and the technical problems that the operation complexity is easily increased and the misoperation is easily induced in the touch control mode with the multiple options of the preposition relation provided by the related technology are solved.
Optionally, the processing method of the option control may further include the following steps:
and step S32, displaying an initial option control when a preset condition is met, wherein the preset condition is determined by the game type.
The initial option control may be a conventional option control displayed by default on the graphical user interface, or may be an initial option control that is triggered to be displayed when a preset condition is met, where the preset condition is determined by the game type. For example: in the MOBA type hand game, when the local equipment synthesis condition is met (for example, the number of gold coins is accumulated to a preset value), the weapon equipment (for example, iron sword) option control matched with the local equipment synthesis condition is triggered to be displayed in the graphic user interface. In the character adventure game, when a virtual character and NPC conversation condition is met (for example, the NPC is required to guide a subsequent adventure flow), a conversation option control is triggered to be displayed in the graphic user interface.
Optionally, in step S30, dividing the set of option controls to be browsed into multiple hierarchies for display may include the following steps:
step S300, acquiring a chain relation of the multiple option controls, wherein the chain relation is used for describing the display sequence of the multiple option controls;
and S301, displaying the option controls in a grading manner according to the chain relationship.
In order to display the multiple option controls hierarchically, a chain relationship of the multiple option controls needs to be acquired. The chain relationship is used for describing the display sequence of the option controls (such as an in-game plot trend relationship, an in-game equipment composition relationship and the like) so as to display the option controls in a hierarchical manner according to the chain relationship. That is, in the multiple option controls, the initial option control is taken as the first hierarchy (i.e., the first node of the entire chain relationship), and then the subsequent multiple hierarchies (i.e., the subsequent nodes of the entire chain relationship) are sequentially shown. As also shown in fig. 4, when the first level (first level) of the chain relationship of the plurality of option controls is option 1, the second level adjacent to option 1 is option 2, the third level adjacent to option 2 is option 3-1, option 3-2, and option 3-3, and option 3-1, option 3-2, and option 3-3 are the same level, the plurality of option controls may be displayed hierarchically in the chain relationship. Therefore, the skipping experience of the game player on the option control without paying attention to can be optimized, the touch hot areas of different option controls can be prevented from being overlapped, and the possibility of misoperation of the game player is reduced.
Optionally, the processing method of the option control may further include the following steps:
step S33, acquiring a first operation direction of a second touch operation;
and step S34, browsing the option controls positioned at different levels in the option control set to be browsed based on the first operation direction.
The first operation direction of the second touch operation may be a horizontal operation direction of a sliding operation. And by sliding left and right in the horizontal operation direction, the option controls positioned at different levels in the option control set to be browsed can be browsed. Still as shown in fig. 4, when the first level (the first level) of the chain relationship of the plurality of option controls is option 1, the second level adjacent to option 1 is option 2, the third level adjacent to option 2 is option 3-1, option 3-2 and option 3-3, and option 3-1, option 3-2 and option 3-3 are the same level, any one of option 1, option 2 and option 3-1, option 3-2 and option 3-3 located at different levels in the option control set to be browsed can be browsed by sliding left and right in the horizontal operation direction.
Optionally, the processing method of the option control may further include the following steps:
step S35, obtaining a second operation direction of the second touch operation;
and step S36, browsing the option controls positioned at the same level in the option control set to be browsed based on the second operation direction.
The second operation direction of the second touch operation may be a vertical operation direction of the sliding operation. And the option controls positioned at the same level in the option control set to be browsed can be browsed by sliding up and down in the vertical operation direction. Still as shown in fig. 4, when the first level (the first level) of the chain relationship of the plurality of option controls is option 1, the second level adjacent to option 1 is option 2, the third level adjacent to option 2 is option 3-1, option 3-2 and option 3-3, and option 3-1, option 3-2 and option 3-3 are at the same level, the options 3-1, option 3-2 and option 3-3 at the same level in the set of option controls to be browsed can be browsed by sliding up and down in the vertical operation direction.
Optionally, in step S31, determining the target option control based on the target touch position may include the following steps:
step S310, acquiring the position relation between a target touch position and a plurality of option controls;
step S311, based on the position relationship, determining the option control in which the target touch position is located as the target option control.
The position relationship between the target touch position and the plurality of option controls may include one of:
(1) the target touch position is positioned in a touch hot area of any option control in the plurality of option controls;
(2) the target touch position is located outside the touch hot area of all the option controls in the plurality of option controls.
By obtaining the position relationship between the target touch position and the plurality of option controls, when it is determined that the target touch position is located in the touch hot area of any option control of the plurality of option controls based on the position relationship, the option control in which the target touch position is located can be determined as the target option control. As also shown in FIG. 4, when the target touch location is within the touch hot zone of option 3-2, option 3-2 is determined to be the target option control.
Optionally, in step S31, restoring the current display page to the initial display page based on the target touch position may include the following steps:
step S312, acquiring the position relation between the target touch position and the plurality of option controls;
step 313, when the position relationship determines that the target touch position is outside the multiple option controls, restoring the current display page to the initial display page.
By obtaining the position relationship between the target touch position and the plurality of option controls, when it is determined that the target touch position is outside the touch hot area of all the option controls in the plurality of option controls based on the position relationship, the current display page can be restored to the initial display page. As also shown in FIG. 4, the display content of the currently displayed page may include option 1, option 2, option 3-1, option 3-2, and option 3-3. The display content of the initial display page may include option 1.
Optionally, the processing method of the option control may further include the following steps:
step S37, responding to a third touch operation acting on the initial option control, and displaying a first level control;
step S38, responding to a third touch operation acting on a first target control in the first level controls, and displaying a second level control;
step S39, in response to a third touch operation acting on a second target control in the second hierarchical controls, displaying the third hierarchical controls.
The third touch operation may include, but is not limited to: single click operation, double click operation. In order to realize diversification of touch modes of multiple options with a preposed relation, different display modes can be adopted for the multiple option controls through different types of touch operations. When the first touch operation is executed on the initial option control, the multiple option controls can be divided into multiple hierarchies to be displayed at one time. When the third touch operation is performed on the initial option control, the multiple option controls can be displayed step by step, similar to the touch manner of multiple options with a front relation provided in the related art. That is, the first level control is displayed in response to the click operation acting on the initial option control, the second level control is displayed in response to the click operation acting on the first target control in the first level control, and the third level control is displayed in response to the click operation acting on the second target control in the second level control.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
In this embodiment, a processing device for an option control is further provided, and the device is used to implement the foregoing embodiments and preferred embodiments, and details of which have been already described are omitted. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 5 is a block diagram of a processing apparatus for an option control according to an embodiment of the present invention, where a graphical user interface is obtained by executing a software application on a processor of a mobile terminal and rendering the software application on a touch display of the mobile terminal, as shown in fig. 5, the apparatus includes: the display module 10 is configured to respond to a first touch operation acting on an initial option control, and divide an option control set to be browsed into multiple hierarchies to be displayed, where the option control set to be browsed includes: a plurality of option controls, each of the plurality of levels including at least one option control, and a first level of the plurality of levels including: an initial option control; the processing module 20 is configured to respond to a second touch operation that is continuous with the first touch operation, determine a target option control in the option control set based on a target touch position of the second touch operation, or restore the current display page to the initial display page based on the target touch position.
Optionally, the display module 10 is further configured to display an initial option control when a preset condition is met, where the preset condition is determined by the game type.
Optionally, the display module 10 is configured to obtain a chain relationship of the multiple option controls, where the chain relationship is used to describe a display sequence of the multiple option controls; and displaying the option controls in a grading way according to the chain relation.
Optionally, the plurality of option controls are divided into a first hierarchy control, a second hierarchy control, and a third hierarchy control, wherein the first hierarchy control and the second hierarchy control have an indexing relationship therebetween, and the second hierarchy control and the third hierarchy control have an indexing relationship therebetween.
Optionally, the chain relationship comprises one of: the plot trend relationship in the game and the composition relationship in the game.
Optionally, fig. 6 is a block diagram of a structure of a processing apparatus for an option control according to an alternative embodiment of the present invention, and as shown in fig. 6, the processing apparatus for an option control further includes: the browsing module 30 is configured to obtain a first operation direction of the second touch operation; and browsing the option controls positioned at different levels in the option control set to be browsed based on the first operation direction.
Optionally, the browsing module 30 is further configured to obtain a second operation direction of the second touch operation; and browsing the option controls positioned at the same level in the option control set to be browsed based on the second operation direction.
Optionally, the processing module 20 is configured to obtain a position relationship between the target touch position and the multiple option controls; and determining the option control where the target touch position is located as a target option control based on the position relation.
Optionally, the processing module 20 is configured to obtain a position relationship between the target touch position and the multiple option controls; and when the position relation determines that the target touch position is positioned outside the option controls, restoring the current display page to the initial display page.
Optionally, the display content of the currently displayed page includes: a plurality of option controls divided into a plurality of levels for display, the display content of the initial display page comprising: an initial options control.
Optionally, the processing module 20 is further configured to display a first-level control in response to a third touch operation applied to the initial option control; responding to a third touch operation acting on a first target control in the first level control, and displaying a second level control; and responding to a third touch operation acting on a second target control in the second level control, and displaying the third level control.
It should be noted that, the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in different processors in any combination.
Embodiments of the present invention also provide a non-volatile storage medium having a computer program stored therein, wherein the computer program is configured to perform the steps of any of the above method embodiments when executed.
Alternatively, in the present embodiment, the above-mentioned nonvolatile storage medium may be configured to store a computer program for executing the steps of:
s1, responding to a first touch operation acting on the initial option control, dividing the option control set to be browsed into a plurality of hierarchies to be displayed, wherein the option control set to be browsed comprises: a plurality of option controls, each of the plurality of levels including at least one option control, and a first level of the plurality of levels including: an initial option control;
and S2, responding to a second touch operation continuous with the first touch operation, determining a target option control in the option control set based on the target touch position of the second touch operation, or restoring the current display page to the initial display page based on the target touch position.
Optionally, in this embodiment, the nonvolatile storage medium may include, but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, responding to a first touch operation acting on the initial option control, dividing the option control set to be browsed into a plurality of hierarchies to be displayed, wherein the option control set to be browsed comprises: a plurality of option controls, each of the plurality of levels including at least one option control, and a first level of the plurality of levels including: an initial option control;
and S2, responding to a second touch operation continuous with the first touch operation, determining a target option control in the option control set based on the target touch position of the second touch operation, or restoring the current display page to the initial display page based on the target touch position.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and this embodiment is not described herein again.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (13)

1. A processing method of an option control is characterized in that a graphical user interface is obtained by executing a software application on a processor of a mobile terminal and rendering the software application on a touch display of the mobile terminal, and the processing method of the option control comprises the following steps:
responding to a first touch operation acting on an initial option control, and dividing an option control set to be browsed into a plurality of hierarchies to be displayed, wherein the option control set to be browsed comprises: a plurality of option controls, each of the plurality of levels including at least one option control, and a first level of the plurality of levels including: the initial option control;
and responding to a second touch operation continuous with the first touch operation, determining a target option control in the option control set based on a target touch position of the second touch operation, or restoring the current display page to the initial display page based on the target touch position.
2. The method for processing the option control according to claim 1, further comprising:
and when a preset condition is met, displaying the initial option control, wherein the preset condition is determined by the game type.
3. The method for processing the option control according to claim 1, wherein dividing the set of option controls to be browsed into the plurality of hierarchies for display comprises:
acquiring a chain relation of the plurality of option controls, wherein the chain relation is used for describing a display sequence of the plurality of option controls;
and displaying the option controls in a grading way according to the chain relation.
4. The method for processing option controls according to claim 1 or 3, wherein the plurality of option controls are divided into a first hierarchy control, a second hierarchy control and a third hierarchy control, wherein the first hierarchy control and the second hierarchy control have an index relationship therebetween, and the second hierarchy control and the third hierarchy control have an index relationship therebetween.
5. The method of claim 3, wherein the chain relationship comprises one of: the plot trend relationship in the game and the composition relationship in the game.
6. The method of claim 1, wherein determining the target option control based on the target touch location comprises:
acquiring the position relation between the target touch position and the option controls;
and determining the option control where the target touch position is located as the target option control based on the position relation.
7. The method for processing the option control according to claim 1, wherein restoring the current display page to the initial display page based on the target touch position comprises:
acquiring the position relation between the target touch position and the option controls;
and when the position relation determines that the target touch position is positioned outside the option controls, restoring the current display page to the initial display page.
8. The method for processing the option control according to claim 1, wherein the display content of the currently displayed page comprises: the plurality of option controls displayed in the plurality of hierarchical levels, the display content of the initial display page comprising: the initial options control.
9. The method for processing the option control according to claim 1, further comprising:
responding to a third touch operation acting on the initial option control, and displaying a first level control;
displaying a second level control in response to the third touch operation acting on a first target control in the first level control;
and responding to the third touch operation acting on a second target control in the second level control, and displaying a third level control.
10. A processing apparatus for an option control, wherein a graphical user interface is obtained by executing a software application on a processor of a mobile terminal and rendering the software application on a touch display of the mobile terminal, the processing apparatus for the option control comprising:
the display module is used for responding to a first touch operation acting on the initial option control and dividing an option control set to be browsed into a plurality of hierarchies to be displayed, wherein the option control set to be browsed comprises: a plurality of option controls, each of the plurality of levels including at least one option control, and a first level of the plurality of levels including: the initial option control;
and the processing module is used for responding to a second touch operation continuous with the first touch operation, determining a target option control in the option control set based on a target touch position of the second touch operation, or restoring the current display page to the initial display page based on the target touch position.
11. A non-volatile storage medium, wherein a computer program is stored in the storage medium, wherein the computer program is configured to execute the processing method of the option control according to any one of claims 1 to 9 when the computer program runs.
12. A processor for running a program, wherein the program is arranged to perform the method of processing an option control of any one of claims 1 to 9 when running.
13. An electronic device comprising a memory and a processor, wherein the memory has stored therein a computer program, and the processor is configured to execute the computer program to perform the method of processing an option control as claimed in any one of claims 1 to 9.
CN202110514332.1A 2021-05-07 2021-05-07 Processing method and device of option control, processor and electronic device Pending CN113262472A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110514332.1A CN113262472A (en) 2021-05-07 2021-05-07 Processing method and device of option control, processor and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110514332.1A CN113262472A (en) 2021-05-07 2021-05-07 Processing method and device of option control, processor and electronic device

Publications (1)

Publication Number Publication Date
CN113262472A true CN113262472A (en) 2021-08-17

Family

ID=77230439

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110514332.1A Pending CN113262472A (en) 2021-05-07 2021-05-07 Processing method and device of option control, processor and electronic device

Country Status (1)

Country Link
CN (1) CN113262472A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113797558A (en) * 2021-09-07 2021-12-17 网易(杭州)网络有限公司 Information processing method and device, storage medium and electronic equipment
CN114327731A (en) * 2021-12-31 2022-04-12 北京字跳网络技术有限公司 Information display method, device, equipment and medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108379839A (en) * 2018-03-23 2018-08-10 网易(杭州)网络有限公司 Response method, device and the terminal of control
CN108434728A (en) * 2018-02-09 2018-08-24 网易(杭州)网络有限公司 Operation control adaptation method and device, electronic equipment and storage medium
CN110109604A (en) * 2019-04-29 2019-08-09 维沃移动通信有限公司 A kind of application interface display methods and mobile terminal
WO2020029817A1 (en) * 2018-08-08 2020-02-13 腾讯科技(深圳)有限公司 Method and apparatus for selecting accessory in virtual environment, and device and readable storage medium
CN111760278A (en) * 2020-07-10 2020-10-13 腾讯科技(深圳)有限公司 Skill control display method, device, equipment and medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108434728A (en) * 2018-02-09 2018-08-24 网易(杭州)网络有限公司 Operation control adaptation method and device, electronic equipment and storage medium
CN108379839A (en) * 2018-03-23 2018-08-10 网易(杭州)网络有限公司 Response method, device and the terminal of control
WO2020029817A1 (en) * 2018-08-08 2020-02-13 腾讯科技(深圳)有限公司 Method and apparatus for selecting accessory in virtual environment, and device and readable storage medium
CN110109604A (en) * 2019-04-29 2019-08-09 维沃移动通信有限公司 A kind of application interface display methods and mobile terminal
CN111760278A (en) * 2020-07-10 2020-10-13 腾讯科技(深圳)有限公司 Skill control display method, device, equipment and medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113797558A (en) * 2021-09-07 2021-12-17 网易(杭州)网络有限公司 Information processing method and device, storage medium and electronic equipment
CN114327731A (en) * 2021-12-31 2022-04-12 北京字跳网络技术有限公司 Information display method, device, equipment and medium
CN114327731B (en) * 2021-12-31 2023-11-14 北京字跳网络技术有限公司 Information display method, device, equipment and medium

Similar Documents

Publication Publication Date Title
CN110339572B (en) Method and device for editing card group in game and electronic equipment
CN109513208B (en) Object display method and device, storage medium and electronic device
CN108379839B (en) Control response method and device and terminal
CN111084980B (en) Method and device for purchasing virtual article
CN102830900B (en) Control method to set up and terminal unit
CN113262472A (en) Processing method and device of option control, processor and electronic device
CN110075522A (en) The control method of virtual weapons, device and terminal in shooting game
CN112402977A (en) Target virtual role locking method and device, processor and electronic device
CN106790828A (en) The control method and mobile terminal of a kind of mobile terminal
CN110215695B (en) Game object selection method and device
TW202223618A (en) Interactive information processing method, device, terminal, storage medium and program product
CN110633420A (en) Game content recommendation method and device, storage medium, processor and electronic device
US20230241499A1 (en) Position adjustment method and apparatus for operation control, terminal, and storage medium
CN113908550A (en) Virtual character control method, nonvolatile storage medium, and electronic apparatus
CN111475087A (en) Object selling method and device, storage medium and electronic device
CN112169314A (en) Method and device for selecting target object in game
CN111841001A (en) Information processing method, device, equipment and storage medium in game
CN113952740A (en) Method and device for sharing virtual props in game, storage medium and electronic equipment
CN112619147A (en) Game equipment replacing method and device and terminal device
CN106484235B (en) A kind of self-defined method and apparatus that game operation interface is set
CN113262489A (en) Game route generation method, game route generation device, nonvolatile storage medium, and electronic device
CN112843707A (en) Method, apparatus, medium, and product for reloading game object
CN106843784B (en) Method and device for displaying data
KR102650890B1 (en) Method for providing item enhancement service in game
CN112083994A (en) Notification message processing method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination