CN112351314B - Multimedia information playing method, server, terminal, system and storage medium - Google Patents

Multimedia information playing method, server, terminal, system and storage medium Download PDF

Info

Publication number
CN112351314B
CN112351314B CN201910726698.8A CN201910726698A CN112351314B CN 112351314 B CN112351314 B CN 112351314B CN 201910726698 A CN201910726698 A CN 201910726698A CN 112351314 B CN112351314 B CN 112351314B
Authority
CN
China
Prior art keywords
terminal
display area
multimedia information
increment
width
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
CN201910726698.8A
Other languages
Chinese (zh)
Other versions
CN112351314A (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.)
Tencent Cyber Tianjin Co Ltd
Original Assignee
Tencent Cyber Tianjin 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 Tencent Cyber Tianjin Co Ltd filed Critical Tencent Cyber Tianjin Co Ltd
Priority to CN201910726698.8A priority Critical patent/CN112351314B/en
Publication of CN112351314A publication Critical patent/CN112351314A/en
Application granted granted Critical
Publication of CN112351314B publication Critical patent/CN112351314B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/266Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel
    • H04N21/2662Controlling the complexity of the video stream, e.g. by scaling the resolution or bitrate of the video stream based on the client capabilities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • H04N21/2343Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
    • H04N21/234363Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements by altering the spatial resolution, e.g. for clients with a lower screen resolution
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • H04N21/4314Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations for fitting data in a restricted space on the screen, e.g. EPG data in a rectangular grid
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/437Interfacing the upstream path of the transmission network, e.g. for transmitting client requests to a VOD server
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/462Content or additional data management, e.g. creating a master electronic program guide from data received from the Internet and a Head-end, controlling the complexity of a video stream by scaling the resolution or bit-rate based on the client capabilities
    • H04N21/4621Controlling the complexity of the content stream or additional data, e.g. lowering the resolution or bit-rate of the video stream for a mobile client with a small screen

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application discloses a multimedia information playing method, a server, a terminal, a system and a storage medium, wherein the method comprises the following steps: receiving multimedia information sent by a first terminal and the aspect ratio of an image in the multimedia information; receiving a playing request of the multimedia information sent by a second terminal; determining the size of a first display area for playing the multimedia information in the second terminal based on the aspect ratio of the image in the multimedia information and the screen size of the second terminal; and sending the multimedia information and the size of the first display area to the second terminal so that the second terminal determines the first display area and plays the multimedia information in the first display area. When the multimedia information is played in the first display area determined by the application, the image in the multimedia information does not need to be cut, and the image in the multimedia information does not deform.

Description

