Game interface control method and device, computer readable medium and terminal equipment

文档序号:248428 发布日期:2021-11-16 浏览:8次 中文

阅读说明:本技术 游戏界面的控制方法、装置、计算机可读介质及终端设备 (Game interface control method and device, computer readable medium and terminal equipment ) 是由 张炫宜 于 2021-08-23 设计创作,主要内容包括:本公开的实施例提供了一种游戏界面的控制方法、游戏界面的控制装置、介质及设备,涉及计算机技术领域;在终端显示器中显示游戏的图形用户界面,包括:在图形用户界面中显示第一游戏界面;响应预设的触发指令,将图形用户界面划分为与分界面数量相同的控制分区,并配置各控制分区与各分界面的映射关系,以使得每一控制分区均与一分界面关联;图形化显示控制分区;实时获取作用于图形用户界面的滑动操作在滑动过程中的触控位置,并根据触控位置确定对应的目标控制分区;在图形用户界面生成一预览窗口并实时显示根据映射关系确定的与目标控制分区对应的目标分界面。可见,实施本公开实施例,可以提升用户的操作效率,为用户提供更为便捷的操作体验。(The embodiment of the disclosure provides a control method of a game interface, a control device of the game interface, a medium and equipment, relating to the technical field of computers; a graphical user interface for displaying a game in a terminal display, comprising: displaying a first game interface in a graphical user interface; responding to a preset trigger instruction, dividing the graphical user interface into control partitions with the same number as the interfaces, and configuring the mapping relation between each control partition and each interface so as to enable each control partition to be associated with one interface; a graphical display control zone; acquiring a touch position of a sliding operation acting on a graphical user interface in a sliding process in real time, and determining a corresponding target control partition according to the touch position; and generating a preview window on the graphical user interface and displaying the target interface corresponding to the target control partition determined according to the mapping relation in real time. Therefore, by the embodiment of the disclosure, the operation efficiency of the user can be improved, and more convenient operation experience is provided for the user.)

1. A method for controlling a game interface, wherein a graphical user interface of a game is displayed on a display of a terminal device, comprising:

displaying a first game interface in the graphical user interface, the first game interface comprising a switchable plurality of interfaces;

responding to a preset trigger instruction, dividing the graphical user interface into control partitions with the same number as the interfaces, and configuring the mapping relation between each control partition and each interface so as to enable each control partition to be associated with one interface;

graphically displaying the control zones such that adjacent control zones have a visual distinction;

responding to the sliding operation acting on the graphical user interface, acquiring the touch position of the sliding operation in the sliding process in real time, and determining a corresponding target control partition according to the touch position;

and generating a preview window on the graphical user interface, and displaying the target interface corresponding to the target control partition determined according to the mapping relation in real time on the preview window.

2. The method of claim 1, further comprising, after the step of displaying the target interface in real time in the preview window:

and when the sliding operation is detected to be finished, controlling the first game interface to be switched to a target interface currently displayed by the preview window.

3. The method of claim 1, further comprising, after the step of displaying the target interface in real time in the preview window:

accumulating the display time of the target interface in the preview window;

and if the display time reaches a preset threshold value, controlling the first game interface to be switched to a target interface currently displayed by the preview window.

4. The method of claim 1, further comprising, after the step of displaying the target interface in real time in the preview window:

and responding to the touch operation acted on the preview window, and controlling the first game interface to be switched to a target interface currently displayed by the preview window.

5. The method of claim 1, wherein the first game interface comprises a partition control configured to generate the preset trigger instruction in response to a touch operation.

6. The method according to claim 1, wherein the step of dividing the graphical user interface into the same number of control partitions as the number of interfaces specifically comprises:

determining the number of the control partitions according to the number of the interfaces;

determining the output size of the control partition according to the display parameters of the graphical user interface;

displaying the number of control partitions in the graphical user interface according to the output size.

7. The method according to claim 1, characterized in that the step of graphically displaying the control zones such that adjacent control zones have a visual distinction comprises in particular:

and displaying the control subareas, and configuring adjacent control subareas into different color blocks so that the adjacent control subareas are displayed into different colors.

8. The method of claim 1, wherein after the step of determining the corresponding target control partition according to the touch position, further comprising:

highlighting the target control zone such that the target control zone is visually distinct compared to other control zones.

9. The method of any of claims 1-8, wherein the graphical user interface comprises a slider control configured to control the slider control to slide along a virtual rail in response to a touch operation, and wherein the touch position comprises a hover position of the slider control during sliding along the virtual rail.

10. The method of claim 9, wherein the touch location is located in a target control partition corresponding thereto, or

A target area corresponding to the touch position on the virtual slide rail, or

And the virtual sliding rail is positioned in the common area of the virtual sliding rail and the target control subarea.

11. A control device for a game interface, comprising:

the interface display unit is used for displaying a graphical user interface of the game and displaying a first game interface in the graphical user interface, wherein the first game interface comprises a plurality of interface surfaces which can be switched;

the partition configuration unit is used for responding to a preset trigger instruction, dividing the graphical user interface into control partitions with the same number as the interfaces, and configuring the mapping relation between each control partition and each interface so as to enable each control partition to be associated with one interface;

a partition display unit for graphically displaying the control partitions such that adjacent control partitions have a visual distinction;

the sliding detection unit is used for responding to the sliding operation acted on the graphical user interface, acquiring the touch position of the sliding operation in the sliding process in real time, and determining a corresponding target control partition according to the touch position;

