CN113132194A - Information transfer method, device, equipment, server and storage medium - Google Patents

Information transfer method, device, equipment, server and storage medium Download PDF

Info

Publication number
CN113132194A
CN113132194A CN202110432307.9A CN202110432307A CN113132194A CN 113132194 A CN113132194 A CN 113132194A CN 202110432307 A CN202110432307 A CN 202110432307A CN 113132194 A CN113132194 A CN 113132194A
Authority
CN
China
Prior art keywords
client
playing
information
server
login
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.)
Pending
Application number
CN202110432307.9A
Other languages
Chinese (zh)
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.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New Technology 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 Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN202110432307.9A priority Critical patent/CN113132194A/en
Publication of CN113132194A publication Critical patent/CN113132194A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2805Home Audio Video Interoperability [HAVI] networks
    • 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/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/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • 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/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/43615Interfacing a Home Network, e.g. for connecting the client to a plurality of peripherals
    • 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/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/643Communication protocols

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Databases & Information Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses an information transfer method, an information transfer device, information transfer equipment, a server and a storage medium. The method is applied to a server, the server is respectively connected with a first client and a second client, and the method comprises the following steps: responding to a first message sent by a first client, and acquiring a target equipment list; feeding back the target equipment list to the first client; receiving a second client identifier and playing information sent by a first client, wherein the playing information comprises the playing progress of playing content output in the first client; and sending the playing information to the second client so that the second client can output the playing content matched with the first client according to the playing information. The second client continues to play the content played in the first client on the basis of the current playing progress of the first client, so that the playing data can be quickly transferred from the first client to the second client for playing, and the information transfer efficiency is improved.

Description

