CN109005438B - Video playing method and device - Google Patents

Video playing method and device Download PDF

Info

Publication number
CN109005438B
CN109005438B CN201810972868.6A CN201810972868A CN109005438B CN 109005438 B CN109005438 B CN 109005438B CN 201810972868 A CN201810972868 A CN 201810972868A CN 109005438 B CN109005438 B CN 109005438B
Authority
CN
China
Prior art keywords
video
mobile terminal
playing
screen
acquired
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
CN201810972868.6A
Other languages
Chinese (zh)
Other versions
CN109005438A (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.)
Qilin Hesheng Network Technology Inc
Original Assignee
Qilin Hesheng Network Technology Inc
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 Qilin Hesheng Network Technology Inc filed Critical Qilin Hesheng Network Technology Inc
Priority to CN201810972868.6A priority Critical patent/CN109005438B/en
Publication of CN109005438A publication Critical patent/CN109005438A/en
Application granted granted Critical
Publication of CN109005438B publication Critical patent/CN109005438B/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/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4126The peripheral being portable, e.g. PDAs or mobile phones
    • 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/4302Content synchronisation processes, e.g. decoder synchronisation
    • H04N21/4307Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen
    • 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

Abstract

The embodiment of the application provides a video playing method and a video playing device, which are applied to a first mobile terminal, wherein the first mobile terminal is used for screen splicing with at least one other mobile terminal, and the method comprises the following steps: sending a video acquisition request to a server; the request carries an identifier of a video to be acquired; determining a split video played on the first mobile terminal according to the size of the spliced screen, the size of the screen of the first mobile terminal for displaying the video to be acquired and the position information of the first mobile terminal in the spliced screen; the method comprises the steps that a video picture of a video is divided into a part of the video picture of the video to be acquired; playing the corresponding segmented video on the screen of the user; the playing progress of the video to be acquired on each mobile terminal is the same. In the embodiment of the application, the size of the screen for playing the video is increased, the use experience of a user is improved, a plurality of people can watch the same video together, and meanwhile, the portable video player is convenient to carry.

Description