and the preview window unit is used for generating a preview window on the graphical user interface and displaying a target interface which is determined according to the mapping relation and corresponds to the target control partition on the preview window in real time.

12. A computer-readable medium, on which a computer program is stored, which program, when being executed by a processor, carries out the method of any one of claims 1 to 10.

13. A terminal device, comprising:

one or more processors;

storage means for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to carry out a method according to any one of claims 1 to 10.

Technical Field

The present disclosure relates to the field of computer technologies, and in particular, to a game interface control method, a game interface control apparatus, a computer-readable medium, and a terminal device.

Background

When a user browses information in a game by using a mobile phone, the information page can be continuously scrolled through the sliding page browsing operation so as to acquire more page contents. However, when the page content that the user wants to view is located at the bottom of the information page, multiple sliding interaction operations are usually required to scroll the page to the corresponding position, and then view the related interface content, which is a problem of complex operation.

It is to be noted that the information disclosed in the above background section is only for enhancement of understanding of the background of the present disclosure, and thus may include information that does not constitute prior art known to those of ordinary skill in the art.

Disclosure of Invention

The embodiment of the disclosure aims to provide a game interface control method, a game interface control device, a computer readable medium and a terminal device, which enable a user to preview interface content corresponding to a partition at a hovering position in a preview window in real time by only sliding operation through providing a partition mode for the user, and quickly locate a target interface in a long interface and browse the content without multiple interactive operations, thereby simplifying user operation, facilitating improvement of user operation efficiency, and providing more convenient and intuitive operation experience for the user.

A first aspect of an embodiment of the present disclosure provides a method for controlling a game interface, where a graphical user interface of a game is displayed on a terminal display, the method including:

displaying a first game interface in a graphical user interface, the first game interface comprising a switchable plurality of interfaces;

responding to a preset trigger instruction, dividing the graphical user interface into control partitions with the same number as the interfaces, and configuring the mapping relation between each control partition and each interface so as to enable each control partition to be associated with one interface;

graphically displaying the control zones such that adjacent control zones have a visual distinction;

responding to the sliding operation acting on the graphical user interface, acquiring the touch position of the sliding operation in the sliding process in real time, and determining a corresponding target control partition according to the touch position;

and generating a preview window on the graphical user interface, and displaying the target interface corresponding to the target control partition determined according to the mapping relation in real time on the preview window.

In an exemplary embodiment of the present disclosure, after the step of displaying the target interface in real time in the preview window, the method further includes:

and when the sliding operation is detected to be finished, controlling the first game interface to be switched to a target interface currently displayed in the preview window.

In an exemplary embodiment of the present disclosure, after the step of displaying the target interface in real time in the preview window, the method further includes:

accumulating the display time of the target interface in a preview window;

and if the display time reaches a preset threshold value, controlling the first game interface to be switched to a target interface currently displayed by the preview window.

In an exemplary embodiment of the present disclosure, after the step of displaying the target interface in real time in the preview window, the method further includes:

and responding to the touch operation acted on the preview window, and controlling the first game interface to be switched to the currently displayed target interface of the preview window.

In an exemplary embodiment of the disclosure, the first game interface includes a partition control, and the partition control is configured to generate a preset trigger instruction in response to the touch operation.

In an exemplary embodiment of the present disclosure, the step of dividing the graphical user interface into control partitions with the same number as the number of interfaces specifically includes:

determining the number of control partitions according to the number of interfaces;

determining the output size of the control partition according to the display parameters of the graphical user interface;

displaying a number of control sections in the graphical user interface according to the output size.

In an exemplary embodiment of the present disclosure, the step of graphically displaying the control sections such that adjacent control sections have visual distinction specifically includes:

and displaying the control subareas, and configuring adjacent control subareas into different color blocks so that the adjacent control subareas are displayed into different colors.

In an exemplary embodiment of the present disclosure, after the step of determining the corresponding target control partition according to the touch position, the method further includes:

highlighting identifies the target control zone such that the target control zone has a visual distinction over other control zones.

In an exemplary embodiment of the present disclosure, the graphical user interface includes a slide control configured to execute control of sliding the slide control along a virtual slide rail in response to a touch operation, and the touch position includes a hover position of the slide control during sliding along the virtual slide rail.

In an exemplary embodiment of the present disclosure, the touch position is located in a target control partition corresponding thereto, or

Located in a target area corresponding to the touch position on the virtual slide rail, or

And the virtual sliding rail is positioned in the common area of the virtual sliding rail and the target control subarea.

According to a second aspect of the embodiments of the present disclosure, there is provided a control device for a game interface, including:

the interface display unit is used for displaying a graphical user interface of a game and displaying a first game interface in the graphical user interface, wherein the first game interface comprises a plurality of interface surfaces which can be switched;

the partition configuration unit is used for responding to a preset trigger instruction, dividing the graphical user interface into control partitions with the same number as the interfaces, and configuring the mapping relation between each control partition and each interface so as to enable each control partition to be associated with one interface;

a partition display unit for graphically displaying the control partitions such that adjacent control partitions have visual distinctions;

the sliding detection unit is used for responding to sliding operation acting on the graphical user interface, acquiring the touch position of the sliding operation in the sliding process in real time, and determining a corresponding target control partition according to the touch position;

and the preview window unit is used for generating a preview window on the graphical user interface and displaying the target interface which is determined according to the mapping relation and corresponds to the target control partition on the preview window in real time.

In an exemplary embodiment of the present disclosure, further comprising:

and the interface switching unit is used for controlling the first game interface to be switched to the target interface currently displayed by the preview window when the sliding operation is detected to be finished after the step of displaying the target interface in the preview window in real time by the preview window unit.

In an exemplary embodiment of the present disclosure, further comprising:

the timing unit is used for accumulating the display time of the target interface in the preview window after the step of displaying the target interface in the preview window in real time by the preview window unit;

and the interface switching unit is also used for controlling the first game interface to be switched to the currently displayed target interface of the preview window when the display time reaches a preset threshold value.

In an exemplary embodiment of the disclosure, the interface switching unit is further configured to, after the step of displaying, by the preview window unit, the target interface in the preview window in real time, respond to a touch operation applied to the preview window, and control the first game interface to be switched to the target interface currently displayed by the preview window.

In an exemplary embodiment of the disclosure, the first game interface includes a partition control, and the partition control is configured to generate a preset trigger instruction in response to the touch operation.

In an exemplary embodiment of the present disclosure, the partition configuration unit divides the graphical user interface into control partitions with the same number as the number of the interfaces, and specifically includes:

determining the number of control partitions according to the number of interfaces;

determining the output size of the control partition according to the display parameters of the graphical user interface;

displaying a number of control sections in the graphical user interface according to the output size.

In an exemplary embodiment of the present disclosure, the partition display unit graphically displays the control partitions so that adjacent control partitions have visual distinction, specifically including:

and displaying the control subareas, and configuring adjacent control subareas into different color blocks so that the adjacent control subareas are displayed into different colors.

In an exemplary embodiment of the present disclosure, further comprising:

and the salient identification unit is used for identifying the target control subarea in a salient manner after the sliding detection unit determines the corresponding target control subarea according to the touch position, so that the target control subarea has visual distinction compared with other control subareas.

In an exemplary embodiment of the present disclosure, the graphical user interface includes a slide control configured to execute control of sliding the slide control along a virtual slide rail in response to a touch operation, and the touch position includes a hover position of the slide control during sliding along the virtual slide rail.

In an exemplary embodiment of the present disclosure, the touch position is located in a target control partition corresponding thereto, or

Located in a target area corresponding to the touch position on the virtual slide rail, or

And the virtual sliding rail is positioned in the common area of the virtual sliding rail and the target control subarea.

According to a third aspect of embodiments of the present disclosure, there is provided a computer-readable medium having stored thereon a computer program which, when executed by a processor, implements the control method of a game interface as described in the first aspect of the embodiments above.

According to a fourth aspect of the embodiments of the present disclosure, there is provided a terminal device, including: one or more processors; a storage device for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement the method of controlling a game interface as described in the first aspect of the embodiments above.

According to a fifth aspect of the present disclosure, there is provided a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions to cause the computer device to perform the method provided in the various alternative implementations described above.

The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:

in some embodiments of the present disclosure, a first game interface may be displayed in a graphical user interface, the first game interface including a switchable plurality of interfaces; responding to a preset trigger instruction, dividing the graphical user interface into control partitions with the same number as the interfaces, and configuring the mapping relation between each control partition and each interface so as to enable each control partition to be associated with one interface; graphically displaying the control zones such that adjacent control zones have a visual distinction; responding to the sliding operation acting on the graphical user interface, acquiring the touch position of the sliding operation in the sliding process in real time, and determining a corresponding target control partition according to the touch position; and generating a preview window on the graphical user interface, and displaying the target interface corresponding to the target control partition determined according to the mapping relation in real time on the preview window. By implementing the embodiment of the disclosure, on one hand, a partition control mode is provided for a user, so that the user can be quickly positioned to any specified position in a long interface only through sliding operation without multiple interactive operations, the interface is quickly turned and switched, and the operation efficiency is improved; on the other hand, by providing the preview window, the user can control the interface content displayed in the preview window in real time by controlling the fingers to hover at different touch positions in the sliding process, so that the user can conveniently and quickly browse the interface content corresponding to different interfaces, the intuitiveness and convenience of the user for inquiring the target interface content are improved, and the user experience is improved. .

It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.

Drawings

The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure. It is to be understood that the drawings in the following description are merely exemplary of the disclosure, and that other drawings may be derived from those drawings by one of ordinary skill in the art without the exercise of inventive faculty.

Fig. 1 is a schematic diagram of an exemplary terminal device to which a game interface control method and a game interface control apparatus according to an embodiment of the present disclosure may be applied;

FIG. 2 schematically illustrates a block diagram of a computer system suitable for use with a terminal device that implements an embodiment of the disclosure;

fig. 3 schematically shows a flow chart of a method according to an embodiment of the present disclosure;

FIG. 4 schematically shows a user interface diagram according to an embodiment of the present disclosure;

FIG. 5 schematically shows a user interface diagram according to an embodiment of the present disclosure;

FIG. 6 schematically shows a user interface diagram according to an embodiment of the present disclosure;

fig. 7 schematically shows a block diagram of a control device of a game interface in an embodiment according to the present disclosure.

Detailed Description

Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the disclosure. One skilled in the relevant art will recognize, however, that the subject matter of the present disclosure can be practiced without one or more of the specific details, or with other methods, components, devices, steps, and the like. In other instances, well-known technical solutions have not been shown or described in detail to avoid obscuring aspects of the present disclosure.

Furthermore, the drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus their repetitive description will be omitted. Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices.

Fig. 1 is a schematic diagram of an exemplary terminal device to which a game interface control method and a game interface control apparatus according to an embodiment of the present disclosure may be applied.