Information transfer method, device, equipment, server and storage medium
Technical Field
The embodiment of the invention relates to a multimedia playing control technology, in particular to an information transfer method, an information transfer device, information transfer equipment, a server and a storage medium.
Background
With the development of smart homes, users have more and more multimedia playing devices in their homes. For example, a plurality of Televisions (TVs), refrigerator with screens, cigarette makers with screens and the like can be arranged in a household. In the using process, when a user watches a certain video by using a living room television, the user needs to transfer to a bedroom to continue watching.
The current scheme is that a user starts a bedroom television, finds a video played by a living room television in the bedroom television, and adjusts the bedroom television according to the playing progress of the living room television.
However, the above process requires a user to operate many times, the speed of transferring the video from the living room television to the bedroom television is slow, and the video transferring efficiency is low.
Disclosure of Invention
The invention provides an information transfer method, an information transfer device, information transfer equipment, a server and a storage medium, and aims to improve the transfer efficiency of multimedia such as videos.
In a first aspect, an embodiment of the present invention provides an information transfer method, which is applied to a server, where the server is connected to a first client and a second client, and the method includes:
responding to a first message sent by a first client, and acquiring a target equipment list;
feeding back the target equipment list to the first client;
receiving a second client identifier and playing information sent by a first client, wherein the playing information comprises the playing progress of the playing content of the first client;
and sending the playing information to the second client so that the second client can output the playing content matched with the first client according to the playing information.
In a second aspect, an embodiment of the present invention further provides an information transfer method, which is applied to a first client, where the first client is connected to a server, and the method includes:
receiving a play content flow triggering instruction;
responding to a trigger instruction, and sending a first message to a server;
receiving a target equipment list fed back by a server;
acquiring a second client determined by the target user according to the target equipment list;
acquiring playing information of playing content, wherein the playing information comprises playing progress of the playing content;
and sending the second client identification and the playing information to the server to instruct the server to control the second client to output the playing content according to the playing information.
In a third aspect, an embodiment of the present invention further provides an information transfer method, which is applied to a second client, where the second client is connected to a server, and the method includes:
receiving playing information sent by a server;
determining playing data adaptive to the playing application according to the playing information;
and inputting the playing data into the playing application, and outputting the playing content through the playing application.
In a fourth aspect, an embodiment of the present invention further provides an information transfer device, which is applied to a server, where the server is connected to a first client and a second client, and the device includes:
the first message receiving module is used for receiving a first message sent by the first client;
the target equipment list acquisition module is used for responding to a first message sent by the first client to acquire a target equipment list;
the target equipment list feedback module is used for feeding back the target equipment list to the first client;
the playing information receiving module is used for receiving a second client identifier and playing information sent by the first client, wherein the playing information comprises the playing progress of the playing content of the first client;
and the playing information forwarding module is used for sending the playing information to the second client so that the second client can output the playing content matched with the first client according to the playing information.
In a fifth aspect, an embodiment of the present invention further provides an information transfer device, which is applied to a first client, where the first client is connected to a server, and the device includes:
the playing content circulation triggering module is used for receiving a playing content circulation triggering instruction;
the first message sending module is used for responding to the playing content flow triggering instruction and sending a first message to the server;
the target equipment list receiving module is used for receiving a target equipment list fed back by the server;
the second client determining module is used for acquiring a second client determined by the target user according to the target equipment list;
the playing progress acquiring module is used for acquiring playing information of playing content, and the playing information comprises the playing progress of the playing content;
and the playing information sending module is used for sending the second client identifier and the playing information to the server so as to instruct the server to control the second client to output the playing content according to the playing information.
In a sixth aspect, an embodiment of the present invention further provides an information transfer device, which is applied to a second client, where the second client is connected to a server, and the device includes:
the playing receiving module is used for receiving playing information sent by the server;
the playing data determining module is used for determining playing data adaptive to playing application according to the playing information;
and the multimedia playing module is used for inputting the playing data to the playing application and outputting playing contents through the playing application.
In a seventh aspect, an embodiment of the present invention further provides a server, including:
one or more processors;
a storage device for storing one or more programs,
when the one or more programs are executed by the one or more processors, the one or more processors implement the information flow method as shown in the first aspect.
In an eighth aspect, an embodiment of the present invention further provides an electronic device, where a first client or a second client operates, and the electronic device includes:
one or more processors;
a storage device for storing one or more programs,
when the one or more programs are executed by the one or more processors, the one or more processors implement the information flow method as shown in the second aspect and the third variation.
In a ninth aspect, the present invention further provides a storage medium containing computer-executable instructions, which when executed by a computer processor, are used to execute the information flow method according to the embodiments of the present application.
According to the information transfer method provided by the embodiment of the invention, a server is respectively connected with a first client and a second client for a long time, and the server acquires a target equipment list according to a first message sent by the first client; feeding back the target equipment list to the first client; receiving a second client identifier and playing information sent by a first client; and sending the playing information to the second client so that the second client can output the playing content matched with the first client according to the playing information. Compared with the current problems that a user needs to perform manual operation for multiple times and the video streaming efficiency is low, the information streaming method provided by the embodiment of the invention can respond to a first message sent by a first client in real time based on the long connection between the server and the first client, feed back a target equipment list to the first client, after the first client selects a second client from the first target equipment list, the first client sends the playing information of the playing content and the identification of the second client to the server, the server determines the second client according to the identification of the second client and sends the playing information of the playing content to the second client through the long connection with the second client so as to control the second client to obtain the playing progress consistent with that of the first client, and realize that the second client continues to output the playing content on the basis of the current playing progress of the first client, the playing content is quickly transferred from the first client to the second client for output, and the playing content transfer efficiency is improved.
Drawings
FIG. 1 is a system architecture diagram in an embodiment of the invention;
FIG. 2 is a flowchart of an information flow method according to a first embodiment of the present invention;
FIG. 3 is a flowchart of an information flow method according to a second embodiment of the present invention;
FIG. 4 is a flowchart of an information flow method according to a third embodiment of the present invention;
fig. 5 is a schematic structural diagram of an information transfer device in the fourth embodiment of the present invention;
fig. 6 is a schematic structural diagram of an information transfer device in a fifth embodiment of the present invention;
fig. 7 is a schematic structural diagram of a broadcast information streaming apparatus according to a sixth embodiment of the present invention;
fig. 8 is a schematic structural diagram of a server in a seventh embodiment of the present invention;
fig. 9 is a schematic structural diagram of an electronic device in an eighth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Fig. 1 is a system architecture diagram adopted by the information transfer method according to the embodiment of the present invention, and includes a server 1, a first client 2, and a second client 3. In the embodiment of the invention, the information to be transferred is multimedia information such as playing content, the server 1 is used for transferring the playing content output from the first client 2 to the second client 3, and a user does not need to select and correct the playing content and the playing progress of the playing content in the second client 3, so that the efficiency of transferring the playing content is improved. The server 1 may be an internet of things cloud server. The server 1 stores a plurality of intelligent terminals under a plurality of user names, and the intelligent terminals can be an intelligent television, a refrigerator with a screen, a cigarette machine with a screen and the like. Each intelligent terminal is provided with a client, and the client is used for establishing long connection with the server 1. The same user name can log in a plurality of clients, and the circulation of the playing content can be realized between different clients of the same user name after the user logs in under the scheduling of the server 1. The playing content can be multimedia, text or image content. In the embodiment of the application, the first client 2 and the second client 3 are used as clients logged in with user names of target users. It should be noted that the target user may also log in the target user name on other clients, and if the target user name logs in the third client and the fourth client respectively, the clients under the target user name are the first client 2, the second client 3, the third client, and the fourth client. For convenience of description, the playback content stream between the first client 2 and the second client 3 will be described as an example. The circulation method is specifically described by way of example.
Example one
Fig. 2 is a flowchart of an information transfer method according to an embodiment of the present invention, where this embodiment is applicable to a situation where a play content transfer is performed between a first client and a second client, and the method may be executed by a server, where the server is in long connection with the first client and the second client, respectively, and the method specifically includes the following steps:
step 110, in response to the first message sent by the first client, a target device list is obtained.
The first message carries a target user identifier of the first client login. And searching a target equipment list of the target user according to the target user identification carried by the first message. Optionally, the target device list is generated according to the client logged with the target user account.
Further, a target device list may be generated in the server along with a login operation of a target user in the client, and before step 110, the method further includes:
first login information of a first client is received, wherein the first login information comprises a user identifier and a login password of a target user. And determining a first login state of the target user at the first client according to the first login information.
Specifically, the first login information includes information including a user identifier and a login password of the target user, which is sent by the first client. When a user logs in a first client, the first client sends first login information to a server. The server determines a first login state of the target user at the first client according to the first login information.
And receiving second login information of the second client, wherein the second login information comprises information of a user identifier and a login password of the target user. And determining a second login state of the target user at the second client according to the second login information.
Specifically, the second login information includes information including a user identifier and a login password of the target user, which is sent by the second client. And when the user logs in the second client, the second client sends second login information to the server. And the server determines a second login state of the target user at the second client according to the second login information.
And determining a target equipment list of the target user according to the first login state and the second login state.
The server can acquire an equipment list in which the target user logs in, namely a target equipment list, by counting the login state. It should be noted that the client is an application program (APP) running in the intelligent terminal, and one device runs one client. The client may represent a smart terminal in which the client is installed. The target device list may display the name of the intelligent terminal, and may also display the name named by the user for the client in advance. The names that the user names the client in advance may be "living room tv", "bedroom tv", etc. Optionally, the target device list may also record the client on which the target user logs.
Correspondingly, the obtaining of the target device list includes: acquiring a target user logged in by a first client; and acquiring a target device list of the target user.
If the target equipment list of the target user is generated in advance, when the first message is received, the server acquires the target user logged in by the first client according to the first message, and locally reads the target equipment list of the target user.
Optionally, the server is connected to the first client and the second client respectively through a Message Queue Telemetry Transport (MQTT).
The server establishes long connection with first equipment where the first client is located through the MQTT. And establishing long connection with second equipment where the second client side is located through the MQTT.
And step 120, feeding back the target equipment list to the first client.
And sending the target equipment list to the first client.
Step 130, receiving a second client identifier and playing information sent by the first client, where the playing information includes a playing progress of the first client playing content.
The second client is identified as a certain device (or client) selected by the target user according to the target device list, and the device is loaded with the second client (or the client is the second client). The playing information represents the playing content identification and the playing progress of the playing content in the first client. For example, the first client is a living room television, and the playing information includes "movie a" and "00: 30: 00". The playing information indicates that the living room television currently plays the movie A, and the playing progress is 00:30: 00.
The playing content includes an audio stream or a video stream. Wherein the audio stream comprises audio for carrying multimedia and the video stream comprises video for carrying multimedia. Illustratively, for a movie played by a user, the audio stream carries the audio of the movie, the video stream carries the images of the movie, and the images may include subtitles. For songs played by a user, the audio stream carries the audio of the song and the video stream carries the subtitles of the song.
Step 140, sending the playing information to the second client, so that the second client can output the playing content matched with the first client according to the playing information.
And determining a second client according to the second client identifier, and sending the playing information to the second client.
According to the information transfer method provided by the embodiment of the invention, a server is respectively connected with a first client and a second client for a long time, and the server acquires a target equipment list according to a first message sent by the first client; feeding back the target equipment list to the first client; receiving a second client identifier and playing information sent by a first client; and sending the playing information to the second client so that the second client can output the playing content matched with the first client according to the playing information. Compared with the current problems that a user needs to perform manual operation for multiple times and the video streaming efficiency is low, the information streaming method provided by the embodiment of the invention can respond to a first message sent by a first client in real time based on the long connection between the server and the first client, feed back a target equipment list to the first client, after the first client selects a second client from the first target equipment list, the first client sends the playing information of the playing content and the identification of the second client to the server, the server determines the second client according to the identification of the second client and sends the playing information of the playing content to the second client through the long connection with the second client so as to control the second client to obtain the playing progress consistent with that of the first client, and realize that the second client continues to output the playing content on the basis of the current playing progress of the first client, the playing content is quickly transferred from the first client to the second client for output, and the playing content transfer efficiency is improved. By utilizing the long connection characteristic between the server and the client, the playing information of the playing content can be quickly sent to the screen projection equipment where the second client is located, and the reliability of the message reaching the screen projection equipment is ensured while the timeliness is ensured.
Example two
Fig. 3 is a flowchart of an information transfer method according to a second embodiment of the present invention, where this embodiment is applicable to a situation where a play content transfer is performed between a first client and a second client, and the method may be executed by the first client, where the first client is connected to a server, and the method specifically includes the following steps:
step 210, receiving a trigger instruction for playing the content stream.
The user can input a play content flow triggering instruction at a first multimedia play interface in the multimedia application. For example, a play content flow triggering instruction is input in a multimedia play page through a button such as a screen-projection button.
Further, before the first multimedia playing interface receives a play content stream triggering instruction input by a target user, the method further includes:
and sending first login information to the server, wherein the first login information is used for recording a first login state of a target user in the server, and the first login information comprises information of a user identifier and a login password of the target user.
After a user logs in a first client, the first client sends first login information to a server.
Optionally, the first client is connected with the internet of things cloud server through a message queue telemetry transmission protocol.
Step 220, in response to the trigger instruction, sending a first message to the server.
The first client may add the user identification of the target user to the first message, and send the first message to the server.
And step 230, receiving the target device list fed back by the server.
And step 240, acquiring a second client determined by the target user according to the target device list.
And outputting the target device list. And receiving a second client selected by the user in the target device list.
Step 250, obtaining the playing information of the playing content, wherein the playing information comprises the playing progress of the playing content.
And acquiring the playing progress of the playing content in the multimedia application. And taking the playing progress and the playing content identification as playing information.
And step 260, sending the second client identifier and the playing information to the server so as to instruct the server to control the second client to output the playing content according to the playing information.
According to the information transfer method provided by the embodiment of the invention, the first client is connected with the server, receives the play content transfer triggering instruction, sends the first message to the server, acquires and outputs the target equipment list through the server, and sends the play information of the play content to the server according to the selection of the second client by the user, so that the server controls the second client to output the play content according to the play information. The first client can provide a multimedia fast-flow interface for a user, and the user can select a second client for receiving the flow of the playing content in the target equipment list after the input playing content flow triggering instruction, so that the second client can be selected fast, and the usability is improved.
EXAMPLE III
Fig. 4 is a flowchart of an information transfer method provided in the third embodiment of the present invention, where this embodiment is applicable to a situation where a play content transfer is performed between a first client and a second client, and the method may be executed by the second client, where the second client is connected to a server, and the method specifically includes the following steps:
and step 310, receiving the playing information sent by the server.
The second client is connected with the server, so that the playing information sent by the server can be received in real time.
Further, before receiving the playing information sent by the server, the method further includes:
and sending second login information to the server, wherein the second login information is used for recording a second login state of the target user in the server, and the second login information comprises information of the user identifier and the login password of the target user.
Optionally, the second client is connected with the internet of things cloud server through a message queue telemetry transmission protocol.
And step 320, determining the playing data adapted to the playing application according to the playing information.
The second client is used for receiving the playing information sent by the server and converting the playing information into playing data which can be identified by the playing application.
The playback application may be a locally installed playback application. The encoding type of the playback data may be determined according to the playback application so that the encoded playback data can be recognized and output by the playback application.
Optionally, a second multimedia playing interface of the playing application is pulled up; inputting the playing data to a second multimedia playing interface; and outputting the playing content in the second multimedia playing interface.
To further reduce user operations, automation is improved. The second multimedia playback interface of the playback application can be pulled up. The second multimedia playing interface is used for playing the playing content. After the second multimedia playing interface of the playing application is pulled up, the playing data obtained in step 320 is input to the playing application, so that the playing content is output in the second multimedia playing interface.
Step 330, inputting the playing data to the playing application, and outputting the playing content through the playing application.
For example, clients may be installed in the intelligent terminal, and target users may be logged on each client. The intelligent terminal can comprise an intelligent television, a refrigerator with a screen, a cigarette machine with a screen and the like which are positioned in different areas. The user can push the playing content in the smart television to a second client installed on the smart screen in the cigarette lighter with the screen through a first client in the smart television. The second client converts the playing information into playing data, and the playing data is output through a screen with a cigarette screen machine, so that the fast circulation of the playing content in the family is realized.
According to the information transfer method provided by the embodiment of the invention, the second client is connected with the server, and can receive the playing information sent by the server in real time and determine the playing data adaptive to the playing application according to the playing information; the playing data is input to the playing application, the playing content is output through the playing application, the second client can provide the playing data for different playing applications, the effect of outputting the playing data is achieved, and the stability of outputting the playing content is improved.
Example four
Fig. 5 is a schematic structural diagram of an information transfer device according to a fourth embodiment of the present invention, where this embodiment is applicable to a situation where a play content is transferred between a first client and a second client, and the device may be executed by a server, and the server is connected to the first client and the second client, respectively, where the device specifically includes: a first message receiving module 410, a target device list obtaining module 420, a target device list feedback module 430, a playing information receiving module 440, and a playing information forwarding module 450.
A first message receiving module 410, configured to receive a first message sent by a first client;
a target device list obtaining module 420, configured to obtain a target device list in response to a first message sent by a first client;
a target device list feedback module 430, configured to feed back a target device list to the first client;
the playing information receiving module 440 is configured to receive a second client identifier and playing information sent by a first client, where the playing information includes a playing progress of playing content output by the first client;
the playing information forwarding module 450 is configured to send the playing information to the second client, so that the second client outputs the playing content matched with the first client according to the playing information.
On the basis of the above embodiment, the system further comprises a login response module. The login response module responds to:
receiving first login information of a first client, wherein the first login information comprises information of a user identifier and a login password of a target user;
determining a first login state of a target user at a first client according to the first login information;
receiving second login information of a second client, wherein the second login information comprises information of a user identifier and a login password of a target user;
determining a second login state of the target user at the second client according to the second login information;
determining a target equipment list of a target user according to the first login state and the second login state;
accordingly, the target device list obtaining module 420 is configured to:
acquiring a target user logged in by a first client;
and acquiring a target device list of the target user.
In the information transfer device provided in the embodiment of the present invention, the first message receiving module 410 is configured to receive a first message sent by a first client; a target device list obtaining module 420, configured to obtain a target device list in response to a first message sent by a first client; a target device list feedback module 430, configured to feed back a target device list to the first client; the playing information receiving module 440 is configured to receive a second client identifier and playing information sent by a first client, where the playing information indicates a playing progress of playing content output by the first client; the playing information forwarding module 450 is configured to send the playing information to the second client, so that the second client outputs the playing content matched with the first client according to the playing information. Compared with the current problems that a user needs to perform manual operation for multiple times and the video streaming efficiency is low, the information streaming device provided by the embodiment of the invention can respond to a first message sent by a first client in real time based on the long connection between the server and the first client, feed back a target equipment list to the first client, after the first client selects a second client from the first target equipment list, the first client sends the playing information of the playing content and the identification of the second client to the server, the server determines the second client according to the identification of the second client and sends the playing information of the playing content to the second client through the long connection with the second client so as to control the second client to obtain the playing progress consistent with that of the first client, and realize that the second client continues to output the playing content on the basis of the current playing progress of the first client, the playing content is quickly transferred from the first client to the second client for output, and the playing content transfer efficiency is improved. By utilizing the long connection characteristic between the server and the client, the playing information of the playing content can be quickly sent to the screen projection equipment where the second client is located, and the reliability of the message reaching the screen projection equipment is ensured while the timeliness is ensured.
EXAMPLE five
Fig. 6 is a schematic structural diagram of an information transfer device according to a fifth embodiment of the present invention, where this embodiment is applicable to a situation where a play content transfer is performed between a first client and a second client, and the device may be executed by the first client, where the first client is connected to a server, and the device specifically includes: a playing content circulation triggering module 510, a first message sending module 520, a target device list receiving module 530, a second client determining module 540, a playing progress obtaining module 550, and a playing information sending module 560.
A play content flow triggering module 510, configured to receive a play content flow triggering instruction;
a first message sending module 520, configured to send a first message to the server in response to the play content stream trigger instruction;
a target device list receiving module 530, configured to receive a target device list fed back by the server;
a second client determining module 540, configured to obtain a second client determined by the target user according to the target device list;
a playing progress acquiring module 550, configured to acquire playing information of the playing content, where the playing information includes a playing progress of the playing content;
and a playing information sending module 560, configured to send the identifier of the second client and the playing information to the server, so as to instruct the server to control the second client to output the playing content according to the playing information.
On the basis of the above embodiment, the system further comprises a first login module. The first login module is used for: and sending first login information to the server, wherein the first login information is used for recording a first login state of a target user in the server, and the first login information comprises information of a user identifier and a login password of the target user.
The information transfer apparatus provided in the embodiment of the present invention includes a play content transfer triggering module 510, configured to receive a play content transfer triggering instruction; a first message sending module 520, configured to send a first message to the server in response to the play content stream trigger instruction; a target device list receiving module 530, configured to receive a target device list fed back by the server; a second client determining module 540, configured to obtain a second client determined by the target user according to the target device list; a playing progress acquiring module 550, configured to acquire playing information of the playing content, where the playing information includes a playing progress of the playing content; and a playing information sending module 560, configured to send the identifier of the second client and the playing information to the server, so as to instruct the server to control the second client to output the playing content according to the playing information. The first client can provide a multimedia fast-flow interface for a user, and the user can select a second client for receiving the flow of the playing content in the target equipment list after the input playing content flow triggering instruction, so that the second client can be selected fast, and the usability is improved.
EXAMPLE six
Fig. 7 is a schematic structural diagram of an information transfer device according to a sixth embodiment of the present invention, where this embodiment is applicable to a situation where a play content transfer is performed between a first client and a second client, and the device may be executed by the second client, where the second client is connected to a server, and the device specifically includes: a play receiving module 610, a play data determining module 620, and a multimedia playing module 630.
A playing receiving module 610, configured to receive playing information sent by a server;
a playing data determining module 620, configured to determine, according to the playing information, playing data adapted to the playing application;
the multimedia playing module 630 is configured to input playing data to a playing application, and output playing content through the playing application.
On the basis of the above embodiment, the multimedia playing module 630 is configured to:
pulling up a second multimedia playing interface of the playing application;
inputting the playing data to a second multimedia playing interface;
and outputting the playing content in the second multimedia playing interface.
On the basis of the above embodiment, the system further comprises a second login module. The second login module is used for: and sending second login information to the server, wherein the second login information is used for recording a second login state of the target user in the server, and the second login information comprises information of the user identifier and the login password of the target user.
The information transfer device provided by the embodiment of the present invention includes a play receiving module 610, configured to receive play information sent by a server; a playing data determining module 620, configured to determine, according to the playing information, playing data adapted to the playing application; the multimedia playing module 630 is configured to input playing data to a playing application, and output playing content through the playing application. The second client can provide playing data for different playing applications, so that the effect of playing the playing data is achieved, and the stability of multimedia playing is improved.
The information transfer device provided by the embodiment of the invention can execute the information transfer method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
EXAMPLE seven
Fig. 8 is a schematic structural diagram of a server according to a seventh embodiment of the present invention, as shown in fig. 8, the server includes a processor 70, a memory 71, an input device 72, and an output device 73; the number of the processors 70 in the server may be one or more, and one processor 70 is taken as an example in fig. 8; the processor 70, the memory 71, the input device 72 and the output device 73 in the server may be connected by a bus or other means, and the bus connection is exemplified in fig. 8.
The memory 71 serves as a computer-readable storage medium, and can be used for storing software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the information flow method in the embodiment of the present invention (for example, the first message receiving module 410, the target device list obtaining module 420, the target device list feedback module 430, the playing information receiving module 440, and the playing information forwarding module 45 in the information flow apparatus). The processor 70 executes various functional applications of the server and data processing by running software programs, instructions and modules stored in the memory 71, that is, implements the above-described information flow method.
The memory 71 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory 71 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 non-volatile solid state storage device. In some examples, memory 71 may further include memory located remotely from processor 70, which may be connected to a server over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 72 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the server. The output device 73 may include a display device such as a display screen.
Example eight
Fig. 9 is a schematic structural diagram of an electronic apparatus according to an eighth embodiment of the present invention, as shown in fig. 9, the electronic apparatus includes a processor 80, a memory 81, an input device 82, and an output device 83; the number of the processors 80 in the electronic device may be one or more, and one processor 80 is taken as an example in fig. 9; the processor 80, the memory 81, the input device 82 and the output device 83 in the electronic apparatus may be connected by a bus or other means, and the connection by the bus is exemplified in fig. 9.
The memory 81 serves as a computer-readable storage medium, and can be used for storing software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the information flow method in the embodiment of the present invention (for example, the play content flow triggering module 510, the first message sending module 520, the target device list receiving module 530, the second client determining module 540, the play progress acquiring module 550, the play information sending module 560 in the information flow device when applied to the first client, the play receiving module 610, the play data determining module 620, and the multimedia playing module 630 in the information flow device when applied to the second client). The processor 80 executes various functional applications and data processing of the electronic device by executing software programs, instructions and modules stored in the memory 81, that is, implements the above-described information flow method.
The memory 81 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory 81 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 non-volatile solid state storage device. In some examples, the memory 81 may further include memory located remotely from the processor 80, which may be connected to the electronic device through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 82 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function controls of the electronic device. The output device 83 may include a display device such as a display screen.
Example nine
An embodiment of the present invention further provides a storage medium containing computer-executable instructions, which when executed by a computer processor, perform an information flow method, where the method is applied to a server, and the method includes:
responding to a first message sent by the first client, and acquiring a target equipment list;
feeding back the target equipment list to the first client;
receiving a second client identifier and playing information sent by the first client, wherein the playing information comprises the playing progress of the playing content of the first client;
and sending the playing information to the second client so that the second client can output the playing content matched with the first client according to the playing information.
On the basis of the above embodiment, before acquiring the target device list in response to the first message sent by the first client, the method further includes:
receiving first login information of a first client, wherein the first login information comprises a user identifier and a login password of a target user;
determining a first login state of the target user at a first client according to the first login information;
receiving second login information of a second client, wherein the second login information comprises information of a user identifier and a login password of a target user;
determining a second login state of the target user at a second client according to the second login information;
determining a target equipment list of the target user according to the first login state and the second login state;
correspondingly, the obtaining of the target device list includes:
acquiring a target user logged in by a first client;
and acquiring a target device list of the target user.
On the basis of the above embodiment, the server is connected to the first client and the second client, and includes:
the server is respectively connected with the first client and the second client through a message queue telemetry transmission protocol.
When the method is applied to the first client, the method comprises the following steps:
receiving a play content flow triggering instruction;
responding to the trigger instruction, and sending a first message to the server;
receiving a target equipment list fed back by the server;
acquiring a second client determined by the target user according to the target equipment list;
acquiring playing information of playing content, wherein the playing information comprises playing progress of the playing content;
and sending the second client identification and the playing information to the server to instruct the server to control the second client to output the playing content according to the playing information.
On the basis of the above embodiment, before receiving the play content stream trigger instruction, the method further includes:
and sending first login information to the server, wherein the first login information is used for recording a first login state of a target user in the server, and the first login information comprises information of a user identifier and a login password of the target user.
On the basis of the above embodiment, the first client is connected to the server, and includes:
the first client side is connected with the Internet of things cloud server through a message queue telemetry transmission protocol.
When the method is applied to the second client, the method comprises the following steps:
receiving playing information sent by a server;
determining playing data adaptive to the playing application according to the playing information;
and inputting the playing data into the playing application, and outputting the playing content through the playing application.
On the basis of the above embodiment, inputting the playing data to the playing application, and outputting the playing content through the playing application includes:
pulling up a second multimedia playing interface of the playing application;
inputting the playing data to a second multimedia playing interface;
and outputting the playing content in the second multimedia playing interface.
On the basis of the above embodiment, before receiving the playing information sent by the server, the method further includes:
and sending second login information to the server, wherein the second login information is used for recording a second login state of the target user in the server, and the second login information comprises information of a user identifier and a login password of the target user.
Of course, the storage medium provided by the embodiment of the present invention contains computer-executable instructions, and the computer-executable instructions are not limited to the above method operations, and may also perform related operations in the information flow method provided by any embodiment of the present invention.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods according to the embodiments of the present invention.
It should be noted that, in the embodiment of the information transfer device, each unit and each module included in the embodiment are only divided according to functional logic, but are not limited to the above division as long as the corresponding function can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (15)