Multimedia information playing method, server, terminal, system and storage medium
Technical Field
The present application relates to the field of internet communication technologies, and in particular, to a multimedia information playing method, a server, a terminal, a system, and a storage medium.
Background
In the live broadcasting process, video images are collected through a main broadcasting terminal and transmitted to a server, then the server transmits the collected videos to different user equipment, and due to the fact that the length-width ratios of the screens of the equipment are various and possibly not equal to the length-width ratios of the video images collected by the main broadcasting terminal, if the whole screen is directly filled with the collected video contents, the videos are possibly deformed. In order to adapt to screens with different resolutions and avoid video deformation in the prior art, the video content is generally cut according to the length-width ratio of the screen when the video content is displayed, the consumption of resources such as a system CPU (central processing unit), a memory and the like is increased in the cutting process, the collected image data is wasted in the cut image, and when the cut image is displayed on screens with different length-width ratios, the video content is different due to different cutting schemes, so that the watching contents of user equipment with different sizes are inconsistent.
Therefore, it is necessary to provide a multimedia information playing method, a server, a terminal, a system and a storage medium, which can ensure the consistency of the content of the multimedia information viewed by different terminal users without clipping the images in the multimedia information.
Disclosure of Invention
The application provides a multimedia information playing method, a server, a terminal, a system and a storage medium, which can ensure that the contents of multimedia information watched by different terminal users are consistent under the condition that images in the multimedia information are not cut.
In one aspect, the present application provides a multimedia information playing method, where the method includes:
receiving multimedia information sent by a first terminal and the aspect ratio of an image in the multimedia information; the multimedia information is recorded information by the first terminal responding to the triggering operation on the display interface;
receiving a playing request of the multimedia information sent by a second terminal, wherein the playing request of the multimedia information carries the screen size of the second terminal;
determining the size of a first display area for playing the multimedia information in the second terminal based on the aspect ratio of the image in the multimedia information and the screen size of the second terminal;
and sending the multimedia information and the size of the first display area to the second terminal, so that the second terminal selects an area with the size of the first display area in a local display interface to obtain the first display area, and playing the multimedia information in the first display area.
In another aspect, a multimedia information playing method is provided, where the method includes:
sending a playing request of multimedia information to a server, wherein the playing request of the multimedia information carries the screen size of a local terminal; enabling the server to determine the size of a first display area for playing the multimedia information in the local terminal based on the aspect ratio of the image in the multimedia information and the screen size of the local terminal; the multimedia information is recorded by a first terminal in response to a trigger operation on a display interface, and the aspect ratio of an image in the multimedia information is sent to the server by the first terminal;
receiving the multimedia information sent by the server and the size of the first display area;
selecting an area with the size of the first display area in a local display interface to obtain the first display area;
and playing the multimedia information in the first display area.
Another aspect provides a multimedia information playing server, including:
the first information receiving module is used for receiving multimedia information sent by a first terminal and the aspect ratio of an image in the multimedia information; the multimedia information is recorded information by the first terminal responding to the triggering operation on the display interface;
the screen size receiving module is used for receiving a playing request of the multimedia information sent by a second terminal, wherein the playing request of the multimedia information carries the screen size of the second terminal;
a first display area size determining module, configured to determine a size of a first display area in the second terminal for playing the multimedia information based on an aspect ratio of an image in the multimedia information and a screen size of the second terminal;
and the second information sending module is used for sending the multimedia information and the size of the first display area to the second terminal so that the second terminal selects an area with the size of the first display area in a local display interface to obtain the first display area, and playing the multimedia information in the first display area.
In another aspect, a multimedia information playing terminal is provided, the terminal includes:
the system comprises a screen size sending module, a display module and a display module, wherein the screen size sending module is used for sending a playing request of the multimedia information to a server, and the playing request of the multimedia information carries the screen size of a local terminal; enabling the server to determine the size of a first display area for playing the multimedia information in the local terminal based on the aspect ratio of the image in the multimedia information and the screen size of the local terminal; the multimedia information is recorded by a first terminal in response to a trigger operation on a display interface, and the aspect ratio of an image in the multimedia information is sent to the server by the first terminal;
the second information receiving module is used for receiving the multimedia information sent by the server and the size of the first display area;
the first display area determining module is used for selecting an area with the size of the first display area in a local display interface to obtain the first display area;
and the multimedia information playing module is used for playing the multimedia information in the first display area.
In another aspect, a multimedia information playing system is provided, the system comprising a first terminal, a server and a second terminal,
the first terminal is used for responding to the triggering operation on the display interface and recording the multimedia information; sending multimedia information and the aspect ratio of the image in the multimedia information to the server;
the server is used for determining the size of a first display area for playing the multimedia information in the second terminal based on the aspect ratio of the image in the multimedia information and the screen size of the second terminal; and sending the multimedia information and the size of the first display area to the second terminal;
the second terminal is used for sending a playing request of the multimedia information to the server, wherein the playing request of the multimedia information carries the screen size of the second terminal; and determining the first display area based on the size of the first display area; and playing the multimedia information in the first display area.
Another aspect provides a multimedia information playing server, which includes a processor and a memory, where the memory stores at least one instruction, at least one program, a set of codes, or a set of instructions, and the at least one instruction, the at least one program, the set of codes, or the set of instructions is loaded and executed by the processor to implement the multimedia information playing method as described above.
Another aspect provides a multimedia information playing terminal, including a processor and a memory, where the memory stores at least one instruction, at least one program, a code set, or a set of instructions, and the at least one instruction, the at least one program, the code set, or the set of instructions is loaded and executed by the processor to implement the multimedia information playing method as described above.
Another aspect provides a computer-readable storage medium having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, which is loaded and executed by a processor to implement the multimedia information playing method as described above.
The multimedia information playing method, the server, the terminal, the system and the storage medium have the following technical effects:
the multimedia information playing method comprises the steps of receiving multimedia information sent by a first terminal and the aspect ratio of an image in the multimedia information, and determining the size of a first display area for playing the multimedia information in a second terminal according to the aspect ratio of the image in the multimedia information and the screen size of the second terminal; therefore, the first display area for playing the multimedia information in the second terminal is further determined, when the multimedia information is played in the first display area determined by the method, the image in the multimedia information does not need to be cut, and the image in the multimedia information does not deform.
Drawings
In order to more clearly illustrate the technical solutions and advantages of the embodiments of the present application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
FIG. 1 is a schematic diagram of a system provided by an embodiment of the present application;
fig. 2 is a schematic flowchart of a multimedia information playing method according to an embodiment of the present application;
FIG. 3 is a flowchart illustrating a method for determining a size of a first display area according to an embodiment of the present disclosure;
fig. 4 is a flowchart illustrating a method for determining, by a server, whether to update the nth increment length and the nth increment width according to an embodiment of the present application;
fig. 5 is a schematic diagram illustrating display interface sizes of a first terminal and a second terminal according to an embodiment of the present disclosure;
fig. 6 is a display interface diagram of a second terminal according to an embodiment of the present application;
FIG. 7 is a diagram of another display interface of a second terminal according to an embodiment of the present application;
fig. 8 is a schematic flowchart of another multimedia information playing method according to an embodiment of the present application;
fig. 9 is a schematic flowchart of another multimedia information playing method according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of a multimedia information playing server according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of a multimedia information playing terminal according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, 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 application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are capable of operation in sequences other than those illustrated or described herein. Moreover, 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 server 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.
Referring to fig. 1, fig. 1 is a schematic diagram of a system according to an embodiment of the present disclosure, and as shown in fig. 1, the system may include at least a first terminal 01, a second terminal 02, and a server 03.
Specifically, the first terminal 01 may include an entity device such as a smart phone, a tablet computer, a notebook computer, a digital assistant, a smart wearable device, and a vehicle-mounted terminal, and may also include software running in the entity device, for example, the first terminal 01 may include an application program for playing multimedia information.
Specifically, the second terminal 02 may include an entity device such as a smart phone, a tablet computer, a notebook computer, a digital assistant, a smart wearable device, and a vehicle-mounted terminal, and may also include software running in the entity device, for example, the second terminal 02 may include an application program for playing multimedia information.
Specifically, the server 03 may include an independently operating server, or a distributed server, or a server cluster composed of a plurality of servers. The server 03 may comprise a network communication unit, a processor, a memory, etc. The server 03 may provide background services for the first terminal 01 and the second terminal 02.
The following describes a multimedia information playing method based on the above system, and fig. 2 is a flowchart of a multimedia information playing method provided in an embodiment of the present application, and the present specification provides the method operation steps as described in the embodiment or the flowchart, but may include more or less operation steps based on conventional or non-creative labor. The order of steps recited in the embodiments is merely one manner of performing the steps in a multitude of orders and does not represent the only order of execution. In practice, the system or server product may be implemented in a sequential or parallel manner (e.g., parallel processor or multi-threaded environment) according to the embodiments or methods shown in the figures. Specifically, as shown in fig. 2, the method may include:
s201: and the first terminal records the multimedia information in response to the triggering operation on the display interface.
In this embodiment of the present specification, the first terminal may include a camera device, and the first terminal may record multimedia information in response to a trigger operation of a user on a display interface of the first terminal; the multimedia information may include audio information, video information.
In a specific embodiment, the first terminal may include a live application of multimedia information, and a user of the first terminal may record the multimedia information through the live application.
S203: and the first terminal sends the multimedia information and the aspect ratio of the image in the multimedia information to a server.
In this embodiment, the server may provide a background service for the first terminal. The images in the multimedia information refer to images corresponding to the recorded video, and the aspect ratio of the images refers to the aspect ratio of a display interface of the recorded video.
S205: and the second terminal sends a playing request of the multimedia information to the server, wherein the playing request of the multimedia information carries the screen size of the second terminal.
In an embodiment of the present specification, the server may provide a background service for the second terminal.
In a specific embodiment, the first terminal and the second terminal may include a same live application, and the server may provide a background service for the live application. The first terminal and the user corresponding to the second terminal can enter the same live broadcast room at the same time, the user corresponding to the first terminal is a main broadcast, and the user corresponding to the second terminal is a user watching the live broadcast. In a live broadcast room there may be a first terminal and a plurality of second terminals.
In the embodiments of the present specification, the aspect ratio of the image and the screen size both refer to the display resolution.
In this embodiment, the determining, by the server, the size of the first display area for playing the multimedia information in the second terminal based on the aspect ratio of the image in the multimedia information and the screen size of the second terminal may include:
the server takes the aspect ratio of the image in the multimedia information as the aspect ratio of the first display area;
the server determines the size of the first display area based on the aspect ratio of the first display area and the screen size of the second terminal.
In a specific embodiment, as shown in fig. 5, the aspect ratio of the image in the multimedia information recorded by the first terminal (4) is 16: and 9, aiming at the four second terminals (5) with different sizes, the length-width ratios of the four second terminals are respectively 16:9,5:3,4:3 and 3:2, each second terminal (5) corresponds to one first display area, and the aspect ratio of each first display area can be set as 16: and 9, thereby ensuring that the images of the same multimedia information played in the four second terminals are not deformed.
In the embodiment of the present specification, the aspect ratio of the image in the multimedia information is taken as the aspect ratio of the first display area, so that an image deformation situation caused by a mismatch between a multimedia information playing interface and the image size in the multimedia information does not occur, and when the multimedia information is played, the image in the multimedia information does not need to be cut, so that consistency of content watched by a user corresponding to a terminal with different resolutions is ensured; meanwhile, the waste of recorded image data caused by cutting images and the resource consumption caused by cutting are avoided.
S207: and the server determines the size of a first display area for playing the multimedia information in the second terminal based on the aspect ratio of the image in the multimedia information and the screen size of the second terminal.
In this specification embodiment, the determining, by the server, the size of the first display area based on the aspect ratio of the first display area and the screen size of the second terminal may include:
s2071: the server determines an initial length and an initial width of the first display area based on an aspect ratio of the first display area and a screen size of the second terminal; the initial length of the first display area is smaller than the screen length of the second terminal, the initial width of the first display area is smaller than the screen width of the second terminal, and the ratio of the product of the initial length and the initial width of the first display area to the screen area of the second terminal is smaller than a first preset threshold;
in the embodiment of the present specification, the first preset threshold may be set according to actual conditions, for example, the first preset threshold may be set to 1/2.
S2073: the server determines a size of the first display area based on an initial length and an initial width of the first display area.
In the embodiment of the present specification, the size of the first display area can be quickly determined by the initial length and the initial width, so that the first display area can be quickly determined.
In an embodiment of the present specification, the method may further include:
the server determines a length increment and a width increment of the first display area based on the aspect ratio of the image in the multimedia information;
in the embodiment of the present specification, the ratio of the length increment to the width increment is equal to the aspect ratio of the image in the multimedia information.
In some embodiments, the server determining the size of the first display area based on the initial length and the initial width of the first display area may include:
s20731: the server calculates the sum of the initial length of the first display area and N long increments to obtain an Nth increment length, wherein N is more than or equal to 1 and is an integer;
s20733: the server calculates the sum of the initial width of the first display area and N width increments to obtain an Nth increment width;
s20735: the server determines the size of the first display area based on the Nth increment length, the Nth increment width and the screen size of the second terminal.
In a specific embodiment, the aspect ratio of the image in the multimedia information is 16:9, the initial length Li of the first display region is 160, the initial width Wi is 90, the length increment is Ls16, and the width increment Ws is 9; when N =1, the first increment length Lv = Li + Ls =176 and the first increment width Wv = Wi + Ws =99.
In this embodiment, the size and the position of the first display area may be set according to actual needs, and the first display area may be an independent small window. The first display area may also be set to full screen.
In this embodiment, as shown in fig. 3, the determining, by the server, the size of the first display area based on the nth increment length, the nth increment width, and the screen size of the second terminal may include:
s207351: the server judges whether to update the Nth increment length and the Nth increment width;
s207353: if not, the server determines the length of the (N-1) th increment as the length of the first display area, and determines the width of the (N-1) th increment as the width of the first display area.
Correspondingly, if yes, the server updates the Nth increment length and the Nth increment width.
In this embodiment, as shown in fig. 4, the determining, by the server, whether to update the nth increment length and the nth increment width may include:
s2073511: the server judges whether the Nth increment length is smaller than the screen length of the second terminal;
s2073513: the server judges whether the Nth increment width is smaller than the screen width of the second terminal;
s2073515: the server judges whether the ratio of the product of the Nth increment length and the Nth increment width to the screen area of the second terminal is smaller than a second preset threshold value or not;
in the embodiment of the present specification, the second preset threshold may be set according to actual conditions.
In a specific embodiment, the second preset threshold may be set to 2/3.
S2073517: and if the judgment results are yes, the server determines to update the Nth increment length and the Nth increment width.
In this embodiment, the updating, by the server, the nth increment length and the nth increment width may include:
the server calculates the sum of the Nth increment length and the long increment to obtain an (N + 1) th increment length;
the server calculates the sum of the Nth increment width and the width increment to obtain an N +1 th increment width;
correspondingly, the server determines the size of the first display area based on the nth increment length, the nth increment width and the screen size of the second terminal, and includes:
the server determines the size of the first display area based on the (N + 1) th increment length, the (N + 1) th increment width and the screen size of the second terminal.
In a specific embodiment, the first increment length Lv = Li + Ls =176, the first increment width Wv = Wi + Ws =99, and both the first increment length and the first increment width need to be updated.
Then a second increment length is calculated: lv + Ls =192, second increment width: wv + Ws =108, and then further determines whether the second increment length and the second increment width need to be updated. And if the updating is not needed, taking the first increment length as the length of the first preset area, and taking the first increment width as the width of the first preset area.
In the embodiment of the specification, on the basis of the initial length and the initial width, the values are continuously increased, and the proportion of the values is ensured to be unchanged; therefore, the first display area with larger size can be obtained, and the multimedia information is ensured to be displayed on the display screen of the second terminal in a larger display size.
S209: and the server sends the multimedia information and the size of the first display area to the second terminal.
S2011: and the second terminal selects an area with the size of the first display area in a local display interface to obtain the first display area.
In an embodiment of the present specification, the second terminal selects, at an arbitrary position in a local display interface, an area that matches the size of the first display area, to obtain the first display area. For example, the first display area may be centrally located in the display interface of the second terminal.
S2013: and the second terminal plays the multimedia information in the first display area.
In an embodiment of the present specification, the method further comprises:
the first terminal determines the background information of the multimedia information;
in this specification, the background information may be a theme element outside the first display region, and the theme element may include a picture, audio, video information, and the like.
In a specific embodiment, for example, in a live scene, the background information may be information that is autonomously selected by a main broadcast corresponding to the first terminal, and the setting of the background information may increase the appreciation and interest of the live broadcast, thereby attracting more users to watch.
Correspondingly, the sending, by the first terminal, the multimedia information and the aspect ratio of the image in the multimedia information to the server includes:
the first terminal sends the multimedia information, the background information and the aspect ratio of the image in the multimedia information to the server;
accordingly, the sending, by the server, the multimedia information and the size of the first display area to the second terminal may include:
the server sends the multimedia information, the background information and the size of the first display area to the second terminal;
correspondingly, the method may further include:
and the second terminal displays the background information in a second display area, wherein the second display area is an area except the first display area in a screen of the second terminal.
In a specific embodiment, as shown in fig. 6, the small window (6) in the figure is a first display area, and the area (7) except the first display area is a second display area, and background information such as pictures or music can be set in the second display area. The small window (6) can be switched to be a full-screen window based on the triggering operation of the user on the display interface of the second terminal, and after the small window is switched to be the full-screen window, the second display area does not exist, and the background information is not displayed.
In a specific embodiment, as shown in fig. 7, a full-screen window (8) in the drawing may be set as a first display area, and the full-screen window may be switched to a small window based on a trigger operation of a user on a display interface of a second terminal, at this time, background information may be displayed in an area outside the small window.
In an embodiment of the present specification, the method may further include:
the server determines the size of a third display area in the first terminal based on the aspect ratio of the image in the multimedia information and the screen size of the first terminal;
the server sends the size of the third display area to the first terminal;
the first terminal selects an area with the size of the third display area in a local display interface to obtain the third display area;
and the first terminal plays the multimedia information in the third display area.
In an embodiment of the present specification, the method may further include:
the first terminal displays background information in a fourth display area, and the fourth display area is an area except for the third display area in a screen of the first terminal.
In this specification, the display interfaces of the first terminal and the second terminal may display the same play content, and in a live application scenario, the first terminal user is facilitated to change the background information according to an actual play effect.
As can be seen from the technical solutions provided by the embodiments of the present specification, in the embodiments of the present specification, multimedia information sent by a first terminal and an aspect ratio of an image in the multimedia information are received, and a size of a first display area in a second terminal for playing the multimedia information is determined according to the aspect ratio of the image in the multimedia information and a screen size of the second terminal; therefore, the first display area for playing the multimedia information in the second terminal is further determined, when the multimedia information is played in the first display area determined by the method, the image in the multimedia information does not need to be cut, and the image in the multimedia information does not deform.
A specific embodiment of a multimedia information playing method in this specification is described below with a server as an execution subject, and fig. 8 is a schematic flow chart of a multimedia information playing method provided in this embodiment, specifically, with reference to fig. 8, the method may include:
s801: receiving multimedia information sent by a first terminal and the aspect ratio of an image in the multimedia information; the multimedia information is recorded information by the first terminal responding to the triggering operation on the display interface;
in this embodiment, the receiving the multimedia information sent by the first terminal and the aspect ratio of the image in the multimedia information may include:
receiving multimedia information, background information and the aspect ratio of an image in the multimedia information sent by a first terminal; the background information is the background information of the multimedia information determined by the first terminal.
S803: receiving a playing request of the multimedia information sent by a second terminal, wherein the playing request of the multimedia information carries the screen size of the second terminal;
s805: determining the size of a first display area for playing the multimedia information in the second terminal based on the aspect ratio of the image in the multimedia information and the screen size of the second terminal;
in this embodiment of the present specification, the determining, based on the aspect ratio of the image in the multimedia information and the screen size of the second terminal, the size of the first display area in the second terminal for playing the multimedia information may include:
taking the aspect ratio of the image in the multimedia information as the aspect ratio of the first display area;
determining the size of the first display area based on the aspect ratio of the first display area and the screen size of the second terminal.
In this specification embodiment, the determining the size of the first display area based on the aspect ratio of the first display area and the screen size of the second terminal may include:
determining an initial length and an initial width of the first display area based on an aspect ratio of the first display area and a screen size of the second terminal; the initial length of the first display area is smaller than the screen length of the second terminal, the initial width of the first display area is smaller than the screen width of the second terminal, and the ratio of the product of the initial length and the initial width of the first display area to the screen area of the second terminal is smaller than a first preset threshold;
determining a size of the first display area based on an initial length and an initial width of the first display area.
In an embodiment of the present specification, the method may further include:
determining a length increment and a width increment of the first display area based on an aspect ratio of an image in the multimedia information;
correspondingly, the determining the size of the first display area based on the initial length and the initial width of the first display area may include:
calculating the sum of the initial length of the first display area and N length increments to obtain an Nth increment length, wherein N is more than or equal to 1 and is an integer;
calculating the sum of the initial width of the first display area and N width increments to obtain an Nth increment width;
determining the size of the first display area based on the Nth increment length, the Nth increment width and the screen size of the second terminal.
In this embodiment, the determining the size of the first display area based on the nth increment length, the nth increment width and the screen size of the second terminal may include:
judging whether to update the Nth increment length and the Nth increment width;
if not, determining the length of the (N-1) th increment as the length of the first display area, and determining the width of the (N-1) th increment as the width of the first display area.
In this embodiment, the determining whether to update the nth increment length and the nth increment width may include:
judging whether the Nth increment length is smaller than the screen length of the second terminal;
judging whether the Nth increment width is smaller than the screen width of the second terminal;
judging whether the ratio of the product of the Nth increment length and the Nth increment width to the screen area of the second terminal is smaller than a second preset threshold value or not;
correspondingly, if the judgment results are yes, the nth increment length and the nth increment width are determined to be updated.
In this embodiment, the updating the nth increment length and the nth increment width may include:
calculating the sum of the Nth increment length and the long increment to obtain an N +1 th increment length;
calculating the sum of the Nth increment width and the width increment to obtain an N +1 th increment width;
correspondingly, the determining the size of the first display area based on the nth increment length, the nth increment width and the screen size of the second terminal may include:
and determining the size of the first display area based on the N +1 th increment length, the N +1 th increment width and the screen size of the second terminal.
S807: and sending the multimedia information and the size of the first display area to the second terminal, so that the second terminal selects an area with the size of the first display area in a local display interface to obtain the first display area, and playing the multimedia information in the first display area.
In an embodiment of the present specification, the sending the multimedia information and the size of the first display area to the second terminal may include:
and sending the multimedia information, the background information and the size of the first display area to the second terminal.
In an embodiment of the present specification, the method may further include:
determining the size of a third display area in the first terminal based on the aspect ratio of the image in the multimedia information and the screen size of the first terminal;
sending the size of the third display area to the first terminal, so that the first terminal selects an area with the size of the third display area in a local display interface to obtain the third display area, and playing the multimedia information in the third display area.
The embodiment of the present specification provides a multimedia information playing server, which includes a processor and a memory, where the memory stores at least one instruction, at least one program, a code set, or a set of instructions, and the at least one instruction, the at least one program, the code set, or the set of instructions is loaded and executed by the processor to implement the multimedia information playing method described above.
A specific embodiment of a multimedia information playing method in this specification is described below with a second terminal as an execution subject, and fig. 9 is a schematic flow chart of the multimedia information playing method provided in this embodiment of the present application, and specifically, with reference to fig. 9, the method may include:
s901: sending a playing request of multimedia information to a server, wherein the playing request of the multimedia information carries the screen size of a local terminal; enabling the server to determine the size of a first display area for playing the multimedia information in the local terminal based on the aspect ratio of the image in the multimedia information and the screen size of the local terminal; the multimedia information is recorded by a first terminal in response to a trigger operation on a display interface, and the aspect ratio of an image in the multimedia information is sent to the server by the first terminal;
s903: receiving the multimedia information sent by the server and the size of the first display area;
s905: selecting an area with the size of the first display area in a local display interface to obtain the first display area;
s907: and playing the multimedia information in the first display area.
In some embodiments, the receiving the multimedia information sent by the server and the size of the first display area may include:
receiving the multimedia information, the background information and the size of the first display area sent by the server; the background information is the background information of the multimedia information sent to the server by the first terminal;
in some embodiments, the method may further comprise:
and displaying the background information in a second display area, wherein the second display area is an area except the first display area in the screen of the second terminal.
The embodiment of the present specification provides a multimedia information playing terminal, which includes a processor and a memory, where the memory stores at least one instruction, at least one program, a code set, or an instruction set, and the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by the processor to implement the multimedia information playing method described above.
In the embodiments of the present disclosure, the memory may be used to store software programs and modules, and the processor executes various functional applications and data processing by operating the software programs and modules stored in the memory. The memory can mainly comprise a program storage area and a data storage area, wherein the program storage area can store an operating system, application programs needed by functions and the like; the storage data area may store data created according to use of the apparatus, and the like. Further, the memory may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory may also include a memory controller to provide the processor access to the memory.
The present specification embodiments provide a computer readable storage medium, in which at least one instruction, at least one program, a code set, or a set of instructions is stored, and the at least one instruction, the at least one program, the code set, or the set of instructions is loaded and executed by a processor to implement the multimedia information playing method as described above.
An embodiment of the present application further provides a multimedia information playing server, as shown in fig. 10, where the server may include:
a first information receiving module 1010, configured to receive multimedia information sent by a first terminal and an aspect ratio of an image in the multimedia information; the multimedia information is recorded information by the first terminal in response to the triggering operation on a display interface;
a screen size receiving module 1020, configured to receive a play request of the multimedia information sent by a second terminal, where the play request of the multimedia information carries a screen size of the second terminal;
a first display area size determining module 1030, configured to determine a size of a first display area in the second terminal for playing the multimedia information, based on an aspect ratio of an image in the multimedia information and a screen size of the second terminal;
the second information sending module 1040 is configured to send the multimedia information and the size of the first display area to the second terminal, so that the second terminal selects an area with the size of the first display area in a local display interface to obtain the first display area, and plays the multimedia information in the first display area.
In some embodiments, the first display area size determination module may include:
a first display area aspect ratio determination submodule for determining an aspect ratio of an image in the multimedia information as an aspect ratio of the first display area;
a first display area size determination sub-module for determining a size of the first display area based on an aspect ratio of the first display area and a screen size of the second terminal.
In some embodiments, the first display area size determination sub-module may include:
an initial length and width determining unit, configured to determine an initial length and an initial width of the first display area based on an aspect ratio of the first display area and a screen size of the second terminal; the initial length of the first display area is smaller than the screen length of the second terminal, the initial width of the first display area is smaller than the screen width of the second terminal, and the ratio of the product of the initial length and the initial width of the first display area to the screen area of the second terminal is smaller than a first preset threshold;
a first display area size determination unit to determine a size of the first display area based on an initial length and an initial width of the first display area.
In some embodiments, the server may further include:
and the increment determining module is used for determining the length increment and the width increment of the first display area based on the aspect ratio of the image in the multimedia information.
Accordingly, the first display region size determining unit may include:
the Nth increment length determining subunit is used for calculating the sum of the initial length of the first display area and N length increments to obtain the Nth increment length, wherein N is more than or equal to 1 and is an integer;
an nth increment width determining subunit, configured to calculate a sum of the initial width of the first display area and N width increments, so as to obtain an nth increment width;
a first display area size determining subunit, configured to determine a size of the first display area based on the nth increment length, the nth increment width, and a screen size of the second terminal.
In some embodiments, the first display region size determining subunit may include:
an increment updating judgment module, configured to judge whether to update the nth increment length and the nth increment width;
and the first display area length and width determining module is used for determining the N-1 th increment length as the length of the first display area and determining the N-1 th increment width as the width of the first display area when the N-th increment length and the N-th increment width are not updated.
In some embodiments, the incremental update determination module may include:
a first judging unit, configured to judge whether the nth increment length is smaller than a screen length of the second terminal;
a second judging unit, configured to judge whether the nth increment width is smaller than a screen width of the second terminal;
a third judging unit, configured to judge whether a ratio of a product of the nth increment length and the nth increment width to a screen area of the second terminal is smaller than a second preset threshold;
and the updating unit is used for updating the Nth increment length and the Nth increment width when the judgment results of the first judging unit, the second judging unit and the third judging unit are yes.
In some embodiments, the updating unit may include:
an N +1 th increment length determining subunit, configured to calculate a sum of the nth increment length and the long increment to obtain an N +1 th increment length;
an N +1 th increment width determining subunit, configured to calculate a sum of the nth increment width and the width increment to obtain an N +1 th increment width;
in some embodiments, the first display region size determining subunit may include:
a size determination module, configured to determine a size of the first display area based on the (N + 1) th increment length, the (N + 1) th increment width, and a screen size of the second terminal.
In some embodiments, the first information receiving module may include:
the first information receiving submodule is used for receiving multimedia information, background information and the length-width ratio of an image in the multimedia information sent by a first terminal; the background information is the background information of the multimedia information determined by the first terminal.
In some embodiments, the second information sending module may include:
and the second information sending submodule is used for sending the multimedia information, the background information and the size of the first display area to the second terminal.
In some embodiments, the server may further include:
a third display area size determining module, configured to determine a size of a third display area in the first terminal based on an aspect ratio of an image in the multimedia information and a screen size of the first terminal;
a third display area size sending module, configured to send the size of the third display area to the first terminal, so that the first terminal selects an area of the size of the third display area in a local display interface to obtain the third display area, and plays the multimedia information in the third display area.
The server and method embodiments in the server embodiment are based on the same inventive concept.
An embodiment of the present application further provides a multimedia information playing terminal, as shown in fig. 11, where the terminal may include:
a screen size sending module 1110, configured to send a multimedia information play request to a server, where the multimedia information play request carries a screen size of a local terminal; enabling the server to determine the size of a first display area for playing the multimedia information in the local terminal based on the aspect ratio of the image in the multimedia information and the screen size of the local terminal; the multimedia information is recorded by a first terminal in response to a trigger operation on a display interface, and the aspect ratio of an image in the multimedia information is sent to the server by the first terminal;
a second information receiving module 1120, configured to receive the multimedia information sent by the server and a size of the first display area;
a first display area determining module 1130, configured to select an area with a size of the first display area in a local display interface, to obtain a first display area;
a multimedia information playing module 1140, configured to play the multimedia information in the first display area.
In some embodiments, the second information receiving module may include:
a second information receiving unit, configured to receive the multimedia information, the background information, and the size of the first display area sent by the server; the background information is the background information of the multimedia information sent to the server by the first terminal;
in some embodiments, the terminal may further include:
and the background information display module is used for displaying the background information in a second display area, wherein the second display area is an area except the first display area in the screen of the second terminal.
The terminal and the method embodiments in the terminal embodiment are based on the same inventive concept.
In another aspect of the present application, there is provided a multimedia information playing system, which includes a first terminal, a server and a second terminal,
the first terminal is used for responding to the triggering operation on the display interface and recording the multimedia information; sending multimedia information and the aspect ratio of the image in the multimedia information to the server;
the server is used for determining the size of a first display area for playing the multimedia information in the second terminal based on the aspect ratio of the image in the multimedia information and the screen size of the second terminal; and sending the multimedia information and the size of the first display area to the second terminal;
the second terminal is used for sending a playing request of the multimedia information to the server, wherein the playing request of the multimedia information carries the screen size of the second terminal; and determining the first display area based on the size of the first display area; and playing the multimedia information in the first display area.
As can be seen from the embodiments of the multimedia information playing method, apparatus, server, terminal, storage medium, or system provided by the present application, in an embodiment of the present specification, multimedia information sent by a first terminal and an aspect ratio of an image in the multimedia information are received, and a size of a first display area in a second terminal for playing the multimedia information is determined according to the aspect ratio of the image in the multimedia information and a screen size of the second terminal; therefore, the first display area for playing the multimedia information in the second terminal is further determined, when the multimedia information is played in the first display area determined by the method, the image in the multimedia information does not need to be cut, and the image in the multimedia information does not deform.
It should be noted that: the sequence of the embodiments of the present application is only for description, and does not represent the advantages and disadvantages of the embodiments. And that specific embodiments have been described above. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims can be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for embodiments of the server, the terminal, the system and the storage medium, since they are substantially similar to the method embodiments, the description is relatively simple, and for relevant points, reference may be made to the partial description of the method embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the storage medium may be a read-only memory, a magnetic disk or an optical disk.
The above description is only a preferred embodiment of the present application and should not be taken as limiting the present application, and any modifications, equivalents, improvements and the like that are made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (9)