As shown in fig. 1, the terminal devices may include one or more of the terminal devices 101, 102, 103. The terminal devices 101, 102, 103 may be various terminal devices having a display screen, including but not limited to desktop computers, portable computers, smart phones, tablet computers, and the like.

The control method of the game interface in one embodiment of the disclosure can be operated in a local terminal device or a server. When the control method of the game interface is operated on the server, the method can be implemented and executed based on a cloud interaction system, wherein the cloud interaction system comprises the server and the client device.

In an optional embodiment, various cloud applications may be run under the cloud interaction system, for example: and (5) cloud games. Taking a cloud game as an example, a cloud game refers to a game mode based on cloud computing. In the cloud game operation mode, the game program operation main body and the game picture presentation main body are separated, the storage and operation of the control method of the game interface are completed on the cloud game server, and the client device is used for receiving and sending data and presenting the game picture, for example, the client device can be a display device with a data transmission function close to a user side, such as a mobile terminal, a television, a computer, a palm computer and the like; but the cloud game server which performs information processing is a cloud. When a game is played, a player operates the client device to send an operation instruction to the cloud game server, the cloud game server runs the game according to the operation instruction, data such as game pictures and the like are encoded and compressed, the data are returned to the client device through a network, and finally the data are decoded through the client device and the game pictures are output.

In an optional implementation manner, taking a game as an example, the local terminal device stores a game program and is used for presenting a game screen. The local terminal device is used for interacting with the player through a graphical user interface, namely, a game program is downloaded and installed and operated through the terminal device conventionally. The manner in which the local terminal device provides the graphical user interface to the player may include a variety of ways, for example, it may be rendered for display on a display screen of the terminal or provided to the player through holographic projection. For example, the local terminal device may include a display screen for presenting a graphical user interface including a game screen and a processor for running the game, generating the graphical user interface, and controlling display of the graphical user interface on the display screen.

In a possible implementation manner, an embodiment of the present invention provides a method for controlling a game interface, where a graphical user interface is provided by a terminal device, where the terminal device may be the aforementioned local terminal device, and may also be the aforementioned client device in a cloud interaction system.

FIG. 2 illustrates a schematic block diagram of a computer system suitable for use in implementing a terminal device of an embodiment of the disclosure.

It should be noted that the computer system 200 of the terminal device shown in fig. 2 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.

As shown in fig. 2, the computer system 200 includes a Central Processing Unit (CPU)201 that can perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)202 or a program loaded from a storage section 208 into a Random Access Memory (RAM) 203. In the (RAM)203, various programs and data necessary for system operation are also stored. The (CPU)201, (ROM)202, and (RAM)203 are connected to each other by a bus 204. An input/output (I/O) interface 205 is also connected to bus 204.

The following components are connected to the (I/O) interface 205: an input portion 206 including a keyboard, a mouse, and the like; an output section 207 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section 208 including a hard disk and the like; and a communication section 209 including a network interface card such as a LAN card, a modem, or the like. The communication section 209 performs communication processing via a network such as the internet. The driver 210 is also connected to the (I/O) interface 205 as necessary. A removable medium 211 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 210 as necessary, so that a computer program read out therefrom is mounted into the storage section 208 as necessary.

In particular, the processes described below with reference to the flowcharts may be implemented as computer software programs, according to embodiments of the present disclosure. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 209 and/or installed from the removable medium 211. The computer program, when executed by a Central Processing Unit (CPU)201, performs various functions defined in the methods and apparatus of the present disclosure.

It should be noted that the computer readable media shown in the present disclosure may be computer readable signal media or computer readable storage media or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer-readable signal medium may include a propagated data signal with computer-readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.

The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.

The units described in the embodiments of the present disclosure may be implemented by software, or may be implemented by hardware, and the described units may also be disposed in a processor. Wherein the names of the elements do not in some way constitute a limitation on the elements themselves.

As another aspect, the present disclosure also provides a computer-readable medium, which may be contained in the terminal device described in the above embodiments; or may exist separately without being assembled into the terminal device. The computer-readable medium carries one or more programs which, when executed by the terminal device, cause the terminal device to implement the method as described in the embodiments below. For example, the terminal device may implement the steps shown in fig. 3, and the like.

The present exemplary embodiment provides a control method of a game interface that displays a graphical user interface of a game in a display of a terminal device. Referring to fig. 3, the control method of the game interface may include the following steps S310 to S350, specifically:

step S310: a first game interface is displayed in a graphical user interface, the first game interface including a switchable plurality of interfaces.

Step S320: responding to a preset trigger instruction, dividing the graphical user interface into control partitions with the same number as the interfaces, and configuring the mapping relation between each control partition and each interface so as to enable each control partition to be associated with one interface.

Step S330: the control zones are graphically displayed such that adjacent control zones have a visual distinction.

Step S340: and responding to the sliding operation acting on the graphical user interface, acquiring the touch position of the sliding operation in the sliding process in real time, and determining the corresponding target control partition according to the touch position.

Step S350: and generating a preview window on the graphical user interface, and displaying the target interface corresponding to the target control partition determined according to the mapping relation in real time on the preview window.

It should be noted that the embodiment of the present disclosure may be applied to a terminal device, such as an intelligent terminal of a mobile phone, a tablet computer, and the like of a user.