Video playing method and device
Technical Field
The present application relates to the field of multimedia technologies, and in particular, to a video playing method and apparatus.
Background
With the rapid development of information technology, portable mobile terminals such as mobile phones are also widely used in the life of people, so that the life of people becomes more and more convenient and rapid. With the wide popularization of mobile terminals, users can watch videos at any places such as subways, high-speed rails, parks and the like by using the mobile terminals besides playing videos by using video and audio playing devices of televisions, computers or movie theaters.
However, compared with playing devices such as televisions and computers, the screen of mobile devices such as mobile phones is smaller, so that when the mobile devices are used for playing videos, the display area of the videos is smaller, and the user experience is poorer; and it is also inconvenient for a plurality of people to watch a video together through one mobile terminal.
Therefore, how to meet the requirement of being convenient for carrying of a user and improve the watching experience of the user is also a technical problem which needs to be solved at present and is convenient for multiple people to watch videos through one mobile terminal.
Disclosure of Invention
The embodiment of the application aims to provide a video playing method and a video playing device, so as to solve the technical problems that the watching experience of a user is improved and a plurality of people can watch videos through the same mobile terminal conveniently on the premise of meeting the requirement of carrying convenience of the user.
In order to solve the above technical problem, the embodiment of the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a video playing method, which is applied to a first mobile terminal, where the first mobile terminal performs screen splicing with at least one other mobile terminal, and the method includes:
a first mobile terminal sends a video acquisition request to a server; the request carries an identifier of a video to be acquired, so that the server searches the video to be acquired according to the identifier;
the first mobile terminal receives the video to be acquired sent by the server;
the first mobile terminal determines a split video played on the first mobile terminal according to the size of the spliced screen, the size of the screen of the first mobile terminal for displaying the video to be acquired and the position information of the first mobile terminal in the spliced screen; the video picture of the segmented video is a part of the video picture of the video to be acquired;
the first mobile terminal plays the corresponding segmented video on a screen of the first mobile terminal; and the playing progress of the video to be acquired on each mobile terminal is the same.
In a second aspect, an embodiment of the present application further provides a video playing method, where the method includes:
receiving video acquisition requests sent by mobile terminals for screen splicing; the video acquisition request carries an identifier of a video to be acquired, identifiers of mobile terminals for splicing, screen sizes of the mobile terminals and position information in a spliced screen;
determining the video to be acquired according to the identification; and
determining the screen size of each mobile terminal for playing the video to be acquired according to the screen size of each mobile terminal and the position information in the spliced screen;
respectively sending the video to be acquired and the screen size of each mobile terminal for playing the video data to the corresponding mobile terminal according to the identification of each mobile terminal, so that the mobile terminal determines the corresponding segmented video and plays the corresponding segmented video; and the video picture of the segmented video is a part of the video picture of the video to be acquired.
In a third aspect, an embodiment of the present application further provides a video playing device, which is applied to a first mobile terminal, where the first mobile terminal performs screen splicing with at least one other mobile terminal, and the device includes:
the first sending module is used for sending a video acquisition request to the server; the request carries an identifier of a video to be acquired, so that the server searches the video to be acquired according to the identifier;
the first receiving module is used for receiving the video to be acquired, which is sent by the server;
the first determining module is used for determining the split video played on the first mobile terminal according to the spliced screen size, the screen size of the first mobile terminal for displaying the video to be acquired and the position information of the first mobile terminal in the spliced screen; the video picture of the segmented video is a part of the video picture of the video to be acquired;
the first playing module is used for playing the corresponding segmented video on a screen of the first playing module; and the playing progress of the video to be acquired on each mobile terminal is the same.
In a fourth aspect, an embodiment of the present application further provides a video playing apparatus, where the apparatus includes:
the second receiving module is used for receiving video acquisition requests sent by all mobile terminals for screen splicing; the video acquisition request carries an identifier of a video to be acquired, identifiers of mobile terminals for splicing, screen sizes of the mobile terminals and position information in a spliced screen;
the second determining module is used for determining the video to be acquired according to the identifier; and
a third determining module, configured to determine, according to the screen size of each mobile terminal and the position information in the spliced screen, the screen size of each mobile terminal for playing the video to be acquired;
the second sending module is used for respectively sending the video to be acquired and the screen size of each mobile terminal for playing the video data to the corresponding mobile terminal according to the identification of each mobile terminal, so that the mobile terminal determines the corresponding segmented video and plays the corresponding segmented video; and the video picture of the segmented video is a part of the video picture of the video to be acquired.
In a fifth aspect, an embodiment of the present application provides a video playing device, which is applied to a first mobile terminal, where the first mobile terminal performs screen splicing with at least one other mobile terminal, and the method includes: a memory, a processor and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the video playback method as described in the first aspect above.
In a sixth aspect, an embodiment of the present application provides a video playback device, including: a memory, a processor and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the video playback method as described in the second aspect above.
In a seventh aspect, an embodiment of the present application provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when executed by a processor, the computer program implements the steps of the mobile terminal unlocking method according to the first aspect.
In an eighth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the mobile terminal unlocking method according to the second aspect.
According to the video playing method and device provided by the embodiment of the application, the screens of at least two mobile terminals are spliced to obtain the screen with a larger size, and each mobile terminal determines the corresponding split video according to the size of the spliced screen, the size of the screen used for playing the video and the position information in the spliced screen; finally, the corresponding split videos are played through the mobile terminals, playing of the whole videos is achieved on the spliced screen, using experience of users is improved, a plurality of people can watch the same video together, and meanwhile, the split videos can be carried conveniently.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only some embodiments described in the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without any creative effort.
Fig. 1 is a first flowchart of a video playing method provided in embodiment 1 of the present application;
fig. 2(a) is one of schematic diagrams illustrating screen splicing performed by a mobile terminal in a video playing method provided in embodiment 1 of the present application;
fig. 2(b) is a schematic diagram illustrating an effect of playing a video on a spliced screen in a video playing method provided in embodiment 1 of the present application;
fig. 3(a) is a second schematic diagram illustrating screen splicing performed by a mobile terminal in a video playing method provided in embodiment 1 of the present application;
fig. 3(b) is a schematic diagram of an area where a video is displayed after screen splicing by a mobile terminal in a video playing method provided in embodiment 1 of the present application;
fig. 4 is a schematic flowchart of a second video playing method according to embodiment 2 of the present application;
fig. 5 is a schematic interaction flow diagram of a video playing method according to an embodiment of the present application;
fig. 6 is a schematic block diagram of a video playback device according to embodiment 3 of the present application;
fig. 7 is a schematic block diagram of a video playback device according to embodiment 4 of the present application;
fig. 8 is a schematic structural diagram of a video playback device according to embodiment 5 of the present application.
Detailed Description
In order to make those skilled in the art better understand the technical solutions in the present application, 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.
The idea of the embodiment of the application is to perform screen splicing on at least two mobile terminals, play a video on a spliced screen, and play only a part of pictures of the video on each mobile terminal performing screen splicing when playing the video, so that the pictures on each mobile terminal performing screen splicing form a complete picture corresponding to the video. Therefore, the portable carrying is met, and the size of a video playing screen is increased. Based on the idea, the embodiment of the application provides a video playing method and device. Each will be described in detail below.
The mobile terminal mentioned in the embodiment of the present application may be a portable intelligent device such as a mobile phone and a tablet computer.
It should be noted that, in the embodiment of the present application, the screen size, the terminal model, the terminal brand, and the like of the mobile terminal performing screen splicing may be the same or different, and the embodiment of the present application does not limit this.
Example 1
Fig. 1 is a flowchart of a first method of a video playing method according to an embodiment of the present application, where the method is applied to a first mobile terminal, and the first mobile terminal performs screen splicing with at least one other mobile terminal. The first mobile terminal may be any one of mobile terminals for performing screen splicing. The method shown in fig. 1 comprises at least the following steps:
102, a first mobile terminal sends a video acquisition request to a server; the request carries an identifier of the video to be acquired, so that the server searches the video to be acquired according to the identifier.
The identifier of the video to be acquired may be a name of the video to be acquired, and the like.
After receiving a video acquisition request sent by a first mobile terminal, a server searches video data corresponding to an identifier according to the identifier of a video to be acquired, and sends the video data serving as the video to be acquired to the first mobile terminal.
In a specific implementation, before the first mobile terminal sends the video acquisition request to the server, the user may further perform the following operations on the first mobile terminal:
the method comprises the steps of opening a player of a first mobile terminal, setting a play mode to be a multi-screen mode in the player (specifically, if the current mode is double-screen splicing, the play mode is set to be the double-screen play mode), setting position information of the first mobile terminal in a spliced screen, inputting an identifier of a video to be acquired in the player, and sending a video acquisition request to a server through the first mobile terminal.
And 104, the first mobile terminal receives the video to be acquired, which is sent by the server.
106, the first mobile terminal determines a split video played on the first mobile terminal according to the spliced screen size, the screen size of the first mobile terminal for displaying the video to be acquired and the position information of the first mobile terminal in the spliced screen; the video picture of the segmented video is a part of the video picture of the video to be acquired.
The position information may include a placement direction (horizontal placement or vertical placement) and a placement position (left side, right side, etc.) of the first mobile terminal in the spliced screen.
Specifically, in step 106, when determining the split video played on the first mobile terminal, the playing size of the video to be acquired may be set to the spliced screen size, so that, since the screen size of the first mobile terminal itself for displaying the video to be acquired is smaller than the playing size of the video to be acquired, only a part of the video picture of the video to be acquired is displayed on the first mobile terminal.
In addition, in order to realize that the video pictures played on the mobile terminals performing the splicing form a complete video picture without the occurrence of the situation of video picture repetition, in step 106, which part of the video pictures in the video to be acquired need to be played by the first mobile terminal may be determined according to the position information of the first mobile terminal in the spliced screen, and the size of the video pictures that the first mobile terminal needs to play may be determined according to the screen size of the first mobile terminal itself for displaying the video to be acquired, so as to obtain the split video played on the first mobile terminal.
Step 108, the first mobile terminal displays the corresponding split video on the screen of the first mobile terminal; the playing progress of the video to be acquired on each mobile terminal is the same.
In specific implementation, each mobile terminal for screen splicing corresponds to a split video to be played, and when the video to be acquired is played, each mobile terminal plays the split video corresponding to the mobile terminal, so that the video to be acquired is played completely on the spliced screen.
For ease of understanding, the following description will be given by taking screen splicing using two mobile terminals as an example.
For example, mobile terminal a and mobile terminal B are spliced, and mobile terminal a and mobile terminal B are vertically placed, and mobile terminal a is placed on the left side and mobile terminal B is placed on the right side for splicing, as shown in fig. 2 (a). In this case, the location information of the mobile terminal a may be: the screen is positioned on the left side of the spliced screen and is vertically placed; the location information of mobile terminal B may be: is positioned on the right side of the spliced screen and is vertically placed. Assuming that the screen sizes of the mobile terminal a and the mobile terminal B are the same, the length is 143 millimeters, and the width is 70 millimeters, the size length of the obtained screen is 140 millimeters, and the height is 143 millimeters, in order to realize that the video to be played can be played on the mobile terminal a and the mobile terminal B, after the mobile terminal a receives the video to be played returned by the server, the playing size of the video to be played is set to 140 millimeters × 143 millimeters, and it is also necessary to set the video to be played vertically, and the left half of the video is played on the mobile terminal a. After receiving the video to be played returned by the server, the mobile terminal B sets the playing size of the video to be played to 140 mm × 143 mm, and also needs to set the vertical playing of the video to be played, and play the right half of the video on the mobile terminal B. An interface schematic diagram for playing video on the spliced screen shown in fig. 2(a) is shown in fig. 2 (b).
Of course, fig. 2(a) is only an exemplary illustration, and the screen size, the displayed picture, the specific splicing of the terminal devices, and the like of the mobile terminal referred to herein do not constitute a limitation on the embodiments of the present application.
Of course, the mobile terminal a and the mobile terminal may also be placed horizontally, and will not be described herein.
In the case shown in fig. 2(a) and fig. 2(b), in order to perform splicing by using two mobile terminals with the same screen size, in some cases, the screen size or model of the mobile terminal performing splicing is different, and in this case, in order to improve the picture quality of playing the video on the spliced screen, the screen size for displaying the video on each mobile terminal may be set, so that the screen sizes for displaying the video on each mobile terminal are as same as possible.
Therefore, in the embodiment of the application, the video acquisition request sent to the server also carries the screen size of each mobile terminal to be spliced and the position information in the spliced screen, so that the server determines the screen size of each mobile terminal user for playing the corresponding split video according to the screen size of each mobile terminal and the position information in the spliced screen;
accordingly, before performing step 106, the method provided in the embodiment of the present application further includes:
and the first mobile terminal receives the screen size returned by the server and used for displaying the video to be acquired.
In this embodiment of the application, the screen size of the first mobile terminal used for displaying the video to be acquired in step 106 may be the screen size of the first mobile terminal, or may also be the screen size returned by the server and used for displaying the video to be acquired.
In specific implementation, when the server determines the screen size of each mobile terminal for displaying the video to be acquired, the server may compare the screen sizes of the mobile terminals to be spliced, and select the smallest screen size as the screen size of each mobile terminal for displaying the video to be acquired.
For example, the mobile terminal a and the mobile terminal B perform screen splicing, the screen of the mobile terminal a is 157 mm long and 77 mm wide, and the screen of the mobile terminal B is 143 mm long and 70 mm wide, and the mobile terminal a and the mobile terminal B are spliced left and right as shown in fig. 3(a), in order to make the picture size of the video to be acquired played on each mobile terminal the same, the screen size of the video played by the mobile terminal a may be set to 143 mm × 70 mm as shown in fig. 3 (B).
In addition, in this embodiment of the application, the first mobile terminal is connected to other mobile terminals for splicing through bluetooth, so that data transmission can be conveniently performed between the mobile terminals for splicing.
In order to facilitate the operation of the user and avoid some complicated operations, in the embodiment of the application, one of the mobile terminals for splicing can be set as a master playing terminal, and the other mobile terminals can be set as slave playing terminals.
If the first mobile terminal is the main playing terminal, correspondingly, in the step 108, the first mobile terminal plays the corresponding segmented video on its own screen, specifically including the following steps one, two and three;
step one, detecting whether a first playing instruction input by a user is received;
step two, if a first playing instruction input by a user is received, the first mobile terminal sends a video playing request to the server;
and step three, after receiving a second playing instruction returned by the server, the first mobile terminal plays the corresponding split video on the screen of the first mobile terminal according to the instruction of the second playing instruction.
In a specific embodiment, the first mobile terminal is connected with other mobile terminals for splicing through Bluetooth;
the first mobile terminal and other mobile terminals all receive the video to be acquired sent by the server, and after the first mobile terminal and other mobile terminals complete the reception of the video to be acquired, the first mobile terminal inquires whether the video to be acquired is played.
Therefore, in this embodiment of the present application, before performing the step one, the method provided in this embodiment of the present application further includes:
the method comprises the steps that a first mobile terminal receives notification information of video receiving completion to be acquired, which is sent by other mobile terminals, through Bluetooth; and if the notification information sent by each other mobile terminal is received and the first mobile terminal completes the reception of the video to be acquired, the first mobile terminal inquires whether the user plays the video to be acquired.
In specific implementation, the server sends the video to be acquired to the first mobile terminal and all other mobile terminals spliced with the first mobile terminal, when the other mobile terminals spliced with the first mobile terminal complete the reception of the video to be acquired, a reception notification that the video to be acquired is completed is sent to the first mobile terminal through the bluetooth, when the first mobile terminal receives notification information that the reception of the video to be acquired is completed and sent by all other mobile terminals spliced with the first mobile terminal, whether the first mobile terminal completes the reception of the video to be acquired is detected, and if so, whether the user plays the video to be acquired is inquired.
Specifically, the first mobile terminal may "play or not play the video to be acquired" by popping up on the current interface? The form of the query box queries whether the user plays the video to be acquired, and two reply keys of yes and no are set in the query.
If the user selects "yes", it is equivalent to inputting a first playing instruction for playing the video to be acquired to the first mobile terminal, and in order to ensure that the first mobile terminal and other mobile terminals performing splicing can simultaneously perform playing of the video to be acquired, that is, to ensure that the playing schedules of the mobile terminals performing splicing are the same, in this embodiment of the application, after the first mobile terminal receives the first playing instruction input by the user, a video playing request is sent to the server, and the server sends the video playing instruction to all the mobile terminals performing splicing in a unified manner.
Specifically, in this embodiment of the application, if the first mobile terminal is a slave play terminal, correspondingly, in step 108, the playing, by the first mobile terminal, the split video corresponding to the first mobile terminal on the screen of the first mobile terminal specifically includes:
the first mobile terminal detects whether a second playing instruction returned by the server is received; if yes, playing the corresponding split video on the screen of the user according to the instruction of the second playing instruction.
In specific implementation, the master playback terminal is responsible for receiving an instruction input by a user and initiating an operation request corresponding to the instruction to the server, and the slave playback terminal only needs to wait for the instruction of the server and operate according to the instruction of the server.
In the embodiment of the present application, in order to further ensure that each mobile terminal performing the splicing can play the video to be acquired at the same time, that is, ensure that the playing schedules of each mobile terminal are as same as possible, in the embodiment of the present application, the playing instruction sent to each mobile terminal by the server is a delayed playing instruction;
namely, the second playing instruction carries a preset delay length;
correspondingly, the playing the corresponding segmented video on the screen of the user according to the instruction of the second playing instruction specifically includes:
when a playing instruction returned by the server is received, timing is started; and when the timed duration reaches the preset delay length, playing the corresponding segmented video on the screen of the user.
In addition, in the embodiment of the present application, due to different models and different configurations of the mobile terminals to be spliced, the playing schedules of the videos to be acquired on different mobile terminals may differ, and therefore, in the playing process of the videos to be acquired, the playing schedules of the mobile terminals to be spliced may be calibrated at preset intervals.
In one embodiment, the play progress of each mobile terminal may be calibrated by the master play terminal.
In specific implementation, if the first mobile terminal is a main playing terminal;
correspondingly, in this embodiment of the present application, after the first mobile terminal plays the corresponding split video on its own screen, the method provided in this embodiment of the present application further includes:
the first mobile terminal calibrates the playing progress of the video to be acquired on each mobile terminal for splicing at intervals of preset time.
Specifically, when the first mobile terminal performs calibration, the calibration may be implemented in at least two ways:
in a first mode
The first mobile terminal obtains the current time and the video time played by each mobile terminal through Bluetooth, compares the current playing time of each mobile terminal with the current playing time of each mobile terminal, determines the playing time difference between each mobile terminal and each mobile terminal, and sends the playing time difference corresponding to each mobile terminal to the corresponding mobile terminal through Bluetooth, so that the playing progress is adjusted according to the playing time difference.
Mode two
The method comprises the steps that a first mobile terminal sends a calibration request to a server, after the server receives the calibration request sent by the first mobile terminal, a playing progress obtaining request is sent to all spliced mobile terminals (including the first mobile terminal), so that all the mobile terminals send video time which is played currently to the server, the server compares the playing time of other mobile terminals with the playing time corresponding to the first mobile terminal, the playing time difference between other mobile terminals and the first mobile terminal is determined, and a calibration instruction is sent to all the other mobile terminals, so that all the other mobile terminals can calibrate the playing progress according to the corresponding playing time difference.
In the embodiment of the application, the playing of each mobile terminal is continuously calibrated in the process of playing the video through each spliced mobile terminal, so that the consistency of the playing progress of each mobile terminal can be further ensured, and the experience of a user is improved.
In addition, during the playing process of the video, the user may perform operations such as fast forwarding and pausing, and in the embodiment of the present application, in order to ensure consistency of pausing and fast forwarding of each mobile terminal, operations such as fast forwarding and pausing also need to be implemented by the server.
In specific implementation, operations such as fast forward, pause, continuous play and the like performed by a user are all performed on a main play terminal; if the first mobile terminal is the main playing terminal; the method provided by the embodiment of the application further comprises the following steps (1), (2) and (3);
step (1), if a first mobile terminal receives a fast forward operation triggered by a user, determining a play time needing fast forward according to operation information of the fast forward operation; wherein the fast forward operation information includes a dragging length of the video play progress bar.
The fast forward operation triggered by the user can be realized by dragging a playing progress bar displayed on the first mobile terminal.
Step (2), the first mobile terminal sends the playing time to other mobile terminals for splicing through Bluetooth, and sends a video fast-forwarding request to a server;
and (3) after receiving the fast forward playing instruction returned by the server, the first mobile terminal plays the segmented video corresponding to the playing moment according to the instruction of the fast forward playing instruction.
In specific implementation, when the first terminal detects that the user drags the progress bar, the dragged length of the progress bar is determined, the playing time to which the current video needs to be fast forwarded is calculated according to the dragged length, the playing time is sent to other mobile terminals spliced with the current video through Bluetooth, and meanwhile, a video fast-forwarding request is sent to the server.
When the server receives a video fast-forward request sent by the first mobile terminal, sending a video fast-forward instruction to the first mobile terminal and other mobile terminals spliced with the first mobile terminal, wherein the instruction is a delayed playing instruction, when the first mobile terminal and the other mobile terminals receive the video fast-forward instruction sent by the server, timing is started, and when the timed duration reaches the delayed duration carried by the server, a segmented video corresponding to the fast-forward playing time is started to be played.
Specifically, the delay time may be 3 seconds or 5 seconds and the like, a specific value of the delay time may be set according to an actual application scenario, and the specific value of the delay time is not limited in the embodiment of the present application.
In addition, in the embodiment of the application, when playing the video, in addition to a mode that each mobile terminal starts playing the video after sending the playing instruction to each mobile terminal performing the splicing through the server, the playing instruction can be transmitted through bluetooth.
In a specific embodiment, if the first mobile terminal is a main playing terminal, the first mobile terminal starts to play the corresponding split video after receiving a first playing instruction triggered by a user, and transmits the first playing instruction to other mobile terminals spliced with the first mobile terminal through bluetooth, and the other mobile terminals start to play the corresponding split video after receiving the first playing instruction transmitted by the first mobile terminal.
In another specific embodiment, if the first mobile terminal is a main playing terminal, the first mobile terminal may transmit a first playing instruction triggered by a user to other mobile terminals spliced with the first mobile terminal through bluetooth after receiving the first playing instruction, and the other mobile terminals start to play corresponding split videos after receiving the first playing instruction transmitted by the first mobile terminal; and when the first mobile terminal successfully transmits the first playing instruction to other mobile terminals, the first mobile terminal starts to play the corresponding split video.
In the embodiment, the video can be synchronously played among all the mobile terminals which are spliced without a server, and the implementation mode is simple and convenient.
In another specific embodiment, in order to compensate for the situation that video playing is not performed synchronously due to failure of bluetooth transmission or a network terminal between the bluetooth transmission and the server in order to make up for the situation that video playing is performed through bluetooth or the server singly, in the embodiment of the present application, two modes may be combined, and the video playing is performed according to the instruction transmitted in which mode when transmission is successful.
According to the video playing method provided by the embodiment of the application, screens of at least two mobile terminals are spliced to obtain a screen with a larger size, and each mobile terminal determines a corresponding split video according to the size of the spliced screen, the size of the screen used for playing the video and the position information in the spliced screen; finally, the corresponding split videos are played through the mobile terminals, playing of the whole videos is achieved on the spliced screen, using experience of users is improved, a plurality of people can watch the same video together, and meanwhile, the split videos can be carried conveniently.
Example 2
Corresponding to the video playing method provided in embodiment 1 of the present application, based on the same idea, an embodiment of the present application further provides a video playing method, where the method is applied to a server side, fig. 4 is a flowchart of a third method of the video playing method provided in the embodiment of the present application, and the method shown in fig. 4 at least includes the following steps:
step 402, receiving video acquisition requests sent by mobile terminals for screen splicing; the video acquisition request carries an identifier of a video to be acquired, identifiers of mobile terminals for splicing, a screen size of the mobile terminal and position information in a spliced screen.
The number of the mobile terminals for splicing can be two or more.
In the embodiment of the application, the mobile terminals to be spliced are connected through bluetooth, and each mobile terminal can acquire the identification, the screen size information, the position information in the spliced screen and the like of other mobile terminals to be spliced through bluetooth.
In specific implementation, a user opens a player of any one of the mobile terminals to be spliced, sets a play mode to a multi-screen mode in the player (the multi-screen mode is a dual-screen mode if the two mobile terminals are spliced, and the three-screen mode if the three mobile terminals are spliced), sets position information of the mobile terminals in a spliced screen, and can acquire the identifiers of the other mobile terminals through bluetooth.
In a specific implementation manner, each of the mobile terminals performing the splicing sends a video acquisition request to the server, where the video acquisition request carries an identifier of a video to be acquired, a screen size of the mobile terminal, position information of the mobile terminal in a spliced screen, and identifiers of other videos spliced with the mobile terminal.
In another specific implementation manner, each mobile terminal performing the splicing sends the size of its own screen and the position information of its own screen after the splicing to the main playing terminal through bluetooth, and the main playing terminal sends a video acquisition request to the server, where the video acquisition request carries the identifier of each mobile terminal performing the splicing, the screen size of each mobile terminal, the position information of each mobile terminal in the screen after the splicing, the identifier of the video to be acquired, and the like.
And step 404, determining the video to be acquired according to the identifier.
And step 406, determining the screen size of each mobile terminal for playing the video to be acquired according to the screen size of each mobile terminal and the position information in the spliced screen.
In this embodiment of the present application, the step 404 and the step 406 may be executed simultaneously, or there may be a sequence, and this embodiment of the present application does not limit the specific execution process of the step 404 and the step 406.
In a specific implementation manner, the server may directly select a screen size with the smallest screen size in each mobile terminal as the screen size used by each mobile terminal for displaying the video according to the minimum matching principle, and the implementation manner is simple and convenient.
In another specific implementation, the server may determine the screen size according to the screen size of each mobile terminal and the position information in the spliced screen, and only needs to set the width of the spliced screen for video playing to be the same, and the heights may be different.
And step 408, respectively sending the video to be acquired and the screen size of each mobile terminal for playing the video data to the corresponding mobile terminal according to the identifier of each mobile terminal, so that the mobile terminal determines the corresponding segmented video and plays the corresponding segmented video.
Wherein the video picture of the segmented video is a part of the video picture of the video to be acquired
In addition, in the embodiment of the application, after each mobile terminal receives the video to be acquired returned by the server, the corresponding segmented video is determined, and the corresponding segmented video is played.
Specifically, a main playing terminal may be set in each mobile terminal for performing splicing, and the main playing terminal is configured to control video playing of other mobile terminals for performing splicing, and is configured to receive an operation instruction triggered by a user. In one embodiment, if the first mobile terminal is the main playing terminal;
the method provided by the embodiment of the application further comprises the following steps:
receiving a video playing request sent by a first mobile terminal; and simultaneously sending a playing instruction to the first mobile terminal and other spliced mobile terminals so that each mobile terminal plays the corresponding segmented video according to the instruction of the playing instruction.
In addition, the specific implementation process of each step in this application embodiment is the same as the specific implementation process of each step in embodiment 1, and therefore, the specific implementation process of each step may refer to embodiment 1, and is not described herein again.
In order to facilitate understanding of the video playing method provided in the embodiment of the present application, the video playing method provided in the embodiment of the present application is described below in a manner of performing interaction between a mobile terminal and a server.
Fig. 5 is an interaction flowchart of a video playing method provided in an embodiment of the present application, and in the embodiment shown in fig. 5, a mobile terminal a and a mobile terminal B are spliced in a manner shown in fig. 2(a), and a screen size of the mobile terminal a is 157 millimeters × 77 millimeters, and a size of the mobile terminal B is 143 millimeters × 70 millimeters.
The method shown in fig. 5 comprises at least the following steps:
step 502, the mobile terminal a sends a video acquisition request to the server, and the mobile terminal B sends a video acquisition request to the server.
The video acquisition request sent by the mobile terminal A carries an identifier of a video to be acquired, an identifier of the mobile terminal A, an identifier of the mobile terminal B, a screen size of the mobile terminal A and position information in a spliced screen.
The video acquisition request sent by the mobile terminal B carries an identifier of a video to be acquired, an identifier of the mobile terminal A, an identifier of the mobile terminal B, a screen size of the mobile terminal B and position information in a spliced screen.
It should be noted that the mobile terminal a and the mobile terminal B request the same video.
In step 504, the server sends the video to be acquired to the mobile terminal a and the mobile terminal B.
In step 506, the server determines the screen sizes of the mobile terminal a and the mobile terminal B for playing the video according to the screen size of the mobile terminal a and the screen size of the mobile terminal B.
In the embodiment of the application, the screen size with the smallest size in each mobile terminal can be selected as the screen size for video playing on each mobile terminal on the principle of minimum matching.
In the present embodiment, the sizes of the mobile terminal a and the mobile terminal B determined for playing the video are both 143 mm × 70 mm.
And step 508, the server respectively sends the screen sizes of the mobile terminal A and the mobile terminal B for playing the videos to the mobile terminal A and the mobile terminal B.
Step 510, the mobile terminal A determines a corresponding split video according to the size of a screen used for playing the video, the position information of the mobile terminal A in the spliced screen and the size of the spliced screen; and the mobile terminal B determines the corresponding segmented video according to the size of the screen used for playing the video, the position information of the mobile terminal in the spliced screen and the size of the spliced screen.
Step 512, if the mobile terminal a receives the first play instruction input by the user, a video play request is sent to the server.
In step 514, after receiving the video playing request sent by the mobile terminal a, the server sends a second playing instruction to the mobile terminal a and the mobile terminal B.
The second playing instruction carries a preset delay length.
Step 516, the mobile terminal a starts timing when receiving a second playing instruction returned by the server, and starts playing the corresponding segmented video when the timing duration reaches a preset delay length; and the mobile terminal B starts timing when receiving a second playing instruction returned by the server, and starts to play the corresponding segmented video when the timing duration reaches a preset delay length.
According to the video playing method provided by the embodiment of the application, the screen with a larger size can be obtained by splicing the screens of the mobile terminals, the server determines the screen size of each mobile terminal for displaying the video according to the screen size of each mobile terminal for splicing and the position information of the mobile terminal in the spliced screen, and each mobile terminal determines the corresponding split video according to the spliced screen size, the screen size for playing the video and the position information of the mobile terminal in the spliced screen; finally, the corresponding split videos are played through the mobile terminals, playing of the whole videos is achieved on the spliced screen, using experience of users is improved, a plurality of people can watch the same video together, and meanwhile, the split videos can be carried conveniently.
Example 3
Corresponding to the video playing method provided in embodiment 1 of the present application, based on the same idea, an embodiment of the present application further provides a video playing device, configured to execute the video playing method provided in embodiment 1 of the present application. The video playing device provided by the embodiment of the application is applied to a first mobile terminal, and the first mobile terminal is spliced with at least one other mobile terminal through a screen. Fig. 6 shows a schematic block diagram of a video playing apparatus provided in an embodiment of the present application, where the apparatus shown in fig. 6 includes:
a first sending module 601, configured to send a video acquisition request to a server; the request carries an identifier of the video to be acquired, so that the server searches the video to be acquired according to the identifier;
a first receiving module 602, configured to receive a video to be acquired, where the video is sent by a server;
a first determining module 603, configured to determine a split video played on a first mobile terminal according to the size of the spliced screen, the size of the screen of the first mobile terminal used for displaying a video to be acquired, and the position information of the first mobile terminal in the spliced screen; the method comprises the steps that a video picture of a video is divided into a part of the video picture of the video to be acquired;
the first playing module 604 is configured to play the corresponding split video on its own screen; the playing progress of the video to be acquired on each mobile terminal is the same.
Optionally, the first mobile terminal is a main playing terminal;
the first playing module 604 includes:
the first detection unit is used for detecting whether a first playing instruction input by a user is received by the first mobile terminal;
the device comprises a sending unit, a video playing unit and a video playing unit, wherein the sending unit is used for sending a video playing request to a server when receiving a first playing instruction input by a user;
and the first playing unit is used for playing the corresponding split video on the screen of the first playing unit according to the instruction of the second playing instruction after receiving the second playing instruction returned by the server.
Optionally, the first mobile terminal is connected with other mobile terminals for splicing through bluetooth;
the first playing module 604 includes:
the receiving unit is used for the first mobile terminal to receive notification information of the completion of the receiving of the video to be acquired, which is sent by other mobile terminals, through Bluetooth;
and the inquiring unit is used for inquiring whether the user plays the video to be acquired or not if the user receives the notification information sent by each other mobile terminal and the user finishes receiving the video to be acquired.
Optionally, the first mobile terminal is a slave play terminal;
a first play module 604, comprising:
the second detection unit is used for detecting whether a second playing instruction returned by the server is received or not;
and the second playing unit is used for playing the corresponding split video on the screen of the second playing unit according to the instruction of the second playing instruction if the second playing instruction returned by the server is received.
Optionally, the second play instruction carries a preset delay length;
the first playing unit is specifically configured to:
when a playing instruction returned by the server is received, timing is started; and when the timed duration reaches the preset delay length, playing the corresponding segmented video on the screen of the user.
Optionally, the second play instruction carries a preset delay length;
the second playing unit is specifically configured to:
when a playing instruction returned by the server is received, timing is started; and when the timed duration reaches the preset delay length, playing the corresponding segmented video on the screen of the user.
Optionally, the first mobile terminal is a main playing terminal; the device that this application embodiment provided still includes:
and the calibration module is used for calibrating the playing progress of the video to be acquired on each mobile terminal spliced at preset time intervals.
Optionally, the first mobile terminal is a main playing terminal; the device still includes:
the acquisition module is used for determining the playing time needing fast forwarding according to the operation information of the fast forwarding operation if the first mobile terminal receives the fast forwarding operation triggered by a user; wherein the fast forward operation information comprises a dragging length of a video playing progress bar;
the second sending module is used for sending the playing time to other spliced mobile terminals through Bluetooth and sending a video fast-forwarding request to the server;
and the second playing module is used for playing the segmented video corresponding to the playing moment according to the instruction of the fast forward playing instruction after receiving the fast forward playing instruction returned by the server.
The specific implementation process of the functions corresponding to each module and unit in the video playing device provided in this application embodiment is the same as the specific implementation process of each step in the method described in embodiment 1, and therefore, the specific implementation process of the functions corresponding to each module and unit may refer to embodiment 1, which is not described herein again.
According to the video playing device provided by the embodiment of the application, screens of at least two mobile terminals are spliced to obtain a screen with a larger size, and each mobile terminal determines a corresponding split video according to the size of the spliced screen, the size of the screen used for playing the video and the position information in the spliced screen; finally, the corresponding split videos are played through the mobile terminals, playing of the whole videos is achieved on the spliced screen, using experience of users is improved, a plurality of people can watch the same video together, and meanwhile, the split videos can be carried conveniently.
Example 4
Corresponding to the video playing method provided in embodiment 2 of the present application, based on the same idea, an embodiment of the present application further provides a video playing method, which is applied to a server side and is used for executing the method corresponding to embodiment 2 of the present application. Fig. 7 is a schematic diagram illustrating a module composition of a video playing apparatus according to an embodiment of the present application, where the apparatus shown in fig. 7 includes:
a second receiving module 701, configured to receive a video acquisition request sent by each mobile terminal performing screen splicing; the video acquisition request carries an identifier of a video to be acquired, identifiers of mobile terminals for splicing, screen sizes of the mobile terminals and position information in a spliced screen;
a second determining module 702, configured to determine, according to the identifier, a video to be acquired; and
a third determining module 703, configured to determine, according to the screen size of each mobile terminal and the position information in the spliced screen, the screen size of each mobile terminal for playing the video to be acquired;
a second sending module 704, configured to send the video to be acquired and the screen size of each mobile terminal for playing the video data to the corresponding mobile terminal according to the identifier of each mobile terminal, so that the mobile terminal determines the corresponding split video and plays the corresponding split video; the video picture of the segmented video is a part of the video picture of the video to be acquired.
Optionally, the apparatus provided in this embodiment of the present application further includes:
the third receiving module is used for receiving a video playing request sent by the first mobile terminal; the first mobile terminal is a main playing terminal;
and the third sending module is used for simultaneously sending a playing instruction to the first mobile terminal and other spliced mobile terminals so that each mobile terminal plays the corresponding segmented video according to the instruction of the playing instruction.
The specific implementation process of the functions corresponding to each module and unit in the video playing device provided in this application embodiment is the same as the specific implementation process of each step in the method described in embodiment 2, and therefore, the specific implementation process of the functions corresponding to each module and unit may refer to embodiment 2, which is not described herein again.
According to the video playing device provided by the embodiment of the application, the screen with a larger size can be obtained by splicing the screens of the mobile terminals, the server determines the screen size of each mobile terminal for displaying the video according to the screen size of each mobile terminal for splicing and the position information of the mobile terminal in the spliced screen, and each mobile terminal determines the corresponding split video according to the spliced screen size, the screen size for playing the video and the position information of the mobile terminal in the spliced screen; finally, the corresponding split videos are played through the mobile terminals, playing of the whole videos is achieved on the spliced screen, using experience of users is improved, a plurality of people can watch the same video together, and meanwhile, the split videos can be carried conveniently.
Example 5
Further, based on the foregoing method, an embodiment of the present application further provides a video playing device, and fig. 8 is a schematic structural diagram of the video playing device provided in the embodiment of the present application.
As shown in fig. 8, the video playing apparatus may have a relatively large difference due to different configurations or performances, and may include one or more processors 801 and a memory 802, where one or more stored applications or data may be stored in the memory 802. Wherein the memory 802 may be a transient storage or a persistent storage. The application program stored in memory 802 may include one or more modules (not shown), each of which may include a series of computer-executable instructions for a video playback device. Still further, the processor 801 may be configured to communicate with the memory 802 to execute a series of computer-executable instructions in the memory 802 on the video playback device. The video playback device may also include one or more power supplies 803, one or more wired or wireless network interfaces 804, one or more input-output interfaces 805, one or more keyboards 806, and the like.
In a specific embodiment, the device is applied to a first mobile terminal, and the first mobile terminal performs screen splicing with at least one other mobile terminal. The video playing device comprises a processor, a memory and a computer program which is stored on the memory and can run on the processor, wherein when the computer program is executed by the processor, the computer program realizes each process of the video playing method embodiment, and the video playing device specifically comprises the following steps:
a first mobile terminal sends a video acquisition request to a server; the request carries an identifier of a video to be acquired, so that the server searches the video to be acquired according to the identifier;
the first mobile terminal receives the video to be acquired sent by the server;
the first mobile terminal determines a split video played on the first mobile terminal according to the size of the spliced screen, the size of the screen of the first mobile terminal for displaying the video to be acquired and the position information of the first mobile terminal in the spliced screen; the video picture of the segmented video is a part of the video picture of the video to be acquired;
the first mobile terminal plays the corresponding segmented video on a screen of the first mobile terminal; and the playing progress of the video to be acquired on each mobile terminal is the same.
Optionally, when the computer executable instructions are executed, the first mobile terminal is a master play terminal;
the first mobile terminal plays the corresponding segmented video data on the screen of the first mobile terminal, and the method comprises the following steps:
the first mobile terminal detects whether a first playing instruction input by a user is received;
if so, the first mobile terminal sends a video playing request to the server;
and after receiving a second playing instruction returned by the server, the first mobile terminal plays the corresponding split video on the screen of the first mobile terminal according to the instruction of the second playing instruction.
Optionally, when the computer executable instruction is executed, the first mobile terminal is connected with other mobile terminals for splicing through bluetooth;
before the first mobile terminal detects whether a video operation triggered by a user is received, the method further includes:
the first mobile terminal receives the notification information of the completion of the reception of the video to be acquired, which is sent by the other mobile terminals, through Bluetooth;
and if the notification information sent by each other mobile terminal is received and the first mobile terminal receives the video to be acquired completely, the first mobile terminal inquires whether the user plays the video to be acquired or not.
Optionally, the first mobile terminal is a slave player terminal when the computer-executable instructions are executed;
the first mobile terminal plays the corresponding segmented video on the screen of the first mobile terminal, and the method comprises the following steps:
the first mobile terminal detects whether a second playing instruction returned by the server is received or not;
and if so, playing the corresponding segmented video on the screen of the user according to the instruction of the second playing instruction.
Optionally, when the computer executable instruction is executed, the playing instruction carries a preset delay length;
the playing of the corresponding segmented video on the screen of the user according to the instruction of the playing instruction comprises:
when the playing instruction returned by the server is received, timing is started;
and when the timed duration reaches the preset delay length, playing the corresponding segmented video on the screen of the user.
Optionally, when the computer executable instructions are executed, the first mobile terminal is a master play terminal;
after the first mobile terminal plays the corresponding split video on its own screen, the method further includes:
and the first mobile terminal calibrates the playing progress of the video to be acquired on each mobile terminal for splicing at preset time intervals.
Optionally, when the computer executable instructions are executed, the first mobile terminal is a master play terminal; the method further comprises the following steps:
if the first mobile terminal receives a fast forward operation triggered by a user, determining a playing time needing fast forward according to operation information of the fast forward operation; wherein the fast forward operation information comprises a dragging length of a video playing progress bar;
the first mobile terminal sends the playing time to other mobile terminals for splicing through Bluetooth and sends a video fast-forwarding request to the server;
and after receiving the fast forward playing instruction returned by the server, the first mobile terminal plays the segmented video corresponding to the playing moment according to the instruction of the fast forward playing instruction.
According to the video playing device provided by the embodiment of the application, the screens of at least two mobile terminals are spliced to obtain the screen with a larger size, and each mobile terminal determines the corresponding split video according to the size of the spliced screen, the size of the screen used for playing the video and the position information in the spliced screen; finally, the corresponding split videos are played through the mobile terminals, playing of the whole videos is achieved on the spliced screen, using experience of users is improved, a plurality of people can watch the same video together, and meanwhile, the split videos can be carried conveniently.
In a specific embodiment, the video playing device includes a processor, a memory, and a computer program stored on the memory and executable on the processor, where the computer program, when executed by the processor, implements the processes of the above video playing method embodiment, and specifically includes the following steps:
receiving video acquisition requests sent by mobile terminals for screen splicing; the video acquisition request carries an identifier of a video to be acquired, identifiers of mobile terminals for splicing, screen sizes of the mobile terminals and position information in a spliced screen;
determining the video to be acquired according to the identification; and
determining the screen size of each mobile terminal for playing the video to be acquired according to the screen size of each mobile terminal and the position information in the spliced screen;
respectively sending the video to be acquired and the screen size of each mobile terminal for playing the video data to the corresponding mobile terminal according to the identification of each mobile terminal, so that the mobile terminal determines the corresponding segmented video and plays the corresponding segmented video; and the video picture of the segmented video is a part of the video picture of the video to be acquired.
Optionally, after the computer-executable instructions are executed and the video to be acquired and the screen size of each mobile terminal for playing the video data are respectively sent to the corresponding mobile terminals according to the identifiers of the mobile terminals, the method further includes:
receiving a video playing request sent by a first mobile terminal; the first mobile terminal is a main playing terminal;
and simultaneously sending a playing instruction to the first mobile terminal and other spliced mobile terminals so that each mobile terminal plays the corresponding segmented video according to the instruction of the playing instruction.
According to the video playing device provided by the embodiment of the application, the screen with a larger size can be obtained by splicing the screens of the mobile terminals, the server determines the screen size of each mobile terminal for displaying the video according to the screen size of each mobile terminal for splicing and the position information of the mobile terminal in the spliced screen, and each mobile terminal determines the corresponding split video according to the spliced screen size, the screen size for playing the video and the position information of the mobile terminal in the spliced screen; finally, the corresponding split videos are played through the mobile terminals, playing of the whole videos is achieved on the spliced screen, using experience of users is improved, a plurality of people can watch the same video together, and meanwhile, the split videos can be carried conveniently.
Further, an embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the video playing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
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 the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (14)