1. An information transfer method is applied to a server, wherein the server is respectively connected with a first client and a second client, and the method comprises the following steps:
responding to a first message sent by the first client, and acquiring a target equipment list;
feeding back the target equipment list to the first client;
receiving a second client identifier and playing information sent by the first client, wherein the playing information comprises the playing progress of the playing content of the first client;
and sending the playing information to the second client so that the second client can output the playing content matched with the first client according to the playing information.
2. The method of claim 1, further comprising, before obtaining the list of target devices in response to the first message sent by the first client:
receiving first login information of a first client, wherein the first login information comprises a user identifier and a login password of a target user;
determining a first login state of the target user at a first client according to the first login information;
receiving second login information of a second client, wherein the second login information comprises information of a user identifier and a login password of a target user;
determining a second login state of the target user at a second client according to the second login information;
determining a target equipment list of the target user according to the first login state and the second login state;
correspondingly, the obtaining the target device list includes:
acquiring a target user logged in by the first client;
and acquiring a target equipment list of the target user.
3. The method of claim 1, wherein the server is connected to the first client and the second client, and comprises:
the server is respectively connected with the first client and the second client through a message queue telemetry transmission protocol.
4. An information transfer method is applied to a first client, and the first client is connected with a server manager, and the method comprises the following steps:
receiving a play content flow triggering instruction;
responding to the trigger instruction, and sending a first message to the server;
receiving a target equipment list fed back by the server;
acquiring a second client determined by the target user according to the target equipment list;
acquiring playing information of playing content, wherein the playing information comprises playing progress of the playing content;
and sending the second client identification and the playing information to the server to instruct the server to control the second client to output the playing content according to the playing information.
5. The method of claim 4, further comprising, before receiving the play content stream trigger instruction:
and sending first login information to the server, wherein the first login information is used for recording a first login state of a target user in the server, and the first login information comprises information of a user identifier and a login password of the target user.
6. The method of claim 4, wherein the first client connects with the server, and comprises:
the first client side is connected with the Internet of things cloud server through a message queue telemetry transmission protocol.
7. An information transfer method is applied to a second client, and the second client is connected with a server manager, and the method comprises the following steps:
receiving the playing information sent by the server;
determining playing data adaptive to playing application according to the playing information;
and inputting the playing data into the playing application, and outputting playing contents through the playing application.
8. The method of claim 7, wherein inputting the playback data to the playback application and outputting the playback content through the playback application comprises:
pulling up a second multimedia playing interface of the playing application;
inputting the playing data to the second multimedia playing interface;
and outputting the playing content in the second multimedia playing interface.
9. The method according to claim 7, further comprising, before receiving the playing information sent by the server:
and sending second login information to the server, wherein the second login information is used for recording a second login state of the target user in the server, and the second login information comprises information of a user identifier and a login password of the target user.
10. An information transfer device, which is applied to a server, wherein the server is respectively connected with a first client and a second client, the device comprises:
the first message receiving module is used for receiving a first message sent by the first client;
the target equipment list acquisition module is used for responding to a first message sent by the first client to acquire a target equipment list;
the target equipment list feedback module is used for feeding back the target equipment list to the first client;
the playing information receiving module is used for receiving a second client identifier and playing information sent by the first client, wherein the playing information comprises the playing progress of the playing content of the first client;
and the playing information forwarding module is used for sending the playing information to the second client so that the second client can output the playing content matched with the first client according to the playing information.
11. An information transfer device, applied to a first client, the first client being connected to a server, the device comprising:
the playing content circulation triggering module is used for receiving a playing content circulation triggering instruction;
the first message sending module is used for responding to the playing content flow triggering instruction and sending a first message to the server;
the target equipment list receiving module is used for receiving a target equipment list fed back by the server;
the second client determining module is used for acquiring a second client determined by the target user according to the target equipment list;
the playing progress acquiring module is used for acquiring playing information of playing content, and the playing information comprises the playing progress of the playing content;
and the playing information sending module is used for sending the second client identifier and the playing information to the server so as to instruct the server to control the second client to output the playing content according to the playing information.
12. An information transfer device, applied to a second client, the second client being connected to a server, the device comprising:
the playing receiving module is used for receiving playing information sent by the server;
the playing data determining module is used for determining playing data adaptive to playing application according to the playing information;
and the multimedia playing module is used for inputting the playing data to the playing application and outputting playing contents through the playing application.
13. A server, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the information flow method of any of claims 1-3.
14. An electronic device, having a first client or a second client operating thereon, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the information flow method of any of claims 4-9.
15. A storage medium containing computer-executable instructions for performing the information flow method of any one of claims 1-9 when executed by a computer processor.
CN202110432307.9A 2021-04-21 2021-04-21 Information transfer method, device, equipment, server and storage medium Pending CN113132194A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110432307.9A CN113132194A (en) 2021-04-21 2021-04-21 Information transfer method, device, equipment, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110432307.9A CN113132194A (en) 2021-04-21 2021-04-21 Information transfer method, device, equipment, server and storage medium