By implementing the control method of the game interface shown in fig. 3, the graphical user interface is divided into the control partitions, and the control partitions and the interface of the game interface form a mapping relation, so that the graphical user interface can be positioned at any specified position in the game interface only by sliding operation on the graphical user interface without multiple interactive operations, and the operation efficiency is improved. In addition, the display content of the preview window can be changed into a target interface corresponding to the partition in real time based on the partition at the position of the sliding operation, so that the interface content can be rapidly and visually displayed, and the interface information transmission efficiency is improved.

The above steps of the present exemplary embodiment will be described in more detail below.

In step S310, a first game interface is displayed in a graphical user interface, the first game interface including a plurality of interfaces that are switchable.

For example, on a mobile phone terminal, a mobile phone game often has rich game interfaces, such as a game store interface, a mall interface, a game level selection interface, and the like, and in a corresponding game scenario, the game interfaces can provide rich interface contents for a user to browse, such as game properties sold in a mall, a size level presented on the level selection interface, and the like. However, the size of the provided graphical user interface is limited by the mobile phone screen, and the game interface on the graphical user interface is also limited. The game interfaces are often designed into a sliding interaction mode, namely, the interface with rich interface content is designed into a long interface, the long interface comprises a plurality of switchable interfaces, and the interface of interest can be found only by one switching interface through a plurality of sliding interactions. Each interface is a portion of the interface content for displaying a long interface, and the graphical user interface can only display one interface at any one time. Among the interfaces involved in game applications, there are a large number of key game interfaces that belong to long interfaces, such as character characters, equipment, level cards, and the like; for example, in a level game interface, the first interface is the first level, the twelfth interface is the twelfth level, and if there are many levels, the number of corresponding interfaces will be large.

It should be noted that when the amount of information displayed on the long interface is large, that is, the interface content is very rich, the number of interfaces generated according to the long interface is very large, and a user usually needs to repeatedly perform sliding operations many times to find a target interface, so as to browse the interface content displayed on the target interface, which results in tedious operation and low efficiency.

In step S320, in response to a preset trigger instruction, the graphical user interface is divided into control partitions having the same number as that of the interfaces, and a mapping relationship between each control partition and each interface is configured, so that each control partition is associated with one interface.

In an exemplary embodiment of the disclosure, to reduce repeated sliding operations when a user browses, a trigger instruction may be preset. And when the trigger instruction is triggered and executed, the graphical user interface is divided into a plurality of control partitions, so that the interface displayed on the graphical user interface is switched by the control partitions in the subsequent process.

Alternatively, the triggering instruction may be a voice instruction, a gesture instruction, a pressing instruction, or other form of instruction. When the trigger instruction is a language instruction, the trigger condition can be keyword trigger, decibel value trigger, or trigger of sound emitted according to a certain rule; when the trigger instruction is a gesture instruction, the trigger condition can be a circle drawing gesture and a hand waving gesture; when the trigger condition is a pressing instruction, the trigger condition may be a pressing time, a pressing force degree, and a number of pressing points. The present exemplary embodiment is not particularly limited to the trigger instruction and the trigger condition here.

For example, the gui may include a partition control, and the partition control is configured to trigger generation and execution of a preset trigger instruction in response to a touch operation performed on the partition control when the gui displays the first game interface (i.e., the long interface) or any interface of the first game interface. The partition control may be a button graphically displayed in the graphical user interface, or may be a touch area of the graphical user interface that is displayed or not displayed. The touch operation may be a slide operation, a long press operation, a click operation, or the like, which is applied to a button or a touch area.

Fig. 4 schematically illustrates a user interface diagram according to an embodiment of the present disclosure, and as shown in fig. 4, the user interface diagram is an exemplary embodiment of a partition control, the partition control is a button 410 displayed in a graphical user interface, a touch operation is a sliding operation that acts on the button 410 and controls the button 410 to slide downward from an upper right corner of the graphical user interface, and a preset trigger instruction is preferably a trigger instruction that is generated and executed in response to the sliding operation.

In an exemplary embodiment of the present disclosure, each control partition is a part of a graphical user interface, and the set of the plurality of control partitions may be the entire graphical user interface or only a part of the graphical user interface. The control partition may be displayed directly on the graphical user interface or may be a floating control on top of the display of the graphical user interface. The graphical user interface is divided in response to a preset trigger instruction, and the division can be vertical division, horizontal division, grid division or other suitable division modes. Correspondingly, when longitudinal division is carried out, different control subareas are selected by sliding up and down; when the horizontal division is carried out, different control partitions are selected by sliding left and right; when the grid division is carried out, the control partition can be selected through S-shaped sliding, and the control partition can also be selected along the periphery of the grid in a spiral mode. The present exemplary embodiment is not particularly limited herein to the control partition and its division.

Further, when the triggering instruction is triggered and executed, the graphical user interface may be controlled to be divided into a plurality of control sections, and in an exemplary embodiment of the present disclosure, the graphical user interface is divided into the same number of control sections as the number of interfaces. For example, the number of interfaces included in the first game interface may be obtained first, and then the number of control partitions may be determined according to the number of interfaces; determining the output size of the control partition according to the display parameters of the graphical user interface; finally, an appropriate number of control sections are displayed in the graphical user interface according to the determined output size.

It is to be understood that the display parameters of the graphical user interface may include: resolution, screen size, screen shape, etc., and embodiments of the present disclosure are not limited. For example, the step of determining the output size of the control partition according to the display parameter of the graphical user interface may be determining the output size of the graphical user interface according to the resolution and the screen size of the screen of the terminal device, and then determining the output size corresponding to each control partition according to the number of the control partitions that the graphical user interface needs to be divided into and the distribution form (for example, horizontal distribution or vertical distribution) of the control partitions, so that all the control partitions can be all displayed in the graphical user interface. For example, when the length and width of the screen of the smart phone of the user are 20 cm by 10 cm, the number of the interfaces included in the first game interface is 10, and the control partitions are distributed in a horizontal manner, the size of the single control partition obtained by dividing the graphical user interface may be: length x width 2 cm x 1 cm.