1. A video playing method is characterized in that the method is applied to a first mobile terminal, the first mobile terminal is spliced with at least one other mobile terminal through a screen, and the first mobile terminal is connected with the other mobile terminals through Bluetooth; the method comprises the following steps:
a first mobile terminal sends a video acquisition request to a server; the request carries an identifier of a video to be acquired, so that the server searches the video to be acquired according to the identifier;
the first mobile terminal receives the video to be acquired sent by the server;
the first mobile terminal determines a split video played on the first mobile terminal according to the size of the spliced screen, the size of the screen of the first mobile terminal for displaying the video to be acquired and the position information of the first mobile terminal in the spliced screen; the video picture of the segmented video is a part of the video picture of the video to be acquired; the position information is set by a user through a player of the first mobile terminal;
the first mobile terminal receives notification information of the completion of the reception of the video to be acquired, which is sent by other mobile terminals, through Bluetooth;
if notification information sent by each other mobile terminal is received and the first mobile terminal completes the reception of the video to be acquired, the first mobile terminal plays the corresponding segmented video on a screen of the first mobile terminal;
when the first mobile terminal is a main playing terminal, the first mobile terminal plays the corresponding split video on a screen of the first mobile terminal, and the method comprises the following steps:
the first mobile terminal sends a video playing request to the server and plays the corresponding segmented video on a screen of the first mobile terminal according to the indication of a second playing instruction returned by the server;
after receiving the video to be acquired, the other mobile terminals determine segmented videos corresponding to the other mobile terminals, and play the segmented videos corresponding to the other mobile terminals on the screens of the other mobile terminals according to the instruction of the second playing instruction; and the playing progress of the video to be acquired on each mobile terminal is the same.
2. The method of claim 1, wherein before the first mobile terminal sends the video play request to the server, further comprising:
the first mobile terminal detects whether a first playing instruction input by a user is received.
3. The method of claim 2, wherein before the first mobile terminal detects whether the first play instruction input by the user is received, the method further comprises:
and the first mobile terminal inquires whether the user plays the video to be acquired.
4. The method of claim 1, wherein when the first mobile terminal is a slave player terminal;
the first mobile terminal plays the corresponding segmented video on the screen of the first mobile terminal, and the method comprises the following steps:
the first mobile terminal detects whether a second playing instruction returned by the server is received or not;
and if so, playing the corresponding segmented video on the screen of the user according to the instruction of the second playing instruction.
5. The method according to any one of claims 2 to 4, wherein the second play instruction carries a predetermined delay length;
according to the instruction of the second playing instruction, playing the corresponding segmented video on the screen of the user, wherein the method comprises the following steps:
when the second playing instruction returned by the server is received, timing is started;
and when the timed duration reaches the preset delay length, playing the corresponding segmented video on the screen of the user.
6. The method of claim 1, wherein when the first mobile terminal is a master play terminal;
after the first mobile terminal plays the corresponding split video on its own screen, the method further includes:
and the first mobile terminal calibrates the playing progress of the video to be acquired on each mobile terminal for splicing at preset time intervals.
7. The method of claim 1, wherein when the first mobile terminal is a master play terminal; the method further comprises the following steps:
if the first mobile terminal receives a fast forward operation triggered by a user, determining a playing time needing fast forward according to operation information of the fast forward operation; wherein the fast forward operation information comprises a dragging length of a video playing progress bar;
the first mobile terminal sends the playing time to other mobile terminals for splicing through Bluetooth and sends a video fast-forwarding request to the server;
and after receiving the fast forward playing instruction returned by the server, the first mobile terminal plays the segmented video corresponding to the playing moment according to the instruction of the fast forward playing instruction.
8. A video playback method, the method comprising:
receiving video acquisition requests sent by mobile terminals for screen splicing; the video acquisition request carries an identifier of a video to be acquired, identifiers of mobile terminals for splicing, screen sizes of the mobile terminals and position information in a spliced screen; the position information is set by a user through a player of the mobile terminal;
determining the video to be acquired according to the identification; and
determining the screen size of each mobile terminal for playing the video to be acquired according to the screen size of each mobile terminal and the position information in the spliced screen;
respectively sending the video to be acquired and the screen size of each mobile terminal for playing the video data to the corresponding mobile terminal according to the identification of each mobile terminal so that the mobile terminal can determine the corresponding segmented video;
receiving a video playing request sent by a first mobile terminal; the video playing request is sent by the first mobile terminal after receiving notification information of the completion of the receiving of the video to be obtained, which is sent by each of other mobile terminals for splicing, and after the video to be obtained is received by the first mobile terminal, and the first mobile terminal is a main playing terminal;
sending a playing instruction to the first mobile terminal and other spliced mobile terminals so that each mobile terminal plays the corresponding segmented video according to the instruction of the playing instruction; and the video picture of the segmented video is a part of the video picture of the video to be acquired.
9. A video playing device is characterized in that the video playing device is applied to a first mobile terminal, the first mobile terminal is spliced with at least one other mobile terminal through a screen, and the first mobile terminal is connected with the other mobile terminals through Bluetooth; the device comprises:
the first sending module is used for sending a video acquisition request to the server; the request carries an identifier of a video to be acquired, so that the server searches the video to be acquired according to the identifier;
the first receiving module is used for receiving the video to be acquired, which is sent by the server;
the first determining module is used for determining the split video played on the first mobile terminal according to the spliced screen size, the screen size of the first mobile terminal for displaying the video to be acquired and the position information of the first mobile terminal in the spliced screen; the video picture of the segmented video is a part of the video picture of the video to be acquired; the position information is set by a user through a player of the first mobile terminal;
the first playing module is used for receiving the notification information of the completion of the receiving of the video to be acquired, which is sent by other mobile terminals through Bluetooth; if the notification information sent by each other mobile terminal is received and the self completes the reception of the video to be acquired, playing the corresponding segmented video on the self screen;
when the first mobile terminal is a main play terminal, the first mobile terminal is specifically configured to:
sending a video playing request to the server, and playing the corresponding segmented video on the screen of the server according to the indication of a second playing instruction returned by the server;
after receiving the video to be acquired, the other mobile terminals determine segmented videos corresponding to the other mobile terminals, and play the segmented videos corresponding to the other mobile terminals on the screens of the other mobile terminals according to the instruction of the second playing instruction; and the playing progress of the video to be acquired on each mobile terminal is the same.
10. The apparatus of claim 9,
the first playing module comprises:
the first detection unit is used for detecting whether a first playing instruction input by a user is received by the first mobile terminal.
11. The apparatus of claim 9, wherein when the first mobile terminal is a slave player terminal;
the first playing module comprises:
the second detection unit is used for detecting whether a second playing instruction returned by the server is received or not;
and the second playing unit is used for playing the corresponding split video on the screen of the second playing unit according to the instruction of the second playing instruction if the second playing instruction returned by the server is received.
12. The apparatus of claim 9, wherein when the first mobile terminal is a master play terminal; the device further comprises:
and the calibration module is used for calibrating the playing progress of the video to be acquired on each mobile terminal spliced at preset time intervals.
13. The apparatus of claim 9, wherein when the first mobile terminal is a master play terminal; the device further comprises:
the acquisition module is used for determining the playing time needing fast forwarding according to the operation information of the fast forwarding operation if the first mobile terminal receives the fast forwarding operation triggered by a user; wherein the fast forward operation information comprises a dragging length of a video playing progress bar;
the second sending module is used for sending the playing time to other spliced mobile terminals through Bluetooth and sending a video fast-forwarding request to the server;
and the second playing module is used for playing the segmented video corresponding to the playing moment according to the instruction of the fast forward playing instruction after receiving the fast forward playing instruction returned by the server.
14. A video playback apparatus, comprising:
the second receiving module is used for receiving video acquisition requests sent by all mobile terminals for screen splicing; the video acquisition request carries an identifier of a video to be acquired, identifiers of mobile terminals for splicing, screen sizes of the mobile terminals and position information in a spliced screen; the position information is set by a user through a player of the mobile terminal;
the second determining module is used for determining the video to be acquired according to the identifier; and
a third determining module, configured to determine, according to the screen size of each mobile terminal and the position information in the spliced screen, the screen size of each mobile terminal for playing the video to be acquired;
the second sending module is used for respectively sending the video to be acquired and the screen size of each mobile terminal for playing the video data to the corresponding mobile terminal according to the identification of each mobile terminal so that the mobile terminal can determine the corresponding segmented video;
the third receiving module is used for receiving a video playing request sent by the first mobile terminal; the video playing request is sent by the first mobile terminal after receiving notification information of the completion of the receiving of the video to be obtained, which is sent by each of other mobile terminals for splicing, and after the first mobile terminal completes the receiving of the video to be obtained, and the first mobile terminal is a main playing terminal;
a third sending module, configured to send a play instruction to the first mobile terminal and other mobile terminals performing splicing, so that each mobile terminal plays the corresponding split video according to an instruction of the play instruction; and the video picture of the segmented video is a part of the video picture of the video to be acquired.
CN201810972868.6A 2018-08-24 2018-08-24 Video playing method and device Active CN109005438B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810972868.6A CN109005438B (en) 2018-08-24 2018-08-24 Video playing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810972868.6A CN109005438B (en) 2018-08-24 2018-08-24 Video playing method and device