Publications (1)

Publication Number Publication Date
CN113132194A true CN113132194A (en) 2021-07-16

Family

ID=76778802

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110432307.9A Pending CN113132194A (en) 2021-04-21 2021-04-21 Information transfer method, device, equipment, server and storage medium

Country Status (1)

Country Link
CN (1) CN113132194A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113873317A (en) * 2021-09-17 2021-12-31 深圳Tcl新技术有限公司 Content playing method and device, electronic equipment and computer readable storage medium
CN113949739A (en) * 2021-09-29 2022-01-18 青岛海尔科技有限公司 Cross-device playing method and device, electronic device and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103856607A (en) * 2012-11-29 2014-06-11 中国电信股份有限公司 Method and system for delivering video on mobile phone terminal to video play device for playing
CN104092654A (en) * 2014-01-22 2014-10-08 腾讯科技(深圳)有限公司 Media playing method, client and system
CN105872628A (en) * 2015-12-29 2016-08-17 乐视网信息技术(北京)股份有限公司 Multi-screen switching method, server and terminal
CN110381057A (en) * 2019-07-17 2019-10-25 上海庆科信息技术有限公司 Processing method, device, storage medium, processor and the system of communication connection
CN110730373A (en) * 2019-12-18 2020-01-24 南京创维信息技术研究院有限公司 Method and system for pushing videos across screens among devices with screens
CN111800498A (en) * 2020-06-30 2020-10-20 联想(北京)有限公司 Data transmission method and device
CN111866567A (en) * 2020-07-15 2020-10-30 百度在线网络技术(北京)有限公司 Multimedia playing method, device, equipment and storage medium
CN112671697A (en) * 2019-10-16 2021-04-16 比亚迪股份有限公司 Data processing method, device and system of comprehensive monitoring system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103856607A (en) * 2012-11-29 2014-06-11 中国电信股份有限公司 Method and system for delivering video on mobile phone terminal to video play device for playing
CN104092654A (en) * 2014-01-22 2014-10-08 腾讯科技(深圳)有限公司 Media playing method, client and system
US20160286264A1 (en) * 2014-01-22 2016-09-29 Tencent Technology (Shenzhen) Company Limited Media playback method, client and system
CN105872628A (en) * 2015-12-29 2016-08-17 乐视网信息技术(北京)股份有限公司 Multi-screen switching method, server and terminal
CN110381057A (en) * 2019-07-17 2019-10-25 上海庆科信息技术有限公司 Processing method, device, storage medium, processor and the system of communication connection
CN112671697A (en) * 2019-10-16 2021-04-16 比亚迪股份有限公司 Data processing method, device and system of comprehensive monitoring system
CN110730373A (en) * 2019-12-18 2020-01-24 南京创维信息技术研究院有限公司 Method and system for pushing videos across screens among devices with screens
CN111800498A (en) * 2020-06-30 2020-10-20 联想(北京)有限公司 Data transmission method and device
CN111866567A (en) * 2020-07-15 2020-10-30 百度在线网络技术(北京)有限公司 Multimedia playing method, device, equipment and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113873317A (en) * 2021-09-17 2021-12-31 深圳Tcl新技术有限公司 Content playing method and device, electronic equipment and computer readable storage medium
CN113949739A (en) * 2021-09-29 2022-01-18 青岛海尔科技有限公司 Cross-device playing method and device, electronic device and storage medium
CN113949739B (en) * 2021-09-29 2024-01-23 青岛海尔科技有限公司 Cross-device playing method and device, electronic device and storage medium

