+

CN107690085B - Data sharing method and device - Google Patents

Data sharing method and device Download PDF

Info

Publication number
CN107690085B
CN107690085B CN201710279852.2A CN201710279852A CN107690085B CN 107690085 B CN107690085 B CN 107690085B CN 201710279852 A CN201710279852 A CN 201710279852A CN 107690085 B CN107690085 B CN 107690085B
Authority
CN
China
Prior art keywords
application
account
flow data
target flow
live streaming
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
CN201710279852.2A
Other languages
Chinese (zh)
Other versions
CN107690085A (en
Inventor
陈尔晓
姚昊东
曾鹏云
朱章厚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201710279852.2A priority Critical patent/CN107690085B/en
Publication of CN107690085A publication Critical patent/CN107690085A/en
Priority to PCT/CN2018/084209 priority patent/WO2018196733A1/en
Application granted granted Critical
Publication of CN107690085B publication Critical patent/CN107690085B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/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
    • 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
    • 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/435Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream
    • 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/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/8146Monomedia components thereof involving graphical data, e.g. 3D object, 2D graphics
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Graphics (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a kind of data sharing method and devices.Wherein, it initiates to instruct this method comprises: obtaining the execution live streaming initiation in the client of the first application of the first account and operating live streaming generated, wherein, live streaming is initiated to carry the live streaming control information that the target flow data to be broadcast live with the first account matches in instruction;Instruction is initiated in response live streaming, obtains image code by the server of the first application, wherein image code is for identifying the first account target flow data to be broadcast live;The invitation card with target stream Data Matching is generated using image code and live streaming control information;Card sharing to the second application will be invited to show, to invite the second account in the second application using the playing process for inviting card to share the target flow data that the first account is broadcast live.The present invention solves the technical problem that data sharing efficiency is lower present in current data sharing method.

Description

Data sharing method and device
Technical field
The present invention relates to computer fields, in particular to a kind of data sharing method and device.
Background technique
Currently, shared to the content of media stream data in order to realize in the prior art, often generate and media stream data Content corresponding access link, and directly access link is shared and arrives community space, so that good friend is clicking community space In after shown access link, link the corresponding page by jumping to above-mentioned access, can realize to institute in the above-mentioned page The sharing of the media stream data to be shared plays.
That is, being by way of sharing access link, to invite good friend to watch above-mentioned access chain in the related technology Connect the media stream data in the corresponding page.However, by way of accessing media stream data, being increased due to this access link The access threshold for having added link to jump, may make many users in order to avoid unnecessary waiting, and abandon data sharing, from And the problem for causing the sharing efficiency of media stream data lower.
For above-mentioned problem, currently no effective solution has been proposed.
Summary of the invention
The embodiment of the invention provides a kind of data sharing method and devices, at least to solve current data sharing method institute The lower technical problem of existing data sharing efficiency.
According to an aspect of an embodiment of the present invention, a kind of data sharing method is provided, comprising: obtain the first account and exist Live streaming initiation operation live streaming generated is executed in the client of first application and initiates instruction, wherein above-mentioned live streaming is initiated to instruct In carry the live streaming control information that the target flow data to be broadcast live with above-mentioned first account matches;Respond above-mentioned live streaming hair Instruction is played, the server applied by above-mentioned first obtains image code, wherein above-mentioned image code is for identifying above-mentioned first account The above-mentioned target flow data to be broadcast live;It is generated and above-mentioned target flow data using above-mentioned image code and above-mentioned live streaming control information Matched invitation card;Above-mentioned invitation card is shared to the second application and is shown, to invite the second account in above-mentioned second application Number share the playing process for the above-mentioned target flow data that above-mentioned first account is broadcast live using above-mentioned invitation card.
According to another aspect of an embodiment of the present invention, a kind of data sharing method is additionally provided, comprising: obtain the first application The live streaming that the middle client using the first account is sent is requested, wherein is carried and above-mentioned first account in above-mentioned live streaming request The live streaming that the target flow data to be broadcast live matches controls information;Respond above-mentioned live streaming request image code, wherein above-mentioned Image code is for identifying the above-mentioned first account above-mentioned target flow data to be broadcast live;Above-mentioned image code is sent to above-mentioned first The client of above-mentioned first account is used, in generate the invitation card with above-mentioned target stream Data Matching;Acquisition will be above-mentioned Card is invited to share to the sharing request of the second application, wherein to carry above-mentioned invitation card and above-mentioned second in above-mentioned sharing request The application identities of application;The second account obtained in above-mentioned second application executes access operation visit generated to above-mentioned invitation card It asks request, and responds above-mentioned access request and share above-mentioned first using the client of above-mentioned second account into above-mentioned second application The playing process for the above-mentioned target flow data that account is broadcast live.
Another aspect according to an embodiment of the present invention additionally provides a kind of data sharing device, comprising: first obtains list Member is initiated to instruct for obtaining the execution live streaming initiation operation live streaming generated in the client of the first application of the first account, Wherein, above-mentioned live streaming is initiated to carry the live streaming control that the target flow data to be broadcast live with above-mentioned first account matches in instruction Information processed;Second acquisition unit initiates instruction for responding above-mentioned live streaming, and the server applied by above-mentioned first obtains image Code, wherein above-mentioned image code is for identifying the above-mentioned first account above-mentioned target flow data to be broadcast live;Generation unit is used for The invitation card with above-mentioned target stream Data Matching is generated using above-mentioned image code and above-mentioned live streaming control information;Sharing unit is used It is shown in sharing above-mentioned invitation card to the second application, to invite the second account in above-mentioned second application to invite using above-mentioned It please block the playing process for sharing the above-mentioned target flow data that above-mentioned first account is broadcast live.
Another aspect according to an embodiment of the present invention additionally provides a kind of data sharing device, comprising: first obtains list Member is requested for obtaining the live streaming that the client in the first application using the first account is sent, wherein is taken in above-mentioned live streaming request Information is controlled with the live streaming that the target flow data to be broadcast live with above-mentioned first account matches;Second acquisition unit is used for Respond above-mentioned live streaming request image code, wherein above-mentioned image code for identify above-mentioned first account to be broadcast live it is above-mentioned Target flow data;First transmission unit uses above-mentioned first account for above-mentioned image code to be sent in above-mentioned first application Client, to generate and the invitation card of above-mentioned target stream Data Matching;Third acquiring unit blocks above-mentioned invitation for obtaining Share to second application sharing request, wherein carried in above-mentioned sharing request above-mentioned invitation card and it is above-mentioned second application Application identities;Sharing unit executes access operation institute to above-mentioned invitation card for obtaining the second account in above-mentioned second application The access request of generation, and respond above-mentioned access request and shared into above-mentioned second application using the client of above-mentioned second account The playing process for the above-mentioned target flow data that above-mentioned first account is broadcast live.
In embodiments of the present invention, the execution live streaming initiation operation of the first account is obtained in the client of the first application to give birth to At live streaming initiate instruction after, respond the live streaming initiate instruction by first application server obtain for identify the first account The image code of number target flow data to be broadcast live, then, initiate to carry in instruction using above-mentioned image code and live streaming with The live streaming that target flow data matches controls information, generates the invitation card with target stream Data Matching, and the invitation card is shared It is shown to the second application, the mesh sharing the first account to invite the second account in the second application to block using invitation and being broadcast live Mark the playing process of flow data.Pass through what sharing was generated according to the live streaming control information of image code and target flow data to realize Card is invited, to invite the second account in the second application to carry out direct viewing target flow data, wherein not only may be used in above-mentioned invitation card To be intuitive to see live streaming control information relevant to the target flow data of current live, and live streaming is entered by image code, The operating procedure of data sharing will be greatly simplified, reduce the waiting time during sharing, improves data sharing effect to reach The effect of rate, and then overcome the problem that data sharing efficiency is lower present in the relevant technologies.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes part of this application, this hair Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is a kind of application environment schematic diagram of optional data sharing method according to an embodiment of the present invention;
Fig. 2 is a kind of flow chart of optional data sharing method according to an embodiment of the present invention;
Fig. 3 is the flow chart of another optional data sharing method according to an embodiment of the present invention;
Fig. 4 is a kind of schematic diagram of optional data sharing method according to an embodiment of the present invention;
Fig. 5 is the flow chart of another optional data sharing method according to an embodiment of the present invention;
Fig. 6 is the schematic diagram of another optional data sharing method according to an embodiment of the present invention;
Fig. 7 is the schematic diagram of another optional data sharing method according to an embodiment of the present invention;
Fig. 8 is a kind of schematic diagram of optional data sharing device according to an embodiment of the present invention;
Fig. 9 is the schematic diagram of another optional data sharing device according to an embodiment of the present invention;
Figure 10 is a kind of schematic diagram of optional data sharing terminal according to an embodiment of the present invention;
Figure 11 is a kind of schematic diagram of optional data sharing server according to an embodiment of the present invention.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people The model that the present invention protects all should belong in member's every other embodiment obtained without making creative work It encloses.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, " Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way Data be interchangeable under appropriate circumstances, so as to the embodiment of the present invention described herein can in addition to illustrating herein or Sequence other than those of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that cover Cover it is non-exclusive include, for example, the process, method, system, product or equipment for containing a series of steps or units are not necessarily limited to Step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, product Or other step or units that equipment is intrinsic.
Embodiment 1
In embodiments of the present invention, a kind of embodiment of above-mentioned data sharing method is provided.As a kind of optional reality Mode is applied, which can be, but not limited to be applied in application environment as shown in Figure 1, be equipped in terminal 102 For initiating live streaming second using the second account is installed in terminal 108 using the client of the first application of the first account The client of application.Wherein, above-mentioned first account is used to initiate live streaming as main broadcaster, and the second account is used for straight as bean vermicelli viewing Content in broadcasting.It is generated straight that terminal 102 obtains the execution live streaming initiation operation in the client of the first application of the first account Broadcast instruction, wherein live streaming initiate instruction in carry the target flow data to be broadcast live with the first account match it is straight Broadcast Control information;Instruction is initiated in response live streaming, obtains image code by the server 106 of the first application, wherein image code is used for Identify the first account target flow data to be broadcast live;And it is generated and target flow data using image code and live streaming control information The invitation card matched;Further, terminal 102 will be invited card to share to the second application and shown by network 104, to invite second The second account in utilizes the playing process for inviting card to share the target flow data that the first account is broadcast live, wherein second It is associated application using with the first application.
In the present embodiment, it is generated that the execution live streaming initiation operation of the first account is obtained in the client of the first application Live streaming is initiated after instructing, and is responded the live streaming and is initiated server acquisition of the instruction by the first application for identifying the first account institute Then the image code for the target flow data to be broadcast live utilizes carry in above-mentioned image code and live streaming initiation instruction and target Live streaming that flow data matches controls information, generates the invitation card with target stream Data Matching, and the invitation card is shared to the Two applications are shown, to invite the second account in the second application to share the target stream that the first account is broadcast live using invitation card The playing process of data.To realize by sharing the invitation generated according to the live streaming control information of image code and target flow data Card, to invite the second account in the second application to carry out direct viewing target flow data, wherein not only can be straight in above-mentioned invitation card It sees ground and sees live streaming control information relevant to the target flow data of current live, and live streaming is entered by image code, it will be big The big operating procedure for simplifying data sharing, reduces the waiting time during sharing, and improves data sharing efficiency to reach Effect, and then overcome the problem that data sharing efficiency is lower present in the relevant technologies.
Optionally, in the present embodiment, above-mentioned terminal can include but is not limited at least one of: mobile phone, plate electricity Brain, laptop, desktop PC, DTV and other be used for be broadcast live sharing hardware device.Above-mentioned network may include But it is not limited at least one of: wide area network, Metropolitan Area Network (MAN), local area network.Above-mentioned only a kind of example, the present embodiment do not appoint this What is limited.
According to embodiments of the present invention, a kind of data sharing method is provided, as shown in Fig. 2, this method comprises:
S202 is obtained to execute to be broadcast live in the client that the first account is applied first and is initiated to operate live streaming initiation generated Instruction, wherein live streaming is initiated to carry the live streaming control that the target flow data to be broadcast live with the first account matches in instruction Information;
Instruction is initiated in S204, response live streaming, obtains image code by the server of the first application, wherein image code is used for Identify the first account target flow data to be broadcast live;
S206 generates the invitation card with target stream Data Matching using image code and live streaming control information;
S208 will be invited to block and be shared to second using showing, be invited with inviting the second account in the second application to utilize It please block the playing process for sharing the target flow data that the first account is broadcast live.
Optionally, in the present embodiment, above-mentioned data sharing method can be, but not limited to during being applied to live streaming During target flow data is shared, for example, being applied in live streaming application, realizes and live streaming flow data is efficiently divided It enjoys.It should be noted that in the present embodiment, above-mentioned data sharing method also can be, but not limited to be applied to in other platforms Carry out data sharing during, for example, it is also possible to be applied to video playing application in, to the playing resource in above-mentioned application into Row is shared, and above-mentioned is only a kind of example, does not do any restriction herein in the present embodiment.
It should be noted that in the present embodiment, above-mentioned first application includes but is not limited to live streaming application, also may include But it is not limited to use in web page or other applications with media play function of live streaming.Second application includes but is not limited to society Application, webpage forum etc. is handed over to have the application of social functions or instant messaging.It should also be noted that, the second application is answered with first With can be, but not limited to as associated application, such as the second application provides authorization interface for the first application, is applied with realizing using second In social scope share the message or other content in the first application, to achieve the purpose that expand data sharing range, Here, the application does not do any restriction.
It should be noted that it is generated to obtain the execution live streaming initiation operation of the first account in the client of the first application Live streaming is initiated after instructing, and is responded the live streaming and is initiated server acquisition of the instruction by the first application for identifying the first account institute Then the image code for the target flow data to be broadcast live initiates the target stream carried in instruction using above-mentioned image code and live streaming The live streamings of data controls information, generates the invitation card with target stream Data Matching, and by the invitation card share to the second application into Row display, to invite the second account in the second application using invitation card first account of synchronous sharing live streaming target flow data Process.To realize by sharing the invitation card generated according to the live streaming control information of image code and target flow data, to invite The second account in second application carrys out direct viewing target flow data, wherein can not only be intuitive to see in above-mentioned invitation card Live streaming relevant to the target flow data of current live controls information, and enters live streaming by image code, will greatly simplify number According to the operating procedure of sharing, without being jumped again by clicking access link, to reduce the waiting during sharing Time, to achieve the effect that improve data sharing efficiency, and then it is lower to overcome data sharing efficiency present in the relevant technologies The problem of.
Optionally, in the present embodiment, the live streaming carried in instruction is initiated using live streaming and control information, and apply from first The image code for identifying target flow data that obtains of server pass through to generate the invitation card with target stream Data Matching Share the invitation card, to realize the target stream data sharing in live streaming to the associated account number in the second application, wherein the invitation Card can include but is not limited to following at least one format information: text, picture, audio, dynamic picture (gif) or short-sighted frequency, To allow user that can intuitively watch the wanted live content of the first account by the invitation card, in the present embodiment to this Any restriction is not done.
Optionally, in the present embodiment, above-mentioned target flow data can be, but not limited to be used to indicate main broadcaster's account (also The first account) initiate to execute after live streaming initiates operation, into live streaming during the media stream data that is transmitted.Wherein, with Can include but is not limited in live streaming that the first account target flow data to be broadcast live matches control information it is following at least it One: the abstract of the title of target flow data, the live streaming cover picture of target flow data and target flow data indicates information.Wherein, Above-mentioned abstract instruction information can include but is not limited at least one of: live streaming period, main broadcaster identify (ID), live content Brief introduction etc..Above content is only a kind of example, in the present embodiment, does not do any restriction to this.
It should be noted that can be, but not limited to before the client of the first application gets live streaming initiation instruction The client of first application obtains title, the cover for the target flow data that above-mentioned first account is broadcast live.By above-mentioned first account Title, the cover of the target flow data being broadcast live are sent to the server of the first application, to initiate for requesting that above-mentioned mesh is broadcast live Mark the live streaming request of flow data.
Optionally, in the present embodiment, the client of the first application is after getting live streaming and initiating instruction, to the first application Server send live streaming request, the server of the first application is the unique data mark of the target flow data to be broadcast live generation Know, and the Data Identification is sent to the server of the second application, so that the server based on data of the second application is identified and generated Image code;Then, the image code that the server of the second application is generated according to the Data Identification is received.It should be noted that second The server of application generates image code according to the Data Identification of target stream Data Matching, to be generated using the image code for obtaining Take the invitation card of target flow data.
Optionally, in the present embodiment, above-mentioned image code can include but is not limited to two dimensional code, three-dimension code etc., Yi Jiqi He is easy to by the image code of application identification.Above content is only a kind of example, in the present embodiment, does not do any restriction to this.
Optionally, in the present embodiment, card will be invited to share to second can include but is not limited to using display is carried out: obtain It takes the client of the first application to block invitation generated and executes sharing operation sharing instruction generated, respond the sharing and refer to It enables, which is passed through to the server of the first application, is sent to the server of the second application, then, card will be invited to share extremely Second application is shown.So that the second account in the second application by client to inviting card to execute operation, such as to inviting Image code in please blocking carries out identification operation, realizes and executes access to invitation card, and then realizes and block matched target to invitation Flow data carries out shared broadcasting.
Optionally, in the present embodiment, it generates and is invited with target stream Data Matching using image code and live streaming control information Please block including but not limited to: the client of the first application can be, but not limited to the invitation according to indicated by the configuration-direct got The Show Styles of card controls information and image code with the live streaming of target stream Data Matching to be laid out, so that reaching generation invites card Purpose.
It is specifically illustrated as shown in connection with fig. 3, is illustrated for initiating the client of the first application of live streaming, is such as schemed Step S302-S328 shown in 3, it is generated straight that the client 302 of the first application obtains the execution live streaming initiation operation of the first account Instruction has been broadcast, and instruction is initiated according to the live streaming and sends live streaming request, the clothes of the first application to the server 304 of the first application Business 304 random arrangement of the device one Data Identification ID for unique identification live streaming request target data to be broadcast live, and will Data Identification ID is sent to the server 306 of the second application, so that the server 306 of the second application can be according to the data mark Know the image code generated with target stream Data Matching.The client 302 of first application is received by the server 304 of the first application Image code that the server 306 of second application is sent, and live information relevant to current live, and got according to above-mentioned Content generates the invitation card to match with target flow data.Invitation card execution sharing operation is divided getting the first client After enjoying instruction, which is sent to the server 304 of the first application, the server 304 of the first application will establish the invitation The mapping relations of card and target flow data, and the invitation card is shared by the server 306 of the second application into the second application Use the client 308 of the second account.The invitation card will be shown using the client 308 of the second account in second application, and is obtained The access request for executing access operation to the invitation card is taken, then sends out the access request by the server 306 of the second application It send to the server 304 of the first application, so that the server 304 of the first application can be by the above-mentioned target flow data to be broadcast live It is shared with the client 308 that the second account is used in the second application.
By embodiment provided by the present application, the first account is obtained in the client of the first application and executes live streaming initiation behaviour Make live streaming generated to initiate after instructing, responds the live streaming and initiate server acquisition of the instruction by the first application for identifying Then the image code of the first account target flow data to be broadcast live is initiated to take in instruction using above-mentioned image code and live streaming The live streaming of the target flow data of band controls information, generates the invitation card with target stream Data Matching, and by the invitation card share to Second application is shown, to invite the second account in the second application that mesh is broadcast live using invitation card first account of synchronous sharing Mark the process of flow data.To realize by sharing the invitation generated according to the live streaming control information of image code and target flow data Card, to invite the second account in the second application to carry out direct viewing target flow data, wherein not only can be straight in above-mentioned invitation card It sees ground and sees live streaming control information relevant to the target flow data of current live, and live streaming is entered by image code, it will be big The big operating procedure for simplifying data sharing, without being jumped again by clicking access link, to reduce sharing process In waiting time and then overcome data sharing present in the relevant technologies to achieve the effect that improve data sharing efficiency The lower problem of efficiency.
As a kind of optional scheme, instruction is initiated in response live streaming, obtains image code packet by the server of the first application It includes:
S1, the server for passing through the first application receive the image code that the server of the second application generates, wherein image code is The server of second application according to transmitted by the server of the first application with Data Identification that target flow data matches and give birth to At.
It is specifically illustrated in conjunction with following example, it is assumed that the first application is for being broadcast live and apply app1, and the second application is with society It hands over and is illustrated for applying app2.In this example, the live streaming button for initiating to be broadcast live is being clicked using the main broadcaster of the first account It generates live streaming to initiate after instructing, live streaming will be sent using the background server of app1 to live streaming and requested, live streaming is using after app1 Platform server distributes the live streaming initiated for the main broadcaster to a unique Data Identification ID after receiving above-mentioned live streaming request, The ID is sent to the server of social application app2, so that social application app2 generation one is matched with Data Identification ID Scene image code, such as two dimensional code, and the scene image code is sent to live streaming using app1 so that live streaming using app1 according to The live streaming of the live streaming controls information (also referred to as live information) and scene image code combination producing one matched with this live streaming Invite card.
By embodiment provided by the present application, in the server of the second application, sent out according to the server of the first application The Data Identification to match with target flow data sent, to generate the image code with target stream Data Matching, to utilize the image The invitation card that code obtains for inviting associated account number to play target flow data mentions to simplify the sharing operation of target flow data High data sharing efficiency.
As a kind of optional scheme, the sharing of invitation card, which is carried out display to the second application, includes:
S1, the client obtained in the first application instruct the sharing generated of invitation card execution sharing operation;
The server that instruction will invite card to be sent to the first application is shared in S2, response, so that the server of the first application is logical The server for crossing the second application will be invited card to share and be shown into the second application using the client of the second account, wherein The mapping relations between card and target flow data are invited in storage by the server of the first application.
It is specifically illustrated in conjunction with following example, it is assumed that the first application is for being broadcast live and apply app1, and the second application is with society It hands over and is illustrated for applying app2.In this example, it after being broadcast live using invitation card is generated in app1, obtains and uses first The main broadcaster of account, which clicks, initiates to share the sharing instruction that button generates, and responds the sharing instruction card will be invited to be sent to live streaming and answer With the background server of app1, apply the background server of app1 by the background server of social application app2 so as to be broadcast live, Above-mentioned invitation card is shared to social application app2 and is shown, pays close attention to the second of the first account in social application app2 to invite Account invites the image code on card to enter the broadcast interface of target flow data, to play the target flow data, in fact by identification The sharing of existing data.
It should be noted that live streaming applies the background server of app1 after receiving invitation card, storage is invited and is blocked With the mapping relations between target flow data.The second account in the second application is being received by identifying image code to realize After access request generated, by target stream data-pushing corresponding with the invitation card comprising the image code in the second application Second account.
By embodiment provided by the present application, the client obtained in the first application gives birth to invitation card execution sharing operation At sharing instruction, instruction is shared in response will invite card to be sent to the server of the first application, so that the server of the first application Card will be invited to share to the client's degree of the second application by the server of the second application to show, answer to realize using second Social scope reaches the sharing purpose to target flow data, in addition, card display will be invited to use second in the second application In the client of account, it is also up to the purpose for intuitively showing the related content for the target flow data to be broadcast live, without again It is obtained by redirected link.
As a kind of optional scheme, the invitation with target stream Data Matching is generated using image code and live streaming control information Card includes:
S1 obtains configuration-direct, wherein configuration-direct is used to configure the Show Styles for inviting card;
S2 is laid out live streaming control information and image code according to Show Styles, invites card to generate.
Optionally, in the present embodiment, it can include but is not limited at least one of in above-mentioned live streaming control information: mesh The abstract for marking the title of flow data, the live streaming cover picture of target flow data and target flow data indicates information.
It is specifically illustrated in conjunction with following example, it is assumed that the first application is for being broadcast live and apply app1, and the second application is with society It hands over and is illustrated for applying app2.In this example, for example, it is assumed that this target flow data to be broadcast live Live streaming control information include: theme, cover, abstract instruction information etc., wherein abstract instruction information include: the live streaming time and The main broadcaster's mark (for example, mark A) for initiating live streaming, further, it is assumed that image code is two dimensional code.Live streaming can be obtained first using app1 Configuration-direct is taken, which includes for configuring the Show Styles for inviting card, according to the Show Styles to above-mentioned live streaming control Information and image code processed are laid out typesetting, to generate corresponding invitation card, as shown in Figure 4.
By embodiment provided by the present application, according to the Show Styles in configuration-direct to live streaming control information and image Code, which is laid out typesetting and generates to invite, to be blocked, and can adequately be shown to live content, to improve the data to be shared Attention rate, promotes the sharing rate of data, so that reaching makes more users to share the target flow data of above-mentioned live streaming.
According to embodiments of the present invention, a kind of data sharing method is provided, as shown in figure 5, this method comprises:
S502 obtains the live streaming that the client in the first application using the first account is sent and requests, wherein in live streaming request Carry the live streaming control information that the target flow data to be broadcast live with the first account matches;
S504, response live streaming request image code, wherein image code is for identifying the first account target to be broadcast live Flow data;
Image code is sent to the client that the first account is used in the first application by S506, to generate and target flow data Matched invitation card;
S508, obtaining will invite card to share to the sharing request of the second application, wherein invitation card is carried in sharing request And second application application identities;
S510, the second account obtained in the second application block execution access operation access request generated to invitation, and Client of the response access request into the second application using the second account shares the target flow data that the first account is broadcast live Playing process.
Optionally, in the present embodiment, above-mentioned data sharing method can be, but not limited to during being applied to live streaming During target flow data is shared, for example, being applied in the server of live streaming application, realizes and live streaming flow data is carried out Efficiently share.It should be noted that in the present embodiment, above-mentioned data sharing method also can be, but not limited to be applied to other During carrying out data sharing in the server of platform, for example, it is also possible to be applied in the server of video playing application, it is right Playing resource in the server of above-mentioned application is shared, and above-mentioned is only a kind of example, does not do herein in the present embodiment any It limits.
It should be noted that in the present embodiment, above-mentioned first application includes but is not limited to live streaming application, also may include But it is not limited to use in web page or other applications with media play function of live streaming.Second application includes but is not limited to society Application, webpage forum etc. is handed over to have the application of social functions or instant messaging.It should also be noted that, the second application is answered with first With can be, but not limited to as associated application, such as the second application provides authorization interface for the first application, is applied with realizing using second In social scope share the message or other content in the first application, to achieve the purpose that expand data sharing range, Here, the application does not do any restriction.
It should be noted that the server in the first application obtains the client transmission applied using the first of the first account Live streaming request after, respond the live streaming request for identifying the image of the target flow data that the first account to be broadcast live Above-mentioned image code, then, is sent to the client of the first application by code, so that the client of the first application generates and target fluxion Block according to matched invitation.Further, the server of the first application, which will acquire, shares above-mentioned invitation card to the sharing of the second application Request, wherein the application identities for inviting card and the second application are carried in sharing request, the second application is answered with the first application to be associated with With;Then, the second account obtained in the second application executes access operation request generated to the invitation card, and responds the visit Ask that the target flow data that the first account is broadcast live is shared in request to the second application.To realize by sharing according to image code And the invitation card that the live streaming control information of target flow data generates, to invite the second account in the second application to carry out direct viewing mesh Mark flow data, wherein live streaming relevant to the target flow data of current live can be not only intuitive to see in above-mentioned invitation card Information is controlled, and live streaming is entered by image code, the operating procedure of data sharing will be greatly simplified, without passing through click again Access link is jumped, so that the waiting time during sharing is reduced, to achieve the effect that improve data sharing efficiency, And then overcome the problem that data sharing efficiency is lower present in the relevant technologies.
Optionally, in the present embodiment, the live streaming carried in instruction is initiated using live streaming and control information, and apply from first The image code for identifying target flow data that obtains of server pass through to generate the invitation card with target stream Data Matching Share the invitation card, to realize the target stream data sharing in live streaming to the associated account number in the second application, wherein the invitation Card can include but is not limited to following at least one format information: text, picture, audio, dynamic picture (gif) or short-sighted frequency, To allow user that can intuitively watch the wanted live content of the first account by the invitation card, in the present embodiment to this Any restriction is not done.
Optionally, in the present embodiment, above-mentioned target flow data can be, but not limited to be used to indicate main broadcaster's account (also The first account) initiate to execute after live streaming initiates operation, into live streaming during the media stream data that is transmitted.Wherein, with Can include but is not limited in live streaming that the first account target flow data to be broadcast live matches control information it is following at least it One: the abstract of the title of target flow data, the live streaming cover picture of target flow data and target flow data indicates information.Wherein, Above-mentioned abstract instruction information can include but is not limited at least one of: live streaming period, main broadcaster identify (ID), live content Brief introduction etc..Above content is only a kind of example, in the present embodiment, does not do any restriction to this.
Optionally, in the present embodiment, the client of the first application is after getting live streaming and initiating instruction, to the first application Server send live streaming request, the server of the first application is the unique data mark of the target flow data to be broadcast live generation Know, and the Data Identification is sent to the server of the second application, so that the server based on data of the second application is identified and generated Image code;Then, the image code that the server of the second application is generated according to the Data Identification is received.It should be noted that second The server of application generates image code according to the Data Identification of target stream Data Matching, to be generated using the image code for obtaining Take the invitation card of target flow data.
Optionally, in the present embodiment, above-mentioned image code can include but is not limited to two dimensional code, three-dimension code etc., Yi Jiqi He is easy to by the image code of application identification.Above content is only a kind of example, in the present embodiment, does not do any restriction to this.
Optionally, in the present embodiment, card will be invited to share to second can include but is not limited to using display is carried out: obtain It takes the client of the first application to block invitation generated and executes sharing operation sharing instruction generated, respond the sharing and refer to It enables, which is passed through to the server of the first application, is sent to the server of the second application, then, card will be invited to share extremely Second application is shown.So that the second account in the second application by client to inviting card to execute operation, such as to inviting Image code in please blocking carries out identification operation, realizes and executes access to invitation card, and then realizes and block matched target to invitation Flow data carries out shared broadcasting.
Optionally, in the present embodiment, when the server of the first application can be, but not limited to obtain the request of access request Between;Obtain the tempo instructions information to match with request time, wherein tempo instructions information is used to indicate broadcasting for target flow data Degree of putting into;The second account into the second application shares the target flow data to match with tempo instructions information.
Optionally, in the present embodiment, the second account sharing into the second application matches with tempo instructions information Target flow data can include but is not limited to:
1) in the case where tempo instructions information instruction target flow data does not start broadcasting, second is used into the second application The client of account sends the first prompt information, wherein the first prompt information plays target flow data for prompting whether to reserve;
2) in the case where tempo instructions information instruction target flow data has started but do not completed broadcasting, to the second application The middle client using the second account sends the second prompt information, wherein the second prompt information is for prompting from target flow data Current playing frames start to play;
3) in the case where broadcasting is completed in tempo instructions information instruction target flow data, second is used into the second application The client of account sends third prompt information, wherein third prompt information is for prompting target flow data that broadcasting is completed.
That is, in the present embodiment, it can be according to the playback progress of the target flow data of live streaming, into the second application The second account share the target flow data to match with tempo instructions information.For example, to start to play, but do not complete to play and be Example can make to play the second account directly corresponding broadcasting pictures of progress indicated by the tempo instructions information;In another example For not starting broadcasting, the second account can be prompted, the first account target flow data to be broadcast live does not have started broadcasting, is No reservation plays.Above-mentioned is only a kind of example, does not do any restriction to this in the present embodiment.
It is specifically illustrated as shown in connection with fig. 3, is illustrated for initiating the client of the first application of live streaming, is such as schemed Step S302-S328 shown in 3, it is generated straight that the client 302 of the first application obtains the execution live streaming initiation operation of the first account Instruction has been broadcast, and instruction is initiated according to the live streaming and sends live streaming request, the clothes of the first application to the server 304 of the first application Business 304 random arrangement of the device one Data Identification ID for unique identification live streaming request target data to be broadcast live, and will Data Identification ID is sent to the server 306 of the second application, so that the server 306 of the second application can be according to the data mark Know the image code generated with target stream Data Matching.The client 302 of first application is received by the server 304 of the first application Image code that the server 306 of second application is sent, and live information relevant to current live, and got according to above-mentioned Content generates the invitation card to match with target flow data.Invitation card execution sharing operation is divided getting the first client After enjoying instruction, which is sent to the server 304 of the first application, the server 304 of the first application will establish the invitation The mapping relations of card and target flow data, and the invitation card is shared by the server 306 of the second application into the second application Use the client 308 of the second account.The invitation card will be shown using the client 308 of the second account in second application, and is obtained The access request for executing access operation to the invitation card is taken, then sends out the access request by the server 306 of the second application It send to the server 304 of the first application, so that the server 304 of the first application can be by the above-mentioned target flow data to be broadcast live It is shared with the client 308 that the second account is used in the second application.
By embodiment provided by the present application, the first application for using the first account is obtained in the server of the first application After the live streaming request that client is sent, the live streaming request is responded for identifying the first account target fluxion to be broadcast live According to image code above-mentioned image code is then sent to the client of the first application so that first application client generate with The invitation card of target stream Data Matching.Further, the server of the first application, which will acquire to share above-mentioned invitation card to second, answers Sharing request, wherein the application identities for inviting card and the second application, the second application and the first application are carried in sharing request For associated application;Then, the second account obtained in the second application executes access operation request generated to the invitation card, and It responds the access request and shares the target flow data that the first account is broadcast live to the second application.To realize by sharing root It is straight to invite the second account in the second application according to the invitation card that the live streaming control information of image code and target flow data generates Connect viewing target flow data, wherein the target flow data phase with current live can be not only intuitive to see in above-mentioned invitation card The live streaming of pass controls information, and enters live streaming by image code, the operating procedure of data sharing will be greatly simplified, without again It is jumped by clicking access link, to reduce the waiting time during sharing, improves data sharing effect to reach The effect of rate, and then overcome the problem that data sharing efficiency is lower present in the relevant technologies.
As a kind of optional scheme, response live streaming request image code includes:
S1 generates the Data Identification to match with target flow data;
Data Identification is sent to the server of the second application by S2, so that the server based on data mark of the second application Generate image code;
S3 receives the image code that the server of the second application is sent.
It is specifically illustrated in conjunction with following example, it is assumed that the first application is for being broadcast live and apply app1, and the second application is with society It hands over and is illustrated for applying app2.In this example, the live streaming button for initiating to be broadcast live is being clicked using the main broadcaster of the first account It generates live streaming to initiate after instructing, live streaming will be sent using the background server of app1 to live streaming and requested, live streaming is using after app1 Platform server distributes the live streaming initiated for the main broadcaster to a unique Data Identification ID after receiving above-mentioned live streaming request, The ID is sent to the server of social application app2, so that social application app2 generation one is matched with Data Identification ID Scene image code, such as two dimensional code, and the scene image code is sent to live streaming using app1 so that live streaming using app1 according to The live streaming of the live streaming controls information (also referred to as live information) and scene image code combination producing one matched with this live streaming Invite card.
By embodiment provided by the present application, the data to match with target flow data are generated in the server of the first application After mark, Data Identification is sent to the server of the second application, so that clothes of the server of the second application according to the first application The Data Identification to match transmitted by business device with target flow data, to generate the image code with target stream Data Matching, thus It realizes and obtains reaching simplified target flow data for the invitation card for inviting associated account number to play target flow data using the image code Sharing operation, improve data sharing efficiency effect.
As a kind of optional scheme, after obtaining the sharing request that card sharing will be invited to apply to second, further includes:
S1 stores the mapping relations between invitation card and target flow data entrained in sharing request;
Sharing request is sent to the server of the second application by S2.
Optionally, in the present embodiment, the second account obtained in the second application gives birth to invitation card execution access operation At access request include: the access request for obtaining the second account in the second application and sending, wherein access request is second to answer The second account in invites the request generated after the image code in card by identification.That is, second in the second application Account can be by scanning recognition image code, to generate the access request sent to the server of the first application.First application Server can obtain according to mapping relations after receiving above-mentioned access request and with what access request was requested access to include The target flow data that matches of invitation card of above-mentioned image code, and by the target stream data sharing to using second in the second application The client of account.
By embodiment provided by the present application, by the server storage in the first application invite card and target flow data it Between mapping relations, in order to can use this and reflect after receiving the access request that the second account in the second application is sent It penetrates the corresponding target flow data of relationship quick obtaining to be shared, to reduce the time for searching sharing contents, improves and share efficiency.
As a kind of optional scheme, responds client of the access request into the second application using the second account and share the The playing process for the target flow data that one account is broadcast live includes:
S1 obtains the request time of access request;
S2 obtains the tempo instructions information to match with request time, wherein tempo instructions information is used to indicate target stream The playback progress of data;
S3 shares the target fluxion to match with tempo instructions information using the client of the second account into the second application According to.
Optionally, in the present embodiment, the client into the second application using the second account is shared believes with tempo instructions The matched target stream packets of manner of breathing include:
1) in the case where tempo instructions information instruction target flow data does not start broadcasting, second is used into the second application The client of account sends the first prompt information, wherein the first prompt information plays target flow data for prompting whether to reserve; Or
It is specifically illustrated in conjunction with following example, it is assumed that the first application is for being broadcast live and apply app1, and the second application is with society It hands over and is illustrated for applying app2.In this example, the feelings played are not started in tempo instructions information instruction target flow data Under condition, the second account into the second application sends the first prompt information, as shown in fig. 6, display includes the boundary of " reservation " button Face plays the target flow data to prompt the second account to be confirmed whether to reserve in advance.
2) in the case where tempo instructions information instruction target flow data has started but do not completed broadcasting, to the second application The middle client using the second account sends the second prompt information, wherein the second prompt information is for prompting from target flow data Current playing frames start to play;Or
It is specifically illustrated in conjunction with following example, it is assumed that the first application is for being broadcast live and apply app1, and the second application is with society It hands over and is illustrated for applying app2.In this example, started but do not completed in tempo instructions information instruction target flow data In the case where broadcasting, the second account into the second application sends the second prompt information, to prompt the second account from target fluxion According to current playing frames start to play, and enter deserve before broadcasting pictures play the target flow data.
3) in the case where broadcasting is completed in tempo instructions information instruction target flow data, second is used into the second application The client of account sends third prompt information, wherein third prompt information is for prompting target flow data that broadcasting is completed.
It is specifically illustrated in conjunction with following example, it is assumed that the first application is for being broadcast live and apply app1, and the second application is with society It hands over and is illustrated for applying app2.In this example, the feelings of broadcasting are completed in tempo instructions information instruction target flow data Under condition, the second account into the second application sends third prompt information, as shown in fig. 7, to prompt the second account target fluxion It is played according to being completed, such as " live streaming that you request has terminated ... ".
By embodiment provided by the present application, shared and tempo instructions information phase by the second account into the second application Matched target flow data is realized so that the second account in the second application can synchronize the broadcasting engineering of target flow data Share synchronized effect.
As a kind of optional scheme, the first prompt information is sent in the client into the second application using the second account Later, further includes:
S1, in the case where the second account confirms that reservation plays target flow data according to the first prompt information, apart from mesh Mark flow data starts the predetermined instant before broadcasting, and the third account for passing through the second application sends the 4th prompt information, wherein the Four prompt informations are used to that target flow data to be prompted to start the time played, and third account and the second account are associated account number.
It should be noted that in the present embodiment, above-mentioned second account can be, but not limited to concern third account, for example, Third account is first to apply public's account for applying in the second application, and the second account is acknowledging a debt in the second application Number, wherein second account has paid close attention to third account, in order to obtain the message of third account push.
Optionally, in the present embodiment, confirm that reservation plays target flow data according to the first prompt information in the second account In the case where, for example, click " reservation " button, then the predetermined instant before distance objective flow data starts to play, for example, Distance starts broadcasting first 5 minutes, sends the 4th prompt information by the third account of the second application (by taking social application app2 as an example), with Prompting the live streaming of the above-mentioned reservation of the second account will start.
By embodiment provided by the present application, by prompting the second account in time, above-mentioned target flow data starts broadcasting Time avoids omitting or missing reserved target stream so that the second account can obtain reserved broadcast information in time Data guarantee the accuracy and validity shared.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described because According to the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know It knows, the embodiments described in the specification are all preferred embodiments, and related actions and modules is not necessarily of the invention It is necessary.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation The method of example can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but it is very much In the case of the former be more preferably embodiment.Based on this understanding, technical solution of the present invention is substantially in other words to existing The part that technology contributes can be embodied in the form of software products, which is stored in a storage In medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, calculate Machine, server or network equipment etc.) method that executes each embodiment of the present invention.
Embodiment 2
According to embodiments of the present invention, additionally provide it is a kind of for implementing the data sharing device of above-mentioned data sharing method, Applied to terminal side, as shown in figure 8, the device includes:
1) first acquisition unit 802 execute live streaming initiation behaviour for obtaining the first account in the client of the first application Make live streaming generated and initiate instruction, wherein live streaming is initiated to carry the target fluxion to be broadcast live with the first account in instruction Information is controlled according to the live streaming to match;
2) second acquisition unit 804, initiate instruction for responding live streaming, obtain image by the server of the first application Code, wherein image code is for identifying the first account target flow data to be broadcast live;
3) generation unit 806, for generating the invitation with target stream Data Matching using image code and live streaming control information Card;
4) sharing unit 808 are shown for card will to be invited to share to the second application, to invite the in the second application Two accounts block the playing process for the target flow data that the first account of sharing is broadcast live using inviting.
Optionally, in the present embodiment, above-mentioned data sharing device can be, but not limited to during being applied to live streaming During target flow data is shared, for example, being applied in live streaming application, realizes and live streaming flow data is efficiently divided It enjoys.It should be noted that in the present embodiment, above-mentioned data sharing method also can be, but not limited to be applied to in other platforms Carry out data sharing during, for example, it is also possible to be applied to video playing application in, to the playing resource in above-mentioned application into Row is shared, and above-mentioned is only a kind of example, does not do any restriction herein in the present embodiment.
It should be noted that in the present embodiment, above-mentioned first application includes but is not limited to live streaming application, also may include But it is not limited to use in web page or other applications with media play function of live streaming.Second application includes but is not limited to society Application, webpage forum etc. is handed over to have the application of social functions or instant messaging.It should also be noted that, the second application is answered with first With can be, but not limited to as associated application, such as the second application provides authorization interface for the first application, is applied with realizing using second In social scope share the message or other content in the first application, to achieve the purpose that expand data sharing range, Here, the application does not do any restriction.
It should be noted that it is generated to obtain the execution live streaming initiation operation of the first account in the client of the first application Live streaming is initiated after instructing, and is responded the live streaming and is initiated server acquisition of the instruction by the first application for identifying the first account institute Then the image code for the target flow data to be broadcast live initiates the target stream carried in instruction using above-mentioned image code and live streaming The live streamings of data controls information, generates the invitation card with target stream Data Matching, and by the invitation card share to the second application into Row display, to invite the second account in the second application using invitation card first account of synchronous sharing live streaming target flow data Process.To realize by sharing the invitation card generated according to the live streaming control information of image code and target flow data, to invite The second account in second application carrys out direct viewing target flow data, wherein can not only be intuitive to see in above-mentioned invitation card Live streaming relevant to the target flow data of current live controls information, and enters live streaming by image code, will greatly simplify number According to the operating procedure of sharing, without being jumped again by clicking access link, to reduce the waiting during sharing Time, to achieve the effect that improve data sharing efficiency, and then it is lower to overcome data sharing efficiency present in the relevant technologies The problem of.
Optionally, in the present embodiment, the live streaming carried in instruction is initiated using live streaming and control information, and apply from first The image code for identifying target flow data that obtains of server pass through to generate the invitation card with target stream Data Matching Share the invitation card, to realize the target stream data sharing in live streaming to the associated account number in the second application, wherein the invitation Card can include but is not limited to following at least one format information: text, picture, audio, dynamic picture (gif) or short-sighted frequency, To allow user that can intuitively watch the wanted live content of the first account by the invitation card, in the present embodiment to this Any restriction is not done.
Optionally, in the present embodiment, above-mentioned target flow data can be, but not limited to be used to indicate main broadcaster's account (also The first account) initiate to execute after live streaming initiates operation, into live streaming during the media stream data that is transmitted.Wherein, with Can include but is not limited in live streaming that the first account target flow data to be broadcast live matches control information it is following at least it One: the abstract of the title of target flow data, the live streaming cover picture of target flow data and target flow data indicates information.Wherein, Above-mentioned abstract instruction information can include but is not limited at least one of: live streaming period, main broadcaster identify (ID), live content Brief introduction etc..Above content is only a kind of example, in the present embodiment, does not do any restriction to this.
It should be noted that can be, but not limited to before the client of the first application gets live streaming initiation instruction The client of first application obtains title, the cover for the target flow data that above-mentioned first account is broadcast live.By above-mentioned first account Title, the cover of the target flow data being broadcast live are sent to the server of the first application, to initiate for requesting that above-mentioned mesh is broadcast live Mark the live streaming request of flow data.
Optionally, in the present embodiment, the client of the first application is after getting live streaming and initiating instruction, to the first application Server send live streaming request, the server of the first application is the unique data mark of the target flow data to be broadcast live generation Know, and the Data Identification is sent to the server of the second application, so that the server based on data of the second application is identified and generated Image code;Then, the image code that the server of the second application is generated according to the Data Identification is received.It should be noted that second The server of application generates image code according to the Data Identification of target stream Data Matching, to be generated using the image code for obtaining Take the invitation card of target flow data.
Optionally, in the present embodiment, above-mentioned image code can include but is not limited to two dimensional code, three-dimension code etc., Yi Jiqi He is easy to by the image code of application identification.Above content is only a kind of example, in the present embodiment, does not do any restriction to this.
Optionally, in the present embodiment, card will be invited to share to second can include but is not limited to using display is carried out: obtain It takes the client of the first application to block invitation generated and executes sharing operation sharing instruction generated, respond the sharing and refer to It enables, which is passed through to the server of the first application, is sent to the server of the second application, then, card will be invited to share extremely Second application is shown.So that the second account in the second application by client to inviting card to execute operation, such as to inviting Image code in please blocking carries out identification operation, realizes and executes access to invitation card, and then realizes and block matched target to invitation Flow data carries out shared broadcasting.
Optionally, in the present embodiment, it generates and is invited with target stream Data Matching using image code and live streaming control information Please block including but not limited to: the client of the first application can be, but not limited to the invitation according to indicated by the configuration-direct got The Show Styles of card controls information and image code with the live streaming of target stream Data Matching to be laid out, so that reaching generation invites card Purpose.
It is specifically illustrated as shown in connection with fig. 3, is illustrated for initiating the client of the first application of live streaming, is such as schemed Step S302-S328 shown in 3, it is generated straight that the client 302 of the first application obtains the execution live streaming initiation operation of the first account Instruction has been broadcast, and instruction is initiated according to the live streaming and sends live streaming request, the clothes of the first application to the server 304 of the first application Business 304 random arrangement of the device one Data Identification ID for unique identification live streaming request target data to be broadcast live, and will Data Identification ID is sent to the server 306 of the second application, so that the server 306 of the second application can be according to the data mark Know the image code generated with target stream Data Matching.The client 302 of first application is received by the server 304 of the first application Image code that the server 306 of second application is sent, and live information relevant to current live, and got according to above-mentioned Content generates the invitation card to match with target flow data.Invitation card execution sharing operation is divided getting the first client After enjoying instruction, which is sent to the server 304 of the first application, the server 304 of the first application will establish the invitation The mapping relations of card and target flow data, and the invitation card is shared by the server 306 of the second application into the second application Use the client 308 of the second account.The invitation card will be shown using the client 308 of the second account in second application, and is obtained The access request for executing access operation to the invitation card is taken, then sends out the access request by the server 306 of the second application It send to the server 304 of the first application, so that the server 304 of the first application can be by the above-mentioned target flow data to be broadcast live It is shared with the client 308 that the second account is used in the second application.
By embodiment provided by the present application, the first account is obtained in the client of the first application and executes live streaming initiation behaviour Make live streaming generated to initiate after instructing, responds the live streaming and initiate server acquisition of the instruction by the first application for identifying Then the image code of the first account target flow data to be broadcast live is initiated to take in instruction using above-mentioned image code and live streaming The live streaming of the target flow data of band controls information, generates the invitation card with target stream Data Matching, and by the invitation card share to Second application is shown, to invite the second account in the second application that mesh is broadcast live using invitation card first account of synchronous sharing Mark the process of flow data.To realize by sharing the invitation generated according to the live streaming control information of image code and target flow data Card, to invite the second account in the second application to carry out direct viewing target flow data, wherein not only can be straight in above-mentioned invitation card It sees ground and sees live streaming control information relevant to the target flow data of current live, and live streaming is entered by image code, it will be big The big operating procedure for simplifying data sharing, without being jumped again by clicking access link, to reduce sharing process In waiting time and then overcome data sharing present in the relevant technologies to achieve the effect that improve data sharing efficiency The lower problem of efficiency.
As a kind of optional scheme, second acquisition unit 804 includes:
1) receiving module, the image code that the server for receiving the second application by the server of the first application generates, Wherein, image code is that the server of the second application matches according to transmitted by the server of the first application with target flow data Data Identification and generate.
It is specifically illustrated in conjunction with following example, it is assumed that the first application is for being broadcast live and apply app1, and the second application is with society It hands over and is illustrated for applying app2.In this example, the live streaming button for initiating to be broadcast live is being clicked using the main broadcaster of the first account It generates live streaming to initiate after instructing, live streaming will be sent using the background server of app1 to live streaming and requested, live streaming is using after app1 Platform server distributes the live streaming initiated for the main broadcaster to a unique Data Identification ID after receiving above-mentioned live streaming request, The ID is sent to the server of social application app2, so that social application app2 generation one is matched with Data Identification ID Scene image code, such as two dimensional code, and the scene image code is sent to live streaming using app1 so that live streaming using app1 according to The live streaming of the live streaming controls information (also referred to as live information) and scene image code combination producing one matched with this live streaming Invite card.
By embodiment provided by the present application, in the server of the second application, sent out according to the server of the first application The Data Identification to match with target flow data sent, to generate the image code with target stream Data Matching, to utilize the image The invitation card that code obtains for inviting associated account number to play target flow data mentions to simplify the sharing operation of target flow data High data sharing efficiency.
As a kind of optional scheme, sharing unit 808 includes:
1) first module is obtained, it is generated to inviting card to execute sharing operation for obtaining the client applied first Share instruction;
2) sending module, for responding the server shared instruction and card will be invited to be sent to the first application, so that first answers Server pass through second application server, by invite card share to second application in using the second account client into Row display, wherein the mapping relations between card and target flow data are invited in storage by the server of the first application.
It is specifically illustrated in conjunction with following example, it is assumed that the first application is for being broadcast live and apply app1, and the second application is with society It hands over and is illustrated for applying app2.In this example, it after being broadcast live using invitation card is generated in app1, obtains and uses first The main broadcaster of account, which clicks, initiates to share the sharing instruction that button generates, and responds the sharing instruction card will be invited to be sent to live streaming and answer With the background server of app1, apply the background server of app1 by the background server of social application app2 so as to be broadcast live, Above-mentioned invitation card is shared to social application app2 and is shown, pays close attention to the second of the first account in social application app2 to invite Account invites the image code on card to enter the broadcast interface of target flow data, to play the target flow data, in fact by identification The sharing of existing data.
It should be noted that live streaming applies the background server of app1 after receiving invitation card, storage is invited and is blocked With the mapping relations between target flow data.The second account in the second application is being received by identifying image code to realize After access request generated, by target stream data-pushing corresponding with the invitation card comprising the image code in the second application Second account.
By embodiment provided by the present application, the client obtained in the first application gives birth to invitation card execution sharing operation At sharing instruction, instruction is shared in response will invite card to be sent to the server of the first application, so that the server of the first application Card will be invited to share to the client's degree of the second application by the server of the second application to show, answer to realize using second Social scope reaches the sharing purpose to target flow data, in addition, card display will be invited to use second in the second application In the client of account, it is also up to the purpose for intuitively showing the related content for the target flow data to be broadcast live, without again It is obtained by redirected link.
As a kind of optional scheme, generation unit 806 includes:
1) second module is obtained, for obtaining configuration-direct, wherein configuration-direct is used to configure the display sample for inviting card Formula;
2) generation module invites card for being laid out live streaming control information and image code according to Show Styles to generate.
Optionally, in the present embodiment, it can include but is not limited at least one of in above-mentioned live streaming control information: mesh The abstract for marking the title of flow data, the live streaming cover picture of target flow data and target flow data indicates information.
It is specifically illustrated in conjunction with following example, it is assumed that the first application is for being broadcast live and apply app1, and the second application is with society It hands over and is illustrated for applying app2.In this example, for example, it is assumed that this target flow data to be broadcast live Live streaming control information include: theme, cover, abstract instruction information etc., wherein abstract instruction information include: the live streaming time and The main broadcaster's mark (for example, mark A) for initiating live streaming, further, it is assumed that image code is two dimensional code.Live streaming can be obtained first using app1 Configuration-direct is taken, which includes for configuring the Show Styles for inviting card, according to the Show Styles to above-mentioned live streaming control Information and image code processed are laid out typesetting, to generate corresponding invitation card, as shown in Figure 4.
By embodiment provided by the present application, according to the Show Styles in configuration-direct to live streaming control information and image Code, which is laid out typesetting and generates to invite, to be blocked, and can adequately be shown to live content, to improve the data to be shared Attention rate, promotes the sharing rate of data, so that reaching makes more users to share the target flow data of above-mentioned live streaming.
According to embodiments of the present invention, additionally provide it is a kind of for implementing the data sharing device of above-mentioned data sharing method, Applied to server side, as shown in figure 9, the device includes:
1) first acquisition unit 902 are asked for obtaining the live streaming that the client in the first application using the first account is sent It asks, wherein carry the live streaming control that the target flow data to be broadcast live with first account matches in the live streaming request Information processed;
2) second acquisition unit 904, for responding the live streaming request image code, wherein described image code is used for Identify first account target flow data to be broadcast live;
3) the first transmission unit 906 uses first account for described image code to be sent in first application Number client, to generate and the invitation card of the target stream Data Matching;
4) third acquiring unit 908 invites card to share to the sharing request of the second application for obtaining by described, wherein The application identities for inviting card and second application are carried in the sharing request;
5) execution access behaviour is blocked to the invitation for obtaining the second account in second application in sharing unit 910 Make access request generated, and responds the client that the access request uses second account into second application Share the playing process for the target flow data that first account is broadcast live.
Optionally, in the present embodiment, above-mentioned data sharing method can be, but not limited to during being applied to live streaming During target flow data is shared, for example, being applied in the server of live streaming application, realizes and live streaming flow data is carried out Efficiently share.It should be noted that in the present embodiment, above-mentioned data sharing method also can be, but not limited to be applied to other During carrying out data sharing in the server of platform, for example, it is also possible to be applied in the server of video playing application, it is right Playing resource in the server of above-mentioned application is shared, and above-mentioned is only a kind of example, does not do herein in the present embodiment any It limits.
It should be noted that in the present embodiment, above-mentioned first application includes but is not limited to live streaming application, also may include But it is not limited to use in web page or other applications with media play function of live streaming.Second application includes but is not limited to society Application, webpage forum etc. is handed over to have the application of social functions or instant messaging.It should also be noted that, the second application is answered with first With can be, but not limited to as associated application, such as the second application provides authorization interface for the first application, is applied with realizing using second In social scope share the message or other content in the first application, to achieve the purpose that expand data sharing range, Here, the application does not do any restriction.
It should be noted that the server in the first application obtains the client transmission applied using the first of the first account Live streaming request after, respond the live streaming request for identifying the image of the target flow data that the first account to be broadcast live Above-mentioned image code, then, is sent to the client of the first application by code, so that the client of the first application generates and target fluxion Block according to matched invitation.Further, the server of the first application, which will acquire, shares above-mentioned invitation card to the sharing of the second application Request, wherein the application identities for inviting card and the second application are carried in sharing request, the second application is answered with the first application to be associated with With;Then, the second account obtained in the second application executes access operation request generated to the invitation card, and responds the visit Ask that the target flow data that the first account is broadcast live is shared in request to the second application.To realize by sharing according to image code And the invitation card that the live streaming control information of target flow data generates, to invite the second account in the second application to carry out direct viewing mesh Mark flow data, wherein live streaming relevant to the target flow data of current live can be not only intuitive to see in above-mentioned invitation card Information is controlled, and live streaming is entered by image code, the operating procedure of data sharing will be greatly simplified, without passing through click again Access link is jumped, so that the waiting time during sharing is reduced, to achieve the effect that improve data sharing efficiency, And then overcome the problem that data sharing efficiency is lower present in the relevant technologies.
Optionally, in the present embodiment, the live streaming carried in instruction is initiated using live streaming and control information, and apply from first The image code for identifying target flow data that obtains of server pass through to generate the invitation card with target stream Data Matching Share the invitation card, to realize the target stream data sharing in live streaming to the associated account number in the second application, wherein the invitation Card can include but is not limited to following at least one format information: text, picture, audio, dynamic picture (gif) or short-sighted frequency, To allow user that can intuitively watch the wanted live content of the first account by the invitation card, in the present embodiment to this Any restriction is not done.
Optionally, in the present embodiment, above-mentioned target flow data can be, but not limited to be used to indicate main broadcaster's account (also The first account) initiate to execute after live streaming initiates operation, into live streaming during the media stream data that is transmitted.Wherein, with Can include but is not limited in live streaming that the first account target flow data to be broadcast live matches control information it is following at least it One: the abstract of the title of target flow data, the live streaming cover picture of target flow data and target flow data indicates information.Wherein, Above-mentioned abstract instruction information can include but is not limited at least one of: live streaming period, main broadcaster identify (ID), live content Brief introduction etc..Above content is only a kind of example, in the present embodiment, does not do any restriction to this.
Optionally, in the present embodiment, the client of the first application is after getting live streaming and initiating instruction, to the first application Server send live streaming request, the server of the first application is the unique data mark of the target flow data to be broadcast live generation Know, and the Data Identification is sent to the server of the second application, so that the server based on data of the second application is identified and generated Image code;Then, the image code that the server of the second application is generated according to the Data Identification is received.It should be noted that second The server of application generates image code according to the Data Identification of target stream Data Matching, to be generated using the image code for obtaining Take the invitation card of target flow data.
Optionally, in the present embodiment, above-mentioned image code can include but is not limited to two dimensional code, three-dimension code etc., Yi Jiqi He is easy to by the image code of application identification.Above content is only a kind of example, in the present embodiment, does not do any restriction to this.
Optionally, in the present embodiment, card will be invited to share to second can include but is not limited to using display is carried out: obtain It takes the client of the first application to block invitation generated and executes sharing operation sharing instruction generated, respond the sharing and refer to It enables, which is passed through to the server of the first application, is sent to the server of the second application, then, card will be invited to share extremely Second application is shown.So that the second account in the second application by client to inviting card to execute operation, such as to inviting Image code in please blocking carries out identification operation, realizes and executes access to invitation card, and then realizes and block matched target to invitation Flow data carries out shared broadcasting.
Optionally, in the present embodiment, when the server of the first application can be, but not limited to obtain the request of access request Between;Obtain the tempo instructions information to match with request time, wherein tempo instructions information is used to indicate broadcasting for target flow data Degree of putting into;The second account into the second application shares the target flow data to match with tempo instructions information.
Optionally, in the present embodiment, the second account sharing into the second application matches with tempo instructions information Target flow data can include but is not limited to:
1) the second account in the case where tempo instructions information instruction target flow data does not start broadcasting, into the second application Number send the first prompt information, wherein the first prompt information for prompt whether reserve play target flow data;
2) in the case where tempo instructions information instruction target flow data has started but do not completed broadcasting, to the second application In the second account send the second prompt information, wherein the second prompt information is for prompting from the currently playing of target flow data Picture starts to play;
3) the second account in the case where broadcasting is completed in tempo instructions information instruction target flow data, into the second application Number send third prompt information, wherein third prompt information is for prompting target flow data that broadcasting is completed.
That is, in the present embodiment, it can be according to the playback progress of the target flow data of live streaming, into the second application The second account share the target flow data to match with tempo instructions information.For example, to start to play, but do not complete to play and be Example can make to play the second account directly corresponding broadcasting pictures of progress indicated by the tempo instructions information;In another example For not starting broadcasting, the second account can be prompted, the first account target flow data to be broadcast live does not have started broadcasting, is No reservation plays.Above-mentioned is only a kind of example, does not do any restriction to this in the present embodiment.
It is specifically illustrated as shown in connection with fig. 3, is illustrated for initiating the client of the first application of live streaming, is such as schemed Step S302-S328 shown in 3, it is generated straight that the client 302 of the first application obtains the execution live streaming initiation operation of the first account Instruction has been broadcast, and instruction is initiated according to the live streaming and sends live streaming request, the clothes of the first application to the server 304 of the first application Business 304 random arrangement of the device one Data Identification ID for unique identification live streaming request target data to be broadcast live, and will Data Identification ID is sent to the server 306 of the second application, so that the server 306 of the second application can be according to the data mark Know the image code generated with target stream Data Matching.The client 302 of first application is received by the server 304 of the first application Image code that the server 306 of second application is sent, and live information relevant to current live, and got according to above-mentioned Content generates the invitation card to match with target flow data.Invitation card execution sharing operation is divided getting the first client After enjoying instruction, which is sent to the server 304 of the first application, the server 304 of the first application will establish the invitation The mapping relations of card and target flow data, and the invitation card is shared by the server 306 of the second application into the second application Use the client 308 of the second account.The invitation card will be shown using the client 308 of the second account in second application, and is obtained The access request for executing access operation to the invitation card is taken, then sends out the access request by the server 306 of the second application It send to the server 304 of the first application, so that the server 304 of the first application can be by the above-mentioned target flow data to be broadcast live It is shared with the client 308 that the second account is used in the second application.
By embodiment provided by the present application, the first application for using the first account is obtained in the server of the first application After the live streaming request that client is sent, the live streaming request is responded for identifying the first account target fluxion to be broadcast live According to image code above-mentioned image code is then sent to the client of the first application so that first application client generate with The invitation card of target stream Data Matching.Further, the server of the first application, which will acquire to share above-mentioned invitation card to second, answers Sharing request, wherein the application identities for inviting card and the second application, the second application and the first application are carried in sharing request For associated application;Then, the second account obtained in the second application executes access operation request generated to the invitation card, and It responds the access request and shares the target flow data that the first account is broadcast live to the second application.To realize by sharing root It is straight to invite the second account in the second application according to the invitation card that the live streaming control information of image code and target flow data generates Connect viewing target flow data, wherein the target flow data phase with current live can be not only intuitive to see in above-mentioned invitation card The live streaming of pass controls information, and enters live streaming by image code, the operating procedure of data sharing will be greatly simplified, without again It is jumped by clicking access link, to reduce the waiting time during sharing, improves data sharing effect to reach The effect of rate, and then overcome the problem that data sharing efficiency is lower present in the relevant technologies.
As a kind of optional scheme, second acquisition unit 904 includes:
1) the first generation module, for generating the Data Identification to match with target flow data;
2) the first sending module, for Data Identification to be sent to the server of the second application, so that the clothes of the second application Device be engaged according to Data Identification generation image code;
3) receiving module, the image code that the server for receiving the second application is sent.
It is specifically illustrated in conjunction with following example, it is assumed that the first application is for being broadcast live and apply app1, and the second application is with society It hands over and is illustrated for applying app2.In this example, the live streaming button for initiating to be broadcast live is being clicked using the main broadcaster of the first account It generates live streaming to initiate after instructing, live streaming will be sent using the background server of app1 to live streaming and requested, live streaming is using after app1 Platform server distributes the live streaming initiated for the main broadcaster to a unique Data Identification ID after receiving above-mentioned live streaming request, The ID is sent to the server of social application app2, so that social application app2 generation one is matched with Data Identification ID Scene image code, such as two dimensional code, and the scene image code is sent to live streaming using app1 so that live streaming using app1 according to The live streaming of the live streaming controls information (also referred to as live information) and scene image code combination producing one matched with this live streaming Invite card.
By embodiment provided by the present application, the data to match with target flow data are generated in the server of the first application After mark, Data Identification is sent to the server of the second application, so that clothes of the server of the second application according to the first application The Data Identification to match transmitted by business device with target flow data, to generate the image code with target stream Data Matching, thus It realizes and obtains reaching simplified target flow data for the invitation card for inviting associated account number to play target flow data using the image code Sharing operation, improve data sharing efficiency effect.
As a kind of optional scheme, further includes:
1) storage unit, for after obtaining the sharing request for applying invitation card sharing to second, storage sharing to be asked Entrained invitation is asked to block the mapping relations between target flow data;
2) the second transmission unit, for sharing request to be sent to the server of the second application.
Optionally, in the present embodiment, sharing unit includes: the first acquisition module, for obtaining the in the second application The access request that two accounts are sent, wherein access request is that the second account in the second application passes through the figure for identifying and inviting in card As the request generated after code.Above-mentioned apparatus further include: the 4th acquiring unit, for the second account pair in the application of acquisition second After inviting card to execute access operation access request generated, requested access to according to mapping relations acquisition with access request It invites and blocks matched target flow data.That is, the second account in the second application can by scanning recognition image code, with Generate the access request sent to the server of the first application.First application server receive above-mentioned access request it Afterwards, the mesh that the invitation card comprising above-mentioned image code requested access to access request matches can be obtained according to mapping relations Flow data is marked, and by the target stream data sharing to the client for using the second account in the second application.
By embodiment provided by the present application, by the server storage in the first application invite card and target flow data it Between mapping relations, in order to can use this and reflect after receiving the access request that the second account in the second application is sent It penetrates the corresponding target flow data of relationship quick obtaining to be shared, to reduce the time for searching sharing contents, improves and share efficiency.
Optionally, in the present embodiment, sharing unit 910 includes:
1) second module is obtained, for obtaining the request time of access request;
2) third obtains module, for obtaining the tempo instructions information to match with request time, wherein tempo instructions letter Breath is used to indicate the playback progress of target flow data;
3) sharing module is shared and tempo instructions information phase for the client into the second application using the second account The target flow data matched.
Optionally, in the present embodiment, sharing module includes:
(1) first prompting submodule, for tempo instructions information instruction target flow data do not start broadcasting in the case where, The first prompt information is sent using the client of the second account into the second application, wherein the first prompt information, which is used for prompt, is No reservation plays target flow data;Or
It is specifically illustrated in conjunction with following example, it is assumed that the first application is for being broadcast live and apply app1, and the second application is with society It hands over and is illustrated for applying app2.In this example, the feelings played are not started in tempo instructions information instruction target flow data Under condition, the second account into the second application sends the first prompt information, as shown in fig. 6, display includes the boundary of " reservation " button Face plays the target flow data to prompt the second account to be confirmed whether to reserve in advance.
(2) second prompting submodules, for having started but not completed to play in tempo instructions information instruction target flow data In the case where, the second prompt information is sent using the client of the second account into the second application, wherein the second prompt information is used It is played since the current playing frames of target flow data in prompt;Or
It is specifically illustrated in conjunction with following example, it is assumed that the first application is for being broadcast live and apply app1, and the second application is with society It hands over and is illustrated for applying app2.In this example, started but do not completed in tempo instructions information instruction target flow data In the case where broadcasting, the second account into the second application sends the second prompt information, to prompt the second account from target fluxion According to current playing frames start to play, and enter deserve before broadcasting pictures play the target flow data.
(3) third prompting submodule, for tempo instructions information instruction target flow data broadcasting is completed in the case where, Third prompt information is sent using the client of the second account into the second application, wherein third prompt information is for prompting mesh Broadcasting is completed in mark flow data.
It is specifically illustrated in conjunction with following example, it is assumed that the first application is for being broadcast live and apply app1, and the second application is with society It hands over and is illustrated for applying app2.In this example, the feelings of broadcasting are completed in tempo instructions information instruction target flow data Under condition, the second account into the second application sends third prompt information, as shown in fig. 7, to prompt the second account target fluxion It is played according to being completed, such as " live streaming that you request has terminated ... ".
By embodiment provided by the present application, shared and tempo instructions information phase by the second account into the second application Matched target flow data is realized so that the second account in the second application can synchronize the broadcasting engineering of target flow data Share synchronized effect.
As a kind of optional scheme, further includes:
1) the second sending module, for after the second account into the second application sends the first prompt information, the In the case that two accounts confirm that reservation plays target flow data according to the first prompt information, start to play in distance objective flow data Predetermined instant before sends the 4th prompt information by the third account of the second application, wherein the 4th prompt information is for mentioning Show that target flow data starts the time played, third account and the second account are associated account number.
It should be noted that in the present embodiment, above-mentioned second account can be, but not limited to concern third account, for example, Third account is first to apply public's account for applying in the second application, and the second account is acknowledging a debt in the second application Number, wherein second account has paid close attention to third account, in order to obtain the message of third account push.
Optionally, in the present embodiment, confirm that reservation plays target flow data according to the first prompt information in the second account In the case where, for example, click " reservation " button, then the predetermined instant before distance objective flow data starts to play, for example, Distance starts broadcasting first 5 minutes, sends the 4th prompt information by the third account of the second application (by taking social application app2 as an example), with Prompting the live streaming of the above-mentioned reservation of the second account will start.
By embodiment provided by the present application, by prompting the second account in time, above-mentioned target flow data starts broadcasting Time avoids omitting or missing reserved target stream so that the second account can obtain reserved broadcast information in time Data guarantee the accuracy and validity shared.
Embodiment 3
According to embodiments of the present invention, additionally provide it is a kind of for implementing the data sharing terminal of above-mentioned data sharing method, As shown in Figure 10, which includes:
1) communication interface 1002 are set as obtaining the execution live streaming initiation operation in the client of the first application of the first account Instruction is initiated in live streaming generated, wherein live streaming is initiated to carry the target flow data to be broadcast live with the first account in instruction The live streaming control information to match;It is also configured to response live streaming and initiates instruction, image code is obtained by the server of the first application, Wherein, image code is for identifying the first account target flow data to be broadcast live;
2) processor 1004 are connect with communication interface 1002, be set as using image code and live streaming control information generate with The invitation card of target stream Data Matching;Being also configured to, which will invite card to share to the second application, shows, to invite the second application In the second account utilize card invited to share the playing process of target flow data that the first account is broadcast live.
3) memory 1006 are connect with communication interface 1002 and processor 1004, be set as storing above-mentioned invitation card and on State live streaming control information.
According to embodiments of the present invention, it additionally provides a kind of for implementing the data sharing service of above-mentioned data sharing method Device, as shown in figure 11, which includes:
1) communication interface 1102, the live streaming for being set as obtaining the client transmission in the first application using the first account are asked It asks, wherein the live streaming control information that the target flow data to be broadcast live with the first account matches is carried in live streaming request;Also It is set as response live streaming request image code, wherein image code is for identifying the first account target flow data to be broadcast live; It is also configured to for image code being sent to the client that the first account is used in the first application, to generate and target stream Data Matching Invite card;Being also configured to obtain will invite card to share to the sharing request of the second application, wherein invitation is carried in sharing request Card and the application identities of the second application;It is also configured to obtain the second account in the second application and execution access operation institute is blocked to invitation The access request of generation;
2) processor 1104 are connect with communication interface 1102, are set as response access request and are used the into the second application The client of two accounts shares the playing process for the target flow data that the first account is broadcast live;
3) memory 1106 are connect with communication interface 1102 and processor 1104, are set as storing above-mentioned invitation card and mesh Mark flow data.
Optionally, the specific example in the present embodiment can be shown with reference to described in above-described embodiment 1 and embodiment 2 Example, details are not described herein for the present embodiment.
Embodiment 4
The embodiments of the present invention also provide a kind of storage mediums.Optionally, in the present embodiment, above-mentioned storage medium can With at least one network equipment in multiple network equipments in network.
Optionally, in the present embodiment, storage medium is arranged to store the program code for executing following steps:
S1, the first account of acquisition execute live streaming initiation operation live streaming initiation generated in the client of the first application and refer to It enables, wherein live streaming is initiated to carry the live streaming control letter that the target flow data to be broadcast live with the first account matches in instruction Breath;
Instruction is initiated in S2, response live streaming, obtains image code by the server of the first application, wherein image code is for marking Know the first account target flow data to be broadcast live;
S3 generates the invitation card with target stream Data Matching using image code and live streaming control information;
S4 will invite card sharing to the second application to show, to invite the second account in the second application to utilize invitation Card shares the playing process for the target flow data that the first account is broadcast live.
Optionally, storage medium is also configured to store the program code for executing following steps:
S1 obtains the live streaming that the client in the first application using the first account is sent and requests, wherein takes in live streaming request Information is controlled with the live streaming that the target flow data to be broadcast live with the first account matches;
S2, response live streaming request image code, wherein image code is for identifying the first account target stream to be broadcast live Data;
Image code is sent to the client that the first account is used in the first application by S3, to generate and target flow data The invitation card matched;
S4, obtain by invite card share to second application sharing request, wherein carried in sharing request invitation card and The application identities of second application;
S5, the second account obtained in the second application blocks execution access operation access request generated to invitation, and rings The target flow data for answering client sharing first account of the access request into the second application using the second account to be broadcast live is broadcast Let off journey.
Optionally, in the present embodiment, above-mentioned storage medium can include but is not limited to: USB flash disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or The various media that can store program code such as CD.
Optionally, the specific example in the present embodiment can be shown with reference to described in above-described embodiment 1 and embodiment 2 Example, details are not described herein for the present embodiment.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
If the integrated unit in above-described embodiment is realized in the form of SFU software functional unit and as independent product When selling or using, it can store in above-mentioned computer-readable storage medium.Based on this understanding, skill of the invention Substantially all or part of the part that contributes to existing technology or the technical solution can be with soft in other words for art scheme The form of part product embodies, which is stored in a storage medium, including some instructions are used so that one Platform or multiple stage computers equipment (can be personal computer, server or network equipment etc.) execute each embodiment institute of the present invention State all or part of the steps of method.
In the above embodiment of the invention, it all emphasizes particularly on different fields to the description of each embodiment, does not have in some embodiment The part of detailed description, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed client, it can be by others side Formula is realized.Wherein, the apparatus embodiments described above are merely exemplary, such as the division of the unit, and only one Kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or It is desirably integrated into another system, or some features can be ignored or not executed.Another point, it is shown or discussed it is mutual it Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of unit or module It connects, can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered It is considered as protection scope of the present invention.