Publications (2)

Publication Number Publication Date
CN109005438A CN109005438A (en) 2018-12-14
CN109005438B true CN109005438B (en) 2021-04-09

Family

ID=64593864

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810972868.6A Active CN109005438B (en) 2018-08-24 2018-08-24 Video playing method and device

Country Status (1)

Country Link
CN (1) CN109005438B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110351588A (en) * 2019-07-10 2019-10-18 四川长虹电器股份有限公司 The audio video synchronization playback method broadcast is opened based on Bluetooth Synchronous and delay
CN111031359B (en) * 2019-12-24 2023-01-10 北京奇艺世纪科技有限公司 Video playing method and device, electronic equipment and computer readable storage medium
CN113286196B (en) * 2021-05-14 2023-02-17 亿咖通(湖北)技术有限公司 Vehicle-mounted video playing system and video split-screen display method and device
CN114245186B (en) * 2021-12-15 2024-01-30 咪咕音乐有限公司 Control method, device and equipment for multi-screen collaborative playing and readable storage medium
CN114245188B (en) * 2021-12-29 2023-09-15 卡莱特云科技股份有限公司 Automatic cascade method of playing box terminal and cascade playing method of LED display screen

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104657101A (en) * 2015-02-12 2015-05-27 武汉新蜂乐众网络技术有限公司 Image mosaic display method and system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101459724A (en) * 2007-12-13 2009-06-17 乐金电子(中国)研究开发中心有限公司 Love couple mobile terminal capable of integrating two into one
CN101674364B (en) * 2009-09-28 2011-11-09 华为终端有限公司 Wireless screen splicing display method, mobile communication terminal and device
CN106303287B (en) * 2015-05-26 2019-06-25 中国移动通信集团公司 A kind of multi-mobile-terminal screen splicing method, equipment and system based on near-field communication
CN105898559A (en) * 2015-12-15 2016-08-24 乐视网信息技术(北京)股份有限公司 Client and video splicing method
CN107707947B (en) * 2017-09-12 2020-09-11 西安万像电子科技有限公司 Picture data control method and system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104657101A (en) * 2015-02-12 2015-05-27 武汉新蜂乐众网络技术有限公司 Image mosaic display method and system