Similar Documents

Publication Publication Date Title
CN101159577B (en) Apparatus for receiving adaptive broadcast signal and method thereof
KR102040623B1 (en) Apparatus and method for processing an interactive service
US9451337B2 (en) Media synchronization within home network using set-top box as gateway
US11516529B2 (en) Control system for playing a data stream on a receiving device
KR20150073987A (en) Apparatus and method for processing an interactive service
JP2013066160A (en) Receiver
CN106464933B (en) Apparatus and method for remotely controlling rendering of multimedia content
WO2015035742A1 (en) Method, terminal and system for audio and video sharing of digital television
WO2013127346A1 (en) Set top box interaction method and associated set top box and system
US11089073B2 (en) Method and device for sharing multimedia content
US20110302603A1 (en) Content output system, content output method, program, terminal device, and output device
CN113132194A (en) Information transfer method, device, equipment, server and storage medium
US9560389B2 (en) Network-based content storage
US11962818B2 (en) Systems and methods for optimizing a set-top box to retrieve missed content
CN114040232A (en) Screen projection system, method, electronic device and storage medium
JP2012531777A (en) Packet-based video content analysis
CN111064980A (en) Cloud-based audio and video playing control method and system
KR101221473B1 (en) Meta data information providing server, client apparatus, method for providing meta data information, and method for providing contents
EP3160101B1 (en) Multi-media resource management method, cloud server and electronic device
CN109889871B (en) Digital television live broadcasting method, device and system based on network playing equipment
US20140258464A1 (en) System and method for electronic device control
CA2944985C (en) Receiver, transmitter, data communication method, and data processing method
US9197937B1 (en) Automatic on-demand navigation based on meta-data broadcast with media content
CN112532719B (en) Information stream pushing method, device, equipment and computer readable storage medium
CN111654753B (en) Application program starting method and display device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210716