HK40030041A - Method and apparatus for displaying game video, electronic device and storage medium - Google Patents
Method and apparatus for displaying game video, electronic device and storage medium Download PDFInfo
- Publication number
- HK40030041A HK40030041A HK42020020504.5A HK42020020504A HK40030041A HK 40030041 A HK40030041 A HK 40030041A HK 42020020504 A HK42020020504 A HK 42020020504A HK 40030041 A HK40030041 A HK 40030041A
- Authority
- HK
- Hong Kong
- Prior art keywords
- goal
- review
- actual
- animation
- field
- Prior art date
Links
Description
Technical Field
The present invention relates to internet technologies, and in particular, to a method and an apparatus for displaying a game video, an electronic device, and a computer-readable storage medium.
Background
With the continuous development of internet technology, the network live broadcast of sports events becomes an important part of mass life and entertainment.
Taking a ball game as an example, a game host sends live video data to a network service party who purchases live copyright, and the network service party provides live broadcast service of a sports event for audiences in an online video mode.
Generally, a goal review function needs to be provided during the live broadcast service, but the goal review animation provided by the related art is manufactured based on a plurality of fixed pitching positions so as to reduce the calculation amount during the manufacturing process and further reduce the delay. The goal event cannot be truly restored, so that the experience of the audience is influenced.
If a goal review animation is created to restore a real goal event, the delay caused by more computing resource consumption conflicts with the requirement of providing a goal review function in real time in a live broadcast service, which becomes a technical problem difficult to solve.
Disclosure of Invention
The embodiment of the invention provides a display method and device of a game video, electronic equipment and a computer readable storage medium, which can be used for real-time and accurate simulation playback of a goal event in the game video.
The technical scheme of the embodiment of the invention is realized as follows:
the embodiment of the invention provides a display method of a competition video, which comprises the following steps:
responding to a ball game video playing operation, acquiring video data of a ball game, and presenting a ball game process according to the video data;
when a goal event occurs in the process of the ball game, acquiring an actual pitching position and an actual goal position of the goal event;
presenting a goal review animation;
wherein the goal review animation comprises: a playing field, and a goal curve from the actual pitch location to the actual goal location in the playing field.
The embodiment of the invention provides a display device of a match video, which comprises:
the ball game presentation module is used for responding to the ball game video playing operation, acquiring the video data of the ball game and presenting the ball game process according to the video data;
the acquisition module is used for acquiring the actual pitching position and the actual goal position of the goal event when the goal event occurs in the ball game process;
a playback presentation module for presenting a goal review animation;
wherein the goal review animation comprises: a playing field, and a goal curve from the actual pitch location to the actual goal location in the playing field.
In the above solution, the playback presentation module is further configured to present a goal review animation of at least one goal event in response to a review trigger operation; the types of the review trigger operation include: clicking any position in the competition field picture; a slide for a particular track in the scene.
In the above scheme, the playback presentation module is further configured to automatically present, in real time, a corresponding goal review animation for each goal event.
In the above scheme, the playback presentation module is further configured to present the goal time list in response to a goal time list viewing operation; and in response to a goal time selection operation for the goal time list, presenting a goal review animation of the goal event corresponding to the selected goal time in the playing field.
In the above scheme, the playback presentation module is further configured to present the goal person list in response to a goal person list viewing operation; and in response to the goal person selection operation aiming at the goal person list, presenting a goal review animation of at least one goal event corresponding to the selected goal person in the competition field.
In the above scheme, the playback presentation module is further configured to present the goal person list in response to a goal person list viewing operation; responding to the goal person selection operation aiming at the goal person list, and presenting a goal time list corresponding to the selected goal person; and presenting a goal review animation of the goal event corresponding to the selected goal time in response to a goal time selection operation for the goal time list.
In the above scheme, the playback presentation module is further configured to present a goal review animation of a goal event that satisfies the attention condition; wherein the condition of interest comprises at least one of: a specific goal; a particular team of games; a specific pitching position; a specific goal location; a particular goal type; for a specific time.
In the above solution, the playback presentation module is further configured to present the goal review animation based on a default viewing perspective, or present the goal review animation based on a viewing perspective from a review position to a reference position of the playing field; wherein the review position is any position set by the review position setting operation inside the field, at the edge of the field, or outside the field.
In the above scheme, the playback presentation module is further configured to perform spatial transformation processing on an actual planar coordinate system of the field based on the review position to obtain a simulated planar coordinate system including the field; determining the goal curve based on the actual pitching position and the transformation coordinate corresponding to the actual goal position in the simulation plane coordinate system; wherein the actual planar coordinate system is a coordinate system established by looking down the field from above a central position of the field; the actual pitching position and the actual goal position are coordinate points in the actual plane coordinate system.
In the above scheme, the playback presentation module is further configured to connect the review position with a reference position of the playing field in a three-dimensional space of the playing field, and determine an included angle between the connection line and an actual planar coordinate system of the playing field; rotating the actual plane coordinate system of the competition field by an angle corresponding to the included angle towards the review position by taking a competition field boundary line which has an intersection with the extension line of the connecting line as a rotating shaft; wherein the direction of the extension line is a direction pointing from the review position to the reference position; and horizontally and vertically projecting the rotated actual plane coordinate system to a vertical plane which passes through the review position and is parallel to the rotating shaft to obtain a simulated plane coordinate system of the competition field.
In the above scheme, the playback presentation module is further configured to determine a coordinate transformation matrix, where the coordinate transformation matrix is configured to convert a coordinate point in the actual plane coordinate system into a corresponding coordinate point in the simulated plane coordinate system; determining a simulated goal position corresponding to the actual goal position and a simulated goal position corresponding to the actual goal position in the simulated plane coordinate system based on the coordinate transformation matrix; generating a parabola as the goal curve based on the simulated pitching position and the simulated goal position.
In the above scheme, when the review position is at the edge of the field or outside the field, the reference position is the center position of the field; when the review position is inside the field, the reference position is a center position of a line connecting the actual goal position and the actual pitching position.
An embodiment of the present invention provides an electronic device, including:
a memory for storing computer executable instructions;
and the processor is used for realizing the display method of the game video provided by the embodiment of the invention when executing the computer executable instructions stored in the memory.
The embodiment of the invention provides a computer-readable storage medium, which stores computer-executable instructions and is used for causing a processor to execute the computer-readable storage medium to realize the display method of the game video provided by the embodiment of the invention.
The embodiment of the invention has the following beneficial effects:
in the playing process of the ball game video, a goal curve from an actual pitching position to an actual goal position is simulated in an animation mode, and compared with a goal review animation which is made based on a plurality of fixed pitching positions in the related art, the simulation accuracy is higher, so that the goal details such as the pitching position, the goal curve and the like of the current goal event can be accurately displayed for a user, and the user can conveniently sense the progress of the current ball game in real time; and position data except the actual goal position and the actual pitching position is not needed, the goal review animation with high accuracy can be simulated, the consumption of computing resources is reduced, and the delay of goal review is avoided.
Drawings
Fig. 1 is a schematic structural diagram of a display system 100 for game video according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of an electronic device 500 according to an embodiment of the present invention;
fig. 3 is a schematic flow chart of a method for displaying a game video according to an embodiment of the present invention;
fig. 4 is a flowchart illustrating a method for displaying a game video according to an embodiment of the present invention;
FIG. 5 is a flowchart illustrating a method for displaying a game video according to an embodiment of the present invention;
fig. 6 is a flowchart illustrating a method for displaying a game video according to an embodiment of the present invention;
fig. 7 is a flowchart illustrating a method for displaying a game video according to an embodiment of the present invention;
fig. 8 is a schematic application scenario diagram of a display method of a game video according to an embodiment of the present invention;
fig. 9A to 9E are schematic application scenes of the method for displaying a game video according to the embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail with reference to the accompanying drawings, the described embodiments should not be construed as limiting the present invention, and all other embodiments obtained by a person of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
In the following description, reference is made to "some embodiments" which describe a subset of all possible embodiments, but it is understood that "some embodiments" may be the same subset or different subsets of all possible embodiments, and may be combined with each other without conflict.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used herein is for the purpose of describing embodiments of the invention only and is not intended to be limiting of the invention.
Before further detailed description of the embodiments of the present invention, terms and expressions mentioned in the embodiments of the present invention are explained, and the terms and expressions mentioned in the embodiments of the present invention are applied to the following explanations.
1) In response to the condition or state on which the performed operation depends, one or more of the performed operations may be in real-time or may have a set delay when the dependent condition or state is satisfied; there is no restriction on the order of execution of the operations performed unless otherwise specified.
2) The terminal comprises a client, and an application program running in the terminal and used for providing various services, such as a video client, a short video client or a live broadcast client.
3) The goal event refers to a process of moving a ball to a target area during a game. Taking a football game as an example, the process that a sporter kicks or impacts a football to a goal area is a goal event; taking a basketball game as an example, the process of throwing a basketball to the basketball rim by a player is a goal event.
4) The Bezier curve is a smooth curve drawn according to the coordinates of any point of a plurality of positions.
In the related technology, when a user watches a basketball game through a mobile terminal, live pictures and texts and live videos exist. The image-text live broadcast has no visual effect, and only can construct a field environment through characters and pictures, but the video live broadcast can see a specific shooting effect, but details which are concerned by users such as shooting positions, shooting angles and the like are easy to ignore.
Aiming at the technical problems, the embodiment of the invention can simulate the scene environment of the video or the live broadcast event more truly, thereby helping a user to watch or review the pitching position and the goal angle of a sportsman in an all-around manner, increasing the interestingness, prolonging the dwell time of the page of the user and increasing the viscosity of the user.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a game video display system 100 according to an embodiment of the present invention. The game video display system 100 includes: the server 200, the network 300, and the terminal 400 will be separately described.
The server 200 is a background server of the client 410, and is configured to respond to a data acquisition request sent by the client 410 and send video data of a ball game to the client 410; and also for sending the actual pitch location and the actual goal location of the goal event to the client 410 when a goal event occurs during the course of the ball game.
The network 300, which is used as a medium for communication between the server 200 and the terminal 400, may be a wide area network or a local area network, or a combination of both.
The terminal 400 is used for operating a client 410, and the client 410 is a client with a video playing function. The client 410 is configured to respond to a video playing operation of a ball game of a user, send a data acquisition request to the server 200, receive video data of the ball game sent by the server 200, and present a ball game process in a human-computer interaction interface according to the video data; and is further configured to, when a goal event occurs during the ball game, obtain an actual pitching position and an actual goal position of the goal event from the server 200, and present a corresponding goal review animation in the human-computer interaction interface.
In some embodiments, the client 410 implements the method for displaying the game video provided by the embodiments of the present invention by running a computer program, which may be a native program or a software module in an operating system; can be a local (Native) Application program (APP), i.e. a program that needs to be installed in an operating system to run, such as a video APP or a live APP; or may be an applet, i.e. a program that can be run only by downloading it to the browser environment; but also a video applet or live applet that can be embedded into any APP. In general, the computer programs described above may be any form of application, module or plug-in.
The embodiment of the invention can be realized by means of Cloud Technology (Cloud Technology), which is a hosting Technology for unifying series resources such as hardware, software, network and the like in a wide area network or a local area network to realize the calculation, storage, processing and sharing of data.
The cloud technology is based on the general names of network technology, information technology, integration technology, management platform technology, application technology and the like applied in the cloud computing business model, can form a resource pool, is used as required, and is flexible and convenient. Cloud computing technology will become an important support. Background services of technical network systems require a large amount of computing and storage resources, for example, web portals for video playback.
As an example, the server 200 may be an independent physical server, may be a server cluster or a distributed system formed by a plurality of physical servers, and may also be a cloud server providing basic cloud computing services such as a cloud service, a cloud database, cloud computing, a cloud function, cloud storage, a web service, cloud communication, a middleware service, a domain name service, a security service, a CDN, and a big data and artificial intelligence platform. The terminal 400 may be, but is not limited to, a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, and the like. The terminal 400 and the server 200 may be directly or indirectly connected through wired or wireless communication, and the embodiment of the present invention is not limited thereto.
Next, a structure of an electronic device according to an embodiment of the present invention is described, where the electronic device may be the terminal 400 shown in fig. 1, referring to fig. 2, fig. 2 is a schematic structural diagram of an electronic device 500 according to an embodiment of the present invention, and the electronic device 500 shown in fig. 2 includes: at least one processor 510, memory 550, at least one network interface 520, and a user interface 530. The various components in the electronic device 500 are coupled together by a bus system 540. It is understood that the bus system 540 is used to enable communications among the components. The bus system 540 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, however, the various buses are labeled as bus system 540 in fig. 2.
The Processor 510 may be an integrated circuit chip having Signal processing capabilities, such as a general purpose Processor, a Digital Signal Processor (DSP), or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like, wherein the general purpose Processor may be a microprocessor or any conventional Processor, or the like.
The user interface 530 includes one or more output devices 531 enabling presentation of media content, including one or more speakers and/or one or more visual display screens. The user interface 530 also includes one or more input devices 532, including user interface components to facilitate user input, such as a keyboard, mouse, microphone, touch screen display, camera, other input buttons and controls.
The memory 550 may be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid state memory, hard disk drives, optical disk drives, and the like. Memory 550 optionally includes one or more storage devices physically located remote from processor 510.
The memory 550 may comprise volatile memory or nonvolatile memory, and may also comprise both volatile and nonvolatile memory. The nonvolatile Memory may be a Read Only Memory (ROM), and the volatile Memory may be a Random Access Memory (RAM). The memory 550 described in connection with embodiments of the invention is intended to comprise any suitable type of memory.
In some embodiments, memory 550 can store data to support various operations, examples of which include programs, modules, and data structures, or subsets or supersets thereof, as exemplified below.
An operating system 551 including system programs for processing various basic system services and performing hardware-related tasks, such as a framework layer, a core library layer, a driver layer, etc., for implementing various basic services and processing hardware-based tasks;
a network communication module 552 for communicating to other computing devices via one or more (wired or wireless) network interfaces 520, exemplary network interfaces 520 including: bluetooth, wireless compatibility authentication (WiFi), and Universal Serial Bus (USB), etc.;
a presentation module 553 for enabling presentation of information (e.g., a user interface for operating peripherals and displaying content and information) via one or more output devices 531 (e.g., a display screen, speakers, etc.) associated with the user interface 530;
an input processing module 554 to detect one or more user inputs or interactions from one of the one or more input devices 532 and to translate the detected inputs or interactions.
In some embodiments, the apparatus for presenting a game video provided by the embodiments of the present invention may be implemented in software, and fig. 2 shows the apparatus 555 for presenting a game video stored in the memory 550, which may be software in the form of a computer program, a plug-in, or the like, for example, a video client, a short video client, or a live client. The display device 555 for game video comprises the following software modules: a ball game presentation module 5551, an acquisition module 5552 and a playback presentation module 5553, which are logical and thus can be arbitrarily combined or further split depending on the functionality implemented. The functions of the respective modules will be explained below.
The following description will take the terminal 400 in fig. 1 as an example to implement the method for displaying the game video according to the embodiment of the present invention. Referring to fig. 3, fig. 3 is a flowchart illustrating a method for displaying a game video according to an embodiment of the present invention, which will be described with reference to the steps shown in fig. 3.
It should be noted that the method shown in fig. 3 can be executed by various forms of computer programs executed by the terminal 400, and is not limited to the client 410, such as the operating system 551, the software modules and the scripts described above, and therefore the client should not be considered as limiting the embodiments of the present invention.
In step S101, in response to a video playing operation of a ball game, video data of the ball game is acquired, and a ball game process is presented according to the video data.
Here, the ball game video playing operation may be various forms of operations that are preset by the operating system and do not conflict with the registered operation; or may be various forms of operations that are user-defined and that do not conflict with registered operations. The video playing operation of the ball game comprises at least one of the following operations: click operations (e.g., single-finger click operations, multi-finger click operations, multiple continuous click operations, etc.); a sliding operation in a specific track or direction; performing voice operation; a motion sensing operation (e.g., an operation of moving up and down, a curved motion operation, or the like). Thus, the operation experience of the user can be improved.
Here, the video data of the ball game may be live video data in real time, or may be video data cached in a database.
In some embodiments, the client sends a data acquisition request to the server in response to a video playing operation of the ball game, so as to receive video data of the ball game sent by the server, and present a ball game process in a video playing page according to the video data.
In step S102, when a goal event occurs during the ball game, an actual pitching position and an actual goal position of the goal event are acquired.
In some embodiments, when a goal event occurs during the course of a ball game, the client receives the actual pitching position and the actual goal position of the corresponding goal event sent by the server.
When the ball game is a basketball game, the actual goal position corresponding to the goal event is the position of the basket; when the ball game is a football game, the actual goal position corresponding to the goal event is the specific position of the football entering the goal area; when the game is a football game, the actual goal location corresponding to the goal event is the specific location where the football enters the goal area.
For example, since the client obtains the position data in the two-dimensional coordinate system, the two-dimensional coordinate system is the coordinate established by looking down the viewing angle of the playing fieldThe origin of the coordinate system depends on the top view position of the player's foot when looking down the playing field, and thus, when the origin is the center position of the backboard, the actual pitching position may be (X) in fig. 9A1,Y1) (ii) a When the origin is the top corner of the field, the actual pitch position may be that in FIG. 9B (X)2,Y2) Or (X) in FIG. 9C3,Y3). As such, the actual shooting position described above may be the shooting position that can describe the sportsperson in a unique coordinate in the field, and the shooting position that can describe the ball (e.g., basketball, soccer, or football) in a unique coordinate in the field may be the actual shooting position described above, which is not limited by the present invention.
In step S103, a goal review animation is presented.
Here, the goal review animation includes: a playing field, and a goal curve from an actual pitch position to an actual goal position in the playing field. Wherein, since the goal review animation is used to simulate the goal event, the playing field in the goal review animation can be interpreted as a simulated playing field.
In some embodiments, a goal review animation is presented in the playback display page.
Here, the playback display page and the video play page may be displayed simultaneously, and specifically include: the playback display page and the video playing page are displayed in a split screen mode; the playback display page and the video play page are displayed on the same screen, for example, the playback display page and the video play page are arranged in the same display window, and the playback display page and the video play page are displayed in parallel in the same display window; the playback display page is displayed above the video playing page in a floating layer mode, so that the playback display page has transparency and cannot completely shield the video playing page. Of course, the playback display page and the video play page may also not be displayed at the same time, e.g., switching from the video play page to the presentation playback display page.
In some embodiments, the goal review animation is presented while at least one of the following information is presented: head portrait of the pitching person; name of the person who throws the ball; corresponding scores obtained by corresponding pitching; and (4) real-time scoring.
Taking the example of a basketball game as a ball game, since the rhythm of the basketball game is fast and the pitching speed of the players is fast, it is difficult for the users to clearly see the pitching position and the pitching angle when a goal event occurs. However, the goal review animation presented in the embodiment of the invention not only can accurately show the pitching position and the pitching angle to the user, but also can show the head portrait and/or the name of the current pitching person, the corresponding score obtained by the corresponding pitching person and the real-time score in real time to the user, so that the user can conveniently sense the progress of the current ball game in real time.
For example, in fig. 8, during the live process of watching the game video (i.e., the above-mentioned ball game video), the user may switch to the game status page card 801 (i.e., the above-mentioned playback display page) and present the real-time score 802 to the user.
The following describes a specific implementation of rendering a goal review animation.
In some embodiments, a goal review animation of at least one goal event is presented in response to a review trigger operation.
For example, a goal review animation of at least one recently occurring goal event may be presented; a goal review animation of a goal event occurring at any point in time may also be presented.
For example, the lookback trigger operation may be various forms of operations that the operating system has set in advance and that do not conflict with the registered operations. Types of lookback trigger operations include: clicking any position in the field screen (for example, single-finger clicking operation, multi-finger clicking operation, or multi-time continuous clicking operation); a slide for a particular track in the field scene (e.g., a slide from the basket position to an arbitrary position in the field, or a slide in an arbitrary direction along the field boundary line, etc.). Wherein, the scene picture is a picture presenting a goal review animation in the playback display page.
For example, in fig. 8, when the user clicks on any position of the simulated court 803, a goal review animation of at least one recently occurring goal event is presented. Therefore, the user can repeatedly watch the wonderful animation of the bowling through simple operation, so that the watching experience of the user is improved.
In other embodiments, for each goal event, a corresponding goal review animation is automatically presented in real-time.
For example, in fig. 8, when a goal event occurs, the simulated court 803 automatically presents a corresponding goal review animation in real-time. Therefore, the user can watch the wonderful animation of the bowling in real time, and the watching experience of the user is improved.
In still other embodiments, in response to a goal time list viewing operation, presenting a goal time list; in response to a goal time selection operation for the goal time list, a goal review animation of the goal event corresponding to the selected goal time is presented in the field.
Here, the types of the goal time list viewing operation include: a click on a goal time list button; clicking any position in the field screen (for example, single-finger clicking operation, multi-finger clicking operation, or multi-time continuous clicking operation); a slide for a particular track in the scene.
The goal time list may be displayed in a playback display page; or may be displayed in a goal time list page separate from the playback display page. The playback display page and the goal time list page may be displayed simultaneously, and specifically include: the playback display page and the goal time list page are displayed in a split screen mode; and displaying the goal time list page above the playback display page in a floating layer manner, so that the goal time list page has transparency and cannot completely shield the goal time list page. Of course, the playback display page and the goal time list page may also be displayed at different times, for example, when a time list viewing operation is received, switching from the playback display page to the presentation goal time list page; when a goal time selection operation is received, switching back to the presentation playback display page from the goal time list page.
In this way, the user can select the goal review animation corresponding to an arbitrary time point by a simple operation. And the user can acquire the accurate time of all the goal events by checking the goal time list, so that the watching experience of the user is improved.
In still other embodiments, a list of players is presented in response to a player list viewing operation; in response to a goal person selection operation for the goal person list, a goal review animation of at least one goal event corresponding to the selected goal person is presented in the field.
Here, the types of the goal list viewing operation include: clicking on a goal list button; clicking any position in the field screen (for example, single-finger clicking operation, multi-finger clicking operation, or multi-time continuous clicking operation); a slide for a particular track in the scene.
The goal list may be displayed in a playback display page; or may be displayed in a goal list page separate from the playback display page. The playback display page and the goal list page may be displayed simultaneously, and specifically include: the playback display page and the goal person list page are displayed in a split screen mode; and displaying the goal list page above the playback display page in a floating layer manner, so that the goal list page has transparency and cannot completely shield the goal list page. Of course, the playback display page and the goal list page may also be displayed at different times, for example, when a person list viewing operation is received, switching from the playback display page to the presentation goal list page; and when the goal person selection operation is received, switching back to the presentation playback display page from the goal person list page.
In this way, the user can select the goal review animation corresponding to any goal taker by a simple operation. And the user can obtain the players corresponding to all the goal events by looking up the goal event list, so that the watching experience of the user is improved.
In still other embodiments, in response to a goal list viewing operation, presenting a goal list; responding to the selection operation of the goal persons aiming at the goal person list, and presenting a goal time list corresponding to the selected goal persons; and presenting a goal review animation of the goal event corresponding to the selected goal time in response to a goal time selection operation for the goal time list.
Here, the type of goal list viewing operation is the same as described above; the type of the operation selected by the goal taker is the same as that described above; the type of the goal time selecting operation is the same as described above, and will not be described herein.
The goal person list page and the goal time list page may be displayed in the playback display page at the same time, specifically including: the goal person list page and the goal time list page are displayed in a split screen mode; the goal time list page is displayed above the goal person list page in a floating layer mode, so that the goal time list page has transparency and cannot completely shield the goal person list page. Of course, the goal person list page and the goal time list page may also be displayed differently, for example, when a goal time selection operation is received, switching from the goal person list page to the presentation goal time list page.
Therefore, the user can select the goal review animation corresponding to any goal person and any goal time through simple operation, and the watching experience of the user is improved.
In still other embodiments, a goal review animation of a goal event meeting the conditions of interest is presented.
Here, the condition of interest includes at least one of: a specific goal; a particular team of games; a specific pitching position; a specific goal location; a particular goal type; for a specific time.
Taking the example where the condition of interest is a particular goal person, the particular goal person may be any one or more of the participants in the game.
Taking the example where the condition of interest is a particular team, the particular team may be any one or more participating teams in the game.
Taking the condition of interest as a specific shooting position as an example, the specific shooting position may be any one or more positions or areas in the playing field, for example, a position of a bisector or a trisection in a basketball playing field, and a penalty area in a football playing field.
Taking the case that the condition of interest is a specific goal location, the specific goal location may be any one or more locations or regions in a goal area, for example, a basketball hoop in a basketball court is located, a goal area in a football court.
Taking the case that the attention condition is a specific goal type as an example, when the ball game is a football game, the specific goal type can be any ball, namely a goal event occurring after the game is restarted after a foul occurs in the football game; it may also be a goal, i.e. a goal event that occurs after a soccer ball is placed at a penalty point. When the game is a basketball game, the particular goal type may be a trivia, i.e., a goal event that is shot and hit outside the triple point of the basketball game.
Taking the example where the event of interest is a specific time, the goal event meeting the specific time may be a goal event within the last three minutes of the game.
The embodiment of the invention can individually present the goal review animation to the user, and avoid the waste of service resources caused by the presentation of too many goal animations while meeting the watching experience of the user.
Here, the attention condition may be set by the user uniformly for all ball games; or the system can be specially set for one or more ball games, and supports the user to set the attention condition and modify the attention condition before the game starts or in the game process; or may be specifically set for different types of ball games (e.g., basketball games or soccer games), and support the user to set and modify the attention conditions before or during the game. When the user does not set the attention condition, the client can use the default attention condition, wherein the default attention condition can be the attention condition set by other statistical users, the attention condition with the highest set frequency is taken as the default attention condition, and the user is supported to modify the default attention condition before the start of the competition or in the competition process; it is also possible to determine a default condition of interest based on historical behavior data of the user and enable the user to modify the default condition of interest before the start of the race or during the race.
As one example, historical behavior data of a user is obtained; determining review preferences according to historical behavior data; determining an attention condition according to the review preference; a goal review animation of the goal event satisfying the conditions of interest is presented.
Here, from the historical behavior data, a specific implementation of determining the review preference may be: calling a neural network model to perform the following processing on the historical behavior data: extracting a feature vector of historical behavior data; and mapping the extracted feature vectors to the probabilities corresponding to the review preferences of the plurality of candidates respectively, and determining the review preference of the candidate corresponding to the maximum probability as the review preference of the user.
The sample historical behavior data used for training the neural network model includes interaction behavior (such as comment, like or forward) data for a goal person, a game team, a pitching position, a goal position or a goal type. Therefore, the goal animation meeting the requirements of the user can be accurately determined through machine learning, so that the viewing experience of the user is met, and the waste of service resources caused by the excessive goal animation is avoided.
Here, from the historical behavior data, a specific implementation of determining the review preference may be: counting the interaction times and/or the interaction frequencies in the historical behavior data aiming at the candidate review preferences (including the goal persons, the competition teams, the pitching positions, the goal types and the time), and determining the candidate review preferences with the interaction times exceeding the interaction time threshold value and/or the candidate review preferences with the interaction frequencies exceeding the interaction frequency threshold value as the review preferences of the user.
The historical behavior data includes interaction behavior (such as comment, like or forward) data for a goal taker, a match team, a pitching position, a goal position, or a goal type.
As another example, when the historical behavior data of the user cannot be obtained or the amount of the historical behavior data of the user is small and is not enough to determine the review preference, the review preference of the user having a social relationship with the user is obtained; determining an attention condition according to the review preference; a goal review animation of the goal event satisfying the conditions of interest is presented.
Here, the user who has a social relationship with the user may be a member of an interest group of the same team, a member of a gummy ball of the same player, or the like. Therefore, the attention conditions corresponding to the users with similar hobbies in the ball game can be inherited, so that the users do not need to set the attention conditions by themselves, and the computing resources are saved.
In some embodiments, a goal review animation is presented based on a default viewing perspective.
Here, the default viewing angle may be a viewing angle at which the stadium is viewed with the spectator stand (or auditorium) as the review position.
For example, in the event status page card 801 of fig. 8, a goal review animation is presented based on the viewing angle of the spectator stand (or spectator seat) viewing the event field for the review position.
In other embodiments, a goal review animation is presented based on a viewing perspective looking from a review position toward a reference position of the playing field.
Here, the review position is an arbitrary position set inside the field, at the edge of the field, or outside the field by the review position setting operation. The review position setting operation and the review trigger operation described above may be the same operation for both setting the viewing position and triggering the goal review animation. Therefore, the operation steps of the user can be saved, and the operation experience of the user is improved.
Here, the review position being inside the field means that the projection position corresponding to the review position is within the boundary range of the field; the review position at the edge of the playing field means that the projection position corresponding to the review position is on the boundary line of the playing field; the review position being outside the field means that the projected position corresponding to the review position is outside the boundary of the field. The projection position corresponding to the review position is a position obtained by projecting the review position onto the playing field plane in a projection direction perpendicular to the playing field plane.
As an example, when the review position is at the edge of the field or outside the field, the reference position is the center position of the field; thus, the viewing angle is the angle between the line connecting the review position with the center position (i.e., the reference position) of the playing field and the plane of the playing field.
As another example, when the review position is inside the field, the reference position is a center position of a line connecting the actual goal position and the actual shot position; thus, the viewing angle is the angle connecting the review position with the center position (i.e., the reference position) of the connecting line between the two positions (the actual goal position and the actual goal position), and the angle between the connecting line and the playing field plane is the viewing angle.
In the embodiment of the invention, the user can select the review position at will, and the goal review animation under different viewing angles is presented according to the review position selected by the user, so that the user can feel the goal position and the goal angle of the goal time in an all-around manner, and the competition experience of the user is improved.
Referring to fig. 4, fig. 4 is a flowchart illustrating a method for displaying a game video according to an embodiment of the present invention, and based on fig. 3, step S104 may be further included before step S103.
In step S104, a goal review animation is generated based on the actual pitching position and the actual goal position.
In some embodiments, the client may invoke a corresponding service (e.g., an animation generation service) of the terminal, and the process of generating the goal review animation is completed by the terminal. The client may also call a corresponding service (e.g., an animation generation service) of the server, and the process of generating the goal review animation is completed through the server.
As an example, when the client calls the corresponding service (e.g., animation generation service) of the server to complete the process of generating the goal review animation, the alternative steps of step S104 are: the server generates a goal review animation according to the actual pitching position and the actual goal position; and sending the goal review animation to the client. Thus, step S102 can be omitted.
Next, a process of calling a corresponding service (for example, an animation generation service) of the terminal by the client and completing generation of a goal review animation by the terminal will be described as an example. It should be noted that the process of the client invoking the corresponding service (e.g., the animation generation service) of the server to complete the generation of the goal review animation is similar to that described below, and will not be described again.
In some embodiments, referring to fig. 5, fig. 5 is a flowchart illustrating a method for displaying a game video according to an embodiment of the present invention, and based on fig. 4, step S104 may include step S1041 and step S1042.
In step S1041, a spatial transformation process is performed on the actual planar coordinate system of the field based on the review position to obtain a simulated planar coordinate system including the field.
Here, the actual plane coordinate system is a coordinate system established by looking down the field from above the center position of the field; the actual pitching position and the actual goal position are coordinate points in an actual plane coordinate system.
In some embodiments, the review position is connected with a reference position of the playing field in a three-dimensional space of the playing field, and an included angle between the connection line and an actual plane coordinate system of the playing field is determined; rotating the actual plane coordinate system of the competition field by an angle corresponding to the included angle by taking the competition field boundary line which has an intersection with the extension line of the connecting line as a rotating shaft; wherein the direction of the extension line is a direction pointing from the review position to the reference position; and horizontally and vertically projecting the rotated actual plane coordinate system to a vertical plane which passes through the review position and is parallel to the rotating shaft to obtain a simulated plane coordinate system of the competition field.
Taking the review position in the audience table as an example, connecting the review position with the center position of the competition field in the three-dimensional space of the competition field, and determining an included angle between the connecting line and the actual plane coordinate system of the competition field; rotating the actual plane coordinate system of the competition field by an angle corresponding to the included angle by taking the competition field boundary line which has an intersection with the extension line of the connecting line as a rotating shaft; wherein, the direction of the extension line is the direction from the look-back position to the center position of the competition field; and horizontally and vertically projecting the rotated actual plane coordinate system to a vertical plane which passes through the review position and is parallel to the rotating shaft to obtain a simulated plane coordinate system of the competition field. By analogy, when the review position is inside the field or at the edge of the field, the manner of determining the simulation plane coordinate system of the field is similar to the above process, and will not be described herein again.
For example, in fig. 9C and 9D, since the review position is in the positive direction of the spectator stand, i.e. the Y-axis, if the perspective effect needs to be achieved, the actual plane coordinate system of the field (the coordinate system shown in fig. 9C) needs to be rotated by a certain angle (as shown in fig. 9D) towards the review position with the X-axis as the central axis, wherein the degree of rotation is the angle between the connection line of the review position and the central position of the field and the actual plane coordinate system of the field.
In step S1042, a goal curve is determined based on the transformed coordinates of the actual pitching position and the actual goal position in the simulation plane coordinate system.
In some embodiments, referring to fig. 6, fig. 6 is a flowchart illustrating a method for displaying a game video according to an embodiment of the present invention, and based on fig. 5, step S1042 may include steps S10421 to S10423.
In step S10421, a coordinate transformation matrix is determined.
Here, the coordinate transformation matrix is used to convert coordinate points in the actual planar coordinate system into corresponding coordinate points in the simulated planar coordinate system.
In some embodiments, the coordinates of the center position of the playing field are determined in an actual planar coordinate system; determining the coordinates of the center position of the competition field in a simulation plane coordinate system; according to the formula (X)i,Yi)×A=(XI,YI) Determining a coordinate transformation matrix; wherein (X)i,Yi) Is the coordinate of the center position of the field, (X)I,YI) Is the coordinate of the center position of the field, and A is the coordinate transformation matrix.
In step S10422, a simulated pitch position corresponding to the actual pitch position and a simulated pitch position corresponding to the actual pitch position are determined in the simulated planar coordinate system based on the coordinate transformation matrix.
In some embodiments, the product of the coordinate transformation matrix and the coordinates of the actual pitch position is determined as the coordinates of the simulated pitch position; and determining the product of the coordinate transformation matrix and the coordinate of the actual goal position as the coordinate of the simulated goal position.
For example, when the coordinate of the actual ball-throwing position is (X)a,Ya) The coordinate of the simulated pitching position is (X)a,Ya) X is A; when the coordinate of the actual pitching position is (X)b,Yb) The coordinate of the simulated pitching position is (X)b,Yb) And (4) x A. Therefore, the coordinates of any pitching position or goal position corresponding to the simulation plane coordinate system can be obtained, so that a goal curve can be drawn conveniently in the follow-up process.
In step S10423, a parabola is generated as a goal curve based on the simulated pitch position and the simulated goal position.
In some embodiments, the simulated pitching position and the simulated goal position are connected, and a first coordinate point with a first preset distance from the simulated goal position is determined in the connection line; wherein the abscissa of the first coordinate point is the abscissa of the highest point in the goal curve; the vertical coordinate of the simulated goal position and the vertical coordinate of the simulated goal position are proportionally added to obtain the vertical coordinate of the highest point; and drawing a parabola to be used as a goal curve based on the simulated pitching position, the simulated goal position and the highest point.
As an example, the ordinate of the highest point is determined according to the formula z ═ x +60+30 y/H.
Here, z is the ordinate of the highest point, x is the ordinate of the simulated goal position, y is the ordinate of the simulated goal position, and H is the ordinate of the top of the field closest to the review position.
According to the embodiment of the invention, the goal event in the three-dimensional space is accurately simulated in a plane animation mode according to the video data of the ball game, so that the goal details such as the pitching position, the goal curve and the like can be displayed to the user in real time on the basis of reducing human resources and computing resources, and the user can conveniently sense the progress of the current ball game in real time.
Next, a description will be given by taking as an example a method for displaying a game video, which is provided by the embodiment of the present invention and implemented by the terminal 400 and the server 200 in fig. 1 in cooperation. Referring to fig. 7, fig. 7 is a flowchart illustrating a method for displaying a game video according to an embodiment of the present invention, which will be described with reference to the steps shown in fig. 7.
In step S701, the client acquires video data of the ball game sent by the server in response to the ball game video playing operation.
In step S702, the client presents the ball game process according to the video data.
In step S703, when a goal event occurs during the ball game, the client acquires the actual pitching position and the actual goal position of the goal event sent by the server.
In step S704, the client generates a goal review animation according to the actual pitching position and the actual goal position.
In step S705, the client presents a goal review animation.
It should be noted that the specific implementation manner in steps S701 to S705 is similar to the embodiment included in steps S101 to S104, and will not be described again here.
According to the embodiment of the invention, the client side accurately simulates the goal event in the three-dimensional space in a plane animation mode through data interaction between the server and the terminal, so that the goal details such as the pitching position, the goal curve and the like can be displayed to the user in real time on the basis of reducing human resources and computing resources, and the user can conveniently sense the progress of the current ball game in real time.
The method for displaying the game video provided by the embodiment of the invention is described below by taking the example that the ball game is a basketball game.
In the embodiment of the invention, the single two-dimensional coordinate data source obtained from the competition host is processed for the second time, is converted into the angle for watching the competition field from the viewing angle of the audience table for presentation after conversion, and the presented goal animation (namely the goal review animation) supports shooting at any shooting position after the corresponding angle is calculated.
Referring to fig. 8, fig. 8 is a schematic view of an application scenario of the method for displaying a game video according to the embodiment of the present invention. In fig. 8, during the live viewing of a game video (i.e., the above-described ball game video), the user may be switched to a game situation page card 801 (i.e., the above-described playback display page), and the user may be presented with a real-time score 802, as well as a simulated court 803 (i.e., the above-described simulated field). When a goal event occurs, the corresponding goal animation is presented on the simulated court at the same time, and the pitching position, the goal basket frame (namely the goal position) and the goal curve are marked in the goal animation. When the user clicks any position of the simulated court, the goal animation can be looked back.
Referring to fig. 9A to 9E, fig. 9A to 9E are schematic application scenarios of a game video display method provided by an embodiment of the present invention, and a specific implementation manner of the embodiment of the present invention will be described with reference to fig. 9A to 9E.
The client obtains the position data in a two-dimensional coordinate system, wherein the two-dimensional coordinate system is established by taking the center position of the backboard as an origin and looking down the game field, as shown in fig. 9A, the coordinate of the actual pitching position 901 obtained by the client is (X)1,Y1)。
The embodiment of the invention can convert the two-dimensional coordinate system into a pseudo three-dimensional coordinate system established by using the audience table as a viewing angle for viewing the competition field (namely the review position), and then presents the goal animation based on the pseudo three-dimensional coordinate system according to the actual pitching position and the actual goal position.
Specifically, the goal animation is realized by drawing a Bezier curve in the embodiment of the invention. The Bezier curve is drawn by means of three coordinate points which are respectively as follows: the coordinates of the basket (i.e., the goal position) and the coordinates of the pitching position and the coordinates of the highest point in the goal trajectory. As shown in FIG. 9A, assume that the current bowling position is (X)1,Y1) The process of drawing the goal curve specifically comprises the following steps:
in step S901, the field is translated to the lower left so that the top corner (X) of the upper right of the field is formed5,Y5) And moving to the position of the origin in the two-dimensional coordinate system.
As shown in fig. 9B, the coordinates (X) of the actual ball-throwing position2,Y2)=(X1,Y1)-(X5,Y5)。
In step S902, the two-dimensional coordinate system is rotated counterclockwise by 90 degrees at the origin position.
As shown in fig. 9C, the coordinates (X) of the actual ball-throwing position3,Y3)=(Y2,-X2)。
In step S903, the X-axis is used as a central axis to rotate clockwise by an angle θ (i.e., the included angle between the Y-axis and the Z-axis is 90 degrees — θ degrees), so as to present a perspective effect.
In step S904, the camera distance (i.e., the visual distance of the human eye) is adjusted to achieve the desired perspective effect.
As shown in fig. 9D, the camera is at the center of the field and the visual distance is a.
In step S905, the coordinates (X) of the actual shooting position are determined based on the camera distance3,Y3) Matrix-transforming to obtain transformed coordinates (X) of the actual ball-throwing position4,Y4)。
Here, the coordinates (X) of the actual ball throwing position4,Y4) I.e. the coordinates of the simulated pitch position as described above.
In step S906, the basket coordinates (X) are acquired8,Y8) According to the basket frame coordinate (X)8,Y8) And the coordinates of the pitching position (X)4,Y4) Determining the coordinates (X) of the highest point10,Y10)。
In some embodiments, since the goal curve is finally drawn in the plane coordinate system, a new coordinate system (coordinate axes of the new coordinate system are the X-axis and the Y-axis shown by the dotted line in fig. 9E) needs to be established, and based on the new coordinate system (i.e., the simulated plane coordinate system mentioned above), the basket coordinate is (X)8,Y8) The coordinates of the pitching position are (X)4,Y4) Thus, the coordinate (X) of the basket frame can be obtained8,Y8) And the coordinates of the pitching position (X)4,Y4) Determining the coordinates (X) of the highest point10,Y10)。
As an example, the highest point coordinate (X)10,Y10) The calculation mode of the horizontal and vertical coordinates is specifically as follows:
since the highest point of the shot is close to the rim, a distance R (which may be 40 pixels) is defined, and the horizontal distance from the highest point to the basket position is specified to be less than or equal to R, as shown in the circular range of fig. 9E. Thus, according to the basket coordinate (X)8,Y8) And the position coordinate (X) of the shot4,Y4) And a triangular formula enabling determination of the abscissa X of the highest point10。
Visually, as the audience table is in the positive direction of the Y axis in the pseudo three-dimensional coordinate system, the closer the pitching position is to the audience table, the lower the height of the highest point of the corresponding goal curve is; the farther the pitching position is from the audience table, the higher the height of the highest point of the corresponding goal curve. Therefore, in the coordinates (X) of the rim position8,Y8) As a reference point, the ordinate Y of the maximum point is limited10In the range [ b, c](b can take the value of 60 pixels, c can take the value of 90 pixels).
Thus, the ordinate Y of the highest point10=Y8+b+Y4/H(c-b)。
Where H is the pitch height in fig. 9E, and the value may be 120 pixels.
In step S907, according to the highest point coordinate (X)10,Y10) Basket frame coordinate (X)8,Y8) And the coordinates of the pitching position (X)4,Y4) And drawing a goal curve.
The embodiment of the invention can enrich the live content of the pictures and texts, help the user to comprehensively review the pitching position and the goal angle of the sportsman, and increase the interestingness, thereby prolonging the dwell time of the user page, increasing the stickiness of the user and improving the user experience.
An exemplary structure of the game video display device 555 provided by the embodiment of the present invention implemented as a software module is described below with reference to fig. 2, and in some embodiments, as shown in fig. 2, the software module stored in the game video display device 555 of the memory 550 may include:
the ball game presenting module 5551 is configured to respond to a ball game video playing operation, acquire video data of a ball game, and present a ball game process according to the video data;
an obtaining module 5552, configured to obtain an actual pitching position and an actual goal position of the goal event when the goal event occurs during the ball game;
a playback presentation module 5553 for presenting a goal review animation;
wherein the goal review animation comprises: a playing field, and a goal curve from the actual pitch location to the actual goal location in the playing field.
In the above solution, the playback presentation module 5553 is further configured to present a goal review animation of at least one goal event in response to a review trigger operation; the types of the review trigger operation include: clicking any position in the competition field picture; a slide for a particular track in the scene.
In the above solution, the playback presentation module 5553 is further configured to automatically present, for each of the goal events, a corresponding goal review animation in real time.
In the above solution, the playback presenting module 5553 is further configured to present the goal time list in response to a goal time list viewing operation; and in response to a goal time selection operation for the goal time list, presenting a goal review animation of the goal event corresponding to the selected goal time in the playing field.
In the above solution, the playback presenting module 5553 is further configured to present a goal person list in response to a goal person list viewing operation; and in response to the goal person selection operation aiming at the goal person list, presenting a goal review animation of at least one goal event corresponding to the selected goal person in the competition field.
In the above solution, the playback presenting module 5553 is further configured to present a goal person list in response to a goal person list viewing operation; responding to the goal person selection operation aiming at the goal person list, and presenting a goal time list corresponding to the selected goal person; and presenting a goal review animation of the goal event corresponding to the selected goal time in response to a goal time selection operation for the goal time list.
In the above solution, the playback presentation module 5553 is further configured to present a goal review animation of a goal event that satisfies the attention condition; wherein the condition of interest comprises at least one of: a specific goal; a particular team of games; a specific pitching position; a specific goal location; a particular goal type; for a specific time.
In the above solution, the playback presentation module 5553 is further configured to present the goal review animation based on a default viewing perspective, or present the goal review animation based on a viewing perspective from a review position to a reference position of the playing field; wherein the review position is any position set by the review position setting operation inside the field, at the edge of the field, or outside the field.
In the above solution, the playback presentation module 5553 is further configured to perform spatial transformation processing on an actual planar coordinate system of the playing field based on the review position to obtain a simulated planar coordinate system including the playing field; determining the goal curve based on the actual pitching position and the transformation coordinate corresponding to the actual goal position in the simulation plane coordinate system; wherein the actual planar coordinate system is a coordinate system established by looking down the field from above a central position of the field; the actual pitching position and the actual goal position are coordinate points in the actual plane coordinate system.
In the above solution, the playback presentation module 5553 is further configured to connect the review position with a reference position of the playing field in a three-dimensional space of the playing field, and determine an included angle between the connection line and an actual planar coordinate system of the playing field; rotating the actual plane coordinate system of the competition field by an angle corresponding to the included angle towards the review position by taking a competition field boundary line which has an intersection with the extension line of the connecting line as a rotating shaft; wherein the direction of the extension line is a direction pointing from the review position to the reference position; and horizontally and vertically projecting the rotated actual plane coordinate system to a vertical plane which passes through the review position and is parallel to the rotating shaft to obtain a simulated plane coordinate system of the competition field.
In the above solution, the playback presentation module 5553 is further configured to determine a coordinate transformation matrix, where the coordinate transformation matrix is configured to convert a coordinate point in the actual plane coordinate system into a corresponding coordinate point in the simulated plane coordinate system; determining a simulated goal position corresponding to the actual goal position and a simulated goal position corresponding to the actual goal position in the simulated plane coordinate system based on the coordinate transformation matrix; generating a parabola as the goal curve based on the simulated pitching position and the simulated goal position.
In the above scheme, when the review position is at the edge of the field or outside the field, the reference position is the center position of the field; when the review position is inside the field, the reference position is a center position of a line connecting the actual goal position and the actual pitching position.
Embodiments of the present invention provide 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, so that the computer device executes the method for displaying the game video according to the embodiment of the invention.
Embodiments of the present invention provide a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, cause the processor to perform a method for displaying a game video provided by an embodiment of the present invention, for example, the method for displaying a game video shown in fig. 3, 4, 5, 6, and 7, where the computer includes various computing devices including an intelligent terminal and a server.
In some embodiments, the computer-readable storage medium may be memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash, magnetic surface memory, optical disk, or CD-ROM; or may be various devices including one or any combination of the above memories.
In some embodiments, the computer-executable instructions may be in the form of programs, software modules, scripts or code written in any form of programming language, including compiled or interpreted languages, or declarative or procedural languages, and they may be deployed in any form, including as a stand-alone program or as a module, component, subroutine, or other unit suitable for use in a computing environment.
By way of example, computer-executable instructions may correspond, but do not necessarily have to correspond, to files in a file system, and may be stored in a portion of a file that holds other programs or data, e.g., in one or more scripts in a hypertext markup language document, in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files that store one or more modules, sub-programs, or portions of code).
By way of example, computer-executable instructions may be deployed to be executed on one computing device or on multiple computing devices at one site or distributed across multiple sites and interconnected by a communication network.
In summary, the embodiments of the present invention have the following beneficial effects:
(1) the presented goal review animation not only can accurately show the pitching position and the pitching angle to the user, but also can show the head portrait and/or the name of the current pitching person, the corresponding score obtained by the corresponding pitching person and the real-time score in real time to the user, so that the user can conveniently sense the progress of the current ball game in real time.
(2) The user can select the goal review animation corresponding to any goal person through simple operation. And the user can obtain the players corresponding to all the goal events by looking up the goal event list, so that the watching experience of the user is improved.
(3) The user can select the goal review animation corresponding to any time point through simple operation. And the user can acquire the accurate time of all the goal events by checking the goal time list, so that the watching experience of the user is improved.
(4) The goal-shooting method and the goal-shooting device support the user to randomly select the review position, present goal-shooting animations under different viewing angles according to the review position selected by the user, enable the user to comprehensively feel the goal position and the goal angle of the goal time, and accordingly improve the user's experience of watching the match.
(5) The goal review animation is presented to the user in a personalized manner, so that the viewing experience of the user is met, and the waste of service resources caused by the presentation of too much goal animation is avoided.
(6) According to the video data of the ball game, the goal event in the three-dimensional space is accurately simulated in a plane animation mode, the goal details such as the pitching position, the goal curve and the like can be displayed to the user in real time on the basis of reducing human resources and computing resources, and the user can conveniently sense the progress of the current ball game in real time.
The above description is only an example of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, and improvement made within the spirit and scope of the present invention are included in the protection scope of the present invention.
Claims (15)
1. A method for displaying a game video, comprising:
responding to a ball game video playing operation, acquiring video data of a ball game, and presenting a ball game process according to the video data;
when a goal event occurs in the process of the ball game, acquiring an actual pitching position and an actual goal position of the goal event;
presenting a goal review animation;
wherein the goal review animation comprises: a playing field, and a goal curve from the actual pitch location to the actual goal location in the playing field.
2. The method of claim 1, wherein presenting a goal review animation comprises:
presenting a goal review animation of at least one goal event in response to a review trigger operation;
the types of the review trigger operation include:
clicking any position in the competition field picture;
a slide for a particular track in the scene.
3. The method of claim 1, wherein presenting a goal review animation comprises:
and automatically presenting corresponding goal review animations in real time according to each goal event.
4. The method of claim 1, wherein presenting a goal review animation comprises:
responding to the goal time list viewing operation, and presenting a goal time list;
and in response to a goal time selection operation for the goal time list, presenting a goal review animation of the goal event corresponding to the selected goal time in the playing field.
5. The method of claim 1, wherein presenting a goal review animation comprises:
responding to the goal person list viewing operation, and presenting a goal person list;
and in response to the goal person selection operation aiming at the goal person list, presenting a goal review animation of at least one goal event corresponding to the selected goal person in the competition field.
6. The method of claim 1, wherein presenting a goal review animation comprises:
responding to the goal person list viewing operation, and presenting a goal person list;
responding to the goal person selection operation aiming at the goal person list, and presenting a goal time list corresponding to the selected goal person;
and presenting a goal review animation of the goal event corresponding to the selected goal time in response to a goal time selection operation for the goal time list.
7. The method of claim 1, wherein presenting a goal review animation comprises:
presenting a goal review animation of a goal event satisfying the attention condition;
wherein the condition of interest comprises at least one of:
a specific goal; a particular team of games; a specific pitching position; a specific goal location; a particular goal type; for a specific time.
8. The method of claim 1, wherein presenting a goal review animation comprises:
presenting the goal look-back animation based on a default viewing perspective, or presenting the goal look-back animation based on a viewing perspective looking from a look-back position to a reference position of the playing field;
wherein the review position is any position set by the review position setting operation inside the field, at the edge of the field, or outside the field.
9. The method of claim 1, wherein prior to said presenting a goal review animation, the method further comprises:
performing spatial transformation processing on an actual plane coordinate system of the playing field based on the review position to obtain a simulation plane coordinate system containing the playing field;
determining the goal curve based on the actual pitching position and the transformation coordinate corresponding to the actual goal position in the simulation plane coordinate system;
wherein the actual planar coordinate system is a coordinate system established by looking down the field from above a central position of the field; the actual pitching position and the actual goal position are coordinate points in the actual plane coordinate system.
10. The method of claim 9, wherein spatially transforming an actual planar coordinate system of the playing field based on the review position to obtain a simulated planar coordinate system containing the playing field comprises:
connecting the review position with a reference position of the competition field in a three-dimensional space of the competition field, and determining an included angle between the connecting line and an actual plane coordinate system of the competition field;
rotating the actual plane coordinate system of the competition field by an angle corresponding to the included angle towards the review position by taking a competition field boundary line which has an intersection with the extension line of the connecting line as a rotating shaft;
wherein the direction of the extension line is a direction pointing from the review position to the reference position;
and horizontally and vertically projecting the rotated actual plane coordinate system to a vertical plane which passes through the review position and is parallel to the rotating shaft to obtain a simulated plane coordinate system of the competition field.
11. The method of claim 9, wherein determining the goal curve based on transformed coordinates of the actual ball placement location and the actual goal location in the simulated planar coordinate system comprises:
determining a coordinate transformation matrix, wherein the coordinate transformation matrix is used for converting coordinate points in the actual plane coordinate system into corresponding coordinate points in the simulated plane coordinate system;
determining a simulated goal position corresponding to the actual goal position and a simulated goal position corresponding to the actual goal position in the simulated plane coordinate system based on the coordinate transformation matrix;
generating a parabola as the goal curve based on the simulated pitching position and the simulated goal position.
12. The method according to claim 8 or 10,
when the review position is at the edge of the field or outside the field, the reference position is the center position of the field;
when the review position is inside the field, the reference position is a center position of a line connecting the actual goal position and the actual pitching position.
13. A game video display apparatus, comprising:
the ball game presentation module is used for responding to the ball game video playing operation, acquiring the video data of the ball game and presenting the ball game process according to the video data;
the acquisition module is used for acquiring the actual pitching position and the actual goal position of the goal event when the goal event occurs in the ball game process;
a playback presentation module for presenting a goal review animation;
wherein the goal review animation comprises: a playing field, and a goal curve from the actual pitch location to the actual goal location in the playing field.
14. An electronic device, comprising:
a memory for storing computer executable instructions;
a processor for implementing the method of displaying a game video of any one of claims 1 to 12 when executing computer executable instructions stored in the memory.
15. A computer-readable storage medium having stored thereon computer-executable instructions for performing the method of displaying a game video according to any one of claims 1 to 12.
Publications (2)
| Publication Number | Publication Date |
|---|---|
| HK40030041A true HK40030041A (en) | 2021-02-26 |
| HK40030041B HK40030041B (en) | 2024-05-17 |
Family
ID=
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN111836110B (en) | Method and device for displaying game video, electronic equipment and storage medium | |
| KR101283520B1 (en) | Method and apparatus for real-time viewer interaction with a media presentation | |
| US10617945B1 (en) | Game video analysis and information system | |
| US20230290043A1 (en) | Picture generation method and apparatus, device, and medium | |
| US11123636B2 (en) | Runtime animation substitution | |
| CN114405012B (en) | Interactive live broadcast method, device, computer equipment and storage medium for offline games | |
| CN110302524A (en) | Limbs training method, device, equipment and storage medium | |
| CN113490006A (en) | Live broadcast interaction method and equipment based on bullet screen | |
| KR20240005086A (en) | Automatic presentation of appropriate content | |
| WO2024146246A1 (en) | Interaction processing method and apparatus for virtual scene, electronic device and computer storage medium | |
| KR20140114548A (en) | Billiards image management system | |
| CN101661629B (en) | Device and method for monitoring role behavior in three-dimensional virtual world | |
| CN116011212A (en) | Tactical simulation method, tactical simulation device, storage medium and electronic equipment | |
| JP7465736B2 (en) | Content control system, content control method, and content control program | |
| CN118118643B (en) | A video data processing method and related device | |
| Lo et al. | From off-site to on-site: A Flexible Framework for XR Prototyping in Sports Spectating | |
| HK40030041A (en) | Method and apparatus for displaying game video, electronic device and storage medium | |
| CN119071556A (en) | Live interactive method, device, equipment and storage medium | |
| CN115068929B (en) | Game information acquisition method, device, electronic device and storage medium | |
| KR20240056698A (en) | Apparatus and method for providing list of golf course | |
| CN117278793A (en) | A barrage display method, device, electronic equipment and storage medium | |
| WO2024037139A1 (en) | Method and apparatus for prompting information in virtual scene, electronic device, storage medium, and program product | |
| CN116955787A (en) | Method, device, equipment, medium and program product for displaying event information | |
| HK40030041B (en) | Method and apparatus for displaying game video, electronic device and storage medium | |
| CN116684675A (en) | Page display method, page display device, computer device, storage medium and program product |