Also Published As

Publication number Publication date
CN109005438A (en) 2018-12-14

Similar Documents

Publication Publication Date Title
CN109005438B (en) Video playing method and device
US11818779B2 (en) System and method of connecting devices via Wi-Fi network
US10114522B2 (en) Method of controlling display of display device by mobile terminal and mobile terminal for the same
KR20190062414A (en) The reverse cast from the first screen device to the second screen device
JP6430656B2 (en) System, method and apparatus for displaying content items
US10203924B2 (en) Display apparatus, controlling method thereof and controlling method of display system
US20190318766A1 (en) Method, Device, and System of Synchronously Playing Media File
CN107333162B (en) Method and device for playing live video
WO2015058623A1 (en) Multimedia data sharing method and system, and electronic device
US20170171270A1 (en) Method and electronic device for controlling video playing
US9886844B2 (en) Information processing apparatus, information processing method, and program
CN113810761B (en) Multi-terminal interaction method, device and system
EP3793204A1 (en) Synchronous playing method and device for video, and computer-readable storage medium
CN117837150A (en) Display device, communication terminal and screen-throwing picture dynamic display method
US20160255392A1 (en) Remote control apparatus and smart tv
CN103731723A (en) Method and system for refreshing equipment list in terminal equipment
CN112055234A (en) Television equipment screen projection processing method, equipment and storage medium
KR20150073573A (en) Method and apparatus for displaying contents related in mirroring picture
CN104427369B (en) Remote control end equipment is remotely-controlled end equipment and the method for it
US9232281B2 (en) Communication management apparatus, terminal, communication management system, communication management method, program, and information storage medium
CN111586152A (en) Bluetooth transmission data playing method and device and Bluetooth transmission data sending method and device
WO2017101352A1 (en) Video program interaction method and device
CN109842809B (en) Method, system and storage medium for remotely guiding smart television based on mobile terminal
KR20220113332A (en) Method of provding contents and terminal device
CN114063960A (en) Large and small screen interaction method and device and computer readable storage medium

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