It can be seen that, in the above example, the size of the control partition is obtained by equally dividing the graphical user interface according to the display parameters of the graphical user interface. Additionally, in other embodiments, the output size of each control partition on the gui may be determined according to actual requirements. For example, different importance levels may be set for the control partitions, and the output size corresponding to each control partition may be determined with reference to the importance levels of the control partitions. Wherein the control partition of higher importance may occupy a larger area in the graphical user interface, etc., and the present exemplary embodiment is not particularly limited herein.

Furthermore, after the graphical user interface is divided into the control partitions with the same number as the number of the interfaces, the mapping relationship between the control partitions and the interfaces needs to be configured. In this embodiment, each of the control partitions may be configured to be associated with an interface, so that when the control partition is selected, the interface corresponding to the control partition is selected. It can be understood that, when the number of the control partitions is the same as the number of the interfaces, the configured mapping relationship between the control partitions and the interfaces may be a one-to-one correspondence relationship, that is, the interfaces corresponding to different control partitions are different. For example, the mapping relationship between the data tables may be established by encapsulating the control partition and the interface in different data tables, so that the control partition and the interface form a one-to-one correspondence relationship. In different application scenarios, a suitable mapping relationship configuration method may be adopted, and the exemplary embodiment is not particularly limited herein.

In step S330, the control sections are graphically displayed such that adjacent control sections have a visual distinction.

As shown in fig. 5, the control partition obtained by dividing the gui is preferably a plurality of non-overlapping regions in the gui. It should be noted that, in order to further distinguish different control partitions, in an exemplary embodiment of the present disclosure, when the control partitions are displayed, adjacent control partitions may also be configured as different color blocks, so that the adjacent control partitions are displayed as different colors. The non-adjacent control subareas can be displayed in the same color or different colors. Alternatively, the terminal device may be controlled to vibrate or emit a warning sound when the sliding operation is performed to the boundary between the two control sections, so as to more stereoscopically represent the sliding operation condition of the user by means of additional tactile sensation or auditory sensation. .

In step S340, in response to the sliding operation performed on the graphical user interface, the touch position of the sliding operation in the sliding process is obtained in real time, and the corresponding target control partition is determined according to the touch position.

In an exemplary embodiment of the present disclosure, a user may determine a control partition corresponding to a touch position of a sliding operation by performing the sliding operation on the graphical user interface. Fig. 5 schematically shows a user interface schematic diagram according to an embodiment of the present disclosure, in fig. 5, the graphical user interface is divided into n control partitions distributed laterally, and a user may switch a selected control partition by a sliding operation from top to bottom on the graphical user interface through a change of a touch position of the sliding operation. In this embodiment, the sliding operation acts directly on the graphical user interface.

In other embodiments, as shown in fig. 5, the gui may further include a sliding control 510, and the sliding control 510 may be graphically displayed on the gui, and the user may perform the sliding operation by touching the sliding control 510 and dragging the sliding control 510 to slide on the gui.

In some further embodiments, the graphical user interface may further include a sliding control 510 and a virtual slide track cooperating with the sliding control 510, where the sliding control 510 is configured to control the sliding control 510 to slide along the virtual slide track in response to a touch operation, that is, a user may perform the sliding operation by touching the sliding control 510 and dragging the sliding control 510 to slide on the virtual slide track. It should be noted that both the slide control 510 and the virtual slide rail can be graphically displayed on the graphical user interface; only the slide control 510 may be graphically displayed and the virtual slide rail is not displayed; the sliding control 510 may be displayed, but the virtual slide rail is not displayed in a non-triggered state, and the virtual slide rail is triggered to be displayed only after the sliding control 510 is touched, which is not limited in this exemplary embodiment.

It should be noted that, when the sliding control 510 and/or the virtual slide rail is displayed in the graphical user interface, the display position of the virtual slide rail may be any position of the graphical user interface, and the disclosure is not limited in any way. For example, to facilitate user operation, when the control partitions are distributed laterally on the graphical user interface, the sliding control 510 and/or the virtual sled may be displayed vertically on the graphical user interface; when the control partitions are vertically distributed on the graphical user interface, the slider control 510 and/or the virtual sled can be displayed horizontally on the graphical user interface. The exemplary embodiment is not particularly limited to be implemented herein according to different situations of usage scenarios.

In addition, it is understood that, during the sliding operation performed by the user, the touch position of the finger on the gui is constantly changed, so that different touch positions may correspond to at least one control partition. As shown in fig. 5, during the sliding operation of the user's finger from top to bottom, the user can hover the finger at any touch position, and the touch positions hovering at any positions correspond to different control partitions. That is, the user may determine the target control partition corresponding to the finger touch position by selecting the touch position hovering during the finger sliding process, and may switch the corresponding target control partition in real time by changing the touch position hovering by the finger in real time. Optionally, a time threshold is preset, and when the stay time of the sliding operation in one control partition does not exceed the time threshold, the control partition is not considered to be selected.

It should be noted that, during the sliding operation, the touch position of the user's finger for determining the target control area may include, but is not limited to, the following situations:

