CN111803938A - Game interface processing method, terminal device, electronic device and storage medium - Google Patents

Game interface processing method, terminal device, electronic device and storage medium Download PDF

Info

Publication number
CN111803938A
CN111803938A CN201910288925.3A CN201910288925A CN111803938A CN 111803938 A CN111803938 A CN 111803938A CN 201910288925 A CN201910288925 A CN 201910288925A CN 111803938 A CN111803938 A CN 111803938A
Authority
CN
China
Prior art keywords
action information
function button
game
terminal device
game interface
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.)
Granted
Application number
CN201910288925.3A
Other languages
Chinese (zh)
Other versions
CN111803938B (en
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 CN201910288925.3A priority Critical patent/CN111803938B/en
Publication of CN111803938A publication Critical patent/CN111803938A/en
Application granted granted Critical
Publication of CN111803938B publication Critical patent/CN111803938B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/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/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/90Constructional details or arrangements of video game devices not provided for in groups A63F13/20 or A63F13/25, e.g. housing, wiring, connections or cabinets
    • A63F13/92Video game devices specially adapted to be hand-held while playing

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application provides a game interface processing method, terminal equipment, electronic equipment and a storage medium, wherein the method comprises the following steps: acquiring contactless action information, wherein the contactless action information is used for indicating the position relation between an operation medium and terminal equipment, and the operation medium is not in contact with the terminal equipment; and previewing and displaying the game interface corresponding to the contactless action information in the graphical user interface according to the contactless action information. The terminal equipment can determine that the user needs to search and open a game interface according to the acquired non-contact action information without clicking the function buttons of the game one by the user, and the time of the user is saved; due to the fact that user operation is reduced, the game can be further accelerated, timeliness of the game is improved, and user experience is improved.

Description

Game interface processing method, terminal device, electronic device and storage medium
Technical Field
The present application relates to the field of game technologies, and in particular, to a game interface processing method, a terminal device, an electronic device, and a storage medium.
Background
Along with the development of the electronic entertainment industry, games are more and more popular among multiple users; also, more and more games can be operated by terminal devices, in particular mobile terminal devices.
In the prior art, a plurality of function buttons are arranged in a game interface, and each function button corresponds to one interface; the user clicks the function button, the terminal device opens the interface corresponding to the function button, and then the user can find the interface required by the user to play the game.
However, in the prior art, since many function buttons are arranged in the interface of the game, the user needs to click the function buttons in sequence respectively to find the required interface. Therefore, the interface required by the user can be determined only by clicking the game for multiple times by the user; the operation is troublesome, and more time is needed for users; moreover, the timeliness of the game is poor, and the user experience is not high.
Disclosure of Invention
The application provides a game interface processing method, terminal equipment, electronic equipment and a storage medium, which are used for solving the problems that in the prior art, operation is troublesome, more time is needed for a user, and timeliness of a game is poor.
In a first aspect, an embodiment of the present application provides a method for processing a game interface, which is applied to a terminal device capable of rendering a graphical user interface, where the method includes:
the method comprises the steps of obtaining contactless action information, wherein the contactless action information is used for indicating the position relation between an operation medium and terminal equipment, and the operation medium is not in contact with the terminal equipment;
and previewing and displaying a game interface corresponding to the contactless action information in the graphical user interface according to the contactless action information.
Optionally, previewing and displaying a game interface corresponding to the contactless action information in the graphical user interface according to the contactless action information includes:
determining a function button indicated by the contactless action information according to the position relation;
and previewing and displaying the game interface corresponding to the function button in the graphical user interface.
Optionally, the position relationship includes a distance value between the operation medium and the screen of the terminal device, the number of the function buttons is one, and a distance between the function button and the operation medium is the distance value;
the game interface corresponding to the function button is displayed in the graphical user interface in a previewing mode, and the method comprises the following steps:
if the distance value is smaller than or equal to the preset distance, previewing and displaying a game interface corresponding to the function button.
Optionally, the method further includes:
and if the distance value is greater than the preset distance, closing the interface browsing function of the graphical user interface.
Optionally, the position relationship further includes movement information of the operation medium, the number of the function buttons is at least two, and a distance between each function button and the operation medium is the distance value;
the game interface corresponding to the function button is displayed in the graphical user interface in a previewing mode, and the method comprises the following steps:
according to the non-contact action information, determining free movement of the operating medium on a horizontal axis, wherein the horizontal axis is perpendicular to and intersected with a vertical axis, and the vertical axis is a connecting line between the operating medium and a screen of the terminal equipment;
and switching and previewing the game interface corresponding to each function button in the graphical user interface.
Optionally, determining, according to the contactless motion information, that the operating medium moves freely on a horizontal axis includes:
determining a time at which the operating medium stays at each point on the horizontal axis;
and if the time of each point is less than the preset time, determining that the operating medium moves freely on the horizontal axis.
Optionally, the method further includes:
acquiring an operation instruction, wherein the operation instruction is used for indicating to trigger a function button;
and opening a game interface corresponding to the function button indicated by the operation instruction according to the operation instruction.
Optionally, a sensor is disposed in the terminal device, and the sensor is configured to detect the position relationship.
In a second aspect, an embodiment of the present application provides a terminal device, where the terminal device is configured to render a graphical user interface, and the terminal device includes:
the system comprises a detection unit, a processing unit and a processing unit, wherein the detection unit is used for acquiring contactless action information, the contactless action information is used for indicating the position relation between an operation medium and a terminal device, and the operation medium and the terminal device are not in contact;
and the previewing unit is used for previewing and displaying the game interface corresponding to the contactless action information in the graphical user interface according to the contactless action information.
Optionally, the preview unit includes:
the determining module is used for determining the function button indicated by the contactless action information according to the position relation;
and the preview module is used for previewing and displaying the game interface corresponding to the function button in the graphical user interface.
Optionally, the position relationship includes a distance value between the operation medium and the screen of the terminal device, the number of the function buttons is one, and a distance between the function button and the operation medium is the distance value; a preview module, comprising:
the first preview submodule is used for previewing and displaying a game interface corresponding to the function button if the distance value is smaller than or equal to a preset distance;
and the closing submodule is used for closing the interface browsing function of the graphical user interface if the distance value is greater than the preset distance.
Or, optionally, the position relationship further includes movement information of the operation medium, the number of the function buttons is at least two, and a distance between each function button and the operation medium is the distance value; a preview module, comprising:
the determining submodule is used for determining the free movement of the operating medium on a horizontal axis according to the non-contact action information, wherein the horizontal axis is perpendicular to and intersected with a vertical axis, and the vertical axis is a connecting line between the operating medium and a screen of the terminal equipment;
and the second preview sub-module is used for switching and previewing the game interface corresponding to each function button in the graphical user interface.
Optionally, the determining submodule is specifically configured to: determining a time at which the operating medium stays at each point on the horizontal axis; and if the time of each point is less than the preset time, determining that the operating medium moves freely on the horizontal axis.
Optionally, the preview module further includes:
the acquisition submodule is used for acquiring an operation instruction, wherein the operation instruction is used for indicating to trigger a function button;
and the opening sub-module is used for opening the game interface corresponding to the functional button indicated by the operation instruction according to the operation instruction.
Optionally, a sensor is disposed in the terminal device, and the sensor is configured to detect a position relationship.
In a third aspect, an embodiment of the present application provides an electronic device, including: the device comprises a memory and a processor, wherein the memory stores executable instructions of the processor; wherein the processor is configured to perform the method of any of the first aspects via execution of the executable instructions.
In a fourth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the method of any one of the first aspect.
The application provides a game interface processing method, terminal equipment, electronic equipment and a storage medium, wherein non-contact action information is acquired, wherein the non-contact action information is used for indicating the position relation between an operation medium and the terminal equipment, and the operation medium and the terminal equipment are not in contact with each other; and previewing and displaying the game interface corresponding to the contactless action information in the graphical user interface according to the contactless action information. The terminal equipment determines that a user needs to find and open a game interface by detecting the position relation between the operation medium and the terminal equipment, so that the terminal equipment displays the game interface in a graphical user interface in a preview mode for the user, and the user can preview the game interface; the terminal equipment can determine that the user needs to search and open a game interface according to the acquired non-contact action information without clicking the function buttons of the game one by the user, and the time of the user is saved; moreover, the terminal equipment displays the game interface in a preview mode, so that a user can quickly see whether the game interface is required by the user; due to the fact that user operation is reduced, the game can be further accelerated, timeliness of the game is improved, and user experience is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to these drawings without inventive exercise.
FIG. 1 is a flow chart of a method for processing a game interface according to an embodiment of the present disclosure;
FIG. 2 is a flow chart of another method for processing a game interface according to an embodiment of the present disclosure;
FIG. 3 is a first schematic view illustrating a preview of an interface of a game according to an embodiment of the present disclosure;
FIG. 4 is a second schematic preview of an interface of a game provided in the embodiment of the present application;
fig. 5 is a schematic structural diagram of a terminal device according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of another terminal device provided in the embodiment of the present application;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
With the above figures, there are shown specific embodiments of the present application, which will be described in more detail below. These drawings and written description are not intended to limit the scope of the inventive concepts in any manner, but rather to illustrate the inventive concepts to those skilled in the art by reference to specific embodiments.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all 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 application.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims of the present application and in the above-described drawings (if any) 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 application described herein are, for example, capable of operation in sequences other than those illustrated or otherwise 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.
The technical solution of the present application will be described in detail below with specific examples. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments.
As more function buttons are arranged in the game interface, a user needs to click the function buttons respectively and sequentially to find the required interface. For example, a user clicks a function button A, the function button A corresponds to an interface A, the terminal device displays the interface A, and the user determines that the interface A is not an interface required by the user; then, the user clicks a function button B, the function button B corresponds to the interface B, the terminal equipment displays the interface B, and the user determines that the interface A is not the interface required by the user; and so on until the user finds the required interface. Therefore, the interface required by the user can be determined only by clicking the game for multiple times by the user; the operation is troublesome, and more time is needed for users; moreover, the timeliness of the game is poor, and the user experience is not high.
The application provides a game interface processing method, terminal equipment, electronic equipment and a storage medium, a user does not need to click function buttons of a game one by one, the user only needs to perform a non-contact operation action at a certain distance from a screen of the terminal equipment, and the terminal equipment can determine that the user needs to search and open a game interface according to the obtained non-contact action information, so that the operation of the user is reduced, and the time of the user is saved; moreover, the terminal equipment displays the game interface in a preview mode, so that a user can quickly see whether the game interface is required by the user; due to the fact that user operation is reduced, the game can be further accelerated, timeliness of the game is improved, and user experience is improved.
The following describes the technical solutions of the present application and how to solve the above technical problems with specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
Fig. 1 is a flowchart of a processing method of a game interface provided in an embodiment of the present application, and as shown in fig. 1, the method in the embodiment may include:
s101, contactless action information is obtained, wherein the contactless action information is used for indicating the position relation between the operation medium and the terminal equipment, and the operation medium is not in contact with the terminal equipment.
Optionally, a sensor is disposed in the terminal device, and the sensor is configured to detect a position relationship.
In this embodiment, an execution main body in the embodiment of the present application may be a terminal, a server, a processing device or an apparatus of a game interface, or other devices or apparatuses that may execute the method provided in the present application. The embodiment is described with an execution subject as a terminal device.
The terminal device displays a graphical user interface of the game on a screen, the user needs to operate the game, and the user can interact with the terminal device by using the operation medium. Wherein the operating medium may be a finger of a user, a trigger pen, other trigger device, and the like.
Firstly, the operating medium is not in direct contact with the terminal equipment, and the operating medium and the terminal equipment have a certain position relation; then, the terminal device may detect contactless action information, which may indicate the above-mentioned positional relationship, for example, the terminal device may detect the contactless action information through a built-in sensor; the positional relationship is a distance between the operation medium and the terminal device, and for example, the positional relationship is that the operation medium is free above a screen of the terminal device.
For example, the operation medium may be a finger of the user; when a game interface needs to be selected, the fingers of the user are close to the terminal equipment, but the fingers of the user are not in contact with the terminal equipment; then, since the sensor is provided in the terminal device, the terminal device can detect the contactless motion information, that is, the finger motion information, by the built-in sensor.
And S102, previewing and displaying a game interface corresponding to the contactless action information in the graphical user interface according to the contactless action information.
In the embodiment, the terminal equipment determines that the user needs to search and open a game interface according to the non-contact action information; moreover, the contactless action information can directly or indirectly indicate the game interface, so that the terminal device presents the game interface for the user in a preview manner, that is, the terminal device presents the game interface in a preview manner in the graphical user interface. The preview means that the game interface is viewed in advance, and the game interface is not formally opened; in the preview state, the game interface cannot be operated, and the user can only view the game interface.
In the embodiment, by acquiring contactless action information, where the contactless action information is used to indicate a position relationship between an operation medium and a terminal device, the operation medium and the terminal device are not in contact with each other; and previewing and displaying the game interface corresponding to the contactless action information in the graphical user interface according to the contactless action information. The terminal equipment determines that a user needs to find and open a game interface by detecting the position relation between the operation medium and the terminal equipment, so that the terminal equipment displays the game interface in a graphical user interface in a preview mode for the user, and the user can preview the game interface; the terminal equipment can determine that the user needs to search and open a game interface according to the acquired non-contact action information without clicking the function buttons of the game one by the user, and the time of the user is saved; moreover, the terminal equipment displays the game interface in a preview mode, so that a user can quickly see whether the game interface is required by the user; due to the fact that user operation is reduced, the game can be further accelerated, timeliness of the game is improved, and user experience is improved.
Fig. 2 is a flowchart of another game interface processing method provided in the embodiment of the present application, and as shown in fig. 2, the method in the embodiment may include:
s201, contactless action information is obtained, wherein the contactless action information is used for indicating the position relation between the operation medium and the terminal device, and the operation medium is not in contact with the terminal device.
In this embodiment, an execution main body in the embodiment of the present application may be a terminal, a server, a processing device or an apparatus of a game interface, or other devices or apparatuses that may execute the method provided in the present application. The embodiment is described with an execution subject as a terminal device.
This step can be referred to as step 101 in fig. 1, and is not described again.
S202, determining the function button indicated by the contactless action information according to the position relation.
In this embodiment, the position relationship may indicate a function button on the graphical user interface, so that the terminal device may determine the function button. Regarding the positional relationship, the following are included.
In the first case, the operation medium is directed to a function button on a graphical user interface of a game displayed on the terminal device; the terminal device can detect a distance value between the operation medium and the terminal device through the sensor, and at this time, the position relationship is the distance value.
For example, a finger of the user points to a function button on a graphical user interface displayed by the terminal device; the terminal device can detect the distance value between the finger and the screen of the terminal device through the sensor.
In the second case, the operation medium moves back and forth among the plurality of function buttons, and the terminal device can detect that the operation medium moves through the sensor; the terminal equipment can detect a distance value between the operating medium and a screen of the terminal equipment through a sensor and can also acquire movement information of the operating medium; at this time, the positional relationship includes the distance value and the movement information of the operation medium.
For example, if the finger of the user moves back and forth between the plurality of function buttons, the terminal device may detect that the finger of the user moves through the sensor; the terminal equipment can detect the distance value between the finger and the screen of the terminal equipment through the sensor, and can acquire the movement information of the finger.
And S203, previewing the game interface corresponding to the display function button in the graphical user interface.
Optionally, step S203 includes the following implementation manners.
A first implementation. The position relation comprises a distance value between the operation medium and a screen of the terminal equipment, the number of the function buttons is one, and the distance between the function buttons and the operation medium is the distance value; step S203 specifically includes the following steps:
A. if the distance value is smaller than or equal to the preset distance, previewing the game interface corresponding to the display function button.
B. And if the distance value is greater than the preset distance, closing the interface browsing function of the graphical user interface.
A second implementation. The position relation also comprises movement information of the operation medium, the number of the function buttons is at least two, and the distance between each function button and the operation medium is a distance value; step S203 specifically includes the following steps:
C. and determining free movement of the operating medium on a horizontal axis according to the contactless motion information, wherein the horizontal axis is perpendicular to and intersects with a vertical axis, and the vertical axis is a connecting line between the operating medium and a screen of the terminal equipment.
D. And switching and previewing the game interface corresponding to each function button in the graphical user interface.
E. And acquiring an operation instruction, wherein the operation instruction is used for indicating to trigger one function button.
F. And opening a game interface corresponding to the function button indicated by the operation instruction according to the operation instruction.
Optionally, the step C includes: determining a time at which the operation medium stays at each point on the horizontal axis; and if the time of each point is less than the preset time, determining that the operation medium moves freely on the horizontal axis.
In this embodiment, how the terminal device determines the function button indicated by the contactless action information and how to preview the game interface corresponding to the function button may include the following cases.
In the first case, when the positional relationship includes a distance value between the contactless action information and the screen of the terminal device, at this time, the contactless action information points to one function button on the graphical user interface displayed by the terminal device, that is, the operation medium only points to one function button; the terminal device can detect a distance value between the operation medium and a screen of the terminal device through the sensor, and the distance between the function button and the operation medium is also the distance value; the terminal equipment determines the residence time of the operation medium through a sensor; if the terminal equipment determines that the retention time is longer than the preset time, the terminal equipment determines that the user needs to select the function button pointed by the operation medium; then, the terminal equipment judges whether the distance value is smaller than a preset distance or not; if the terminal equipment determines that the distance value is smaller than the preset distance, the terminal equipment displays a game interface corresponding to the function button in a graphical user interface in a preview mode; and if the distance value of the terminal equipment is greater than the preset distance, the terminal equipment determines that the game interface does not need to be previewed, and the terminal equipment closes the interface browsing function of the graphical user interface.
Therefore, through the implementation process of the first condition, the operation medium does not need to directly contact the screen of the terminal device, and does not need to click the screen; the operation medium can be suspended above the screen; the terminal equipment determines that a user needs to preview a game interface when determining that the distance value is smaller by detecting the distance value between the operation medium and the screen; in addition, the terminal device can detect the function button indicated by the operation medium positioned above the screen through the sensor, and then the terminal device performs preview processing on the interface corresponding to the function button, so that a user can preview one interface.
For example, fig. 3 is a first schematic preview diagram of an interface of a game provided in the embodiment of the present application, as shown in fig. 3, an operation medium is a finger of a user; the finger of the user is suspended above the screen of the terminal equipment; the terminal device displays the game and provides an interface browsing function; the terminal equipment displays a function button a, a function button b, a function button c, a function button d and a function button e; the game system comprises a function button a, a function button B, a function button C, a function button D and a function button E, wherein the function button a corresponds to a game interface A, the function button B corresponds to a game interface B, the function button C corresponds to a game interface C, the function button D corresponds to a game interface D, and the function button E corresponds to a game interface E; the terminal equipment detects the position indicated by the finger of the user through the sensor, and then determines that the function button indicated by the finger of the user is a function button b; if the terminal equipment determines that the retention time of the fingers is longer than the preset time, the terminal equipment determines that the user needs to preview a game interface corresponding to the function button b; and then, if the terminal equipment determines that the distance value is smaller than the preset distance, the terminal equipment opens a game interface corresponding to the function button b.
In the second case, the terminal device displays a plurality of function buttons, and at this time, the operation medium moves back and forth between the plurality of function buttons; setting a connection line between the operation medium and a screen of the terminal device as a vertical axis; setting a straight line which is vertical to and intersected with the vertical axis as a horizontal axis; thus, the terminal device can acquire the movement information of the operation medium. The terminal equipment can determine that the operation medium moves back and forth among the plurality of function buttons according to the movement information, namely, the operation medium moves freely on the horizontal axis; specifically, the terminal device detects, in real time, a time during which the operation medium stays at each point on the horizontal axis, where the time at each point may be a stay time of the operation medium above each function button; if the terminal equipment determines that the time of each point is smaller than the preset time, the terminal equipment determines that the operation medium freely moves on the horizontal axis; thus, the terminal device determines that the operation medium is moved freely among the plurality of function buttons. And the terminal equipment displays the game interface corresponding to each function button in a previewing mode in a switching mode, and at the moment, a user can view a plurality of operation medium interfaces. Alternatively, the distance value between the operation medium and the screen may be required to be always smaller than the preset distance.
Therefore, through the implementation process of the second condition, the operation medium does not need to directly contact the screen of the terminal device, and does not need to click the screen; the operation medium can be suspended above the screen; the terminal device displays the game interface corresponding to each function button in a preview mode in the graphical user interface in a switching mode when the terminal device determines that the operation medium moves back and forth among the function buttons by detecting the movement information of the operation medium, so that a user can preview the game interfaces.
In the implementation process of the second case, the user may send an operation instruction to the terminal device, for example, the user clicks a certain function button by using an operation medium, and then the terminal device receives the operation instruction; then, the terminal device opens the game interface indicated by the operation instruction.
For example, fig. 4 is a preview schematic view of an interface of a game provided in the embodiment of the present application, as shown in fig. 4, an operation medium is a finger of a user; the finger of the user is suspended above the screen of the terminal equipment; the terminal equipment displays a graphical user interface of the game and provides an interface browsing function; the terminal equipment displays a function button a, a function button b, a function button c, a function button d and a function button e; the game system comprises a function button a, a function button B, a function button C, a function button D and a function button E, wherein the function button a corresponds to a game interface A, the function button B corresponds to a game interface B, the function button C corresponds to a game interface C, the function button D corresponds to a game interface D, and the function button E corresponds to a game interface E; the terminal device can detect that the fingers of the user move back and forth among the function buttons a, B and C, and the terminal device switches the game interface A, the game interface B and the game interface C, so that the user can preview the game interface A, the interface game interface B and the game interface C.
In the embodiment, the position relation between the operation medium and the terminal device is detected to determine that the user needs to find and open the game interface, so that the terminal device displays the game interface in the graphical user interface in a preview mode for the user, and the user can preview the game interface; the terminal equipment can determine that the user needs to search and open a game interface according to the acquired non-contact action information without clicking the function buttons of the game one by the user, and the time of the user is saved; the terminal equipment can determine that a user needs to preview a certain game interface, and can also perform switching preview on the game interface according to the movement of the operation medium; the user can quickly see whether the game interface is required by the user; due to the fact that user operation is reduced, the game can be further accelerated, timeliness of the game is improved, and user experience is improved.
Fig. 5 is a schematic structural diagram of a terminal device provided in an embodiment of the present application, where the terminal device is configured to render a graphical user interface, and as shown in fig. 5, the terminal device of this embodiment may include:
a detection unit 31 configured to acquire contactless action information, where the contactless action information is used to indicate a positional relationship between an operation medium and a terminal device, and the operation medium and the terminal device are not in contact with each other;
and the preview unit 32 is configured to preview and display a game interface corresponding to the contactless action information in the graphical user interface according to the contactless action information.
The terminal device of this embodiment may execute the technical solution in the method shown in fig. 1, and for the specific implementation process and technical principle, reference is made to the relevant description in the method shown in fig. 1, which is not described herein again.
Fig. 6 is a schematic structural diagram of another terminal device provided in an embodiment of the present application, and based on the embodiment shown in fig. 5, as shown in fig. 6, in the terminal device of the present embodiment, the preview unit 32 includes:
the determining module 321 determines the function button indicated by the contactless action information according to the position relationship.
And the preview module 322 is configured to preview a game interface corresponding to the display function button in the graphical user interface.
Optionally, the position relationship includes a distance value between the operation medium and a screen of the terminal device, the number of the function buttons is one, and a distance between the function button and the operation medium is the distance value; a preview module 322 comprising:
the first preview sub-module 3221 is configured to preview a game interface corresponding to the display function button if the distance value is less than or equal to the preset distance.
The closing sub-module 3222 is configured to close an interface browsing function of the graphical user interface if the distance value is greater than the preset distance.
Or, optionally, the position relationship further includes movement information of the operation medium, the number of the function buttons is at least two, and a distance between each function button and the operation medium is a distance value; a preview module 322 comprising:
the determining sub-module 3223 is configured to determine, according to the contactless motion information, a free movement of the operation medium on a horizontal axis, where the horizontal axis is perpendicular to and intersects with a vertical axis, and the vertical axis is a connection line between the operation medium and a screen of the terminal device.
The second preview sub-module 3224 is configured to switch between the graphical user interface and preview and display a game interface corresponding to each function button.
Optionally, the determining sub-module 3223 is specifically configured to: determining a time at which the operation medium stays at each point on the horizontal axis; and if the time of each point is less than the preset time, determining that the operation medium moves freely on the horizontal axis.
Optionally, the preview module 322 further includes:
and the acquisition submodule is used for acquiring an operation instruction, wherein the operation instruction is used for indicating to trigger a function button.
And the opening sub-module is used for opening the game interface corresponding to the functional button indicated by the operation instruction according to the operation instruction.
Optionally, a sensor is disposed in the terminal device, and the sensor is configured to detect a position relationship.
The terminal device of this embodiment may execute the technical solution in the method shown in fig. 2, and for the specific implementation process and technical principle, reference is made to the relevant description in the method shown in fig. 2, which is not described herein again.
Fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application, and as shown in fig. 7, an electronic device 50 according to the embodiment may include: a processor 51 and a memory 52.
A memory 52 for storing computer programs (e.g., applications, functional modules, etc. that implement the above-described methods), computer instructions, etc.;
the computer programs, computer instructions, etc. described above may be stored in one or more memories 42 in partitions. And the above-mentioned computer program, computer instructions, data, etc. can be called by the processor 51.
A processor 51 for executing the computer program stored in the memory 52 to implement the steps of the method according to the above embodiments.
Reference may be made in particular to the description relating to the preceding method embodiment.
The processor 51 and the memory 52 may be separate structures or may be integrated structures integrated together. When the processor 51 and the memory 52 are separate structures, the memory 52 and the processor 51 may be coupled by a bus 53.
The electronic device of this embodiment may execute the technical solutions in the methods shown in fig. 1 and fig. 6, and the specific implementation process and technical principle of the electronic device refer to the relevant descriptions in the methods shown in fig. 1 and fig. 6, which are not described herein again.
In addition, embodiments of the present application further provide a computer-readable storage medium, in which computer-executable instructions are stored, and when at least one processor of the user equipment executes the computer-executable instructions, the user equipment performs the above-mentioned various possible methods.
Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. Of course, the storage medium may also be integral to the processor. The processor and the storage medium may reside in an ASIC. Additionally, the ASIC may reside in user equipment. Of course, the processor and the storage medium may reside as discrete components in a communication device.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
The present application further provides a program product comprising a computer program stored in a readable storage medium, from which the computer program can be read by at least one processor of a server, the computer program being executable by the at least one processor to cause the server to carry out the method of any of the embodiments of the present application described above.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.

Claims (11)

1. A processing method of a game interface is applied to a terminal device capable of rendering a graphical user interface, and the method comprises the following steps:
the method comprises the steps of obtaining contactless action information, wherein the contactless action information is used for indicating the position relation between an operation medium and terminal equipment, and the operation medium is not in contact with the terminal equipment;
and previewing and displaying a game interface corresponding to the contactless action information in the graphical user interface according to the contactless action information.
2. The method according to claim 1, wherein previewing a game interface corresponding to the contactless action information in the graphical user interface according to the contactless action information comprises:
determining a function button indicated by the contactless action information according to the position relation;
and previewing and displaying the game interface corresponding to the function button in the graphical user interface.
3. The method according to claim 2, wherein the positional relationship includes a distance value between the operation medium and a screen of the terminal device, the number of the function buttons is one, and a distance between the function button and the operation medium is the distance value;
the game interface corresponding to the function button is displayed in the graphical user interface in a previewing mode, and the method comprises the following steps:
if the distance value is smaller than or equal to the preset distance, previewing and displaying a game interface corresponding to the function button.
4. The method of claim 3, further comprising:
and if the distance value is greater than the preset distance, closing the interface browsing function of the graphical user interface.
5. The method according to claim 2, wherein the positional relationship further includes movement information of the operation medium, the number of the function buttons is at least two, and a distance between each function button and the operation medium is the distance value;
the game interface corresponding to the function button is displayed in the graphical user interface in a previewing mode, and the method comprises the following steps:
according to the non-contact action information, determining free movement of the operating medium on a horizontal axis, wherein the horizontal axis is perpendicular to and intersected with a vertical axis, and the vertical axis is a connecting line between the operating medium and a screen of the terminal equipment;
and switching and previewing the game interface corresponding to each function button in the graphical user interface.
6. The method of claim 5, wherein determining the free movement of the operating medium on a horizontal axis from the contactless motion information comprises:
determining a time at which the operating medium stays at each point on the horizontal axis;
and if the time of each point is less than the preset time, determining that the operating medium moves freely on the horizontal axis.
7. The method of claim 5, further comprising:
acquiring an operation instruction, wherein the operation instruction is used for indicating to trigger a function button;
and opening a game interface corresponding to the function button indicated by the operation instruction according to the operation instruction.
8. The method according to any one of claims 1 to 7, wherein a sensor is provided in the terminal device, the sensor being configured to detect the positional relationship.
9. A terminal device for rendering a graphical user interface, the terminal device comprising:
the system comprises a detection unit, a processing unit and a processing unit, wherein the detection unit is used for acquiring contactless action information, the contactless action information is used for indicating the position relation between an operation medium and a terminal device, and the operation medium and the terminal device are not in contact;
and the previewing unit is used for previewing and displaying the game interface corresponding to the contactless action information in the graphical user interface according to the contactless action information.
10. An electronic device, comprising: the device comprises a memory and a processor, wherein the memory stores executable instructions of the processor; wherein the processor is configured to perform the method of any one of claims 1-8 via execution of the executable instructions.
11. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method of any one of claims 1 to 8.
CN201910288925.3A 2019-04-11 2019-04-11 Game interface processing method, terminal device, electronic device and storage medium Active CN111803938B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910288925.3A CN111803938B (en) 2019-04-11 2019-04-11 Game interface processing method, terminal device, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910288925.3A CN111803938B (en) 2019-04-11 2019-04-11 Game interface processing method, terminal device, electronic device and storage medium

Publications (2)

Publication Number Publication Date
CN111803938A true CN111803938A (en) 2020-10-23
CN111803938B CN111803938B (en) 2024-06-04

Family

ID=72844346

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910288925.3A Active CN111803938B (en) 2019-04-11 2019-04-11 Game interface processing method, terminal device, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN111803938B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113181640A (en) * 2021-04-29 2021-07-30 网易(杭州)网络有限公司 Menu bar display method and device, electronic equipment and storage medium
CN113648649A (en) * 2021-08-23 2021-11-16 网易(杭州)网络有限公司 Game interface control method and device, computer readable medium and terminal equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20130088965A (en) * 2012-02-01 2013-08-09 주식회사 네오위즈인터넷 Method, game apparatus, and recording medium for providing game
CN105393203A (en) * 2014-04-11 2016-03-09 微软技术许可有限责任公司 Expandable Application Representation, Milestones, and Storylines
CN105573492A (en) * 2015-11-25 2016-05-11 小米科技有限责任公司 Interactive type screen control method and apparatus
CN106803068A (en) * 2016-12-28 2017-06-06 珠海市魅族科技有限公司 Fingerprint operating method and system
CN106843674A (en) * 2016-12-23 2017-06-13 珠海市魅族科技有限公司 By recognition of face come the method and system of control terminal equipment
CN109011572A (en) * 2018-08-27 2018-12-18 广州要玩娱乐网络技术股份有限公司 Game magic technical ability processing method and storage medium, computer equipment
CN109432775A (en) * 2018-11-09 2019-03-08 网易(杭州)网络有限公司 A kind of multi-screen display method and device of map

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20130088965A (en) * 2012-02-01 2013-08-09 주식회사 네오위즈인터넷 Method, game apparatus, and recording medium for providing game
CN105393203A (en) * 2014-04-11 2016-03-09 微软技术许可有限责任公司 Expandable Application Representation, Milestones, and Storylines
CN105573492A (en) * 2015-11-25 2016-05-11 小米科技有限责任公司 Interactive type screen control method and apparatus
CN106843674A (en) * 2016-12-23 2017-06-13 珠海市魅族科技有限公司 By recognition of face come the method and system of control terminal equipment
CN106803068A (en) * 2016-12-28 2017-06-06 珠海市魅族科技有限公司 Fingerprint operating method and system
CN109011572A (en) * 2018-08-27 2018-12-18 广州要玩娱乐网络技术股份有限公司 Game magic technical ability processing method and storage medium, computer equipment
CN109432775A (en) * 2018-11-09 2019-03-08 网易(杭州)网络有限公司 A kind of multi-screen display method and device of map

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113181640A (en) * 2021-04-29 2021-07-30 网易(杭州)网络有限公司 Menu bar display method and device, electronic equipment and storage medium
CN113648649A (en) * 2021-08-23 2021-11-16 网易(杭州)网络有限公司 Game interface control method and device, computer readable medium and terminal equipment
CN113648649B (en) * 2021-08-23 2024-06-07 网易(杭州)网络有限公司 Game interface control method and device, computer readable medium and terminal equipment

Also Published As

Publication number Publication date
CN111803938B (en) 2024-06-04

Similar Documents

Publication Publication Date Title
CN109933256B (en) Application switching method, application switching device, medium and computing device
CN107861784B (en) Desktop icon sorting method and device and mobile terminal
CN107122119B (en) Information processing method, information processing device, electronic equipment and computer readable storage medium
CN110052021B (en) Game object processing method, mobile terminal device, electronic device, and storage medium
ES2845274T3 (en) Touch screen and terminal operation method
CN110354506B (en) Game operation method and device
CN111767108B (en) Application program label generation method, application interface display method and device
CN106293472B (en) Virtual key processing method and mobile terminal
CN109561271A (en) A kind of guidance method of terminal operation, first terminal and second terminal
CN107596688B (en) Skill release control method and device, storage medium, processor and terminal
CN111760272B (en) Game information display method and device, computer storage medium and electronic equipment
KR20180102211A (en) Target disambiguation and correction
CN106648857B (en) A kind of open method and mobile terminal of the OTG function of mobile terminal
CN111803938B (en) Game interface processing method, terminal device, electronic device and storage medium
CN104765525A (en) Operation interface switching method and device
CN111399721B (en) Method and device for triggering search by display interface, storage medium and terminal
CN113975788A (en) Entry indexing method and device, computer equipment and storage medium
CN106371715B (en) Method and device for realizing multi-item switching
CN108108078A (en) Electronic equipment, display control method and Related product
CN113244611B (en) Virtual article processing method, device, equipment and storage medium
CN104714736A (en) Control method and terminal for quitting full screen lock-out state
CN109558203B (en) Recent content display method, device, terminal and storage medium
CN115480639A (en) Human-computer interaction system, human-computer interaction method, wearable device and head display device
CN111290691A (en) Method and device for operating page, computer equipment and readable storage medium
US20160085347A1 (en) Response Control Method And Electronic 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
GR01 Patent grant
GR01 Patent grant