Claims (21)

1. a kind of data sharing method characterized by comprising
The execution live streaming initiation operation live streaming generated in the client of the first application of the first account is obtained to initiate to instruct, In, the live streaming is initiated to carry the live streaming control that the target flow data to be broadcast live with first account matches in instruction Information;
It responds the live streaming and initiates instruction, the server applied by described first obtains image code, wherein described image code is used In mark the first account target flow data to be broadcast live;
The invitation card with the target stream Data Matching is generated using described image code and the live streaming control information;
Invitation card is shared to the second application and is shown, to invite described in the second account utilization in second application The target flow data for inviting the first account described in card direct viewing to be broadcast live.
2. the method according to claim 1, wherein the response live streaming is initiated to instruct, pass through described the The server of one application obtains image code
The server applied by described first receives the described image code that the server of second application generates, wherein institute State image code be it is described second application server according to it is described first application server transmitted by with the target fluxion It is generated according to the Data Identification to match.
3. the method according to claim 1, wherein described show invitation card sharing to the second application Show and includes:
The client obtained in first application blocks the sharing instruction generated of execution sharing operation to the invitation;
The server shared instruction and the invitation card is sent to first application is responded, so that first application Invitation card is shared by the described second server applied and uses second account into second application by server Number client shown, wherein the server of first application will store invitations card and the target flow data Between mapping relations.
4. the method according to claim 1, wherein described control information using described image code and the live streaming It generates and includes: with the invitation card of the target stream Data Matching
Obtain configuration-direct, wherein the configuration-direct is used to configure the Show Styles for inviting card;
It is laid out the live streaming control information and described image code according to the Show Styles, to generate the invitation card.
5. method according to claim 1 to 4, which is characterized in that include in live streaming control information with It is at least one lower: the live streaming cover picture and the target flow data of the title of the target flow data, the target flow data Abstract indicate information.
6. method according to claim 1 to 4, which is characterized in that described image code includes two dimensional code.
7. a kind of data sharing method characterized by comprising
It obtains the live streaming that the client in the first application using the first account is sent to request, wherein carry in the live streaming request The live streaming control information for thering is the target flow data to be broadcast live with first account to match;
Respond the live streaming request image code, wherein described image code is for identifying what first account to be broadcast live The target flow data;
Described image code is sent to the client that first account is used in first application, to generate and the target The matched invitation card of flow data;
It obtains and invites card to share to the sharing request of the second application for described, wherein carry described invite in the sharing request Please block and it is described second application application identities;
The second account obtained in second application blocks execution access operation access request generated to the invitation, and rings It answers the access request to share first account using the client of second account into second application to be broadcast live The target flow data so that second account utilizes the institute that is broadcast live of the first account described in the invitation card direct viewing State target flow data.
8. the method according to the description of claim 7 is characterized in that the response live streaming request image code includes:
Generate the Data Identification to match with the target flow data;
The Data Identification is sent to the server of second application, so that the server of second application is according to Data Identification generates described image code;
Receive the described image code that the server of second application is sent.
9. the method according to the description of claim 7 is characterized in that invitation card is shared to the second application in described obtain Sharing request after, further includes:
Store the mapping relations between the invitation card and the target flow data entrained in the sharing request;
The sharing request is sent to the server of second application.
10. according to the method described in claim 9, it is characterized in that,
Second account obtained in second application, which blocks the invitation, executes access operation access request generated It include: the access request for obtaining second account in second application and sending, wherein the access request is institute Second account in the second application is stated by identifying the request generated after the described image code invited in card;
Block execution access operation access generated to the invitation in second account obtained in second application to ask After asking, further includes: it is matched to obtain the invitation card requested access to the access request according to the mapping relations The target flow data.
11. the method according to the description of claim 7 is characterized in that the response access request is applied to described second The middle client using second account shares the playing process packet for the target flow data that first account is broadcast live It includes:
Obtain the request time of the access request;
Obtain the tempo instructions information to match with the request time, wherein the tempo instructions information is used to indicate described The playback progress of target flow data;
Share the institute to match with the tempo instructions information using the client of second account into second application State target flow data.
12. according to the method for claim 11, which is characterized in that described to use second account into second application Number client sharing included with the target stream packets that the tempo instructions information matches:
In the case where the tempo instructions information indicates that the target flow data does not start broadcasting, make in the application of Xiang Suoshu second The first prompt information is sent with the client of second account, wherein whether first prompt information is reserved for prompting Play the target flow data;Or
The tempo instructions information indicate the target flow data started but do not complete play in the case where, Xiang Suoshu the The second prompt information is sent using the client of second account in two applications, wherein second prompt information is for mentioning Show and is played since the current playing frames of the target flow data;Or
In the case where the tempo instructions information indicates that broadcasting is completed in the target flow data, make in the application of Xiang Suoshu second Third prompt information is sent with the client of second account, wherein the third prompt information is for prompting the target Broadcasting is completed in flow data.
13. according to the method for claim 12, which is characterized in that using second account into second application Client send first prompt information after, further includes:
Second account according to first prompt information confirm reservation play the target flow data in the case where, away from Predetermined instant before starting to play from the target flow data, the third account applied by described second send the 4th prompt Information, wherein the 4th prompt information be used for prompt the target flow data start play time, the third account with Second account is associated account number.
14. a kind of data sharing device characterized by comprising
First acquisition unit, it is generated for obtaining the execution live streaming initiation operation in the client of the first application of the first account Instruction is initiated in live streaming, wherein the live streaming is initiated to carry the target flow data to be broadcast live with first account in instruction The live streaming control information to match;
Second acquisition unit initiates instruction for responding the live streaming, and the server applied by described first obtains image code, Wherein, described image code is for identifying first account target flow data to be broadcast live;
Generation unit, for generating and being invited with the target stream Data Matching using described image code and the live streaming control information It please block;
Sharing unit is shown for sharing invitation card to the second application, to invite the in second application The target flow data that two accounts are broadcast live using the first account described in the invitation card direct viewing.
15. device according to claim 14, which is characterized in that the second acquisition unit includes:
Receiving module, the figure that the server for receiving second application by the described first server applied generates As code, wherein described image code be second application server according to transmitted by the server of first application with Data Identification that the target flow data matches and generate.
16. device according to claim 14, which is characterized in that the sharing unit includes:
First obtains module, is generated for obtaining the client applied described first to invitation card execution sharing operation Sharing instruction;
Sending module, for responding the sharing instruction for the server for inviting card to be sent to first application, so that The server of first application is shared invitation card into second application by the described second server applied Shown using the client of second account, wherein the server of first application will store invitations card and Mapping relations between the target flow data.
17. device according to claim 14, which is characterized in that the generation unit includes:
Second obtains module, for obtaining configuration-direct, wherein the configuration-direct is used to configure the display sample for inviting card Formula;
Generation module, for being laid out the live streaming control information and described image code according to the Show Styles, described in generating Invite card.
18. a kind of data sharing device characterized by comprising
First acquisition unit is requested, wherein institute for obtaining the live streaming that the client in the first application using the first account is sent It states and carries the live streaming control information that the target flow data to be broadcast live with first account matches in live streaming request;
Second acquisition unit, for responding the live streaming request image code, wherein described image code is for identifying described the The one account target flow data to be broadcast live;
First transmission unit, for described image code to be sent to the client for using first account in first application End, to generate the invitation card with the target stream Data Matching;
Third acquiring unit invites card to share to the sharing request of the second application, wherein the sharing is asked for obtaining by described The application identities for inviting card and second application are carried in asking;
Sharing unit, it is generated to invitation card execution access operation for obtaining the second account in second application Access request, and respond the access request and share described the using the client of second account into second application The target flow data that one account is broadcast live, so that second account utilizes the first account described in the invitation card direct viewing Number target flow data being broadcast live.
19. device according to claim 18, which is characterized in that the second acquisition unit includes:
First generation module, for generating the Data Identification to match with the target flow data;
First sending module, for the Data Identification to be sent to the server of second application, so that described second answers Server generates described image code according to the Data Identification;
Receiving module, the described image code that the server for receiving second application is sent.
20. device according to claim 18, which is characterized in that the sharing unit includes:
Second obtains module, for obtaining the request time of the access request;
Third obtains module, for obtaining the tempo instructions information to match with the request time, wherein the tempo instructions Information is used to indicate the playback progress of the target flow data;
Sharing module is believed for being shared into second application using the client of second account with the tempo instructions The matched target flow data of manner of breathing.
21. device according to claim 20, which is characterized in that the sharing module includes:
First prompting submodule, for indicating that the target flow data does not start the case where playing in the tempo instructions information Under, the first prompt information is sent using the client of second account in the application of Xiang Suoshu second, wherein first prompt Information plays the target flow data for prompting whether to reserve;Or
Second prompting submodule, for indicating that the target flow data has started but do not completed to broadcast in the tempo instructions information In the case where putting, the second prompt information is sent using the client of second account in the application of Xiang Suoshu second, wherein described Second prompt information is for prompting to play since the current playing frames of the target flow data;Or
Third prompting submodule, for indicating the case where broadcasting is completed in the target flow data in the tempo instructions information Under, third prompt information is sent using the client of second account in the application of Xiang Suoshu second, wherein the third prompt Information is for prompting the target flow data that broadcasting is completed.
CN201710279852.2A 2017-04-25 2017-04-25 Data sharing method and device Active CN107690085B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710279852.2A CN107690085B (en) 2017-04-25 2017-04-25 Data sharing method and device
PCT/CN2018/084209 WO2018196733A1 (en) 2017-04-25 2018-04-24 Data sharing method and device, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710279852.2A CN107690085B (en) 2017-04-25 2017-04-25 Data sharing method and device