first, the touch position of the user's finger may be located in the target control partition corresponding thereto. Namely, there is no virtual slide rail, the user's finger directly slides on the control area, and the action area of the sliding operation is the touch position where the finger slides on the control area, and the touch position is generally located in the determined target control area.

Second, the touch position of the finger of the user may be located in a target area corresponding to the touch position on the virtual slide rail. Namely, a virtual slide rail exists, a finger of a user directly slides on the virtual slide rail, but the virtual slide rail is separated from the control partition without intersection, the sliding operation only acts on the virtual slide rail, and when the finger slides to the target area of the virtual slide rail, the target control partition corresponding to the target area of the virtual slide rail is triggered to be selected.

Thirdly, the touch position of the finger of the user can be located in the common area of the virtual slide rail and the target control partition. Namely, a virtual slide rail exists, a finger of a user directly slides on the virtual slide rail, the virtual slide rail and the control subarea are intersected to form a common area, the common area can trigger and select a corresponding control subarea, the sliding operation acts on the virtual slide rail, and when the virtual slide rail slides to the common area of the virtual slide rail and the control subarea, the target control subarea is triggered and selected.

Further, after determining the touch position of the sliding operation in the sliding process and determining the corresponding target partition according to the touch position, the target control partition may be highlighted, so that the target control partition has a visual distinction compared with other control partitions. For example, the target control section selected by the touch position of the user's finger may be displayed in a highlighted manner, or the target control section selected by the touch position of the user's finger may be displayed in a flashing manner, or the target control section selected by the touch position of the user's finger may be displayed in a manner of changing the filling color of the target control section selected by the touch position of the user's finger, or the like, so as to prompt the user which target control section is determined by the sliding operation.

In step S350, a preview window is generated on the gui, and the target interface corresponding to the target control partition determined according to the mapping relationship is displayed in the preview window in real time.

In an exemplary embodiment of the present disclosure, after determining the target control partition, a preview window may be generated at any position in the graphical user interface, and the method for generating the preview window may include the following steps: acquiring a preset area ratio of the preview window to the graphical user interface; determining the output size of the preview window according to the area ratio and the display parameters of the graphical user interface; and displaying the preview window in the graphical user interface according to the output size. The display position of the preview window is not limited in the embodiments of the present disclosure.

In this embodiment, the preview window is mainly used for displaying, in real time, the interface content of the target interface corresponding to the target control partition in the preview window after the user determines the target control partition through a sliding operation. Meanwhile, when the user switches the selected target control partition in real time through sliding operation, the interface content displayed in the preview window is automatically switched to the interface content of the target interface corresponding to the corresponding target control partition. Therefore, the user can quickly preview different interfaces and interface contents of the interfaces through the interface contents displayed by the preview window, and further quickly find the required target interface contents to browse.

Fig. 6 is a schematic diagram of a user interface according to an embodiment of the present disclosure, and as shown in fig. 6, is a schematic diagram of a preview window 620 in the embodiment. When a user finger hovers at a touch position 610 in the process of sliding on the graphical user interface, the interface content of the target interface corresponding to the control partition 3 corresponding to the book searching touch position 610 is displayed in the preview window. As shown in FIG. 6, the interface content of the target interface is displayed as a game interface, including a "continue game" control 621, a "level selection control" 622, and a "monster place" 623, among others.

It can be understood that, in order to facilitate browsing by the user, the present embodiment may further display the interface content of the target interface that is interested by the user in a full screen. Specifically, at least the following modes can be included:

firstly, when the sliding operation is detected to be finished, the first game interface is controlled to be switched to the target interface currently displayed in the preview window, so that the interface content of the target interface is displayed in a full screen mode. That is, when the user continuously switches the interface content displayed in the preview window through the sliding operation, if the user is interested in a certain interface content, the sliding operation can be ended by releasing the hand, so that the interface corresponding to the interface content displayed in the preview window is displayed in the full screen mode in the graphical user interface, and the user can conveniently browse all the interface contents in the interface in the full screen mode.

Second, the display time of the target interface in the preview window may be accumulated, and if the display time reaches a preset threshold, the first game interface is controlled to be switched to the target interface currently displayed in the preview window. That is, when the user continuously switches the interface content displayed in the preview window through a sliding operation, if the user's finger stays at the same touch position for a long time, so that the interface content displayed in the preview window does not change for a long time, it may be said that the user is interested in the interface content currently displayed in the preview window, and further, the interface corresponding to the interface content displayed in the preview window may be automatically triggered to be displayed in the full screen mode in the graphical user interface, so that the user may browse all the interface contents in the interface in the full screen mode. And if the display time does not reach the preset threshold value and the interface content displayed in the preview window changes, canceling the accumulation of the display time.

Thirdly, the first game interface can be controlled to be switched to the target interface currently displayed by the preview window in response to the touch operation acting on the preview window. That is, when the user continuously switches the interface content displayed in the preview window through a sliding operation, if the user is interested in the interface content currently displayed in the preview window, the interface corresponding to the interface content displayed in the preview window can be displayed in the graphical user interface in a full screen manner by touching the preview window. Wherein the touch comprises clicking and the like.

Through the steps S310 to S350, it can be seen that, by implementing the control method of the game interface according to the present disclosure, on one hand, by providing a partition control mode for the user, the user does not need to perform multiple interactive operations, and can quickly locate any specified position in the long interface only through sliding operation, so that quick page turning and switching of the interface are realized, and the operation efficiency is improved; on the other hand, by providing the preview window, the user can control the interface content displayed in the preview window in real time by controlling the fingers to hover at different touch positions in the sliding process, so that the user can conveniently and quickly browse the interface content corresponding to different interfaces, the intuitiveness and convenience of the user for inquiring the target interface content are improved, and the user experience is improved.