1. A multimedia information playing method is characterized in that the multimedia information is information in a live application program, and the method comprises the following steps:
receiving multimedia information, background information and the aspect ratio of an image in the multimedia information sent by a first terminal; the multimedia information is recorded information by the first terminal responding to the triggering operation on the display interface; the first terminal is a main broadcasting terminal; the background information is information which is autonomously selected by the anchor corresponding to the first terminal;
receiving a playing request of the multimedia information sent by a second terminal, wherein the playing request of the multimedia information carries the screen size of the second terminal; the second terminal is a spectator terminal; in the live application program, the first terminal corresponds to a plurality of second terminals;
determining an initial length and an initial width of a first display area based on an aspect ratio of the first display area and a screen size of the second terminal; the ratio of the initial length to the initial width is equal to the aspect ratio of the images in the multimedia information;
determining a length increment and a width increment of the first display area based on an aspect ratio of an image in the multimedia information; the ratio of the long increment to the wide increment is equal to the aspect ratio of the image in the multimedia information;
calculating the sum of the initial length of the first display area and N length increments to obtain an Nth increment length, wherein N is more than or equal to 1 and is an integer;
calculating the sum of the initial width of the first display area and N width increments to obtain an Nth increment width;
judging whether the Nth increment length is smaller than the screen length of the second terminal;
judging whether the Nth increment width is smaller than the screen width of the second terminal;
judging whether the ratio of the product of the Nth increment length and the Nth increment width to the screen area of the second terminal is smaller than a second preset threshold value or not;
if the judgment results are yes, determining to update the Nth increment length and the Nth increment width; if any judgment result is negative, determining the (N-1) th increment length as the length of the first display area, and determining the (N-1) th increment width as the width of the first display area; the aspect ratio of the first display area is equal to the aspect ratio of the image in the multimedia information;
sending the multimedia information, the background information and the size of the first display area to the second terminal, so that the second terminal selects an area with the size of the first display area in a local display interface to obtain the first display area, and playing the multimedia information in the first display area; and displaying the background information in a second display area, wherein the second display area is an area except the first display area in the screen of the second terminal.
2. The method of claim 1,
the initial length of the first display area is smaller than the screen length of the second terminal, the initial width of the first display area is smaller than the screen width of the second terminal, and the ratio of the product of the initial length and the initial width of the first display area to the screen area of the second terminal is smaller than a first preset threshold.
3. The method of claim 1, wherein the updating the nth increment length and the nth increment width comprises:
calculating the sum of the Nth increment length and the long increment to obtain an N +1 th increment length;
calculating the sum of the Nth increment width and the width increment to obtain an (N + 1) th increment width;
correspondingly, the determining the size of the first display area based on the nth increment length, the nth increment width and the screen size of the second terminal comprises:
and determining the size of the first display area based on the (N + 1) th increment length, the (N + 1) th increment width and the screen size of the second terminal.
4. The method of claim 1, further comprising:
determining the size of a third display area in the first terminal based on the aspect ratio of the image in the multimedia information and the screen size of the first terminal;
sending the size of the third display area to the first terminal, so that the first terminal selects an area with the size of the third display area in a local display interface to obtain the third display area, and playing the multimedia information in the third display area.
5. A multimedia information playing method is characterized in that the multimedia information is information in a live application program, and the method comprises the following steps:
sending a playing request of multimedia information to a server, wherein the playing request of the multimedia information carries the screen size of a local terminal; enabling the server to determine an initial length and an initial width of a first display area based on the aspect ratio of the image in the multimedia information and the screen size of the local terminal; the aspect ratio of the first display area is equal to the aspect ratio of the image in the multimedia information; the ratio of the initial length to the initial width is equal to the aspect ratio of the images in the multimedia information; determining a length increment and a width increment of the first display area based on an aspect ratio of an image in the multimedia information; the ratio of the long increment to the wide increment is equal to the aspect ratio of the image in the multimedia information; calculating the sum of the initial length and N length increments of the first display area to obtain an Nth increment length, wherein N is more than or equal to 1 and is an integer; calculating the sum of the initial width of the first display area and N width increments to obtain an Nth increment width; judging whether the Nth increment length is smaller than the screen length of the local terminal; judging whether the Nth increment width is smaller than the screen width of the local terminal; judging whether the ratio of the product of the Nth increment length and the Nth increment width to the screen area of the local terminal is smaller than a second preset threshold value or not; if the judgment results are yes, determining to update the Nth increment length and the Nth increment width; if any judgment result is negative, determining the (N-1) th increment length as the length of the first display area, and determining the (N-1) th increment width as the width of the first display area; the multimedia information is recorded by a first terminal in response to a trigger operation on a display interface, and the aspect ratio of an image in the multimedia information is sent to the server by the first terminal; the first terminal is a main broadcasting end, and the local terminal is a spectator end; in the live broadcast application program, the first terminal corresponds to a plurality of local terminals;
receiving the multimedia information, the background information and the size of the first display area sent by the server; the background information is information which is autonomously selected by a main broadcasting corresponding to the first terminal;
selecting an area with the size of the first display area in a local display interface to obtain the first display area;
and playing the multimedia information in the first display area, and displaying the background information in a second display area, wherein the second display area is an area except the first display area in a screen of the local terminal.
6. A multimedia information playing server, wherein the multimedia information is information in a live application, the server comprising:
the first information receiving module is used for receiving multimedia information, background information and the aspect ratio of an image in the multimedia information sent by a first terminal; the multimedia information is recorded information by the first terminal responding to the triggering operation on the display interface; the first terminal is a main broadcasting terminal; the background information is information which is autonomously selected by a main broadcasting corresponding to the first terminal;
the screen size receiving module is used for receiving a playing request of the multimedia information sent by a second terminal, wherein the playing request of the multimedia information carries the screen size of the second terminal; the second terminal is a spectator terminal; in a live application program, the first terminal corresponds to a plurality of second terminals;
the first display area size determining module is used for determining an initial length and an initial width of a first display area based on the aspect ratio of the first display area and the screen size of a second terminal; the aspect ratio of the first display area is equal to the aspect ratio of the image in the multimedia information; the ratio of the initial length to the initial width is equal to the aspect ratio of the images in the multimedia information; determining a length increment and a width increment of the first display area based on an aspect ratio of an image in the multimedia information; the ratio of the long increment to the wide increment is equal to the aspect ratio of the image in the multimedia information; calculating the sum of the initial length of the first display area and N length increments to obtain an Nth increment length, wherein N is more than or equal to 1 and is an integer; calculating the sum of the initial width of the first display area and N width increments to obtain an Nth increment width; judging whether the Nth increment length is smaller than the screen length of the second terminal; judging whether the Nth increment width is smaller than the screen width of the second terminal; judging whether the ratio of the product of the Nth increment length and the Nth increment width to the screen area of the second terminal is smaller than a second preset threshold value or not; if the judgment results are yes, determining to update the Nth increment length and the Nth increment width; if any judgment result is negative, determining the N-1 th increment length as the length of the first display area, and determining the N-1 th increment width as the width of the first display area;
a second information sending module, configured to send the multimedia information, the background information, and the size of the first display area to the second terminal, so that the second terminal selects an area of the size of the first display area in a local display interface to obtain the first display area, and plays the multimedia information in the first display area and displays the background information in a second display area, where the second display area is an area of a screen of the second terminal except the first display area.
7. A multimedia information playing terminal, wherein the multimedia information is information in a live application program, the terminal comprising:
the system comprises a screen size sending module, a display module and a display module, wherein the screen size sending module is used for sending a playing request of multimedia information to a server, and the playing request of the multimedia information carries the screen size of a local terminal; enabling the server to determine an initial length and an initial width of a first display area based on the aspect ratio of the image in the multimedia information and the screen size of the local terminal; the aspect ratio of the first display area is equal to the aspect ratio of the image in the multimedia information; the ratio of the initial length to the initial width is equal to the aspect ratio of the images in the multimedia information; determining a length increment and a width increment of the first display area based on an aspect ratio of an image in the multimedia information; the ratio of the long increment to the wide increment is equal to the aspect ratio of the image in the multimedia information; calculating the sum of the initial length and N length increments of the first display area to obtain an Nth increment length, wherein N is more than or equal to 1 and is an integer; calculating the sum of the initial width of the first display area and N width increments to obtain an Nth increment width; judging whether the Nth increment length is smaller than the screen length of the local terminal; judging whether the Nth increment width is smaller than the screen width of the local terminal; judging whether the ratio of the product of the Nth increment length and the Nth increment width to the screen area of the local terminal is smaller than a second preset threshold value or not; if the judgment results are yes, determining to update the Nth increment length and the Nth increment width; if any judgment result is negative, determining the N-1 th increment length as the length of the first display area, and determining the N-1 th increment width as the width of the first display area; the multimedia information is recorded by a first terminal in response to a trigger operation on a display interface, and the aspect ratio of an image in the multimedia information is sent to the server by the first terminal; the first terminal is a main broadcasting end, and the local terminal is a spectator end; in the live broadcast application program, the first terminal corresponds to a plurality of local terminals;
the second information receiving module is used for receiving the multimedia information, the background information and the size of the first display area sent by the server; the background information is information which is autonomously selected by a main broadcasting corresponding to the first terminal;
the first display area determining module is used for selecting an area with the size of the first display area in a local display interface to obtain the first display area;
and the multimedia information playing module is used for playing the multimedia information in the first display area and displaying the background information in a second display area, wherein the second display area is an area except the first display area in the screen of the local terminal.
8. A multimedia information playing system is characterized in that the system comprises a first terminal, a server and a second terminal,
the first terminal is used for responding to the triggering operation on the display interface and recording the multimedia information; sending multimedia information, background information and the aspect ratio of the image in the multimedia information to the server; the first terminal is a main broadcasting terminal; the background information is information which is autonomously selected by a main broadcasting corresponding to the first terminal; the multimedia information is information in a live application program,
the server is used for determining the initial length and the initial width of the first display area based on the length-width ratio of the first display area and the screen size of the second terminal; the aspect ratio of the first display area is equal to the aspect ratio of the image in the multimedia information; the ratio of the initial length to the initial width is equal to the aspect ratio of the images in the multimedia information; determining a length increment and a width increment of the first display area based on an aspect ratio of an image in the multimedia information; the ratio of the long increment to the wide increment is equal to the aspect ratio of the image in the multimedia information; calculating the sum of the initial length and N length increments of the first display area to obtain an Nth increment length, wherein N is more than or equal to 1 and is an integer; calculating the sum of the initial width of the first display area and N width increments to obtain an Nth increment width; judging whether the Nth increment length is smaller than the screen length of the second terminal; judging whether the Nth increment width is smaller than the screen width of the second terminal; judging whether the ratio of the product of the Nth increment length and the Nth increment width to the screen area of the second terminal is smaller than a second preset threshold value or not; if the judgment results are yes, determining to update the Nth increment length and the Nth increment width; if any judgment result is negative, determining the (N-1) th increment length as the length of the first display area, and determining the (N-1) th increment width as the width of the first display area; and sending the multimedia information, the background information and the size of the first display area to the second terminal; in the live application program, the first terminal corresponds to a plurality of second terminals;
the second terminal is used for sending a playing request of the multimedia information to the server, wherein the playing request of the multimedia information carries the screen size of the second terminal; selecting an area with the size of the first display area in a local display interface to obtain the first display area; and playing the multimedia information in the first display area; and displaying the background information in a second display area, wherein the second display area is an area except the first display area in the screen of the second terminal.
9. A computer-readable storage medium, wherein at least one instruction, at least one program, a set of codes, or a set of instructions is stored in the storage medium, and the at least one instruction, the at least one program, the set of codes, or the set of instructions is loaded and executed by a processor to implement the multimedia information playing method according to any one of claims 1 to 4 or claim 5.
CN201910726698.8A 2019-08-07 2019-08-07 Multimedia information playing method, server, terminal, system and storage medium Active CN112351314B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910726698.8A CN112351314B (en) 2019-08-07 2019-08-07 Multimedia information playing method, server, terminal, system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910726698.8A CN112351314B (en) 2019-08-07 2019-08-07 Multimedia information playing method, server, terminal, system and storage medium

