Nothing Special   »   [go: up one dir, main page]

CN107626105B - Game picture display method and device, storage medium and electronic equipment - Google Patents

Game picture display method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN107626105B
CN107626105B CN201710733768.3A CN201710733768A CN107626105B CN 107626105 B CN107626105 B CN 107626105B CN 201710733768 A CN201710733768 A CN 201710733768A CN 107626105 B CN107626105 B CN 107626105B
Authority
CN
China
Prior art keywords
layer
game
live
live broadcast
display
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.)
Active
Application number
CN201710733768.3A
Other languages
Chinese (zh)
Other versions
CN107626105A (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 CN201710733768.3A priority Critical patent/CN107626105B/en
Publication of CN107626105A publication Critical patent/CN107626105A/en
Application granted granted Critical
Publication of CN107626105B publication Critical patent/CN107626105B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The present disclosure provides a game picture display method and apparatus, a storage medium, and an electronic device, the method including: running a game software application to display a game layer on a terminal screen, the game layer for presenting the game content; when a live broadcast triggering event is detected, displaying a live broadcast layer on a terminal screen, wherein the live broadcast layer is used for presenting live broadcast content, and the display hierarchy of the live broadcast layer is positioned in front of the game layer; when a trigger event generated by a game layer window is detected, acquiring a type identifier of the game layer window; judging whether the type identification is matched with at least one preset identification or not; the method and the device solve the technical problem that the graphic windows are mutually shielded, realize that the game operation and the live broadcast watching do not influence each other, greatly improve the convenience and effectively improve the user experience.

Description

Game picture display method and device, storage medium and electronic equipment
Technical Field
The invention relates to the technical field of computers, in particular to a game picture display method and device, a storage medium and electronic equipment.
Background
Under the wave of the internet, the continuous development and evolution of hardware and software technologies have promoted the emergence of intelligent devices and software. Meanwhile, the continuous maturity of the live broadcast service technology can be embedded into different application platforms. Meanwhile, player entertainment is more widespread.
Meanwhile, in order to bring more entertainment and leisure interest to players in games, live broadcast service is slowly introduced into the field of games, and the service advantage is particularly prominent in the performance of handheld devices (such as smart phones).
However, currently, there is no relevant solution for live service in games on the market. In the prior art, a game player wants to watch live broadcast and can only be based on a video live broadcast platform. To watch live broadcast while playing a game, the following operations are usually performed: and opening a live broadcast window at the same time of opening the game window. Therefore, the shielding between the windows greatly influences the experience of the user, and particularly under the condition of full screen game, the game operation and the watching of the live video cannot be mutually influenced.
In addition, the game service and the live broadcast service belong to two completely different services, service providers may not be related to each other, and when the in-game live broadcast is realized, how to realize mutual independence of the game service and the live broadcast service is realized, no related solution is provided at present.
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
An object of the present disclosure is to provide a game screen display method and apparatus, a storage medium, and an electronic device, which overcome one or more of the problems due to the limitations and disadvantages of the related art, at least to some extent.
According to an aspect of the present disclosure, there is provided a game screen display method, the method including:
running a game software application to display a game layer on a terminal screen, the game layer for presenting the game content;
when a live broadcast triggering event is detected, displaying a live broadcast layer on a terminal screen, wherein the live broadcast layer is used for presenting live broadcast content, and the display hierarchy of the live broadcast layer is positioned in front of the game layer;
when a trigger event generated by a game layer window is detected, acquiring a type identifier of the game layer window;
judging whether the type identification is matched with at least one preset identification or not;
and if the type identification is matched with at least one preset identification, the game layer window is placed in front of the live layer for display.
According to another aspect of the present disclosure, there is provided a game screen display device, the device including:
a game layer control unit for running a game software application to display a game layer on a terminal screen, the game layer for presenting the game content;
the live broadcast layer control unit is used for displaying a live broadcast layer on a terminal screen when a live broadcast trigger event is detected, wherein the live broadcast layer is used for presenting live broadcast content, and the display hierarchy of the live broadcast layer is positioned in front of the game layer;
the detection unit is used for acquiring the type identifier of the game layer window when detecting that the game layer window generates a trigger event;
the judging unit is used for judging whether the type identifier is matched with at least one preset identifier;
and the first display unit is used for placing the game layer window in front of the live layer to display if the type identifier is matched with at least one preset identifier.
According to an aspect of the present disclosure, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements a game screen display method as recited in any one of the above.
According to an aspect of the present disclosure, there is provided an electronic device including:
a processor, a display device; and
a memory for storing executable instructions of the processor;
wherein the processor is configured to execute the game screen display method of any one of the preceding claims via execution of the executable instructions
In a game screen display method provided by an exemplary embodiment of the present disclosure, a game software application is executed to display a game layer on a terminal screen, the game layer being used to present the game content; when a live broadcast triggering event is detected, displaying a live broadcast layer on a terminal screen, wherein the live broadcast layer is used for presenting live broadcast content, and the display hierarchy of the live broadcast layer is positioned in front of the game layer; when a trigger event generated by a game layer window is detected, acquiring a type identifier of the game layer window; judging whether the type identification is matched with at least one preset identification or not; and if the type identification is matched with at least one preset identification, the game layer window is placed in front of the live layer for display. Through the level adjustment of each content in the game picture, the technical problem of mutual shielding among all the graphic windows is solved, the mutual influence between game operation and live broadcast watching is realized, the convenience is greatly improved, and the user experience is effectively improved.
Drawings
The above and other features and advantages of the present disclosure will become more apparent by describing in detail exemplary embodiments thereof with reference to the attached drawings. 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. In the drawings:
FIG. 1 is a flowchart of a game screen display method according to an embodiment of the present disclosure;
fig. 2 is a block diagram of a game screen display device according to an embodiment of the disclosure.
Detailed Description
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present invention will be described in detail below with reference to the embodiments with reference to the attached drawings.
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged under appropriate circumstances in order to facilitate the description of the embodiments of the invention 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.
Explanation of some game nouns in the embodiments of the present invention:
and (3) displaying the hierarchy: the mutual occlusion relation of the display contents, namely who is in the front layer and who is displayed in the back layer.
It should be noted that the game layer, the live broadcast layer, and the information interaction layer disclosed in this specification may be display layers displayed to a user, and are respectively and independently displayed in a graphical user interface generated on a terminal screen by running a game software application.
It should be further noted that various trigger events disclosed in this specification may be preset, and different trigger events may trigger different functions to be executed. The trigger event may be a click, a slide, a touch, a press, a shake, a voice input, etc. of the user, and may be implemented by operating a specific area of the graphical user interface or operating hardware of the terminal.
The embodiment of the invention provides a game picture display method, and an execution main body of the method can be any processing equipment such as a computer, a tablet computer, a mobile terminal and the like. Fig. 1 is a flowchart of a game screen display method according to an embodiment of the present invention. As shown in fig. 1, the method in this embodiment includes the steps of:
step S11, running game software application to display game layer on the terminal screen, wherein the game layer is used for presenting the game content;
in an alternative embodiment, a game software application is run on the terminal, and functions such as interaction with a game server, receiving user input, processing game logic, and the like are realized through a series of data processing and interactive operations, so that a game layer is displayed on the terminal screen, and the game layer is used for presenting the game content.
Step S12, when a live broadcast trigger event is detected, displaying a live broadcast layer on a terminal screen, wherein the live broadcast layer is used for presenting live broadcast content, and the display hierarchy of the live broadcast layer is positioned in front of the game layer;
it should be noted that the display hierarchy of the live broadcast layer is located before the game layer, that is, the game layer is shielded by the live broadcast layer, the shielding may be complete shielding or half shielding, and the shielding effect may be set arbitrarily according to actual needs.
In an alternative embodiment, the live broadcast trigger event may be triggered by detecting a touch operation of a specific trigger control provided in the user graphical interface, or may be triggered according to a preset interaction condition, for example: pressing, shaking, voice input by the user, and the like.
Step S13, when detecting that the game layer window generates a trigger event, acquiring the type identification of the game layer window;
in an alternative embodiment, the game layer window generating the trigger event may be triggered by detecting a touch operation of a specific trigger control provided in the user graphical interface, or may be triggered according to a preset interaction condition, for example: the modes of pressing, shaking, sound input and the like of the user can also be automatically triggered when specific system information is pushed through the preset logic of the game system.
In alternative embodiments, the types of game layer windows may include: content viewing windows, system prompt windows, user selection windows, information entry windows, and the like. Each type corresponds to unique identification information.
Step S14, judging whether the type mark is matched with at least one preset mark;
in an optional embodiment, according to different requirements, a specific window type is set as an identifier to be matched in advance, and the type identifier obtained in step S13 is matched with a preset identifier to be matched. For example: if the system prompt window and the user selection window are expected to be displayed at the forefront, the type identifiers of the system prompt window and the user selection window can be set as identifiers to be matched in advance.
And step S15, if the type identification is matched with at least one preset identification, the game layer window is placed in front of the live layer for display.
It should be noted that the window is placed in front of the live broadcast layer for display, that is, the live broadcast layer and the game layer with the display level behind the live broadcast layer are shielded by the window, the shielding may be complete shielding or half shielding, and the shielding effect may be set arbitrarily according to actual needs.
In an alternative embodiment, if the type identifier matches a preset at least one identifier, for example: and if the type identifier acquired in the step S13 is the system prompt window type, matching is successful if the identifier of the system prompt window type exists in the preset identifier to be matched, and the system prompt window is displayed before the live broadcast layer.
Through the level adjustment of each content in the game picture, the technical problem of mutual shielding among all the graphic windows is solved, the mutual influence between game operation and live broadcast watching is realized, the convenience is greatly improved, and the user experience is effectively improved.
In an optional implementation, an embodiment of the present disclosure further includes the following steps:
and step S16, if the type identification is not matched with the preset identification, the game layer window is placed in the game layer for display.
In an alternative embodiment, if the type identifier does not match a preset identifier, for example: and if the type identifier acquired in the step S13 is the content viewing window type, if the identifier of the content viewing window type does not exist in the preset identifier to be matched, the matching fails, and the game layer window is placed in the game layer for display. That is, the display level of the content viewing window may be obscured by the live layer, as well as being behind the live layer.
Through the embodiment, the game layer windows can be classified according to the importance degree of the game layer windows, and the important or high-timeliness windows are placed on the top layer, so that a user can operate or acquire information at the first time easily; the unimportant or low-timeliness window is displayed in the game layer, so that the watching and operation of the user on the display content of the live broadcast layer are not influenced, the convenience is greatly improved, and the user experience is effectively improved.
In an optional implementation manner, the live layer described in this embodiment of the present invention further includes: and (6) displaying a window in a live broadcast mode. The live broadcast layer is used for presenting live broadcast content and comprises the following steps:
step S121, presenting the live content in the live window.
In an alternative embodiment, the size of the live window may be set according to actual conditions, and the live window may be set in a floating or embedded form, or may be set in a movable or fixed mode.
In an optional implementation, an embodiment of the present disclosure further includes the following steps:
step S22, when detecting the trigger event of switching the live broadcast window mode, reading the aspect ratio of the terminal screen and the original aspect ratio of the live broadcast content;
step S24, when the width-height ratio of the terminal screen is larger than the original width-height ratio of the live broadcast content, the height value of the terminal screen is used as a reference, zooming is carried out according to a preset value to determine the height value of the live broadcast display window, and then zooming is carried out according to the original width-height ratio of the live broadcast content to determine the width value of the live broadcast display window;
step S26, when the width-height ratio of the terminal screen is less than or equal to the original width-height ratio of the live broadcast content, zooming according to a preset value to obtain the width value of the live broadcast display window by taking the width value of the terminal screen as a reference, and zooming according to the original width-height ratio of the live broadcast content to obtain the height value of the live broadcast display window;
and step S28, adjusting the display size of the live display window according to the determined height value and width value of the live display window.
In an optional embodiment, the live display window mode switching trigger event may be triggered by detecting a touch operation of a specific trigger control provided in the user graphical interface, or may be triggered according to a preset interaction condition, for example: pressing, shaking, voice input by the user, and the like.
Through the embodiment, when the live display window mode is switched, the live display window is ensured not to exceed the screen boundary, and the live content is not deformed because the aspect ratio is not changed.
In a preferred embodiment, the default live display window is a relatively large window, and sometimes the user needs to focus his effort primarily on the game play, and therefore the operation of switching the window size is provided. The size switch is essentially a scaling operation on the window, the key being the value controlling this scaling. Numerical control of the small window mode we use the following:
defining:
size of screen: ScreenWidth, Screenheight
Original resolution of video: VideoWidth, VideoHeight
Size of live display window: LiveWindowWidth, LiveWindowheight
The processing steps are as follows:
the aspect ratio of the preferred computing screen is screen width/screen height
Secondly, the aspect ratio of the video aspect ratio video width/video height of the video
When the screen is greater than the video, the screen is wider than the video, and the height of the screen is used as a reference edge at this time, otherwise, the width is used as the reference edge.
if ScreenAspect>VideoAspect then
LiveWindowHeight=ScreenHeight*SizeScale
LiveWindowWidth=LiveWindowHeight*VideoAspect
else
LiveWindowWidth=ScreenWidth*SizeScale
LiveWindowHeight=LiveWindowWidth/VideoAspect
End
The SizeScale is a scaling value, and can be set according to requirements, for example: the size of the small window pattern is calculated using 0.4 times the reference edge as the scaling value.
Through the embodiment, when the live display window mode is switched, the live display window is ensured not to exceed the screen boundary, and the live content is not deformed because the aspect ratio is not changed.
In an alternative embodiment, different game stages or contents are frequently different in screen positions needing to be operated in the process of playing the game by the user, and if the live display window is in a fixed position, some click ranges of the game can be blocked, so that trouble is brought to normal game. Based on this, the disclosed embodiments further include the steps of:
step S32, when detecting the position adjustment trigger event of the live broadcast display window, acquiring the trigger position information and the movement track of the trigger event in the screen;
step S34, determining the relative position information of the live display window according to the trigger position information of the trigger event in the screen;
and step S36, realizing the mobile display of the live display window according to the relative position information of the moving track and the live display window.
In an alternative embodiment, the live display window position adjustment triggering event may be triggered by detecting a touch operation of a specific triggering control provided in the user graphical interface, for example: and triggering a live broadcast display window position adjustment triggering event when the touch operation of the live broadcast display window is detected. The touch control method includes the steps of triggering position information, namely initial touch control position information when touch control operation on a live broadcast display window is detected, and moving a track, namely a continuous or discontinuous sliding track of the touch control operation in a screen.
Through the above embodiment, the floating movement of the live display window can be realized, so that a user can freely select the display position of the live display window, and the game can still be freely operated when live content is played.
In a preferred embodiment, the game engine can obtain three messages from the system from the time of clicking the screen to the time of lifting, wherein the three messages are a press (touchangle) operation, a move (TouchMove) operation and a lift (TouchEnd) operation in sequence.
When receiving the operation that the user presses (touchfinger), saving the positions TouchX, TouchY clicked by the user, and then calculating and saving the relative positions OffsetX, OffsetY of the positions TouchX, TouchY and the position of the live display window.
OffsetX=TouchX–VideoX
OffsetY=TouchY–VideoY
Before the lift-up (touch) operation is sensed, the video layer monopolizes the operation of the user, so that the subsequent move (touch move) operation and lift-up (touch) operation can only be processed by the video layer, and other layers cannot receive the operation, which is to avoid the influence of the operation on other layers. When the motion (TouchMove) operation is monitored, recording the position of the motion (TouchMove) operation in real time, and updating the position of the live display window together according to the relative position stored before, so as to achieve the purpose of synchronizing the position of the live display window and the position of the finger movement. The specific implementation method comprises the following steps:
NewVideoX=NewTouchX–OffsetX
NewVideoY=NewTouchY-OffsetY
VideoPanel:setPosition(NewVideoX,NewVideoY)
when the lift-off (touch) operation is sensed, the mobile operation is ended, the sensing of the mobile operation is ended, and the monopoly of the video layer to the user operation is released. The final expression is that after the live display window is pressed by a finger, the live display window can move arbitrarily along with the finger, and the relative position of the live display window and the touch position of the finger is kept fixed.
Through the above embodiment, the floating movement of the live display window can be realized, so that a user can freely select the display position of the live display window, and the game can still be freely operated when live content is played.
In an optional implementation, an embodiment of the present disclosure further includes the following steps:
step S16, when an information interaction triggering event is detected, displaying an information interaction layer on a terminal screen, wherein the information interaction layer is used for presenting information interaction content, and the display hierarchy of the information interaction layer is located in front of the live broadcast layer.
It should be noted that the display level of the information interaction layer is located before the live broadcast layer, that is, the information interaction content displayed by the information interaction layer is displayed at the forefront of the game layer and the live broadcast layer.
In an alternative embodiment, the information interaction triggering event may be triggered by detecting a touch operation of a specific triggering control provided in the user graphical interface, or may be triggered according to a preset interaction condition, for example: pressing, shaking, voice input by the user, and the like.
In an alternative embodiment, the information interaction content comprises: barrage, chat information, gift information, etc.
In an optional implementation manner, the first information interaction content corresponding to the first information interaction stream data is presented in a preset manner on the information interaction layer. The preset mode may be scrolling from left to right, from right to left, from top to bottom, from bottom to top in the user graphical interface, or highlighting at a specific position in the user graphical interface, etc.
In an optional embodiment, after the information interaction content is displayed on the information interaction layer, the information interaction content is set to be displayed in a preset time interval.
Through the embodiment, the information interaction layer is arranged, so that the user can interact with the live broadcast in the game in a natural and visual mode, and the user experience is effectively improved.
Fig. 2 is a composition diagram of one of the game screen display devices according to the exemplary embodiment of the present disclosure. As shown in fig. 2, the apparatus includes:
a game layer control unit for running a game software application to display a game layer on a terminal screen, the game layer for presenting the game content;
the live broadcast layer control unit is used for displaying a live broadcast layer on a terminal screen when a live broadcast trigger event is detected, wherein the live broadcast layer is used for presenting live broadcast content, and the display hierarchy of the live broadcast layer is positioned in front of the game layer;
the detection unit is used for acquiring the type identifier of the game layer window when detecting that the game layer window generates a trigger event;
the judging unit is used for judging whether the type identifier is matched with at least one preset identifier;
and the first display unit is used for placing the game layer window in front of the live layer to display if the type identifier is matched with at least one preset identifier.
In an alternative embodiment, the display unit is further configured to:
and if the type identification is not matched with the preset identification, the game layer window is placed in a game layer for display.
In an optional embodiment, the live layer comprises: a live broadcast display window; the live layer is used for presenting live content and comprises: the live content is presented within a live window.
In an alternative embodiment, the apparatus further comprises:
the mode switching unit is used for reading the aspect ratio of the terminal screen and the original aspect ratio of the live broadcast content when detecting a live broadcast display window mode switching trigger event;
when the width-height ratio of the terminal screen is larger than the original width-height ratio of the live content, the height value of the terminal screen is used as a reference, zooming is carried out according to a preset value to determine the height value of a live display window, and then zooming is carried out according to the original width-height ratio of the live content to determine the width value of the live display window;
when the width-height ratio of the terminal screen is smaller than or equal to the original width-height ratio of the live broadcast content, zooming according to a preset value by taking the width value of the terminal screen as a reference to obtain the width value of a live broadcast display window, and zooming according to the original width-height ratio of the live broadcast content to obtain the height value of the live broadcast display window;
and the second display unit is used for adjusting the display size of the live display window according to the determined height value and width value of the live display window.
In an alternative embodiment, the apparatus further comprises:
the position adjusting unit is used for acquiring the position information of the trigger event in a screen in real time when the position adjusting trigger event of the live broadcast display window is detected;
determining the relative position information of the live broadcast display window according to the position information of the trigger event in the screen;
and moving the position of the live broadcast display window according to the relative position information of the live broadcast display window.
In an alternative embodiment, the apparatus further comprises:
and the information interaction layer control unit is used for displaying an information interaction layer on a terminal screen when an information interaction triggering event is detected, wherein the information interaction layer is used for presenting information interaction content, and the display hierarchy of the information interaction layer is positioned in front of the live broadcast layer.
It should be noted that, the specific details of each game screen display device module in the foregoing embodiments have been described in detail in the corresponding game screen display method, and therefore, the details are not repeated here.
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.
In an exemplary embodiment of the present disclosure, there is also provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the game screen display method described above.
A computer readable storage medium may include a propagated data signal with 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 storage medium may transmit, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied in a computer readable storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
In an exemplary embodiment of the present disclosure, there is also provided an electronic device including: processing components, display devices, which may further include one or more processors, and memory resources, represented by memory, for storing instructions, such as application programs, that are executable by the processing components. The application program stored in the memory may include one or more modules that each correspond to a set of instructions. Further, the processing component is configured to execute instructions to perform the game screen display method described above.
The electronic device may further include: a power component configured to power manage an executing electronic device; a wired or wireless network interface configured to connect the electronic device to a network; and an input-output (I/O) interface. The electronic device may operate based on an operating system stored in memory, such as Android, iOS, Windows, Mac OS X, Unix, Linux, FreeBSD, or the like.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiment of the present invention can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to make a computing device (which can be a personal computer, a server, an electronic device, or a network device, etc.) execute the method according to the embodiment of the present invention.
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 application 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.

Claims (14)

1. A game screen display method, characterized by comprising:
running a game software application to display a game layer on a terminal screen, the game layer for presenting game content;
when a live broadcast triggering event is detected, displaying a live broadcast layer on a terminal screen, wherein the live broadcast layer is used for presenting live broadcast content, and the display hierarchy of the live broadcast layer is positioned in front of the game layer;
when a trigger event generated by a game layer window is detected, acquiring a type identifier of the game layer window;
judging whether the type identification is matched with at least one preset identification, wherein the at least one preset identification is used for representing the type of the game layer window so as to form classification according to the importance degree of the game layer window;
and if the type identification is matched with at least one preset identification, the game layer window is placed in front of the live layer for display.
2. The method of claim 1, further comprising:
and if the type identification is not matched with the preset identification, the game layer window is placed in a game layer for display.
3. The method of claim 1, wherein the live layer comprises: a live broadcast display window; the live layer is used for presenting live content and comprises:
the live content is presented within a live window.
4. The method of claim 3, further comprising:
when a live broadcast display window mode switching trigger event is detected, reading the aspect ratio of the terminal screen and the original aspect ratio of the live broadcast content;
when the width-height ratio of the terminal screen is larger than the original width-height ratio of the live content, the height value of the terminal screen is used as a reference, zooming is carried out according to a preset value to determine the height value of a live display window, and then zooming is carried out according to the original width-height ratio of the live content to determine the width value of the live display window;
when the width-height ratio of the terminal screen is smaller than or equal to the original width-height ratio of the live broadcast content, zooming according to a preset value by taking the width value of the terminal screen as a reference to obtain the width value of a live broadcast display window, and zooming according to the original width-height ratio of the live broadcast content to obtain the height value of the live broadcast display window;
and adjusting the display size of the live display window according to the determined height value and width value of the live display window.
5. The method of claim 3, further comprising:
when a live broadcast display window position adjustment trigger event is detected, acquiring trigger position information and a moving track of the trigger event in a screen;
determining the relative position information of the live broadcast display window according to the trigger position information of the trigger event in the screen;
and realizing the mobile display of the live display window according to the relative position information of the mobile track and the live display window.
6. The method of claim 1, further comprising:
when an information interaction triggering event is detected, an information interaction layer is displayed on a terminal screen and used for presenting information interaction content, wherein the display hierarchy of the information interaction layer is positioned in front of the live broadcast layer.
7. A game screen display apparatus, characterized in that the apparatus comprises:
a game layer control unit for running a game software application to display a game layer on a terminal screen, the game layer for presenting game content;
the live broadcast layer control unit is used for displaying a live broadcast layer on a terminal screen when a live broadcast trigger event is detected, wherein the live broadcast layer is used for presenting live broadcast content, and the display hierarchy of the live broadcast layer is positioned in front of the game layer;
the detection unit is used for acquiring the type identifier of the game layer window when detecting that the game layer window generates a trigger event;
the judging unit is used for judging whether the type identifier is matched with at least one preset identifier, wherein the at least one preset identifier is used for representing the type of the game layer window so as to form classification according to the importance degree of the game layer window;
and the first display unit is used for placing the game layer window in front of the live layer to display if the type identifier is matched with at least one preset identifier.
8. The apparatus of claim 7, wherein the display unit is further configured to:
and if the type identification is not matched with the preset identification, the game layer window is placed in a game layer for display.
9. The apparatus of claim 7, wherein the live layer comprises: a live broadcast display window; the live layer is used for presenting live content and comprises:
the live content is presented within a live window.
10. The apparatus of claim 9, further comprising:
the mode switching unit is used for reading the aspect ratio of the terminal screen and the original aspect ratio of the live broadcast content when detecting a live broadcast display window mode switching trigger event;
when the width-height ratio of the terminal screen is larger than the original width-height ratio of the live content, the height value of the terminal screen is used as a reference, zooming is carried out according to a preset value to determine the height value of a live display window, and then zooming is carried out according to the original width-height ratio of the live content to determine the width value of the live display window;
when the width-height ratio of the terminal screen is smaller than or equal to the original width-height ratio of the live broadcast content, zooming according to a preset value by taking the width value of the terminal screen as a reference to obtain the width value of a live broadcast display window, and zooming according to the original width-height ratio of the live broadcast content to obtain the height value of the live broadcast display window;
and the second display unit is used for adjusting the display size of the live display window according to the determined height value and width value of the live display window.
11. The apparatus of claim 9, further comprising:
the position adjusting unit is used for acquiring the position information of the trigger event in a screen in real time when the position adjusting trigger event of the live broadcast display window is detected;
determining the relative position information of the live broadcast display window according to the position information of the trigger event in the screen;
and moving the position of the live broadcast display window according to the relative position information of the live broadcast display window.
12. The apparatus of claim 7, further comprising:
and the information interaction layer control unit is used for displaying an information interaction layer on a terminal screen when an information interaction triggering event is detected, wherein the information interaction layer is used for presenting information interaction content, and the display hierarchy of the information interaction layer is positioned in front of the live broadcast layer.
13. A computer-readable storage medium on which a computer program is stored, the computer program, when being executed by a processor, implementing a game screen display method according to any one of claims 1 to 6.
14. An electronic device, comprising:
a processor, a display device; and
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform the game screen display method of any one of claims 1-6 via execution of the executable instructions.
CN201710733768.3A 2017-08-24 2017-08-24 Game picture display method and device, storage medium and electronic equipment Active CN107626105B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710733768.3A CN107626105B (en) 2017-08-24 2017-08-24 Game picture display method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710733768.3A CN107626105B (en) 2017-08-24 2017-08-24 Game picture display method and device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN107626105A CN107626105A (en) 2018-01-26
CN107626105B true CN107626105B (en) 2021-04-02

Family

ID=61100300

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710733768.3A Active CN107626105B (en) 2017-08-24 2017-08-24 Game picture display method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN107626105B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110636324B (en) * 2019-10-24 2021-06-11 腾讯科技(深圳)有限公司 Interface display method and device, computer equipment and storage medium
CN113426108A (en) * 2021-07-22 2021-09-24 网易(杭州)网络有限公司 Game interface identification processing method, device, equipment and storage medium
CN113938748B (en) * 2021-10-15 2023-09-01 腾讯科技(成都)有限公司 Video playing method, device, terminal, storage medium and program product
CN115098012B (en) * 2022-06-24 2024-10-29 北京字跳网络技术有限公司 Display method, electronic device and computer program product

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110028207A1 (en) * 2008-03-31 2011-02-03 Gagner Mark B Integrating video broadcasts into wagering games
CN103700360A (en) * 2013-12-09 2014-04-02 乐视致新电子科技(天津)有限公司 Screen display proportion regulating method and electronic equipment
CN104615327B (en) * 2014-12-24 2017-12-22 广州酷狗计算机科技有限公司 For the window display method and device in game process
CN104808959B (en) * 2015-04-29 2020-07-24 联想(北京)有限公司 Information processing method and electronic equipment
CN106060574B (en) * 2016-06-21 2019-05-24 北京奇虎科技有限公司 Show the method and device of live video stream in gaming
CN106101855B (en) * 2016-06-29 2019-03-05 北京奇虎科技有限公司 A kind for the treatment of method and apparatus of games page
CN106303743B (en) * 2016-08-10 2019-05-28 乐蜜有限公司 A kind of live streaming picture display process, device and electronic equipment
CN106406901A (en) * 2016-09-28 2017-02-15 北京奇虎科技有限公司 Method and device for moving window

Also Published As

Publication number Publication date
CN107626105A (en) 2018-01-26

Similar Documents

Publication Publication Date Title
CN107551555B (en) Game picture display method and device, storage medium and terminal
CN108355354B (en) Information processing method, device, terminal and storage medium
CN108733427B (en) Configuration method and device of input assembly, terminal and storage medium
US10926184B2 (en) Synchronized video with in game telemetry
CN107626105B (en) Game picture display method and device, storage medium and electronic equipment
US10159902B2 (en) Method and system for providing game ranking information
CN107168616B (en) Game interaction interface display method and device, electronic equipment and storage medium
CN111773705A (en) Interaction method and device in game scene
CN110624241A (en) Information processing method and device, electronic equipment and storage medium
CN111760272B (en) Game information display method and device, computer storage medium and electronic equipment
CN111467791B (en) Target object control method, device and system
WO2015055014A1 (en) Description METHOD AND SYSTEM FOR PROVIDING GAME RANKING INFORMATION
CN109954276B (en) Information processing method, device, medium and electronic equipment in game
CN111467790A (en) Target object control method, device and system
CN113827970B (en) Information display method and device, computer readable storage medium and electronic equipment
CN113350779A (en) Game virtual character action control method and device, storage medium and electronic equipment
CN111841013A (en) Information display method and device
CN106984044B (en) Method and equipment for starting preset process
CN110302535B (en) Game thread recording method, device, equipment and readable storage medium
CN113440844B (en) Information processing method and device suitable for game and electronic equipment
CN114286160A (en) Video playing method and device and electronic equipment
CN114053706A (en) Game interface visual angle processing method, device, equipment and storage medium
CN113426108A (en) Game interface identification processing method, device, equipment and storage medium
CN112755510A (en) Mobile terminal cloud game control method, system and computer readable storage medium
JP6535376B2 (en) Program, processing method, and information terminal 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