Further, in the present exemplary embodiment, a control device of a game interface is also provided. Referring to fig. 7, the control device 700 of the game interface may include:

the interface display unit 701 is used for displaying a graphical user interface of a game and displaying a first game interface in the graphical user interface, wherein the first game interface comprises a plurality of switchable interfaces;

the partition configuration unit 702 is configured to respond to a preset trigger instruction, divide the graphical user interface into control partitions having the same number as that of the interfaces, and configure mapping relationships between the control partitions and the interfaces, so that each control partition is associated with one interface;

a partition display unit 703 for graphically displaying the control partitions so that adjacent control partitions have visual distinction;

the sliding detection unit 704 is used for responding to the sliding operation acting on the graphical user interface, acquiring the touch position of the sliding operation in the sliding process in real time, and determining a corresponding target control partition according to the touch position;

and a preview window unit 705, configured to generate a preview window on the graphical user interface, and display, in real time, a target interface corresponding to the target control partition, which is determined according to the mapping relationship, in the preview window.

The touch position is located in a target control partition corresponding to the touch position, or is located in a target area corresponding to the touch position on the virtual slide rail, or is located in a common area of the virtual slide rail and the target control partition. In addition, the first game interface comprises a partition control, and the partition control is configured to respond to the touch operation and execute the preset trigger instruction.

Therefore, by implementing the device shown in fig. 7, a partition mode is provided for a user, on one hand, the user can quickly position any specified position in a long interface only through sliding operation without multiple interactive operations, so that the interface can be quickly turned and switched, and the operation efficiency is improved; on the other hand, by providing the preview window, the user can control the interface content displayed in the preview window in real time by controlling the fingers to hover at different touch positions in the sliding process, so that the user can conveniently and quickly browse the interface content corresponding to different interfaces, the intuitiveness and convenience of the user for inquiring the target interface content are improved, and the user experience is improved.

In an exemplary embodiment of the present disclosure, further comprising:

and an interface switching unit (not shown) configured to, after the step of displaying the target interface in real time in the preview window by the preview window unit 705, control the first game interface to switch to the target interface currently displayed in the preview window when the end of the sliding operation is detected.

Therefore, the optional embodiment can provide the function of triggering full-screen preview by sliding loose-hand operation for the user, so that the user operation is simplified, and the user can browse across partitions by one operation.

In an exemplary embodiment of the present disclosure, further comprising:

a timing unit (not shown) for accumulating the display time of the target interface in the preview window after the step of displaying the target interface in real time in the preview window by the preview window unit 705;

and the interface switching unit is also used for controlling the first game interface to be switched to the currently displayed target interface of the preview window when the display time reaches a preset threshold value.

Therefore, the optional embodiment can provide a monitoring function for the duration of the trigger operation, and can automatically trigger full-screen preview when a certain duration is reached, so that the operation required by a user is reduced, the labor cost is reduced, and the operation efficiency of the user is improved.

In an exemplary embodiment of the disclosure, the interface switching unit is further configured to, after the step of displaying the target interface in the preview window in real time by the preview window unit 705, respond to a touch operation applied to the preview window, and control the first game interface to be switched to the target interface currently displayed by the preview window.

Therefore, by implementing the optional embodiment, the touch operation of the preview window can be provided, and the user can indicate the requirement of full-screen display on the preview window by clicking/touching the preview window, so that the terminal equipment can conveniently and accurately provide full-screen display service for the interested interface for the user, and meanwhile, the richness of the interaction function is improved.

In an exemplary embodiment of the present disclosure, the partition configuring unit 702 divides the graphical user interface into control partitions with the same number as the number of the interfaces, specifically including:

determining the number of control partitions according to the number of interfaces;

determining the output size of the control partition according to the display parameters of the graphical user interface;

displaying a number of control sections in the graphical user interface according to the output size.

Therefore, by implementing the optional embodiment, the corresponding partitions can be determined and divided according to the number of the interfaces, so that the number prompt of the interfaces can be intuitively provided for a user in the user interface.

In an exemplary embodiment of the present disclosure, the partition display unit 703 graphically displays the control partitions so that adjacent control partitions have visual distinction, specifically including:

and displaying the control subareas, and configuring adjacent control subareas into different color blocks so that the adjacent control subareas are displayed into different colors.

Therefore, by implementing the optional embodiment, different control partitions can be identified by different color blocks, so that a user can distinguish an operated interface, a guiding function is provided for the user operation, and the interaction efficiency is improved.

In an exemplary embodiment of the present disclosure, further comprising:

a highlight identification unit (not shown) for highlighting and identifying the target control section after the sliding detection unit 704 determines the corresponding target control section according to the touch position, so that the target control section has a visual distinction compared with other control sections.

Therefore, the optional embodiment can be implemented to specially display the partition selected by the user to remind the user which partition is the selected partition, so that the interaction efficiency is higher.

It should be noted that although in the above detailed description several modules or units of the device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.

As each function module of the control device of the game interface of the exemplary embodiment of the present disclosure corresponds to the step of the exemplary embodiment of the control method of the game interface, for details that are not disclosed in the embodiment of the device of the present disclosure, please refer to the embodiment of the control method of the game interface of the present disclosure.

Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.

It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

23页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种互动方法及相关装置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类