Publications (2)

Publication Number Publication Date
CN112351314A CN112351314A (en) 2021-02-09
CN112351314B true CN112351314B (en) 2023-03-14

Family

ID=74367332

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910726698.8A Active CN112351314B (en) 2019-08-07 2019-08-07 Multimedia information playing method, server, terminal, system and storage medium

Country Status (1)

Country Link
CN (1) CN112351314B (en)

Family Cites Families (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003174634A (en) * 2001-12-07 2003-06-20 Nippon Hoso Kyokai <Nhk> Method, apparatus, and program for transmitting/ receiving video image with revised aspect ratio
US7224401B2 (en) * 2003-06-02 2007-05-29 Disney Enterprises, Inc. System and method of dynamic interface placement based on aspect ratio
JP2006295314A (en) * 2005-04-06 2006-10-26 Sony Corp Image processor and processing method, recording medium, and program
JP2007304479A (en) * 2006-05-15 2007-11-22 Necディスプレイソリューションズ株式会社 Video display device, and display method by the same
JP5067599B2 (en) * 2006-06-08 2012-11-07 ソニー株式会社 Video signal processing device, video display device, and video display method
JP4641515B2 (en) * 2006-07-27 2011-03-02 キヤノン株式会社 Image reproducing apparatus and image reproducing method
EP2165529A2 (en) * 2007-06-11 2010-03-24 Nxp B.V. A video receiver
CN101848346A (en) * 2009-03-27 2010-09-29 深圳市中彩联科技有限公司 Television and image display method thereof
CN102377960B (en) * 2010-08-24 2014-11-05 腾讯科技(深圳)有限公司 Video picture displaying method and device
US20120140645A1 (en) * 2010-12-03 2012-06-07 General Instrument Corporation Method and apparatus for distributing video
CN103297729A (en) * 2013-06-17 2013-09-11 华为终端有限公司 Video processing method and device
CN103700360A (en) * 2013-12-09 2014-04-02 乐视致新电子科技(天津)有限公司 Screen display proportion regulating method and electronic equipment
CN105554549A (en) * 2015-12-03 2016-05-04 青岛海信移动通信技术股份有限公司 VoLTE network video display method and device
CN106028117A (en) * 2016-05-24 2016-10-12 青岛海信电器股份有限公司 Image processing method and device
KR102567803B1 (en) * 2016-09-06 2023-08-18 엘지전자 주식회사 Display device
CN107371062B (en) * 2017-08-25 2020-06-02 四川长虹电器股份有限公司 Method for automatically zooming video picture
CN108737882B (en) * 2018-05-09 2021-12-17 腾讯科技(深圳)有限公司 Image display method, image display device, storage medium and electronic device

Also Published As

Publication number Publication date
CN112351314A (en) 2021-02-09

Similar Documents

Publication Publication Date Title
CN109640188B (en) Video preview method and device, electronic equipment and computer readable storage medium
CN109413483B (en) Live content preview method, device, equipment and medium
CN111787415B (en) Video interaction method and device, electronic equipment and storage medium
CN112637622A (en) Live broadcasting singing method, device, equipment and medium
CN113286197A (en) Information display method and device, electronic equipment and storage medium
US11128894B2 (en) Method and mobile terminal for processing data
CN109803151B (en) Multimedia data stream switching method and device, storage medium and electronic device
US10531153B2 (en) Cognitive image obstruction
CN110740261A (en) Video recording method, device, terminal and storage medium
CN112738633A (en) Video playing method, device, equipment and readable storage medium
CN112601127A (en) Video display method and device, electronic equipment and computer readable storage medium
CN115830224A (en) Multimedia data editing method and device, electronic equipment and storage medium
CN106331871A (en) Method and device for realizing fast-forward or fast-backward playback of video stream
CN114025185A (en) Video playback method and device, electronic equipment and storage medium
CN109561337A (en) The playing method and device of preview video
CN112351314B (en) Multimedia information playing method, server, terminal, system and storage medium
CN110300118B (en) Streaming media processing method, device and storage medium
CN111667313A (en) Advertisement display method and device, client device and storage medium
CN106488295A (en) A kind of method for information display and device
US10469794B2 (en) Information processing apparatus, information processing method, and information processing system for content management using play lists
CN116112617A (en) Method and device for processing performance picture, electronic equipment and storage medium
CN115834946A (en) Interaction method, interaction device, electronic equipment and storage medium
CN114640876B (en) Multimedia service video display method, device, computer equipment and storage medium
CN111225263B (en) Video playing control method and device, electronic equipment and storage medium
CN114554292A (en) Method and device for switching visual angle, electronic equipment, storage medium and program product

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