Publications (2)

Publication Number Publication Date
CN107690085A CN107690085A (en) 2018-02-13
CN107690085B true CN107690085B (en) 2019-06-07

Family

ID=61152384

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710279852.2A Active CN107690085B (en) 2017-04-25 2017-04-25 Data sharing method and device

Country Status (2)

Country Link
CN (1) CN107690085B (en)
WO (1) WO2018196733A1 (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107690085B (en) * 2017-04-25 2019-06-07 腾讯科技(深圳)有限公司 Data sharing method and device
CN110536178B (en) * 2018-05-25 2021-08-20 视联动力信息技术股份有限公司 Live broadcast control method and system
CN110769184A (en) * 2018-07-27 2020-02-07 视联动力信息技术股份有限公司 Service processing method and device
CN111414560B (en) * 2019-01-04 2024-05-24 腾讯科技(深圳)有限公司 Shared information processing method and device, related equipment and storage medium
CN110245304B (en) * 2019-04-16 2021-09-03 创新先进技术有限公司 Data sharing method, device and computer readable medium
US10984206B2 (en) 2019-04-16 2021-04-20 Advanced New Technologies Co., Ltd. Data storing and sharing using two-dimensional codes
CN113992619B (en) * 2020-07-10 2024-03-08 腾讯科技(深圳)有限公司 Live information processing method, device, equipment and computer readable storage medium
CN112104884A (en) * 2020-08-31 2020-12-18 广州华多网络科技有限公司 Message pushing method and device and electronic equipment
CN114666613B (en) * 2020-12-22 2024-01-05 华为终端有限公司 Network live broadcast method and electronic equipment
CN115378901B (en) * 2022-08-23 2024-03-26 北京达佳互联信息技术有限公司 Work sending method, display method, terminal and server

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104093067A (en) * 2014-06-23 2014-10-08 广州三星通信技术研究有限公司 Device and method for sharing and playing audio-visual clips in terminal
CN104639985A (en) * 2013-11-14 2015-05-20 深圳市快播科技有限公司 Multimedia playing control method and system
CN104703041A (en) * 2015-03-13 2015-06-10 天脉聚源(北京)传媒科技有限公司 Video sharing method and device
CN104703039A (en) * 2015-03-13 2015-06-10 天脉聚源(北京)传媒科技有限公司 Video information acquiring method and device
CN106488326A (en) * 2016-11-28 2017-03-08 暴风集团股份有限公司 According to Quick Response Code, video is carried out with the method and system of continued broadcasting

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7272298B1 (en) * 1998-05-06 2007-09-18 Burst.Com, Inc. System and method for time-shifted program viewing
US9900662B2 (en) * 2011-05-03 2018-02-20 Vmtv, Inc. Social data associated with bookmarks to multimedia content
KR20120136649A (en) * 2011-06-09 2012-12-20 삼성전자주식회사 Method and system for providing additional information of contents
US8358903B1 (en) * 2011-10-31 2013-01-22 iQuest, Inc. Systems and methods for recording information on a mobile computing device
US9179171B2 (en) * 2011-11-30 2015-11-03 Verizon Patent And Licensing Inc. Content recommendation for a unified catalog
CN104168517B (en) * 2014-08-04 2017-10-13 广州华多网络科技有限公司 Into the method and system of direct broadcast band
CN106302086A (en) * 2015-05-19 2017-01-04 努比亚技术有限公司 A kind of different mobile terminal carries out the method for content synchronization, Apparatus and system
CN105163193B (en) * 2015-08-28 2019-12-13 北京奇艺世纪科技有限公司 comment information sharing method and device for video-on-demand played by smart television
CN105704502B (en) * 2016-01-19 2018-11-20 丁一 Net cast exchange method and device
CN106331881B (en) * 2016-09-20 2019-08-06 福建星网锐捷通讯股份有限公司 A kind of method and system for assisting management net cast based on wechat
CN106341408B (en) * 2016-09-20 2019-12-03 武汉斗鱼网络科技有限公司 A kind of TV equipment local area networks are interior to be broadcast live sharing method and system
CN107690085B (en) * 2017-04-25 2019-06-07 腾讯科技(深圳)有限公司 Data sharing method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104639985A (en) * 2013-11-14 2015-05-20 深圳市快播科技有限公司 Multimedia playing control method and system
CN104093067A (en) * 2014-06-23 2014-10-08 广州三星通信技术研究有限公司 Device and method for sharing and playing audio-visual clips in terminal
CN104703041A (en) * 2015-03-13 2015-06-10 天脉聚源(北京)传媒科技有限公司 Video sharing method and device
CN104703039A (en) * 2015-03-13 2015-06-10 天脉聚源(北京)传媒科技有限公司 Video information acquiring method and device
CN106488326A (en) * 2016-11-28 2017-03-08 暴风集团股份有限公司 According to Quick Response Code, video is carried out with the method and system of continued broadcasting

Also Published As

Publication number Publication date
WO2018196733A1 (en) 2018-11-01
CN107690085A (en) 2018-02-13

Similar Documents

Publication Publication Date Title
CN107690085B (en) Data sharing method and device
CN109922377B (en) Play control method and device, storage medium and electronic device
CN110784752B (en) Video interaction method and device, computer equipment and storage medium
US9925465B2 (en) Game accessing method and processing method, server, terminal, and system
CN106385603B (en) The method for message transmission and device of media file
CN112667086B (en) Interaction method and device for VR house watching
CN112770135B (en) Live broadcast-based content explanation method and device, electronic equipment and storage medium
CN106302666B (en) Data push method and device
CN102185924A (en) Method and equipment for sharing video screenshot
CN114327205B (en) Picture display method, storage medium and electronic device
CN112055252A (en) Multi-screen interaction method and device, computer readable medium and electronic equipment
EP2437512B1 (en) Social television service
CN104468845A (en) Data processing method and system
WO2025103245A1 (en) Interaction method and apparatus, electronic device, and storage medium
CN108574878A (en) Data interactive method and device
CN113747247B (en) Live broadcast method, live broadcast device, computer equipment and storage medium
CN106792237B (en) Message display method and system
WO2025103004A1 (en) Interaction method and apparatus, electronic device and storage medium
CN107529066B (en) The playing method and device of video
CN110049360A (en) Cross-platform contents controlling method, device, terminal, server and storage medium
CN106162234A (en) A kind of method and device sharing TV programme
CN106302463B (en) Data interactive method and device
CN116962797A (en) A multi-screen interaction method and mobile terminal, display device and storage medium
CN112416497A (en) Image display processing method and device, and video-on-demand system
HK40065616B (en) Playing control method and apparatus, storage medium and electronic apparatus

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
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载