[go: up one dir, main page]

WO2018196733A1 - Data sharing method and device, storage medium and electronic device - Google Patents

Data sharing method and device, storage medium and electronic device Download PDF

Info

Publication number
WO2018196733A1
WO2018196733A1 PCT/CN2018/084209 CN2018084209W WO2018196733A1 WO 2018196733 A1 WO2018196733 A1 WO 2018196733A1 CN 2018084209 W CN2018084209 W CN 2018084209W WO 2018196733 A1 WO2018196733 A1 WO 2018196733A1
Authority
WO
WIPO (PCT)
Prior art keywords
application
account
stream data
target stream
sharing
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.)
Ceased
Application number
PCT/CN2018/084209
Other languages
French (fr)
Chinese (zh)
Inventor
陈尔晓
姚昊东
曾鹏云
朱章厚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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
Publication of WO2018196733A1 publication Critical patent/WO2018196733A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/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/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/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

Definitions

  • the present application relates to the field of computers, and in particular to a data sharing method and apparatus, a storage medium, and an electronic device.
  • an access link corresponding to the content of the media stream data is generated, and the access link is directly shared to the community space, so that the friend displays in the click community space. After accessing the link, by jumping to the page corresponding to the above access link, the sharing and playing of the media stream data to be shared in the above page can be realized.
  • the friend is invited to view the media stream data in the page corresponding to the access link.
  • the access threshold of the link jump is increased, which may cause many users to abandon the data sharing in order to avoid unnecessary waiting, thereby resulting in more efficient sharing of media stream data. Low problem.
  • the embodiment of the present application provides a data sharing method and device, a storage medium, and an electronic device to solve at least the technical problem of low data sharing efficiency existing in the current data sharing method.
  • a data sharing method including: acquiring a live broadcast initiation instruction generated by a first account to perform a live broadcast initiation operation in a client of a first application, where the live broadcast initiation instruction carries The live broadcast control information is matched with the target flow data to be broadcasted by the first account; and the image code is obtained by the server of the first application in response to the live broadcast initiation command, where the image code is used to identify that the first account is to be broadcasted.
  • the target stream data is generated by using the image code and the live broadcast control information to generate an invitation card that matches the target stream data; and the invitation card is shared to the second application for display, to invite the second account in the second application to be utilized.
  • the invitation card shares the playing process of the target stream data broadcasted by the first account.
  • a data sharing method including: acquiring a live broadcast request sent by a client using a first account in a first application, where the live broadcast request carries the first The live stream control information that the target stream data to be broadcasted by the account is matched; and the image code is obtained in response to the live broadcast request, wherein the image code is used to identify the target stream data to be broadcasted by the first account; and the image code is sent to the foregoing An application that uses the first account to generate an invitation card that matches the target stream data; and obtains a sharing request for sharing the invitation card to the second application, where the sharing request carries the invitation card and The application identifier of the second application, the access request generated by the second account in the second application to perform the access operation on the invitation card, and the client using the second account in the second application in response to the access request Sharing the playing process of the above target stream data broadcasted by the first account mentioned above.
  • a data sharing apparatus including: a first acquiring unit, configured to acquire a live broadcast initiation instruction generated by a first account to perform a live broadcast initiation operation in a client of the first application
  • the live broadcast initiating instruction carries live broadcast control information that matches the target flow data to be broadcasted by the first account;
  • the second obtaining unit is configured to obtain an image by using the server of the first application in response to the live broadcast initiation command.
  • the image code is used to identify the target stream data to be broadcasted by the first account
  • the generating unit is configured to generate an invitation card that matches the target stream data by using the image code and the live control information
  • the method is configured to share the invitation card to the second application for display, to invite the second account in the second application to share the playing process of the target stream data broadcasted by the first account by using the invitation card.
  • a data sharing apparatus including: a first acquiring unit, configured to acquire a live broadcast request sent by a client using a first account in a first application, where the live broadcast request The live control information is matched with the target stream data to be broadcasted by the first account, and the second acquiring unit is configured to obtain the image code in response to the live request, wherein the image code is used to identify that the first account is to be broadcasted.
  • the first sending unit is configured to send the image code to the client that uses the first account in the first application to generate an invitation card that matches the target stream data; and a third acquiring unit,
  • the sharing request is configured to obtain the sharing request for sharing the foregoing invitation card to the second application, where the sharing request carries the invitation card and the application identifier of the second application, and the sharing unit is configured to acquire the second in the second application.
  • the account performs an access request generated by the access operation on the invitation card, and responds to the access request Said second application using the second sharing client account during playback of the first broadcast by the target account data stream.
  • a storage medium having a computer program stored therein, wherein the computer program is configured to execute the data sharing method at runtime.
  • an electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes the data by using a computer program Sharing method.
  • the client in the first application after obtaining the live broadcast initiation instruction generated by the first account to perform the live broadcast initiation operation, obtains the first account to obtain the first account by responding to the live initiation command.
  • the image code of the target stream data of the live broadcast and then using the above-mentioned image code and the live broadcast control information matched by the target stream data carried in the live broadcast command to generate an invitation card matching the target stream data, and sharing the invitation card to
  • the second application performs display to invite the second account in the second application to share the playing process of the target stream data broadcasted by the first account by using the invitation card.
  • the second account in the second application is invited to directly view the target stream data by sharing the invitation card generated according to the live control information of the image code and the target stream data, wherein the invitation card can not only visually see and
  • the live broadcast control information related to the current live stream target data, and entering the live broadcast through the image code greatly simplifies the operation steps of data sharing, reduces the waiting time in the sharing process, and achieves the effect of improving data sharing efficiency, thereby overcoming the correlation.
  • FIG. 1 is a schematic diagram of an application environment of an optional data sharing method according to an embodiment of the present application
  • FIG. 2 is a flowchart of an optional data sharing method according to an embodiment of the present application.
  • FIG. 3 is a flow chart of another alternative data sharing method according to an embodiment of the present application.
  • FIG. 4 is a schematic diagram of an optional data sharing method according to an embodiment of the present application.
  • FIG. 5 is a flowchart of still another optional data sharing method according to an embodiment of the present application.
  • FIG. 6 is a schematic diagram of another optional data sharing method according to an embodiment of the present application.
  • FIG. 7 is a schematic diagram of still another optional data sharing method according to an embodiment of the present application.
  • FIG. 8 is a schematic diagram of an optional data sharing apparatus according to an embodiment of the present application.
  • FIG. 9 is a schematic diagram of another optional data sharing device according to an embodiment of the present application.
  • FIG. 10 is a schematic diagram of an optional data sharing terminal according to an embodiment of the present application.
  • FIG. 11 is a schematic diagram of an optional data sharing server in accordance with an embodiment of the present application.
  • the data sharing method may be, but is not limited to, being applied to an application environment as shown in FIG. 1.
  • the terminal 102 is installed with a client that uses the first application of the first account, and is used to initiate a live broadcast.
  • the terminal 108 is installed with a client of the second application using the second account.
  • the first account is used to initiate a live broadcast as an anchor, and the second account is used as a fan to watch content in a live broadcast.
  • the terminal 102 obtains a live broadcast initiation instruction generated by the first account to perform a live broadcast initiation operation in the client of the first application, where the live broadcast initiation instruction carries live broadcast control information that matches the target flow data to be broadcasted by the first account;
  • the image code is obtained by the server 106 of the first application, wherein the image code is used to identify the target stream data to be broadcasted by the first account; and the image card and the live control information are used to generate an invitation card matching the target stream data.
  • the terminal 102 shares the invitation card to the second application for display by the network 104, so as to invite the second account in the second application to share the playing process of the target stream data broadcasted by the first account by using the invitation card, where the second The application is associated with the first application.
  • the client in the first application after obtaining the live broadcast initiation instruction generated by the first account to perform the live broadcast initiation operation, obtains the live broadcast initiation command to obtain the first account to be broadcasted through the server of the first application.
  • the image code of the target stream data and then using the above-mentioned image code and the live control information carried in the live broadcast command to match the target stream data, generate an invitation card matching the target stream data, and share the invitation card to the first
  • the second application performs display to invite the second account in the second application to share the playing process of the target stream data broadcasted by the first account by using the invitation card.
  • the second account in the second application is invited to directly view the target stream data by sharing the invitation card generated according to the live control information of the image code and the target stream data, wherein the invitation card can not only visually see and
  • the live broadcast control information related to the current live stream target data, and entering the live broadcast through the image code greatly simplifies the operation steps of data sharing, reduces the waiting time in the sharing process, and achieves the effect of improving data sharing efficiency, thereby overcoming the correlation.
  • the foregoing terminal may include, but is not limited to, at least one of the following: a mobile phone, a tablet computer, a notebook computer, a desktop PC, a digital television, and other hardware devices for live broadcast sharing.
  • the above network may include, but is not limited to, at least one of the following: a wide area network, a metropolitan area network, and a local area network. The above is only an example, and the embodiment does not limit this.
  • a data sharing method As shown in FIG. 2, the method includes:
  • S204 Acquire an image code by using a server of the first application, where the image code is used to identify target stream data to be broadcasted by the first account.
  • the invitation card is shared to the second application for display, so that the second account in the second application invites the invitation card to share the playing process of the target stream data broadcasted by the first account.
  • the foregoing data sharing method may be applied to the process of sharing the target stream data in the live broadcast process, for example, in a live broadcast application, to implement efficient sharing of the live stream data.
  • the foregoing data sharing method may also be applied to a process of data sharing in other platforms, for example, may also be applied to a video playing application, and playing in the above application.
  • the resource is shared.
  • the foregoing is only an example, and is not limited herein.
  • the foregoing first application includes, but is not limited to, a live broadcast application, and may also include, but is not limited to, a webpage for live broadcast or other applications having a media play function.
  • the second application includes, but is not limited to, social applications, web forums, and the like with social functions or instant messaging.
  • the second application and the first application may be, but are not limited to, an associated application, such as the second application providing an authorization interface for the first application, to implement sharing the social application in the second application to share the first application. Messages or other content to achieve the purpose of expanding the scope of data sharing, and the application is not limited herein.
  • the client in the first application obtains the live broadcast initiation instruction to obtain the first account to be broadcasted by the server of the first application.
  • An image code of the target stream data and then using the image code and the live control information of the target stream data carried in the live broadcast command to generate an invitation card that matches the target stream data, and sharing the invitation card to the second application for display. The process of inviting the second account in the second application to synchronously share the first account live target stream data by using the invitation card.
  • the second account in the second application is invited to directly view the target stream data by sharing the invitation card generated according to the live control information of the image code and the target stream data, wherein the invitation card can not only visually see and
  • the live broadcast control information related to the current live stream target data, and entering the live broadcast through the image code will greatly simplify the data sharing operation steps, without having to click the access link to jump, thereby reducing the waiting time in the sharing process, thereby To achieve the effect of improving data sharing efficiency, and thus overcome the problem of low data sharing efficiency in related technologies.
  • the live broadcast control information carried in the live broadcast initiation command and the image code used to identify the target flow data obtained from the server of the first application are used to generate an invitation card that matches the target flow data.
  • the target stream data in the live broadcast is shared to the associated account in the second application, where the invitation card may include but is not limited to at least one of the following format information: text, picture, audio, dynamic A picture (gif) or a short video, so that the user can intuitively view the content to be broadcasted by the first account through the invitation card, which is not limited in this embodiment.
  • the foregoing target stream data may be, but not limited to, used to indicate that the media stream data transmitted during the live broadcast process is performed after the anchor account (that is, the first account) initiates the live broadcast initiation operation.
  • the live control information that matches the target stream data to be broadcasted by the first account may include, but is not limited to, at least one of the following: a title of the target stream data, a live cover image of the target stream data, and a summary indication of the target stream data. information.
  • the summary indication information may include, but is not limited to, at least one of the following: a live broadcast period, an anchor identifier (ID), a live content introduction, and the like.
  • ID anchor identifier
  • the above content is only an example, and in this embodiment, no limitation is imposed on this.
  • the title and the cover of the target stream data broadcasted by the first account may be acquired by the client of the first application. Sending a title and a cover of the target stream data broadcasted by the first account to the server of the first application to initiate a live broadcast request for requesting live broadcast of the target stream data.
  • the client of the first application after obtaining the live broadcast initiation command, sends a live broadcast request to the server of the first application, and the server of the first application generates unique data for the target stream data to be broadcasted. Identifying, and transmitting the data identifier to the server of the second application, so that the server of the second application generates the image code according to the data identifier; and then receiving the image code generated by the server of the second application according to the data identifier.
  • the server of the second application generates an image code according to the data identifier matching the target stream data, to generate an invitation card for acquiring the target stream data by using the image code.
  • the foregoing image code may include, but is not limited to, a two-dimensional code, a three-dimensional code, and the like, and other image codes that are easily recognized by the application.
  • the above content is only an example, and in this embodiment, no limitation is imposed on this.
  • the sharing the invitation card to the second application for display may include, but is not limited to: acquiring a sharing instruction generated by the client of the first application to perform a sharing operation on the generated invitation card, in response to the The sharing instruction sends the invitation card to the server of the second application through the server of the first application, and then shares the invitation card to the second application for display.
  • the sharing instruction sends the invitation card to the server of the second application through the server of the first application, and then shares the invitation card to the second application for display.
  • an operation on the invitation card through the client such as performing an identification operation on the image code in the invitation card, performing access to the invitation card, thereby implementing target stream data matching the invitation card. Shared play.
  • generating an invitation card that matches the target stream data by using the image code and the live broadcast control information includes, but is not limited to, the client of the first application may be, but is not limited to, indicated according to the acquired configuration instruction.
  • the display style of the invitation card is used to lay out the live control information and the image code that match the target stream data, thereby achieving the purpose of generating the invitation card.
  • the client of the first application that initiates the live broadcast is taken as an example.
  • steps S302-S328 the client 302 of the first application obtains the first account to perform the live broadcast initiation operation.
  • the generated live broadcast initiating instruction and sending a live broadcast request to the server 304 of the first application according to the live broadcast initiating instruction, where the server 304 of the first application randomly configures a data identifier ID for uniquely identifying the target data to be broadcasted by the live broadcast request, and
  • the data identification ID is sent to the server 306 of the second application such that the server 306 of the second application can generate an image code that matches the target stream data based on the data identification.
  • the client 302 of the first application receives the image code sent by the server 306 of the second application and the live broadcast information related to the current live broadcast through the server 304 of the first application, and generates a matching match with the target stream data according to the acquired content.
  • invitation card After obtaining the sharing instruction of the sharing operation by the first client to the invitation card, the invitation card is sent to the server 304 of the first application, and the server 304 of the first application establishes a mapping relationship between the invitation card and the target stream data.
  • the invitation card is shared by the server 306 of the second application to the client 308 in the second application using the second account.
  • the client 308 using the second account in the second application will display the invitation card, and obtain an access request for performing an access operation on the invitation card, and then send the access request to the server of the first application through the server 306 of the second application. 304, so that the server 304 of the first application can share the target stream data to be broadcasted to the client 308 in the second application using the second account.
  • the client in the first application After obtaining the live broadcast initiation command generated by the first account to perform the live broadcast initiation operation, the client in the first application obtains the first account by using the server of the first application in response to the live broadcast initiation command.
  • the application performs display to invite the second account in the second application to synchronously share the first account live target stream data by using the invitation card.
  • the second account in the second application is invited to directly view the target stream data by sharing the invitation card generated according to the live control information of the image code and the target stream data, wherein the invitation card can not only visually see and
  • the live broadcast control information related to the current live stream target data, and entering the live broadcast through the image code will greatly simplify the data sharing operation steps, without having to click the access link to jump, thereby reducing the waiting time in the sharing process, thereby To achieve the effect of improving data sharing efficiency, and thus overcome the problem of low data sharing efficiency in related technologies.
  • acquiring the image code by using the server of the first application includes:
  • the image code generated by the server of the second application is received by the server of the first application, where the image code is generated by the server of the second application according to the data identifier that is sent by the server of the first application and matches the target stream data.
  • the first application is taken as an example of the live application app1
  • the second application is described by taking the social application app2 as an example.
  • the live broadcast request is sent to the background server of the live application app1, and the background server of the live application app1 receives the live broadcast request.
  • the live broadcast initiated by the anchor is assigned a unique data identification ID, and the ID is sent to the server of the social application app2, so that the social application app2 generates a scene image code matching the data identification ID, such as a two-dimensional code, and The scene image code is sent to the live application app1, so that the live application app1 generates an invitation card that matches the live broadcast according to the live broadcast control information (also called live broadcast information) and the scene image code combination.
  • live broadcast control information also called live broadcast information
  • an image code matching the target stream data is generated according to the data identifier sent by the server of the first application and matched with the target stream data, to utilize the image.
  • the code obtains an invitation card for inviting the associated account to play the target stream data, thereby simplifying the sharing operation of the target stream data and improving the data sharing efficiency.
  • sharing the invitation card to the second application for display includes:
  • the first application is taken as an example of the live application app1
  • the second application is described by taking the social application app2 as an example.
  • the sharing instruction generated by the anchor click initiation sharing button of the first account is acquired, and the invitation card is sent to the background server of the live application app1 in response to the sharing instruction, so that The background server of the live application app1 shares the invitation card to the social application app2 through the background server of the social application app2, so as to invite the second account of the social application app2 to focus on the first account to enter by identifying the image code on the invitation card.
  • the play interface of the target stream data is used to play the target stream data to realize data sharing.
  • the background server of the live application app1 stores the mapping relationship between the invitation card and the target stream data. Therefore, after receiving the access request generated by the second account in the second application by identifying the image code, the target stream data corresponding to the invitation card including the image code is pushed to the second account in the second application.
  • the sharing instruction generated by the client of the first application to perform the sharing operation on the invitation card is obtained, and the invitation card is sent to the server of the first application in response to the sharing instruction, so that the server of the first application passes
  • the server of the second application displays the client card to the client of the second application for display, so as to achieve the purpose of sharing the target stream data by using the social scope of the second application, and further, displaying the invitation card in the second application.
  • the client of the second account will also achieve the purpose of visually displaying the relevant content of the target stream data to be broadcasted, without having to obtain the jump link.
  • using the image code and the live control information to generate an invitation card that matches the target stream data includes:
  • the live control information and the image code are arranged according to the display style to generate an invitation card.
  • the live broadcast control information may include, but is not limited to, at least one of the following: a title of the target stream data, a live cover picture of the target stream data, and summary indication information of the target stream data.
  • the live broadcast control information of the target stream data to be broadcasted in this time includes: a topic, a cover, a summary indication information, and the like, wherein the summary indication information includes: a live broadcast time and a live broadcast.
  • the anchor identification (for example, the identification A), further, assumes that the image code is a two-dimensional code.
  • the live application app1 may first obtain a configuration command, where the configuration command includes a display style for configuring the invitation card, and performs layout layout on the live control information and the image code according to the display style, to generate a corresponding invitation card, as shown in FIG. .
  • the live broadcast control information and the image code are configured to generate an invitation card according to the display style in the configuration instruction, so that the live broadcast content can be fully displayed, so as to improve the attention of the data to be shared and improve the data.
  • the sharing rate so that more users can share the target stream data of the above live broadcast.
  • a data sharing method is provided. As shown in FIG. 5, the method includes:
  • S502 Obtain a live broadcast request sent by a client that uses the first account in the first application, where the live broadcast request carries live broadcast control information that matches the target flow data to be broadcasted by the first account;
  • S510 Acquire an access request generated by the second account in the second application to perform an access operation on the invitation card, and share the target stream data broadcasted by the first account with the client in the second application using the second account in response to the access request. Playback process.
  • the data sharing method may be, but is not limited to, being applied to the process of sharing the target stream data in the live broadcast process, for example, being applied to a server of the live broadcast application to implement live broadcast stream data. Share efficiently.
  • the foregoing data sharing method may also be applied to a process of data sharing in a server of another platform, for example, may also be applied to a server of a video playing application.
  • the foregoing is only an example of the playback resource in the application server. The foregoing is not limited in this embodiment.
  • the foregoing first application includes, but is not limited to, a live broadcast application, and may also include, but is not limited to, a webpage for live broadcast or other applications having a media play function.
  • the second application includes, but is not limited to, social applications, web forums, and the like with social functions or instant messaging.
  • the second application and the first application may be, but are not limited to, an associated application, such as the second application providing an authorization interface for the first application, to implement sharing the social application in the second application to share the first application. Messages or other content to achieve the purpose of expanding the scope of data sharing, and the application is not limited herein.
  • the server of the first application obtains the live broadcast request sent by the client of the first application that uses the first account
  • the image code for identifying the target stream data to be broadcasted by the first account is obtained in response to the live broadcast request, Then, the above image code is sent to the client of the first application, so that the client of the first application generates an invitation card that matches the target stream data.
  • the server of the first application obtains a sharing request for sharing the invitation card to the second application, where the sharing request carries the invitation card and the application identifier of the second application, and the second application is associated with the first application; And acquiring, by the second account in the second application, a request generated by performing an access operation on the invitation card, and sharing the target stream data broadcasted by the first account with the second application in response to the access request.
  • the second account in the second application is invited to directly view the target stream data by sharing the invitation card generated according to the live control information of the image code and the target stream data, wherein the invitation card can not only visually see and
  • the live broadcast control information related to the current live stream target data, and entering the live broadcast through the image code will greatly simplify the data sharing operation steps, without having to click the access link to jump, thereby reducing the waiting time in the sharing process, thereby To achieve the effect of improving data sharing efficiency, and thus overcome the problem of low data sharing efficiency in related technologies.
  • the live broadcast control information carried in the live broadcast initiation command and the image code used to identify the target flow data obtained from the server of the first application are used to generate an invitation card that matches the target flow data.
  • the target stream data in the live broadcast is shared to the associated account in the second application, where the invitation card may include but is not limited to at least one of the following format information: text, picture, audio, dynamic A picture (gif) or a short video, so that the user can intuitively view the content to be broadcasted by the first account through the invitation card, which is not limited in this embodiment.
  • the foregoing target stream data may be, but not limited to, used to indicate that the media stream data transmitted during the live broadcast process is performed after the anchor account (that is, the first account) initiates the live broadcast initiation operation.
  • the live control information that matches the target stream data to be broadcasted by the first account may include, but is not limited to, at least one of the following: a title of the target stream data, a live cover image of the target stream data, and a summary indication of the target stream data. information.
  • the summary indication information may include, but is not limited to, at least one of the following: a live broadcast period, an anchor identifier (ID), a live content introduction, and the like.
  • ID anchor identifier
  • the above content is only an example, and in this embodiment, no limitation is imposed on this.
  • the client of the first application after obtaining the live broadcast initiation command, sends a live broadcast request to the server of the first application, and the server of the first application generates unique data for the target stream data to be broadcasted. Identifying, and transmitting the data identifier to the server of the second application, so that the server of the second application generates the image code according to the data identifier; and then receiving the image code generated by the server of the second application according to the data identifier.
  • the server of the second application generates an image code according to the data identifier matching the target stream data, to generate an invitation card for acquiring the target stream data by using the image code.
  • the foregoing image code may include, but is not limited to, a two-dimensional code, a three-dimensional code, and the like, and other image codes that are easily recognized by the application.
  • the above content is only an example, and in this embodiment, no limitation is imposed on this.
  • the sharing the invitation card to the second application for display may include, but is not limited to: acquiring a sharing instruction generated by the client of the first application to perform a sharing operation on the generated invitation card, in response to the The sharing instruction sends the invitation card to the server of the second application through the server of the first application, and then shares the invitation card to the second application for display.
  • the sharing instruction sends the invitation card to the server of the second application through the server of the first application, and then shares the invitation card to the second application for display.
  • an operation on the invitation card through the client such as performing an identification operation on the image code in the invitation card, performing access to the invitation card, thereby implementing target stream data matching the invitation card. Shared play.
  • the server of the first application may be, but is not limited to, a request time for obtaining an access request; and obtaining progress indication information that matches the request time, where the progress indication information is used to indicate that the target stream data is played. Progress; sharing target stream data matching the progress indication information to the second account in the second application.
  • sharing the target flow data that matches the progress indication information to the second account in the second application may include, but is not limited to:
  • the first prompt information is sent to the client using the second account in the second application, where the progress indication information indicates that the target stream data does not start playing, wherein the first prompt information is used to prompt whether to reserve the target stream data. ;
  • the third prompt information is sent to the client using the second account in the second application, where the progress indication information indicates that the target stream data has been played, wherein the third prompt information is used to prompt the target stream data to be played.
  • the target stream data matching the progress indication information may be shared with the second account in the second application according to the playing progress of the live target data.
  • the second account may be directly played from the playback screen corresponding to the progress indicated by the progress indication information; for example, the second account may be prompted by the example of not starting playback.
  • the target stream data to be broadcasted by the first account has not started playing yet, and is scheduled to be played. The above is only an example, and is not limited in this embodiment.
  • the client of the first application that initiates the live broadcast is taken as an example.
  • steps S302-S328 the client 302 of the first application obtains the first account to perform the live broadcast initiation operation.
  • the generated live broadcast initiating instruction and sending a live broadcast request to the server 304 of the first application according to the live broadcast initiating instruction, where the server 304 of the first application randomly configures a data identifier ID for uniquely identifying the target data to be broadcasted by the live broadcast request, and
  • the data identification ID is sent to the server 306 of the second application such that the server 306 of the second application can generate an image code that matches the target stream data based on the data identification.
  • the client 302 of the first application receives the image code sent by the server 306 of the second application and the live broadcast information related to the current live broadcast through the server 304 of the first application, and generates a matching match with the target stream data according to the acquired content.
  • invitation card After obtaining the sharing instruction of the sharing operation by the first client to the invitation card, the invitation card is sent to the server 304 of the first application, and the server 304 of the first application establishes a mapping relationship between the invitation card and the target stream data.
  • the invitation card is shared by the server 306 of the second application to the client 308 in the second application using the second account.
  • the client 308 using the second account in the second application will display the invitation card, and obtain an access request for performing an access operation on the invitation card, and then send the access request to the server of the first application through the server 306 of the second application. 304, so that the server 304 of the first application can share the target stream data to be broadcasted to the client 308 in the second application using the second account.
  • the server of the first application After the server of the first application obtains the live broadcast request sent by the client of the first application of the first account, the server of the first application obtains the target stream data for identifying the first account to be broadcasted in response to the live request.
  • the image code is then sent to the client of the first application to cause the client of the first application to generate an invitation card that matches the target stream data.
  • the server of the first application obtains a sharing request for sharing the invitation card to the second application, where the sharing request carries the invitation card and the application identifier of the second application, and the second application is associated with the first application; And acquiring, by the second account in the second application, a request generated by performing an access operation on the invitation card, and sharing the target stream data broadcasted by the first account with the second application in response to the access request.
  • the second account in the second application is invited to directly view the target stream data by sharing the invitation card generated according to the live control information of the image code and the target stream data, wherein the invitation card can not only visually see and
  • the live broadcast control information related to the current live stream target data, and entering the live broadcast through the image code will greatly simplify the data sharing operation steps, without having to click the access link to jump, thereby reducing the waiting time in the sharing process, thereby To achieve the effect of improving data sharing efficiency, and thus overcome the problem of low data sharing efficiency in related technologies.
  • obtaining an image code in response to a live broadcast request includes:
  • S2 Send the data identifier to the server of the second application, so that the server of the second application generates the image code according to the data identifier;
  • the first application is taken as an example of the live application app1
  • the second application is described by taking the social application app2 as an example.
  • the live broadcast request is sent to the background server of the live application app1, and the background server of the live application app1 receives the live broadcast request.
  • the live broadcast initiated by the anchor is assigned a unique data identification ID, and the ID is sent to the server of the social application app2, so that the social application app2 generates a scene image code matching the data identification ID, such as a two-dimensional code, and The scene image code is sent to the live application app1, so that the live application app1 generates an invitation card that matches the live broadcast according to the live broadcast control information (also called live broadcast information) and the scene image code combination.
  • live broadcast control information also called live broadcast information
  • the data identifier is sent to the server of the second application, so that the server of the second application is configured according to the server of the first application.
  • the sent data identifier matching the target stream data is used to generate an image code that matches the target stream data, so that an invitation card for inviting the associated account to play the target stream data is obtained by using the image code, so as to simplify the target stream data. Share operations and improve the efficiency of data sharing.
  • the method further includes:
  • acquiring an access request generated by the second account in the second application to perform an access operation on the invitation card includes: acquiring an access request sent by the second account in the second application, where the access request is The request generated by the second account in the second application by identifying the image code in the invitation card. That is to say, the second account in the second application can identify the image code by scanning to generate an access request sent to the server of the first application.
  • the server of the first application may acquire, according to the mapping relationship, target stream data that matches the invitation card that is requested to be accessed by the access request, and share the target stream data to the second application. The client that uses the second account.
  • the mapping relationship between the invitation card and the target stream data is stored in the server of the first application, so that after the access request sent by the second account in the second application is received, the The mapping relationship quickly acquires the corresponding target stream data for sharing, so as to reduce the time for searching for the shared content and improve the sharing efficiency.
  • the process of sharing the target stream data broadcasted by the first account to the client using the second account in the second application in response to the access request includes:
  • the sharing of the target flow data that matches the progress indication information to the client that uses the second account in the second application includes:
  • the first prompt information is sent to the client using the second account in the second application, where the progress indication information indicates that the target stream data does not start playing, wherein the first prompt information is used to prompt whether to reserve the target stream data. ;or
  • the first application is taken as an example of the live application app1
  • the second application is described by taking the social application app2 as an example.
  • the first prompt information is sent to the second account in the second application, and as shown in FIG. 6, the interface including the “reservation” button is displayed.
  • the second account is prompted to confirm whether the target stream data is scheduled to be played in advance.
  • the first application is taken as an example of the live application app1
  • the second application is described by taking the social application app2 as an example.
  • the second prompt information is sent to the second account in the second application to prompt the second account to be current from the target stream data.
  • the play screen starts playing, and enters the current play screen to play the target stream data.
  • the third prompt information is sent to the client using the second account in the second application, where the progress indication information indicates that the target stream data has been played, wherein the third prompt information is used to prompt the target stream data to be played.
  • the first application is taken as an example of the live application app1
  • the second application is described by taking the social application app2 as an example.
  • the third prompt information is sent to the second account in the second application, as shown in FIG. 7 to prompt the second account target stream data. Finish playing, such as "The live stream you requested is over.".
  • the target stream data matching the progress indication information is shared to the second account in the second application, so that the second account in the second application can synchronize the playback project of the target stream data, thereby realizing Share the effect of synchronization.
  • the method further includes:
  • the fourth prompt information is sent through the third account of the second application at a predetermined time before the start of the playback of the target stream data, wherein, The four prompt information is used to prompt the time when the target stream data starts to be played, and the third account and the second account are associated accounts.
  • the second account may be, but not limited to, the third account, for example, the third account is a public account applied by the first application in the second application, and the second account is the second account.
  • the personal account in the application wherein the second account pays attention to the third account, so as to obtain the message pushed by the third account.
  • the predetermined time before the start of the target stream data is started.
  • the fifth prompt information is sent by the third account of the second application (for example, the social application app2 as an example) 5 minutes before the broadcast, to prompt the second account to start the live broadcast of the reservation.
  • the second account by prompting the second account in time, the time when the target stream data starts playing, so that the second account can obtain the reserved playing information in time, avoiding missing or missing the reserved target stream data, and ensuring The accuracy and effectiveness of sharing.
  • the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation.
  • the technical solution of the present application which is essential or contributes to the related art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, CD-ROM).
  • the instructions include a number of instructions for causing a terminal device (which may be a cell phone, computer, server, or network device, etc.) to perform the methods of various embodiments of the present application.
  • a data sharing apparatus for implementing the data sharing method is further applied to a terminal side. As shown in FIG. 8, the apparatus includes:
  • the first obtaining unit 802 is configured to acquire a live broadcast initiation instruction generated by the first account to perform a live broadcast initiation operation in the client of the first application, where the live broadcast initiation instruction carries a target flow to be broadcasted with the first account. Live control information matching the data;
  • the second obtaining unit 804 is configured to obtain an image code by using a server of the first application, where the image code is used to identify target stream data to be broadcasted by the first account.
  • the generating unit 806 is configured to generate an invitation card that matches the target stream data by using the image code and the live broadcast control information;
  • the sharing unit 808 is configured to share the invitation card to the second application for display, to invite the second account in the second application to share the playing process of the target stream data broadcasted by the first account by using the invitation card.
  • the data sharing device may be used in the process of sharing the target stream data in the live broadcast process, for example, in a live broadcast application, to implement efficient sharing of the live stream data.
  • the foregoing data sharing method may also be applied to a process of data sharing in other platforms, for example, may also be applied to a video playing application, and playing in the above application.
  • the resource is shared.
  • the foregoing is only an example, and is not limited herein.
  • the foregoing first application includes, but is not limited to, a live broadcast application, and may also include, but is not limited to, a webpage for live broadcast or other applications having a media play function.
  • the second application includes, but is not limited to, social applications, web forums, and the like with social functions or instant messaging.
  • the second application and the first application may be, but are not limited to, an associated application, such as the second application providing an authorization interface for the first application, to implement sharing the social application in the second application to share the first application. Messages or other content to achieve the purpose of expanding the scope of data sharing, and the application is not limited herein.
  • the client in the first application obtains the live broadcast initiation instruction to obtain the first account to be broadcasted by the server of the first application.
  • An image code of the target stream data and then using the image code and the live control information of the target stream data carried in the live broadcast command to generate an invitation card that matches the target stream data, and sharing the invitation card to the second application for display. The process of inviting the second account in the second application to synchronously share the first account live target stream data by using the invitation card.
  • the second account in the second application is invited to directly view the target stream data by sharing the invitation card generated by the live control information of the image code and the target stream data, wherein the invitation card can not only visually see and
  • the live broadcast control information related to the current live stream target data, and entering the live broadcast through the image code will greatly simplify the data sharing operation steps, without having to click the access link to jump, thereby reducing the waiting time in the sharing process, thereby To achieve the effect of improving data sharing efficiency, and thus overcome the problem of low data sharing efficiency in related technologies.
  • the live broadcast control information carried in the live broadcast initiation command and the image code used to identify the target flow data obtained from the server of the first application are used to generate an invitation card that matches the target flow data.
  • the target stream data in the live broadcast is shared to the associated account in the second application, where the invitation card may include but is not limited to at least one of the following format information: text, picture, audio, dynamic A picture (gif) or a short video, so that the user can intuitively view the content to be broadcasted by the first account through the invitation card, which is not limited in this embodiment.
  • the foregoing target stream data may be, but not limited to, used to indicate that the media stream data transmitted during the live broadcast process is performed after the anchor account (that is, the first account) initiates the live broadcast initiation operation.
  • the live control information that matches the target stream data to be broadcasted by the first account may include, but is not limited to, at least one of the following: a title of the target stream data, a live cover image of the target stream data, and a summary indication of the target stream data. information.
  • the summary indication information may include, but is not limited to, at least one of the following: a live broadcast period, an anchor identifier (ID), a live content introduction, and the like.
  • ID anchor identifier
  • the above content is only an example, and in this embodiment, no limitation is imposed on this.
  • the title and the cover of the target stream data broadcasted by the first account may be acquired by the client of the first application. Sending a title and a cover of the target stream data broadcasted by the first account to the server of the first application to initiate a live broadcast request for requesting live broadcast of the target stream data.
  • the client of the first application after obtaining the live broadcast initiation command, sends a live broadcast request to the server of the first application, and the server of the first application generates unique data for the target stream data to be broadcasted. And identifying, and sending the data identifier to the server of the second application, so that the server of the second application generates the image code according to the data identifier; and then receiving the image code generated by the server of the second application according to the data identifier.
  • the server of the second application generates an image code according to the data identifier matching the target stream data, to generate an invitation card for acquiring the target stream data by using the image code.
  • the foregoing image code may include, but is not limited to, a two-dimensional code, a three-dimensional code, and the like, and other image codes that are easily recognized by the application.
  • the above content is only an example, and in this embodiment, no limitation is imposed on this.
  • the sharing the invitation card to the second application for display may include, but is not limited to: acquiring a sharing instruction generated by the client of the first application to perform a sharing operation on the generated invitation card, in response to the The sharing instruction sends the invitation card to the server of the second application through the server of the first application, and then shares the invitation card to the second application for display.
  • the sharing instruction sends the invitation card to the server of the second application through the server of the first application, and then shares the invitation card to the second application for display.
  • an operation on the invitation card through the client such as performing an identification operation on the image code in the invitation card, performing access to the invitation card, thereby implementing target stream data matching the invitation card. Shared play.
  • generating an invitation card that matches the target stream data by using the image code and the live broadcast control information includes, but is not limited to, the client of the first application may be, but is not limited to, indicated according to the acquired configuration instruction.
  • the display style of the invitation card is used to lay out the live control information and the image code that match the target stream data, thereby achieving the purpose of generating the invitation card.
  • the client of the first application that initiates the live broadcast is taken as an example.
  • steps S302-S328 the client 302 of the first application obtains the first account to perform the live broadcast initiation operation.
  • the generated live broadcast initiating instruction and sending a live broadcast request to the server 304 of the first application according to the live broadcast initiating instruction, where the server 304 of the first application randomly configures a data identifier ID for uniquely identifying the target data to be broadcasted by the live broadcast request, and
  • the data identification ID is sent to the server 306 of the second application such that the server 306 of the second application can generate an image code that matches the target stream data based on the data identification.
  • the client 302 of the first application receives the image code sent by the server 306 of the second application and the live broadcast information related to the current live broadcast through the server 304 of the first application, and generates a matching match with the target stream data according to the acquired content.
  • invitation card After obtaining the sharing instruction of the sharing operation by the first client to the invitation card, the invitation card is sent to the server 304 of the first application, and the server 304 of the first application establishes a mapping relationship between the invitation card and the target stream data.
  • the invitation card is shared by the server 306 of the second application to the client 308 in the second application using the second account.
  • the client 308 using the second account in the second application will display the invitation card, and obtain an access request for performing an access operation on the invitation card, and then send the access request to the server of the first application through the server 306 of the second application. 304, so that the server 304 of the first application can share the target stream data to be broadcasted to the client 308 in the second application using the second account.
  • the client in the first application After obtaining the live broadcast initiation command generated by the first account to perform the live broadcast initiation operation, the client in the first application obtains the first account by using the server of the first application in response to the live broadcast initiation command.
  • the application performs display to invite the second account in the second application to synchronously share the first account live target stream data by using the invitation card.
  • the second account in the second application is invited to directly view the target stream data by sharing the invitation card generated according to the live control information of the image code and the target stream data, wherein the invitation card can not only visually see and
  • the live broadcast control information related to the current live stream target data, and entering the live broadcast through the image code will greatly simplify the data sharing operation steps, without having to click the access link to jump, thereby reducing the waiting time in the sharing process, thereby To achieve the effect of improving data sharing efficiency, and thus overcome the problem of low data sharing efficiency in related technologies.
  • the second obtaining unit 804 includes:
  • a receiving module configured to receive, by the server of the first application, an image code generated by a server of the second application, where the image code is a server of the second application that matches the target stream data according to the server of the first application. Generated by data identification.
  • the first application is taken as an example of the live application app1
  • the second application is described by taking the social application app2 as an example.
  • the live broadcast request is sent to the background server of the live application app1, and the background server of the live application app1 receives the live broadcast request.
  • the live broadcast initiated by the anchor is assigned a unique data identification ID, and the ID is sent to the server of the social application app2, so that the social application app2 generates a scene image code matching the data identification ID, such as a two-dimensional code, and The scene image code is sent to the live application app1, so that the live application app1 generates an invitation card that matches the live broadcast according to the live broadcast control information (also called live broadcast information) and the scene image code combination.
  • live broadcast control information also called live broadcast information
  • an image code matching the target stream data is generated according to the data identifier sent by the server of the first application and matched with the target stream data, to utilize the image.
  • the code obtains an invitation card for inviting the associated account to play the target stream data, thereby simplifying the sharing operation of the target stream data and improving the data sharing efficiency.
  • the sharing unit 808 includes:
  • the first obtaining module is configured to obtain a sharing instruction generated by the client of the first application to perform a sharing operation on the invitation card;
  • a sending module configured to send the invitation card to the server of the first application in response to the sharing instruction, so that the server of the first application shares the invitation card to the client using the second account in the second application through the server of the second application
  • the display is performed, wherein the server of the first application stores the mapping relationship between the invitation card and the target stream data.
  • the first application is taken as an example of the live application app1
  • the second application is described by taking the social application app2 as an example.
  • the sharing instruction generated by the anchor click initiation sharing button of the first account is acquired, and the invitation card is sent to the background server of the live application app1 in response to the sharing instruction, so that The background server of the live application app1 shares the invitation card to the social application app2 through the background server of the social application app2, so as to invite the second account of the social application app2 to focus on the first account to enter by identifying the image code on the invitation card.
  • the play interface of the target stream data is used to play the target stream data to realize data sharing.
  • the background server of the live application app1 stores the mapping relationship between the invitation card and the target stream data. Therefore, after receiving the access request generated by the second account in the second application by identifying the image code, the target stream data corresponding to the invitation card including the image code is pushed to the second account in the second application.
  • the sharing instruction generated by the client of the first application to perform the sharing operation on the invitation card is obtained, and the invitation card is sent to the server of the first application in response to the sharing instruction, so that the server of the first application passes
  • the server of the second application displays the client card to the client of the second application for display, so as to achieve the purpose of sharing the target stream data by using the social scope of the second application, and further, displaying the invitation card in the second application.
  • the client of the second account will also achieve the purpose of visually displaying the relevant content of the target stream data to be broadcasted, without having to obtain the jump link.
  • the generating unit 806 includes:
  • a second obtaining module configured to obtain a configuration instruction, where the configuration instruction is used to configure a display style of the invitation card
  • the generation module is set to layout the live control information and the image code according to the display style to generate an invitation card.
  • the live broadcast control information may include, but is not limited to, at least one of the following: a title of the target stream data, a live cover picture of the target stream data, and summary indication information of the target stream data.
  • the live broadcast control information of the target stream data to be broadcasted in this time includes: a topic, a cover, a summary indication information, and the like, wherein the summary indication information includes: a live broadcast time and a live broadcast.
  • the anchor identification (for example, the identification A), further, assumes that the image code is a two-dimensional code.
  • the live application app1 may first obtain a configuration command, where the configuration command includes a display style for configuring the invitation card, and performs layout layout on the live control information and the image code according to the display style, to generate a corresponding invitation card, as shown in FIG. .
  • the live broadcast control information and the image code are configured to generate an invitation card according to the display style in the configuration instruction, so that the live broadcast content can be fully displayed, so as to improve the attention of the data to be shared and improve the data.
  • the sharing rate so that more users can share the target stream data of the above live broadcast.
  • a data sharing apparatus for implementing the data sharing method is further applied to a server side.
  • the apparatus includes:
  • the first obtaining unit 902 is configured to obtain a live broadcast request sent by the client that uses the first account in the first application, where the live broadcast request carries the target stream data that is to be broadcasted by the first account. Live control information;
  • the second obtaining unit 904 is configured to acquire an image code in response to the live broadcast request, where the image code is used to identify the target stream data to be broadcasted by the first account;
  • the first sending unit 906 is configured to send the image code to the client in the first application that uses the first account to generate an invitation card that matches the target stream data;
  • the third obtaining unit 908 is configured to obtain a sharing request for sharing the invitation card to the second application, where the sharing request carries the invitation card and the application identifier of the second application;
  • the sharing unit 910 is configured to acquire an access request generated by the second account in the second application to perform an access operation on the invitation card, and use the first message in the second application in response to the access request.
  • the client of the second account shares the playing process of the target stream data broadcasted by the first account.
  • the data sharing method may be, but is not limited to, being applied to the process of sharing the target stream data in the live broadcast process, for example, being applied to a server of the live broadcast application to implement live broadcast stream data. Share efficiently.
  • the foregoing data sharing method may also be applied to a process of sharing data in servers of other platforms, for example, may also be applied to a server of a video playing application.
  • the foregoing is only an example of the playback resource in the application server. The foregoing is not limited in this embodiment.
  • the foregoing first application includes, but is not limited to, a live broadcast application, and may also include, but is not limited to, a webpage for live broadcast or other applications having a media play function.
  • the second application includes, but is not limited to, social applications, web forums, and the like with social functions or instant messaging.
  • the second application and the first application may be, but are not limited to, an associated application, such as the second application providing an authorization interface for the first application, to implement sharing the social application in the second application to share the first application. Messages or other content to achieve the purpose of expanding the scope of data sharing, and the application is not limited herein.
  • the server of the first application obtains the live broadcast request sent by the client of the first application that uses the first account
  • the image code for identifying the target stream data to be broadcasted by the first account is obtained in response to the live broadcast request, Then, the above image code is sent to the client of the first application, so that the client of the first application generates an invitation card that matches the target stream data.
  • the server of the first application obtains a sharing request for sharing the invitation card to the second application, where the sharing request carries the invitation card and the application identifier of the second application, and the second application is associated with the first application; And acquiring, by the second account in the second application, a request generated by performing an access operation on the invitation card, and sharing the target stream data broadcasted by the first account with the second application in response to the access request.
  • the second account in the second application is invited to directly view the target stream data by sharing the invitation card generated according to the live control information of the image code and the target stream data, wherein the invitation card can not only visually see and
  • the live broadcast control information related to the current live stream target data, and entering the live broadcast through the image code will greatly simplify the data sharing operation steps, without having to click the access link to jump, thereby reducing the waiting time in the sharing process, thereby To achieve the effect of improving data sharing efficiency, and thus overcome the problem of low data sharing efficiency in related technologies.
  • the live broadcast control information carried in the live broadcast command and the image code used to identify the target flow data obtained from the server of the first application are used to generate an invitation card that matches the target flow data.
  • the target stream data in the live broadcast is shared to the associated account in the second application, where the invitation card may include but is not limited to at least one of the following format information: text, picture, audio, dynamic A picture (gif) or a short video, so that the user can intuitively view the content to be broadcasted by the first account through the invitation card, which is not limited in this embodiment.
  • the foregoing target stream data may be, but not limited to, used to indicate that the media stream data transmitted during the live broadcast process is performed after the anchor account (that is, the first account) initiates the live broadcast initiation operation.
  • the live control information that matches the target stream data to be broadcasted by the first account may include, but is not limited to, at least one of the following: a title of the target stream data, a live cover image of the target stream data, and a summary indication of the target stream data. information.
  • the summary indication information may include, but is not limited to, at least one of the following: a live broadcast period, an anchor identifier (ID), a live content introduction, and the like.
  • ID anchor identifier
  • the above content is only an example, and in this embodiment, no limitation is imposed on this.
  • the client of the first application after obtaining the live broadcast initiation command, sends a live broadcast request to the server of the first application, and the server of the first application generates unique data for the target stream data to be broadcasted. Identifying, and transmitting the data identifier to the server of the second application, so that the server of the second application generates the image code according to the data identifier; and then receiving the image code generated by the server of the second application according to the data identifier.
  • the server of the second application generates an image code according to the data identifier matching the target stream data, to generate an invitation card for acquiring the target stream data by using the image code.
  • the foregoing image code may include, but is not limited to, a two-dimensional code, a three-dimensional code, and the like, and other image codes that are easily recognized by the application.
  • the above content is only an example, and in this embodiment, no limitation is imposed on this.
  • the sharing the invitation card to the second application for display may include, but is not limited to: acquiring a sharing instruction generated by the client of the first application to perform a sharing operation on the generated invitation card, in response to the The sharing instruction sends the invitation card to the server of the second application through the server of the first application, and then shares the invitation card to the second application for display.
  • the sharing instruction sends the invitation card to the server of the second application through the server of the first application, and then shares the invitation card to the second application for display.
  • an operation on the invitation card through the client such as performing an identification operation on the image code in the invitation card, performing access to the invitation card, thereby implementing target stream data matching the invitation card. Shared play.
  • the server of the first application may be, but is not limited to, a request time for obtaining an access request; and obtaining progress indication information that matches the request time, where the progress indication information is used to indicate that the target stream data is played. Progress; sharing target stream data matching the progress indication information to the second account in the second application.
  • sharing the target flow data that matches the progress indication information to the second account in the second application may include, but is not limited to:
  • the first prompt information is sent to the second account in the second application, where the progress indication information indicates that the target stream data does not start playing, wherein the first prompt information is used to prompt whether to reserve the target stream data;
  • the third prompt information is sent to the second account in the second application, where the third prompt information is used to prompt the target stream data to be played.
  • the target stream data matching the progress indication information may be shared with the second account in the second application according to the playing progress of the live target data.
  • the second account may be directly played from the playback screen corresponding to the progress indicated by the progress indication information; for example, the second account may be prompted by the example of not starting playback.
  • the target stream data to be broadcasted by the first account has not started playing yet, and is scheduled to be played. The above is only an example, and is not limited in this embodiment.
  • the client of the first application that initiates the live broadcast is taken as an example.
  • steps S302-S328 the client 302 of the first application obtains the first account to perform the live broadcast initiation operation.
  • the generated live broadcast initiating instruction and sending a live broadcast request to the server 304 of the first application according to the live broadcast initiating instruction, where the server 304 of the first application randomly configures a data identifier ID for uniquely identifying the target data to be broadcasted by the live broadcast request, and
  • the data identification ID is sent to the server 306 of the second application such that the server 306 of the second application can generate an image code that matches the target stream data based on the data identification.
  • the client 302 of the first application receives the image code sent by the server 306 of the second application and the live broadcast information related to the current live broadcast through the server 304 of the first application, and generates a matching match with the target stream data according to the acquired content.
  • invitation card After obtaining the sharing instruction of the sharing operation by the first client to the invitation card, the invitation card is sent to the server 304 of the first application, and the server 304 of the first application establishes a mapping relationship between the invitation card and the target stream data.
  • the invitation card is shared by the server 306 of the second application to the client 308 in the second application using the second account.
  • the client 308 using the second account in the second application will display the invitation card, and obtain an access request for performing an access operation on the invitation card, and then send the access request to the server of the first application through the server 306 of the second application. 304, so that the server 304 of the first application can share the target stream data to be broadcasted to the client 308 in the second application using the second account.
  • the server of the first application After the server of the first application obtains the live broadcast request sent by the client of the first application of the first account, the server of the first application obtains the target stream data for identifying the first account to be broadcasted in response to the live request.
  • the image code is then sent to the client of the first application to cause the client of the first application to generate an invitation card that matches the target stream data.
  • the server of the first application obtains a sharing request for sharing the invitation card to the second application, where the sharing request carries the invitation card and the application identifier of the second application, and the second application is associated with the first application; And acquiring, by the second account in the second application, a request generated by performing an access operation on the invitation card, and sharing the target stream data broadcasted by the first account with the second application in response to the access request.
  • the second account in the second application is invited to directly view the target stream data by sharing the invitation card generated according to the live control information of the image code and the target stream data, wherein the invitation card can not only visually see and
  • the live broadcast control information related to the current live stream target data, and entering the live broadcast through the image code will greatly simplify the data sharing operation steps, without having to click the access link to jump, thereby reducing the waiting time in the sharing process, thereby To achieve the effect of improving data sharing efficiency, and thus overcome the problem of low data sharing efficiency in related technologies.
  • the second obtaining unit 904 includes:
  • a first generation module configured to generate a data identifier that matches the target stream data
  • the first sending module is configured to send the data identifier to the server of the second application, so that the server of the second application generates the image code according to the data identifier;
  • a receiving module configured to receive an image code sent by a server of the second application.
  • the first application is taken as an example of the live application app1
  • the second application is described by taking the social application app2 as an example.
  • the live broadcast request is sent to the background server of the live application app1, and the background server of the live application app1 receives the live broadcast request.
  • the live broadcast initiated by the anchor is assigned a unique data identification ID, and the ID is sent to the server of the social application app2, so that the social application app2 generates a scene image code matching the data identification ID, such as a two-dimensional code, and The scene image code is sent to the live application app1, so that the live application app1 generates an invitation card that matches the live broadcast according to the live broadcast control information (also called live broadcast information) and the scene image code combination.
  • live broadcast control information also called live broadcast information
  • the data identifier is sent to the server of the second application, so that the server of the second application is configured according to the server of the first application.
  • the sent data identifier matching the target stream data is used to generate an image code that matches the target stream data, so that an invitation card for inviting the associated account to play the target stream data is obtained by using the image code, so as to simplify the target stream data. Share operations and improve the efficiency of data sharing.
  • a storage unit configured to store a mapping relationship between the invitation card carried in the sharing request and the target stream data after acquiring the sharing request for sharing the invitation card to the second application;
  • the second sending unit is configured to send the sharing request to the server of the second application.
  • the sharing unit includes: a first acquiring module, configured to obtain an access request sent by the second account in the second application, where the access request is the second account in the second application A request generated after the image code in the invitation card.
  • the device further includes: a fourth obtaining unit, configured to: after acquiring an access request generated by the second account in the second application to perform an access operation on the invitation card, acquiring, according to the mapping relationship, an invitation card that is requested to be accessed by the access request Target stream data. That is to say, the second account in the second application can identify the image code by scanning to generate an access request sent to the server of the first application.
  • the server of the first application may acquire, according to the mapping relationship, target stream data that matches the invitation card that is requested to be accessed by the access request, and share the target stream data to the second application.
  • the client that uses the second account.
  • the mapping relationship between the invitation card and the target stream data is stored in the server of the first application, so that after the access request sent by the second account in the second application is received, the The mapping relationship quickly acquires the corresponding target stream data for sharing, so as to reduce the time for searching for the shared content and improve the sharing efficiency.
  • the sharing unit 910 includes:
  • a second obtaining module configured to obtain a request time for an access request
  • the third obtaining module is configured to obtain progress indication information that matches the request time, where the progress indication information is used to indicate the playing progress of the target stream data;
  • the sharing module is configured to share the target stream data that matches the progress indication information to the client using the second account in the second application.
  • the sharing module includes:
  • the first prompt sub-module is configured to send the first prompt information to the client using the second account in the second application, where the progress indication information indicates that the target stream data does not start playing, wherein the first prompt information Used to prompt whether to reserve the target stream data; or
  • the first application is taken as an example of the live application app1
  • the second application is described by taking the social application app2 as an example.
  • the first prompt information is sent to the second account in the second application, and as shown in FIG. 6, the interface including the “reservation” button is displayed.
  • the second account is prompted to confirm whether the target stream data is scheduled to be played in advance.
  • a second prompting sub-module configured to send, to the second application, the second prompt information to the client in the second application, where the progress indication information indicates that the target flow data has been started but is not completed, wherein The second prompt information is used to prompt to start playing from the current play screen of the target stream data;
  • the first application is taken as an example of the live application app1
  • the second application is described by taking the social application app2 as an example.
  • the second prompt information is sent to the second account in the second application to prompt the second account to be current from the target stream data.
  • the play screen starts playing, and enters the current play screen to play the target stream data.
  • a third prompt sub-module configured to send a third prompt information to the client using the second account in the second application, where the progress indication information indicates that the target stream data has been played, wherein the third prompt information Used to prompt that the target stream data has finished playing.
  • the first application is taken as an example of the live application app1
  • the second application is described by taking the social application app2 as an example.
  • the third prompt information is sent to the second account in the second application, as shown in FIG. 7 to prompt the second account target stream data. Finish playing, such as "The live stream you requested is over.".
  • the target stream data matching the progress indication information is shared to the second account in the second application, so that the second account in the second application can synchronize the playback project of the target stream data, thereby realizing Share the effect of synchronization.
  • the second sending module is configured to: after transmitting the first prompt information to the second account in the second application, in the case that the second account confirms the reserved target stream data according to the first prompt information, the distance target data is
  • the fourth prompt information is sent by the third account of the second application, and the fourth prompt information is used to prompt the time when the target stream data starts playing, and the third account and the second account are associated accounts.
  • the second account may be, but not limited to, the third account, for example, the third account is a public account applied by the first application in the second application, and the second account is the second account.
  • the personal account in the application wherein the second account pays attention to the third account, so as to obtain the message pushed by the third account.
  • the predetermined time before the start of the target stream data is started.
  • the fifth prompt information is sent by the third account of the second application (for example, the social application app2 as an example) 5 minutes before the broadcast, to prompt the second account to start the live broadcast of the reservation.
  • the second account by prompting the second account in time, the time when the target stream data starts playing, so that the second account can obtain the reserved playing information in time, avoiding missing or missing the reserved target stream data, and ensuring The accuracy and effectiveness of sharing.
  • an electronic device wherein the electronic device comprises: a memory and a processor, the memory storing a computer program, the processor being configured to execute the data sharing method described above by a computer program.
  • the electronic device may be a data sharing terminal for the user to implement the data sharing scenario of the data sharing method described above.
  • the data sharing terminal includes:
  • the communication interface 1002 is configured to obtain a live broadcast initiation instruction generated by the first account to perform a live broadcast initiation operation in the client of the first application, where the live broadcast initiation instruction carries the target flow data to be broadcasted by the first account.
  • the matching live control information is further configured to: in response to the live broadcast initiation instruction, acquire the image code by using the server of the first application, where the image code is used to identify the target stream data to be broadcasted by the first account;
  • the processor 1004 is connected to the communication interface 1002, and is configured to generate an invitation card that matches the target stream data by using the image code and the live control information; and is further configured to share the invitation card to the second application for display, to invite the second application.
  • the second account in the account uses the invitation card to share the playing process of the target stream data broadcasted by the first account.
  • the memory 1006 is connected to the communication interface 1002 and the processor 1004, and is configured to store the invitation card and the live broadcast control information.
  • the foregoing processor may be configured to perform the following steps by using a computer program:
  • the invitation card is shared to the second application for display, so that the second account in the second application invites the invitation card to share the playing process of the target stream data broadcasted by the first account.
  • the structure shown in FIG. 10 is only illustrative, and the data sharing terminal can also be a smart phone (such as an Android mobile phone, an iOS mobile phone, etc.), a tablet computer, a palm computer, and a mobile Internet device ( Mobile Internet Devices, MID), PAD and other terminal devices.
  • FIG. 10 does not limit the structure of the above data sharing terminal.
  • the electronic device may further include more or less components (such as display devices, etc.) than those shown in FIG. 10, or have a different configuration than that shown in FIG.
  • the memory 1006 can be used to store software programs and modules, such as program instructions/modules corresponding to the data sharing method in the embodiment of the present invention.
  • the processor 1004 executes various functions by running software programs and modules stored in the memory 1006. Application and data processing, that is, the above data sharing method is implemented.
  • Memory 1006 can include high speed random access memory, and can also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory.
  • memory 1006 can further include memory remotely located relative to processor 1004, which can be connected to the terminal over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • the memory 1006 is configured to store content such as target stream data, live broadcast control information, and generated invitation cards.
  • an electronic device wherein the electronic device comprises: a memory and a processor, the memory storing a computer program, the processor being configured to execute the data sharing method described above by a computer program.
  • the electronic device may be a data sharing server for the user to implement the data sharing scenario of the data sharing method described above.
  • the data sharing server includes:
  • the communication interface 1102 is configured to obtain a live broadcast request sent by the client that uses the first account in the first application, where the live broadcast request carries the live broadcast control information that matches the target flow data to be broadcasted by the first account;
  • the image code is configured to obtain the image code in response to the live broadcast request, wherein the image code is used to identify the target stream data to be broadcasted by the first account, and is further configured to send the image code to the client in the first application using the first account to generate and target An invitation card that matches the stream data; and is configured to obtain a sharing request for sharing the invitation card to the second application, where the sharing request carries the invitation card and the application identifier of the second application; and is further configured to obtain the second application The access request generated by the second account to perform the access operation on the invitation card;
  • the processor 1104 is connected to the communication interface 1102, and configured to share, in response to the access request, a playback process of the target stream data broadcasted by the first account to the client using the second account in the second application;
  • the memory 1106 is connected to the communication interface 1102 and the processor 1104, and is configured to store the invitation card and the target stream data.
  • the foregoing processor may be configured to perform the following steps by using a computer program:
  • the sharing request for sharing the invitation card to the second application is obtained, where the sharing request carries the invitation card and the application identifier of the second application;
  • the structure shown in FIG. 11 is only illustrative, and the data sharing server can also be a smart phone (such as an Android mobile phone, an iOS mobile phone, etc.), a tablet computer, a palm computer, and a mobile Internet device ( Mobile Internet Devices, MID), PAD and other terminal devices.
  • FIG. 11 does not limit the structure of the above data sharing server.
  • the data sharing server may also include more or less components (such as a network interface or the like) than shown in FIG. 11, or have a different configuration than that shown in FIG.
  • the memory 1106 can be used to store software programs and modules, such as the data sharing method and the program instructions/modules corresponding to the device in the embodiment of the present invention.
  • the processor 1104 executes the software programs and modules stored in the memory 1106, thereby executing each A functional application and data processing, that is, the above data sharing method is implemented.
  • Memory 1106 can include high speed random access memory and can also include non-volatile memory such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory.
  • memory 1106 can further include memory remotely located relative to processor 1104, which can be connected to the terminal over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • the memory 1106 is configured to store content of the target stream to be broadcasted and the generated invitation card and the like.
  • a storage medium is also provided.
  • the foregoing storage medium may be located in at least one of the plurality of network devices in the network.
  • the storage medium is arranged to store program code for performing the following steps:
  • the invitation card is shared to the second application for display, so that the second account in the second application invites the invitation card to share the playing process of the target stream data broadcasted by the first account.
  • the storage medium is further arranged to store program code for performing the following steps:
  • the sharing request for sharing the invitation card to the second application is obtained, where the sharing request carries the invitation card and the application identifier of the second application;
  • the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • a mobile hard disk e.g., a hard disk
  • magnetic memory e.g., a hard disk
  • the integrated unit in the above embodiment if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in the above-described computer readable storage medium.
  • the technical solution of the present application may be embodied in the form of a software product, or the whole or part of the technical solution, which is stored in the storage medium, including
  • the instructions are used to cause one or more computer devices (which may be a personal computer, server or network device, etc.) to perform all or part of the steps of the methods described in the various embodiments of the present application.
  • the disclosed client may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • multiple units or components may be combined or may be Integrate into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, unit or module, and may be electrical or otherwise.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the server in the first application obtains the first account by using the server of the first application.
  • the generated invitation card invites the second account in the second application to directly view the purpose of the target stream data.
  • the invitation card can not only visually see the live broadcast control information related to the current live target stream data, but also enter the live broadcast through the image code, which greatly simplifies the data sharing operation steps, reduces the waiting time in the sharing process, and improves the waiting time.
  • the data sharing efficiency further solves the problem of low data sharing efficiency in related technologies.

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 present application discloses a data sharing method and device, a storage medium, and an electronic device. The method comprises: obtaining a live broadcast initiation instruction generated by a first account when executing a live broadcast initiation operation in a client of a first application, wherein the live broadcast initiation command carries live broadcast control information that matches the target flow stream the first account wishes to broadcast; in response to the live broadcast initiation command, obtaining an image code through a server of the first application, wherein the image code is used to identify the target stream data to be broadcasted by the first account; generating an invitation card that matches the target stream data by using the image code and the live broadcast control information; and sharing the invitation card to a second application for display, so that a second account in the second application is invited to use the invitation card to share a playing process of the target stream data broadcasted by the first account. The present application solves the technical problem of low data sharing efficiency existing in current data sharing methods.

Description

数据分享方法及装置、存储介质和电子装置Data sharing method and device, storage medium and electronic device

本申请要求于2017年4月25日提交中国专利局、优先权号为2017102798522、申请名称为“数据分享方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims the priority of the Chinese Patent Application, the entire disclosure of which is hereby incorporated by reference.

技术领域Technical field

本申请涉及计算机领域,具体而言,涉及一种数据分享方法及装置、存储介质和电子装置。The present application relates to the field of computers, and in particular to a data sharing method and apparatus, a storage medium, and an electronic device.

背景技术Background technique

目前,相关技术中为了实现对媒体流数据的内容共享,往往会生成与媒体流数据的内容对应的访问链接,并直接将该访问链接分享到社区空间,以使好友在点击社区空间中所显示的访问链接后,通过跳转至上述访问链接对应的页面,方可实现对上述页面中所要分享的媒体流数据的分享播放。Currently, in the related art, in order to realize content sharing of media stream data, an access link corresponding to the content of the media stream data is generated, and the access link is directly shared to the community space, so that the friend displays in the click community space. After accessing the link, by jumping to the page corresponding to the above access link, the sharing and playing of the media stream data to be shared in the above page can be realized.

也就是说,相关技术中是通过分享访问链接的形式,来邀请好友观看上述访问链接对应的页面中的媒体流数据。然而,由于这种通过访问链接来访问媒体流数据的方式,增加了链接跳转的访问门槛,可能使得很多用户为了避免不必要的等待,而放弃数据分享,从而导致媒体流数据的分享效率较低的问题。That is to say, in the related art, by sharing the form of the access link, the friend is invited to view the media stream data in the page corresponding to the access link. However, due to the way of accessing the media stream data by accessing the link, the access threshold of the link jump is increased, which may cause many users to abandon the data sharing in order to avoid unnecessary waiting, thereby resulting in more efficient sharing of media stream data. Low problem.

针对上述的问题,目前尚未提出有效的解决方案。In response to the above problems, no effective solution has been proposed yet.

发明内容Summary of the invention

本申请实施例提供了一种数据分享方法及装置、存储介质和电子装置,以至少解决目前数据分享方法所存在的数据分享效率较低的技术问题。The embodiment of the present application provides a data sharing method and device, a storage medium, and an electronic device to solve at least the technical problem of low data sharing efficiency existing in the current data sharing method.

根据本申请实施例的一个方面,提供了一种数据分享方法,包括:获 取第一账号在第一应用的客户端中执行直播发起操作所生成的直播发起指令,其中,上述直播发起指令中携带有与上述第一账号所要直播的目标流数据相匹配的直播控制信息;响应上述直播发起指令,通过上述第一应用的服务器获取图像码,其中,上述图像码用于标识上述第一账号所要直播的上述目标流数据;利用上述图像码及上述直播控制信息生成与上述目标流数据匹配的邀请卡;将上述邀请卡分享至第二应用进行显示,以邀请上述第二应用中的第二账号利用上述邀请卡分享上述第一账号所直播的上述目标流数据的播放过程。According to an aspect of the embodiments of the present application, a data sharing method is provided, including: acquiring a live broadcast initiation instruction generated by a first account to perform a live broadcast initiation operation in a client of a first application, where the live broadcast initiation instruction carries The live broadcast control information is matched with the target flow data to be broadcasted by the first account; and the image code is obtained by the server of the first application in response to the live broadcast initiation command, where the image code is used to identify that the first account is to be broadcasted. The target stream data is generated by using the image code and the live broadcast control information to generate an invitation card that matches the target stream data; and the invitation card is shared to the second application for display, to invite the second account in the second application to be utilized. The invitation card shares the playing process of the target stream data broadcasted by the first account.

根据本申请实施例的另一方面,还提供了一种数据分享方法,包括:获取第一应用中使用第一账号的客户端发送的直播请求,其中,上述直播请求中携带有与上述第一账号所要直播的目标流数据相匹配的直播控制信息;响应上述直播请求获取图像码,其中,上述图像码用于标识上述第一账号所要直播的上述目标流数据;将上述图像码发送至上述第一应用中使用上述第一账号的客户端,以生成与上述目标流数据匹配的邀请卡;获取将上述邀请卡分享至第二应用的分享请求,其中,上述分享请求中携带有上述邀请卡及上述第二应用的应用标识;获取上述第二应用中的第二账号对上述邀请卡执行访问操作所生成的访问请求,并响应上述访问请求向上述第二应用中使用上述第二账号的客户端分享上述第一账号所直播的上述目标流数据的播放过程。According to another aspect of the embodiments of the present application, a data sharing method is further provided, including: acquiring a live broadcast request sent by a client using a first account in a first application, where the live broadcast request carries the first The live stream control information that the target stream data to be broadcasted by the account is matched; and the image code is obtained in response to the live broadcast request, wherein the image code is used to identify the target stream data to be broadcasted by the first account; and the image code is sent to the foregoing An application that uses the first account to generate an invitation card that matches the target stream data; and obtains a sharing request for sharing the invitation card to the second application, where the sharing request carries the invitation card and The application identifier of the second application, the access request generated by the second account in the second application to perform the access operation on the invitation card, and the client using the second account in the second application in response to the access request Sharing the playing process of the above target stream data broadcasted by the first account mentioned above.

根据本申请实施例的又一方面,还提供了一种数据分享装置,包括:第一获取单元,设置为获取第一账号在第一应用的客户端中执行直播发起操作所生成的直播发起指令,其中,上述直播发起指令中携带有与上述第一账号所要直播的目标流数据相匹配的直播控制信息;第二获取单元,设置为响应上述直播发起指令,通过上述第一应用的服务器获取图像码,其中,上述图像码用于标识上述第一账号所要直播的上述目标流数据;生成单元,设置为利用上述图像码及上述直播控制信息生成与上述目标流数据匹配的邀请卡;分享单元,设置为将上述邀请卡分享至第二应用进行显示,以邀请上述第二应用中的第二账号利用上述邀请卡分享上述第一账号所 直播的上述目标流数据的播放过程。According to still another aspect of the embodiments of the present application, a data sharing apparatus is further provided, including: a first acquiring unit, configured to acquire a live broadcast initiation instruction generated by a first account to perform a live broadcast initiation operation in a client of the first application The live broadcast initiating instruction carries live broadcast control information that matches the target flow data to be broadcasted by the first account; the second obtaining unit is configured to obtain an image by using the server of the first application in response to the live broadcast initiation command. a code, wherein the image code is used to identify the target stream data to be broadcasted by the first account; the generating unit is configured to generate an invitation card that matches the target stream data by using the image code and the live control information; The method is configured to share the invitation card to the second application for display, to invite the second account in the second application to share the playing process of the target stream data broadcasted by the first account by using the invitation card.

根据本申请实施例的又一方面,还提供了一种数据分享装置,包括:第一获取单元,设置为获取第一应用中使用第一账号的客户端发送的直播请求,其中,上述直播请求中携带有与上述第一账号所要直播的目标流数据相匹配的直播控制信息;第二获取单元,设置为响应上述直播请求获取图像码,其中,上述图像码用于标识上述第一账号所要直播的上述目标流数据;第一发送单元,设置为将上述图像码发送至上述第一应用中使用上述第一账号的客户端,以生成与上述目标流数据匹配的邀请卡;第三获取单元,设置为获取将上述邀请卡分享至第二应用的分享请求,其中,上述分享请求中携带有上述邀请卡及上述第二应用的应用标识;分享单元,设置为获取上述第二应用中的第二账号对上述邀请卡执行访问操作所生成的访问请求,并响应上述访问请求向上述第二应用中使用上述第二账号的客户端分享上述第一账号所直播的上述目标流数据的播放过程。According to still another aspect of the embodiments of the present application, a data sharing apparatus is provided, including: a first acquiring unit, configured to acquire a live broadcast request sent by a client using a first account in a first application, where the live broadcast request The live control information is matched with the target stream data to be broadcasted by the first account, and the second acquiring unit is configured to obtain the image code in response to the live request, wherein the image code is used to identify that the first account is to be broadcasted. And the first sending unit is configured to send the image code to the client that uses the first account in the first application to generate an invitation card that matches the target stream data; and a third acquiring unit, The sharing request is configured to obtain the sharing request for sharing the foregoing invitation card to the second application, where the sharing request carries the invitation card and the application identifier of the second application, and the sharing unit is configured to acquire the second in the second application. The account performs an access request generated by the access operation on the invitation card, and responds to the access request Said second application using the second sharing client account during playback of the first broadcast by the target account data stream.

根据本申请实施例的又一方面,还提供了一种存储介质,该存储介质中存储有计算机程序,其中,该计算机程序被设置为运行时执行上述数据分享方法。According to still another aspect of embodiments of the present application, there is also provided a storage medium having a computer program stored therein, wherein the computer program is configured to execute the data sharing method at runtime.

根据本申请实施例的又一方面,还提供了一种电子装置,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其中,上述处理器通过计算机程序执行上述数据分享方法。According to still another aspect of embodiments of the present application, there is also provided an electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes the data by using a computer program Sharing method.

在本申请实施例中,在第一应用的客户端中获取第一账号执行直播发起操作所生成的直播发起指令之后,响应该直播发起指令通过第一应用的服务器获取用于标识第一账号所要直播的目标流数据的图像码,然后,利用上述图像码以及直播发起指令中携带的与目标流数据相匹配的直播控制信息,生成与目标流数据匹配的邀请卡,并将该邀请卡分享至第二应用进行显示,以邀请第二应用中的第二账号利用邀请卡分享第一账号所直播的目标流数据的播放过程。从而实现通过分享根据图像码及目标流数据的直播控制信息生成的邀请卡,来邀请第二应用中的第二账号来直接观看目 标流数据,其中,上述邀请卡中不仅可以直观地看到与当前直播的目标流数据相关的直播控制信息,而且通过图像码进入直播,将大大简化数据分享的操作步骤,缩减了分享过程中的等待时间,以达到提高数据分享效率的效果,进而克服了相关技术中存在的数据分享效率较低的问题。In the embodiment of the present application, after obtaining the live broadcast initiation instruction generated by the first account to perform the live broadcast initiation operation, the client in the first application obtains the first account to obtain the first account by responding to the live initiation command. The image code of the target stream data of the live broadcast, and then using the above-mentioned image code and the live broadcast control information matched by the target stream data carried in the live broadcast command to generate an invitation card matching the target stream data, and sharing the invitation card to The second application performs display to invite the second account in the second application to share the playing process of the target stream data broadcasted by the first account by using the invitation card. Therefore, the second account in the second application is invited to directly view the target stream data by sharing the invitation card generated according to the live control information of the image code and the target stream data, wherein the invitation card can not only visually see and The live broadcast control information related to the current live stream target data, and entering the live broadcast through the image code, greatly simplifies the operation steps of data sharing, reduces the waiting time in the sharing process, and achieves the effect of improving data sharing efficiency, thereby overcoming the correlation. The problem of low data sharing efficiency in technology.

附图说明DRAWINGS

此处所说明的附图用来提供对本申请的进一步理解,构成本申请的一部分,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the present application, and are intended to be a part of this application. In the drawing:

图1是根据本申请实施例的一种可选的数据分享方法的应用环境示意图;1 is a schematic diagram of an application environment of an optional data sharing method according to an embodiment of the present application;

图2是根据本申请实施例的一种可选的数据分享方法的流程图;2 is a flowchart of an optional data sharing method according to an embodiment of the present application;

图3是根据本申请实施例的另一种可选的数据分享方法的流程图;3 is a flow chart of another alternative data sharing method according to an embodiment of the present application;

图4是根据本申请实施例的一种可选的数据分享方法的示意图;4 is a schematic diagram of an optional data sharing method according to an embodiment of the present application;

图5是根据本申请实施例的又一种可选的数据分享方法的流程图;FIG. 5 is a flowchart of still another optional data sharing method according to an embodiment of the present application; FIG.

图6是根据本申请实施例的另一种可选的数据分享方法的示意图;6 is a schematic diagram of another optional data sharing method according to an embodiment of the present application;

图7是根据本申请实施例的又一种可选的数据分享方法的示意图;FIG. 7 is a schematic diagram of still another optional data sharing method according to an embodiment of the present application; FIG.

图8是根据本申请实施例的一种可选的数据分享装置的示意图;FIG. 8 is a schematic diagram of an optional data sharing apparatus according to an embodiment of the present application; FIG.

图9是根据本申请实施例的另一种可选的数据分享装置的示意图;9 is a schematic diagram of another optional data sharing device according to an embodiment of the present application;

图10是根据本申请实施例的一种可选的数据分享终端的示意图;FIG. 10 is a schematic diagram of an optional data sharing terminal according to an embodiment of the present application; FIG.

图11是根据本申请实施例的一种可选的数据分享服务器的示意图。11 is a schematic diagram of an optional data sharing server in accordance with an embodiment of the present application.

具体实施方式detailed description

为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述, 显然,所描述的实施例仅仅是本申请一部分的实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本申请保护的范围。The technical solutions in the embodiments of the present application are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present application. It is an embodiment of the present application, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present application without departing from the inventive scope shall fall within the scope of the application.

需要说明的是,本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。It should be noted that the terms "first", "second" and the like in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or order. It is to be understood that the data so used may be interchanged where appropriate, so that the embodiments of the present application described herein can be implemented in a sequence other than those illustrated or described herein. In addition, the terms "comprises" and "comprises" and "the" and "the" are intended to cover a non-exclusive inclusion, for example, a process, method, system, product, or device that comprises a series of steps or units is not necessarily limited to Those steps or units may include other steps or units not explicitly listed or inherent to such processes, methods, products or devices.

根据本发明实施例的一个方面,提供了一种上述数据分享方法的实施例。作为一种可选的实施方式,该数据分享方法可以但不限于应用于如图1所示的应用环境中,终端102中安装有使用第一账号的第一应用的客户端,用于发起直播,终端108中安装有使用第二账号的第二应用的客户端。其中,上述第一账号用于作为主播发起直播,第二账号用于作为粉丝观看直播中的内容。终端102获取第一账号在第一应用的客户端中执行直播发起操作所生成的直播发起指令,其中,直播发起指令中携带有与第一账号所要直播的目标流数据相匹配的直播控制信息;响应直播发起指令,通过第一应用的服务器106获取图像码,其中,图像码用于标识第一账号所要直播的目标流数据;并利用图像码及直播控制信息生成与目标流数据匹配的邀请卡;进一步,终端102通过网络104将邀请卡分享至第二应用进行显示,以邀请第二应用中的第二账号利用邀请卡分享第一账号所直播的目标流数据的播放过程,其中,第二应用与第一应用为关联应用。According to an aspect of an embodiment of the present invention, an embodiment of the above data sharing method is provided. As an optional implementation manner, the data sharing method may be, but is not limited to, being applied to an application environment as shown in FIG. 1. The terminal 102 is installed with a client that uses the first application of the first account, and is used to initiate a live broadcast. The terminal 108 is installed with a client of the second application using the second account. The first account is used to initiate a live broadcast as an anchor, and the second account is used as a fan to watch content in a live broadcast. The terminal 102 obtains a live broadcast initiation instruction generated by the first account to perform a live broadcast initiation operation in the client of the first application, where the live broadcast initiation instruction carries live broadcast control information that matches the target flow data to be broadcasted by the first account; Responding to the live broadcast initiating instruction, the image code is obtained by the server 106 of the first application, wherein the image code is used to identify the target stream data to be broadcasted by the first account; and the image card and the live control information are used to generate an invitation card matching the target stream data. Further, the terminal 102 shares the invitation card to the second application for display by the network 104, so as to invite the second account in the second application to share the playing process of the target stream data broadcasted by the first account by using the invitation card, where the second The application is associated with the first application.

在本实施例中,在第一应用的客户端中获取第一账号执行直播发起操作所生成的直播发起指令之后,响应该直播发起指令通过第一应用的服务器获取用于标识第一账号所要直播的目标流数据的图像码,然后,利用上 述图像码以及直播发起指令中携带的与目标流数据相匹配的直播控制信息,生成与目标流数据匹配的邀请卡,并将该邀请卡分享至第二应用进行显示,以邀请第二应用中的第二账号利用邀请卡分享第一账号所直播的目标流数据的播放过程。从而实现通过分享根据图像码及目标流数据的直播控制信息生成的邀请卡,来邀请第二应用中的第二账号来直接观看目标流数据,其中,上述邀请卡中不仅可以直观地看到与当前直播的目标流数据相关的直播控制信息,而且通过图像码进入直播,将大大简化数据分享的操作步骤,缩减了分享过程中的等待时间,以达到提高数据分享效率的效果,进而克服了相关技术中存在的数据分享效率较低的问题。In this embodiment, after obtaining the live broadcast initiation instruction generated by the first account to perform the live broadcast initiation operation, the client in the first application obtains the live broadcast initiation command to obtain the first account to be broadcasted through the server of the first application. The image code of the target stream data, and then using the above-mentioned image code and the live control information carried in the live broadcast command to match the target stream data, generate an invitation card matching the target stream data, and share the invitation card to the first The second application performs display to invite the second account in the second application to share the playing process of the target stream data broadcasted by the first account by using the invitation card. Therefore, the second account in the second application is invited to directly view the target stream data by sharing the invitation card generated according to the live control information of the image code and the target stream data, wherein the invitation card can not only visually see and The live broadcast control information related to the current live stream target data, and entering the live broadcast through the image code, greatly simplifies the operation steps of data sharing, reduces the waiting time in the sharing process, and achieves the effect of improving data sharing efficiency, thereby overcoming the correlation. The problem of low data sharing efficiency in technology.

可选地,在本实施例中,上述终端可以包括但不限于以下至少之一:手机、平板电脑、笔记本电脑、台式PC机、数字电视及其他用于直播分享的硬件设备。上述网络可以包括但不限于以下至少之一:广域网、城域网、局域网。上述只是一种示例,本实施例对此不做任何限定。Optionally, in this embodiment, the foregoing terminal may include, but is not limited to, at least one of the following: a mobile phone, a tablet computer, a notebook computer, a desktop PC, a digital television, and other hardware devices for live broadcast sharing. The above network may include, but is not limited to, at least one of the following: a wide area network, a metropolitan area network, and a local area network. The above is only an example, and the embodiment does not limit this.

根据本申请实施例的一个方面,提供了一种数据分享方法,如图2所示,该方法包括:According to an aspect of the embodiments of the present application, a data sharing method is provided. As shown in FIG. 2, the method includes:

S202,获取第一账号在第一应用的客户端中执行直播发起操作所生成的直播发起指令,其中,直播发起指令中携带有与第一账号所要直播的目标流数据相匹配的直播控制信息;S202. Acquire a live broadcast initiation command generated by the first account to perform a live broadcast initiation operation in the client of the first application, where the live broadcast initiation instruction carries live broadcast control information that matches the target flow data to be broadcasted by the first account.

S204,响应直播发起指令,通过第一应用的服务器获取图像码,其中,图像码用于标识第一账号所要直播的目标流数据;S204. Acquire an image code by using a server of the first application, where the image code is used to identify target stream data to be broadcasted by the first account.

S206,利用图像码及直播控制信息生成与目标流数据匹配的邀请卡;S206. Generate an invitation card that matches the target stream data by using the image code and the live broadcast control information.

S208,将邀请卡分享至第二应用进行显示,以邀请第二应用中的第二账号利用邀请卡分享第一账号所直播的目标流数据的播放过程。S208. The invitation card is shared to the second application for display, so that the second account in the second application invites the invitation card to share the playing process of the target stream data broadcasted by the first account.

可选地,在本实施例中,上述数据分享方法可以但不限于应用于对直播过程中的目标流数据进行分享的过程中,例如,应用于直播应用中,实现对直播流数据进行高效分享。需要说明的是,在本实施例中,上述数据 分享方法也可以但不限于应用于对其他平台中进行数据分享的过程中,例如,还可以应用于视频播放应用中,对上述应用中的播放资源进行分享,上述仅是一种示例,本实施例中在此不做任何限定。Optionally, in this embodiment, the foregoing data sharing method may be applied to the process of sharing the target stream data in the live broadcast process, for example, in a live broadcast application, to implement efficient sharing of the live stream data. . It should be noted that, in this embodiment, the foregoing data sharing method may also be applied to a process of data sharing in other platforms, for example, may also be applied to a video playing application, and playing in the above application. The resource is shared. The foregoing is only an example, and is not limited herein.

应当说明的是,在本实施例中,上述第一应用包括但不限于直播应用,也可以包括但不限于用于直播的web网页或其他具有媒体播放功能的应用。第二应用包括但不限于社交应用、网页论坛等具备社交功能或即时通信的应用。还需要说明的是,第二应用与第一应用可以但不限于为关联应用,如第二应用为第一应用提供授权接口,以实现利用第二应用中的社交范围来分享第一应用中的消息或其他内容,从而达到扩大数据分享范围的目的,在此,本申请不做任何限定。It should be noted that, in this embodiment, the foregoing first application includes, but is not limited to, a live broadcast application, and may also include, but is not limited to, a webpage for live broadcast or other applications having a media play function. The second application includes, but is not limited to, social applications, web forums, and the like with social functions or instant messaging. It should be noted that the second application and the first application may be, but are not limited to, an associated application, such as the second application providing an authorization interface for the first application, to implement sharing the social application in the second application to share the first application. Messages or other content to achieve the purpose of expanding the scope of data sharing, and the application is not limited herein.

需要说明的是,在第一应用的客户端中获取第一账号执行直播发起操作所生成的直播发起指令之后,响应该直播发起指令通过第一应用的服务器获取用于标识第一账号所要直播的目标流数据的图像码,然后,利用上述图像码以及直播发起指令中携带的目标流数据的直播控制信息,生成与目标流数据匹配的邀请卡,并将该邀请卡分享至第二应用进行显示,以邀请第二应用中的第二账户利用该邀请卡同步分享第一账号直播目标流数据的过程。从而实现通过分享根据图像码及目标流数据的直播控制信息生成的邀请卡,来邀请第二应用中的第二账号来直接观看目标流数据,其中,上述邀请卡中不仅可以直观地看到与当前直播的目标流数据相关的直播控制信息,而且通过图像码进入直播,将大大简化数据分享的操作步骤,而无需再通过点击访问链接进行跳转,从而缩减了分享过程中的等待时间,以达到提高数据分享效率的效果,进而克服了相关技术中存在的数据分享效率较低的问题。It is to be noted that, after obtaining the live broadcast initiation instruction generated by the first account to perform the live broadcast initiation operation, the client in the first application obtains the live broadcast initiation instruction to obtain the first account to be broadcasted by the server of the first application. An image code of the target stream data, and then using the image code and the live control information of the target stream data carried in the live broadcast command to generate an invitation card that matches the target stream data, and sharing the invitation card to the second application for display The process of inviting the second account in the second application to synchronously share the first account live target stream data by using the invitation card. Therefore, the second account in the second application is invited to directly view the target stream data by sharing the invitation card generated according to the live control information of the image code and the target stream data, wherein the invitation card can not only visually see and The live broadcast control information related to the current live stream target data, and entering the live broadcast through the image code, will greatly simplify the data sharing operation steps, without having to click the access link to jump, thereby reducing the waiting time in the sharing process, thereby To achieve the effect of improving data sharing efficiency, and thus overcome the problem of low data sharing efficiency in related technologies.

可选地,在本实施例中,利用直播发起指令中携带的直播控制信息,及从第一应用的服务器获取的用于标识目标流数据的图像码,来生成与目标流数据匹配的邀请卡,通过分享该邀请卡,以实现将直播中的目标流数据分享给第二应用中的关联账号,其中,该邀请卡可以包括但不限于以下 至少一种格式信息:文字、图片、音频、动态图片(gif)或短视频,从而使用户可以通过该邀请卡可以直观地观看第一账号所要直播内容,对此在本实施例中不做任何限定。Optionally, in this embodiment, the live broadcast control information carried in the live broadcast initiation command and the image code used to identify the target flow data obtained from the server of the first application are used to generate an invitation card that matches the target flow data. By sharing the invitation card, the target stream data in the live broadcast is shared to the associated account in the second application, where the invitation card may include but is not limited to at least one of the following format information: text, picture, audio, dynamic A picture (gif) or a short video, so that the user can intuitively view the content to be broadcasted by the first account through the invitation card, which is not limited in this embodiment.

可选地,在本实施例中,上述目标流数据可以但不限于用于指示在主播账号(也就是第一账号)发起执行直播发起操作之后,进入直播过程中所传输的媒体流数据。其中,与第一账号所要直播的目标流数据相匹配的直播控制信息中可以包括但不限于以下至少之一:目标流数据的标题、目标流数据的直播封面图片、及目标流数据的摘要指示信息。其中,上述摘要指示信息可以包括但不限于以下至少之一:直播时间段、主播标识(ID)、直播内容简介等等。上述内容仅是一种示例,本实施例中,对此不做任何限定。Optionally, in this embodiment, the foregoing target stream data may be, but not limited to, used to indicate that the media stream data transmitted during the live broadcast process is performed after the anchor account (that is, the first account) initiates the live broadcast initiation operation. The live control information that matches the target stream data to be broadcasted by the first account may include, but is not limited to, at least one of the following: a title of the target stream data, a live cover image of the target stream data, and a summary indication of the target stream data. information. The summary indication information may include, but is not limited to, at least one of the following: a live broadcast period, an anchor identifier (ID), a live content introduction, and the like. The above content is only an example, and in this embodiment, no limitation is imposed on this.

需要说明的是,在第一应用的客户端获取到直播发起指令之前,可以但不限于在第一应用的客户端获取上述第一账号所直播的目标流数据的标题、封面。将上述第一账号所直播的目标流数据的标题、封面发送给第一应用的服务器,以发起用于请求直播上述目标流数据的直播请求。It should be noted that before the client of the first application obtains the live broadcast initiation command, the title and the cover of the target stream data broadcasted by the first account may be acquired by the client of the first application. Sending a title and a cover of the target stream data broadcasted by the first account to the server of the first application to initiate a live broadcast request for requesting live broadcast of the target stream data.

可选地,在本实施例中,第一应用的客户端在获取到直播发起指令后,向第一应用的服务器发送直播请求,第一应用的服务器为所要直播的目标流数据生成唯一的数据标识,并将该数据标识发送给第二应用的服务器,以使第二应用的服务器根据数据标识生成图像码;然后,接收第二应用的服务器根据该数据标识生成的图像码。需要说明的是,第二应用的服务器根据与目标流数据匹配的数据标识生成图像码,以利用该图像码生成用于获取目标流数据的邀请卡。Optionally, in this embodiment, after obtaining the live broadcast initiation command, the client of the first application sends a live broadcast request to the server of the first application, and the server of the first application generates unique data for the target stream data to be broadcasted. Identifying, and transmitting the data identifier to the server of the second application, so that the server of the second application generates the image code according to the data identifier; and then receiving the image code generated by the server of the second application according to the data identifier. It should be noted that the server of the second application generates an image code according to the data identifier matching the target stream data, to generate an invitation card for acquiring the target stream data by using the image code.

可选地,在本实施例中,上述图像码可以包括但不限于二维码、三维码等,以及其他易于被应用识别的图像码。上述内容仅是一种示例,本实施例中,对此不做任何限定。Optionally, in this embodiment, the foregoing image code may include, but is not limited to, a two-dimensional code, a three-dimensional code, and the like, and other image codes that are easily recognized by the application. The above content is only an example, and in this embodiment, no limitation is imposed on this.

可选地,在本实施例中,将邀请卡分享至第二应用进行显示可以包括但不限于:获取第一应用的客户端对所生成的邀请卡执行分享操作所生成 的分享指令,响应该分享指令,将该邀请卡通过第一应用的服务器,发送至第二应用的服务器,然后,将邀请卡分享至第二应用进行显示。以使得第二应用中的第二账号通过客户端对邀请卡执行操作,如对邀请卡中的图像码进行识别操作,实现对邀请卡执行访问,进而实现对与邀请卡匹配的目标流数据进行共享播放。Optionally, in this embodiment, the sharing the invitation card to the second application for display may include, but is not limited to: acquiring a sharing instruction generated by the client of the first application to perform a sharing operation on the generated invitation card, in response to the The sharing instruction sends the invitation card to the server of the second application through the server of the first application, and then shares the invitation card to the second application for display. In order to enable the second account in the second application to perform an operation on the invitation card through the client, such as performing an identification operation on the image code in the invitation card, performing access to the invitation card, thereby implementing target stream data matching the invitation card. Shared play.

可选地,在本实施例中,利用图像码及直播控制信息生成与目标流数据匹配的邀请卡包括但不限于:第一应用的客户端可以但不限于根据获取到的配置指令所指示的邀请卡的显示样式,来布局与目标流数据匹配的直播控制信息及图像码,从而达到生成邀请卡的目的。Optionally, in this embodiment, generating an invitation card that matches the target stream data by using the image code and the live broadcast control information includes, but is not limited to, the client of the first application may be, but is not limited to, indicated according to the acquired configuration instruction. The display style of the invitation card is used to lay out the live control information and the image code that match the target stream data, thereby achieving the purpose of generating the invitation card.

具体结合图3所示进行说明,以发起直播的第一应用的客户端为例进行说明,如图3所示步骤S302-S328,第一应用的客户端302获取第一账号执行直播发起操作所生成的直播发起指令,并根据该直播发起指令向第一应用的服务器304发送直播请求,第一应用的服务器304随机配置一个用于唯一标识该直播请求所要直播的目标数据的数据标识ID,并将该数据标识ID发送给第二应用的服务器306,以使第二应用的服务器306可以根据该数据标识生成与目标流数据匹配的图像码。第一应用的客户端302通过第一应用的服务器304接收第二应用的服务器306发送的图像码,及与当前直播相关的直播信息,并根据上述获取到的内容生成与目标流数据相匹配的邀请卡。在获取到第一客户端对邀请卡执行分享操作的分享指令后,将该邀请卡发送至第一应用的服务器304,第一应用的服务器304将建立该邀请卡与目标流数据的映射关系,并将该邀请卡通过第二应用的服务器306分享至第二应用中使用第二账号的客户端308。第二应用中使用第二账号的客户端308将显示该邀请卡,并获取对该邀请卡执行访问操作的访问请求,然后将该访问请求通过第二应用的服务器306发送至第一应用的服务器304,以使第一应用的服务器304可以将上述所要直播的目标流数据分享给第二应用中使用第二账号的客户端308。Specifically, as shown in FIG. 3, the client of the first application that initiates the live broadcast is taken as an example. As shown in FIG. 3, steps S302-S328, the client 302 of the first application obtains the first account to perform the live broadcast initiation operation. The generated live broadcast initiating instruction, and sending a live broadcast request to the server 304 of the first application according to the live broadcast initiating instruction, where the server 304 of the first application randomly configures a data identifier ID for uniquely identifying the target data to be broadcasted by the live broadcast request, and The data identification ID is sent to the server 306 of the second application such that the server 306 of the second application can generate an image code that matches the target stream data based on the data identification. The client 302 of the first application receives the image code sent by the server 306 of the second application and the live broadcast information related to the current live broadcast through the server 304 of the first application, and generates a matching match with the target stream data according to the acquired content. invitation card. After obtaining the sharing instruction of the sharing operation by the first client to the invitation card, the invitation card is sent to the server 304 of the first application, and the server 304 of the first application establishes a mapping relationship between the invitation card and the target stream data. The invitation card is shared by the server 306 of the second application to the client 308 in the second application using the second account. The client 308 using the second account in the second application will display the invitation card, and obtain an access request for performing an access operation on the invitation card, and then send the access request to the server of the first application through the server 306 of the second application. 304, so that the server 304 of the first application can share the target stream data to be broadcasted to the client 308 in the second application using the second account.

通过本申请提供的实施例,在第一应用的客户端中获取第一账号执行 直播发起操作所生成的直播发起指令之后,响应该直播发起指令通过第一应用的服务器获取用于标识第一账号所要直播的目标流数据的图像码,然后,利用上述图像码以及直播发起指令中携带的目标流数据的直播控制信息,生成与目标流数据匹配的邀请卡,并将该邀请卡分享至第二应用进行显示,以邀请第二应用中的第二账户利用该邀请卡同步分享第一账号直播目标流数据的过程。从而实现通过分享根据图像码及目标流数据的直播控制信息生成的邀请卡,来邀请第二应用中的第二账号来直接观看目标流数据,其中,上述邀请卡中不仅可以直观地看到与当前直播的目标流数据相关的直播控制信息,而且通过图像码进入直播,将大大简化数据分享的操作步骤,而无需再通过点击访问链接进行跳转,从而缩减了分享过程中的等待时间,以达到提高数据分享效率的效果,进而克服了相关技术中存在的数据分享效率较低的问题。After obtaining the live broadcast initiation command generated by the first account to perform the live broadcast initiation operation, the client in the first application obtains the first account by using the server of the first application in response to the live broadcast initiation command. The image code of the target stream data to be broadcasted, and then using the above-mentioned image code and the live control information of the target stream data carried in the live broadcast command to generate an invitation card matching the target stream data, and sharing the invitation card to the second The application performs display to invite the second account in the second application to synchronously share the first account live target stream data by using the invitation card. Therefore, the second account in the second application is invited to directly view the target stream data by sharing the invitation card generated according to the live control information of the image code and the target stream data, wherein the invitation card can not only visually see and The live broadcast control information related to the current live stream target data, and entering the live broadcast through the image code, will greatly simplify the data sharing operation steps, without having to click the access link to jump, thereby reducing the waiting time in the sharing process, thereby To achieve the effect of improving data sharing efficiency, and thus overcome the problem of low data sharing efficiency in related technologies.

作为一种可选的方案,响应直播发起指令,通过第一应用的服务器获取图像码包括:As an optional solution, in response to the live broadcast initiation instruction, acquiring the image code by using the server of the first application includes:

S1,通过第一应用的服务器接收第二应用的服务器生成的图像码,其中,图像码为第二应用的服务器根据第一应用的服务器所发送的与目标流数据相匹配的数据标识而生成。S1. The image code generated by the server of the second application is received by the server of the first application, where the image code is generated by the server of the second application according to the data identifier that is sent by the server of the first application and matches the target stream data.

具体结合以下示例进行说明,假设第一应用以直播应用app1为例,第二应用以社交应用app2为例进行说明。在本示例中,在使用第一账号的主播点击发起直播的直播按钮生成直播发起指令后,将向直播应用app1的后台服务器发送直播请求,直播应用app1的后台服务器在接收到上述直播请求后,将为该主播发起的直播分配一个唯一的数据标识ID,将该ID发送至社交应用app2的服务器,以使社交应用app2生成一个与该数据标识ID匹配的场景图像码,例如二维码,并将该场景图像码发送给直播应用app1,以使直播应用app1根据该直播的直播控制信息(也称直播信息)以及场景图像码组合生成一个与本次直播匹配的邀请卡。Specifically, the following example is used for the description, and the first application is taken as an example of the live application app1, and the second application is described by taking the social application app2 as an example. In this example, after the live broadcast button of the live broadcast of the first account is used to generate the live broadcast command, the live broadcast request is sent to the background server of the live application app1, and the background server of the live application app1 receives the live broadcast request. The live broadcast initiated by the anchor is assigned a unique data identification ID, and the ID is sent to the server of the social application app2, so that the social application app2 generates a scene image code matching the data identification ID, such as a two-dimensional code, and The scene image code is sent to the live application app1, so that the live application app1 generates an invitation card that matches the live broadcast according to the live broadcast control information (also called live broadcast information) and the scene image code combination.

通过本申请提供的实施例,在第二应用的服务器中,根据第一应用的 服务器所发送的与目标流数据相匹配的数据标识,来生成与目标流数据匹配的图像码,以利用该图像码得到用于邀请关联账号播放目标流数据的邀请卡,从而简化目标流数据的分享操作,提高数据分享效率。With the embodiment provided by the present application, in the server of the second application, an image code matching the target stream data is generated according to the data identifier sent by the server of the first application and matched with the target stream data, to utilize the image. The code obtains an invitation card for inviting the associated account to play the target stream data, thereby simplifying the sharing operation of the target stream data and improving the data sharing efficiency.

作为一种可选的方案,将邀请卡分享至第二应用进行显示包括:As an alternative, sharing the invitation card to the second application for display includes:

S1,获取在第一应用的客户端对邀请卡执行分享操作所生成的分享指令;S1. Acquire a sharing instruction generated by the client of the first application to perform a sharing operation on the invitation card.

S2,响应分享指令将邀请卡发送至第一应用的服务器,以使第一应用的服务器通过第二应用的服务器,将邀请卡分享至第二应用中使用第二账号的客户端进行显示,其中,第一应用的服务器将存储邀请卡与目标流数据之间的映射关系。S2, in response to the sharing instruction, sending the invitation card to the server of the first application, so that the server of the first application shares the invitation card to the client using the second account in the second application through the server of the second application, where The server of the first application stores the mapping relationship between the invitation card and the target stream data.

具体结合以下示例进行说明,假设第一应用以直播应用app1为例,第二应用以社交应用app2为例进行说明。在本示例中,在直播应用app1中生成邀请卡之后,获取使用第一账号的主播点击发起分享按钮生成的分享指令,并响应该分享指令将邀请卡发送至直播应用app1的后台服务器,以使直播应用app1的后台服务器通过社交应用app2的后台服务器,将上述邀请卡分享至社交应用app2进行显示,以邀请社交应用app2中关注第一账号的第二账号通过识别邀请卡上的图像码来进入目标流数据的播放界面,以播放该目标流数据,实现数据的分享。Specifically, the following example is used for the description, and the first application is taken as an example of the live application app1, and the second application is described by taking the social application app2 as an example. In this example, after the invitation card is generated in the live application app1, the sharing instruction generated by the anchor click initiation sharing button of the first account is acquired, and the invitation card is sent to the background server of the live application app1 in response to the sharing instruction, so that The background server of the live application app1 shares the invitation card to the social application app2 through the background server of the social application app2, so as to invite the second account of the social application app2 to focus on the first account to enter by identifying the image code on the invitation card. The play interface of the target stream data is used to play the target stream data to realize data sharing.

需要说明的是,直播应用app1的后台服务器在接收到邀请卡之后,将存储邀请卡与目标流数据之间的映射关系。从而实现在接收到第二应用中的第二账号通过识别图像码所生成的访问请求后,将与包含该图像码的邀请卡对应的目标流数据推送给第二应用中的第二账号。It should be noted that after receiving the invitation card, the background server of the live application app1 stores the mapping relationship between the invitation card and the target stream data. Therefore, after receiving the access request generated by the second account in the second application by identifying the image code, the target stream data corresponding to the invitation card including the image code is pushed to the second account in the second application.

通过本申请提供的实施例,获取在第一应用的客户端对邀请卡执行分享操作所生成的分享指令,响应分享指令将邀请卡发送至第一应用的服务器,以使第一应用的服务器通过第二应用的服务器将邀请卡分享至第二应用的客户度进行显示,从而实现利用第二应用的社交范围达到对目标流数 据的分享目的,此外,将邀请卡显示在第二应用中使用第二账号的客户端中,还将达到直观展示所要直播的目标流数据的相关内容的目的,而无需再通过跳转链接获取。Through the embodiment provided by the application, the sharing instruction generated by the client of the first application to perform the sharing operation on the invitation card is obtained, and the invitation card is sent to the server of the first application in response to the sharing instruction, so that the server of the first application passes The server of the second application displays the client card to the client of the second application for display, so as to achieve the purpose of sharing the target stream data by using the social scope of the second application, and further, displaying the invitation card in the second application. The client of the second account will also achieve the purpose of visually displaying the relevant content of the target stream data to be broadcasted, without having to obtain the jump link.

作为一种可选的方案,利用图像码及直播控制信息生成与目标流数据匹配的邀请卡包括:As an optional solution, using the image code and the live control information to generate an invitation card that matches the target stream data includes:

S1,获取配置指令,其中,配置指令用于配置邀请卡的显示样式;S1: Obtain a configuration instruction, where the configuration instruction is used to configure a display style of the invitation card;

S2,按照显示样式布局直播控制信息及图像码,以生成邀请卡。S2, the live control information and the image code are arranged according to the display style to generate an invitation card.

可选地,在本实施例中,上述直播控制信息中可以包括但不限于以下至少之一:目标流数据的标题、目标流数据的直播封面图片、及目标流数据的摘要指示信息。Optionally, in this embodiment, the live broadcast control information may include, but is not limited to, at least one of the following: a title of the target stream data, a live cover picture of the target stream data, and summary indication information of the target stream data.

具体结合以下示例进行说明,假设第一应用以直播应用app1为例,第二应用以社交应用app2为例进行说明。在本示例中,例如,如图4所示,假设本次所要直播的目标流数据的直播控制信息包括:主题、封面、摘要指示信息等,其中,摘要指示信息包括:直播时间及发起直播的主播标识(例如,标识A),进一步,假设图像码为二维码。直播应用app1可以先获取配置指令,该配置指令包含用于配置邀请卡的显示样式,根据该显示样式对上述直播控制信息以及图像码进行布局排版,以生成对应的邀请卡,如图4所示。Specifically, the following example is used for the description, and the first application is taken as an example of the live application app1, and the second application is described by taking the social application app2 as an example. In this example, for example, as shown in FIG. 4, it is assumed that the live broadcast control information of the target stream data to be broadcasted in this time includes: a topic, a cover, a summary indication information, and the like, wherein the summary indication information includes: a live broadcast time and a live broadcast. The anchor identification (for example, the identification A), further, assumes that the image code is a two-dimensional code. The live application app1 may first obtain a configuration command, where the configuration command includes a display style for configuring the invitation card, and performs layout layout on the live control information and the image code according to the display style, to generate a corresponding invitation card, as shown in FIG. .

通过本申请提供的实施例,根据配置指令中的显示样式对直播控制信息以及图像码进行布局排版生成邀请卡,能够对直播内容进行充分的展示,以提高所要分享的数据的关注度,提升数据的分享率,从而达到使更多的用户来分享上述直播的目标流数据。Through the embodiment provided by the present application, the live broadcast control information and the image code are configured to generate an invitation card according to the display style in the configuration instruction, so that the live broadcast content can be fully displayed, so as to improve the attention of the data to be shared and improve the data. The sharing rate, so that more users can share the target stream data of the above live broadcast.

根据本申请实施例的另一方面,提供了一种数据分享方法,如图5所示,该方法包括:According to another aspect of the embodiments of the present application, a data sharing method is provided. As shown in FIG. 5, the method includes:

S502,获取第一应用中使用第一账号的客户端发送的直播请求,其中,直播请求中携带有与第一账号所要直播的目标流数据相匹配的直播控制信息;S502: Obtain a live broadcast request sent by a client that uses the first account in the first application, where the live broadcast request carries live broadcast control information that matches the target flow data to be broadcasted by the first account;

S504,响应直播请求获取图像码,其中,图像码用于标识第一账号所要直播的目标流数据;S504. Acquire an image code in response to the live broadcast request, where the image code is used to identify target stream data to be broadcasted by the first account.

S506,将图像码发送至第一应用中使用第一账号的客户端,以生成与目标流数据匹配的邀请卡;S506. Send an image code to a client in the first application that uses the first account to generate an invitation card that matches the target stream data.

S508,获取将邀请卡分享至第二应用的分享请求,其中,分享请求中携带有邀请卡及第二应用的应用标识;S508, obtaining a sharing request for sharing the invitation card to the second application, where the sharing request carries the invitation card and the application identifier of the second application;

S510,获取第二应用中的第二账号对邀请卡执行访问操作所生成的访问请求,并响应访问请求向第二应用中使用第二账号的客户端分享第一账号所直播的目标流数据的播放过程。S510. Acquire an access request generated by the second account in the second application to perform an access operation on the invitation card, and share the target stream data broadcasted by the first account with the client in the second application using the second account in response to the access request. Playback process.

可选地,在本实施例中,上述数据分享方法可以但不限于应用于对直播过程中的目标流数据进行分享的过程中,例如,应用于直播应用的服务器中,实现对直播流数据进行高效分享。需要说明的是,在本实施例中,上述数据分享方法也可以但不限于应用于对其他平台的服务器中进行数据分享的过程中,例如,还可以应用于视频播放应用的服务器中,对上述应用的服务器中的播放资源进行分享,上述仅是一种示例,本实施例中在此不做任何限定。Optionally, in this embodiment, the data sharing method may be, but is not limited to, being applied to the process of sharing the target stream data in the live broadcast process, for example, being applied to a server of the live broadcast application to implement live broadcast stream data. Share efficiently. It should be noted that, in this embodiment, the foregoing data sharing method may also be applied to a process of data sharing in a server of another platform, for example, may also be applied to a server of a video playing application. The foregoing is only an example of the playback resource in the application server. The foregoing is not limited in this embodiment.

应当说明的是,在本实施例中,上述第一应用包括但不限于直播应用,也可以包括但不限于用于直播的web网页或其他具有媒体播放功能的应用。第二应用包括但不限于社交应用、网页论坛等具备社交功能或即时通信的应用。还需要说明的是,第二应用与第一应用可以但不限于为关联应用,如第二应用为第一应用提供授权接口,以实现利用第二应用中的社交范围来分享第一应用中的消息或其他内容,从而达到扩大数据分享范围的目的,在此,本申请不做任何限定。It should be noted that, in this embodiment, the foregoing first application includes, but is not limited to, a live broadcast application, and may also include, but is not limited to, a webpage for live broadcast or other applications having a media play function. The second application includes, but is not limited to, social applications, web forums, and the like with social functions or instant messaging. It should be noted that the second application and the first application may be, but are not limited to, an associated application, such as the second application providing an authorization interface for the first application, to implement sharing the social application in the second application to share the first application. Messages or other content to achieve the purpose of expanding the scope of data sharing, and the application is not limited herein.

需要说明的是,在第一应用的服务器获取使用第一账号的第一应用的客户端发送的直播请求之后,响应该直播请求获取用于标识第一账号所要直播的目标流数据的图像码,然后,将上述图像码发送至第一应用的客户端,以使第一应用的客户端生成与目标流数据匹配的邀请卡。进一步,第一应用的服务器将获取将上述邀请卡分享至第二应用的分享请求,其中,分享请求中携带邀请卡及第二应用的应用标识,第二应用与第一应用为关联应用;然后,获取第二应用中的第二账号对该邀请卡执行访问操作所生成的请求,并响应该访问请求向第二应用分享第一账号所直播的所述目标流数据。从而实现通过分享根据图像码及目标流数据的直播控制信息生成的邀请卡,来邀请第二应用中的第二账号来直接观看目标流数据,其中,上述邀请卡中不仅可以直观地看到与当前直播的目标流数据相关的直播控制信息,而且通过图像码进入直播,将大大简化数据分享的操作步骤,而无需再通过点击访问链接进行跳转,从而缩减了分享过程中的等待时间,以达到提高数据分享效率的效果,进而克服了相关技术中存在的数据分享效率较低的问题。It is to be noted that after the server of the first application obtains the live broadcast request sent by the client of the first application that uses the first account, the image code for identifying the target stream data to be broadcasted by the first account is obtained in response to the live broadcast request, Then, the above image code is sent to the client of the first application, so that the client of the first application generates an invitation card that matches the target stream data. Further, the server of the first application obtains a sharing request for sharing the invitation card to the second application, where the sharing request carries the invitation card and the application identifier of the second application, and the second application is associated with the first application; And acquiring, by the second account in the second application, a request generated by performing an access operation on the invitation card, and sharing the target stream data broadcasted by the first account with the second application in response to the access request. Therefore, the second account in the second application is invited to directly view the target stream data by sharing the invitation card generated according to the live control information of the image code and the target stream data, wherein the invitation card can not only visually see and The live broadcast control information related to the current live stream target data, and entering the live broadcast through the image code, will greatly simplify the data sharing operation steps, without having to click the access link to jump, thereby reducing the waiting time in the sharing process, thereby To achieve the effect of improving data sharing efficiency, and thus overcome the problem of low data sharing efficiency in related technologies.

可选地,在本实施例中,利用直播发起指令中携带的直播控制信息,及从第一应用的服务器获取的用于标识目标流数据的图像码,来生成与目标流数据匹配的邀请卡,通过分享该邀请卡,以实现将直播中的目标流数据分享给第二应用中的关联账号,其中,该邀请卡可以包括但不限于以下至少一种格式信息:文字、图片、音频、动态图片(gif)或短视频,从而使用户可以通过该邀请卡可以直观地观看第一账号所要直播内容,对此在本实施例中不做任何限定。Optionally, in this embodiment, the live broadcast control information carried in the live broadcast initiation command and the image code used to identify the target flow data obtained from the server of the first application are used to generate an invitation card that matches the target flow data. By sharing the invitation card, the target stream data in the live broadcast is shared to the associated account in the second application, where the invitation card may include but is not limited to at least one of the following format information: text, picture, audio, dynamic A picture (gif) or a short video, so that the user can intuitively view the content to be broadcasted by the first account through the invitation card, which is not limited in this embodiment.

可选地,在本实施例中,上述目标流数据可以但不限于用于指示在主播账号(也就是第一账号)发起执行直播发起操作之后,进入直播过程中所传输的媒体流数据。其中,与第一账号所要直播的目标流数据相匹配的直播控制信息中可以包括但不限于以下至少之一:目标流数据的标题、目标流数据的直播封面图片、及目标流数据的摘要指示信息。其中,上述摘要指示信息可以包括但不限于以下至少之一:直播时间段、主播标识(ID)、 直播内容简介等等。上述内容仅是一种示例,本实施例中,对此不做任何限定。Optionally, in this embodiment, the foregoing target stream data may be, but not limited to, used to indicate that the media stream data transmitted during the live broadcast process is performed after the anchor account (that is, the first account) initiates the live broadcast initiation operation. The live control information that matches the target stream data to be broadcasted by the first account may include, but is not limited to, at least one of the following: a title of the target stream data, a live cover image of the target stream data, and a summary indication of the target stream data. information. The summary indication information may include, but is not limited to, at least one of the following: a live broadcast period, an anchor identifier (ID), a live content introduction, and the like. The above content is only an example, and in this embodiment, no limitation is imposed on this.

可选地,在本实施例中,第一应用的客户端在获取到直播发起指令后,向第一应用的服务器发送直播请求,第一应用的服务器为所要直播的目标流数据生成唯一的数据标识,并将该数据标识发送给第二应用的服务器,以使第二应用的服务器根据数据标识生成图像码;然后,接收第二应用的服务器根据该数据标识生成的图像码。需要说明的是,第二应用的服务器根据与目标流数据匹配的数据标识生成图像码,以利用该图像码生成用于获取目标流数据的邀请卡。Optionally, in this embodiment, after obtaining the live broadcast initiation command, the client of the first application sends a live broadcast request to the server of the first application, and the server of the first application generates unique data for the target stream data to be broadcasted. Identifying, and transmitting the data identifier to the server of the second application, so that the server of the second application generates the image code according to the data identifier; and then receiving the image code generated by the server of the second application according to the data identifier. It should be noted that the server of the second application generates an image code according to the data identifier matching the target stream data, to generate an invitation card for acquiring the target stream data by using the image code.

可选地,在本实施例中,上述图像码可以包括但不限于二维码、三维码等,以及其他易于被应用识别的图像码。上述内容仅是一种示例,本实施例中,对此不做任何限定。Optionally, in this embodiment, the foregoing image code may include, but is not limited to, a two-dimensional code, a three-dimensional code, and the like, and other image codes that are easily recognized by the application. The above content is only an example, and in this embodiment, no limitation is imposed on this.

可选地,在本实施例中,将邀请卡分享至第二应用进行显示可以包括但不限于:获取第一应用的客户端对所生成的邀请卡执行分享操作所生成的分享指令,响应该分享指令,将该邀请卡通过第一应用的服务器,发送至第二应用的服务器,然后,将邀请卡分享至第二应用进行显示。以使得第二应用中的第二账号通过客户端对邀请卡执行操作,如对邀请卡中的图像码进行识别操作,实现对邀请卡执行访问,进而实现对与邀请卡匹配的目标流数据进行共享播放。Optionally, in this embodiment, the sharing the invitation card to the second application for display may include, but is not limited to: acquiring a sharing instruction generated by the client of the first application to perform a sharing operation on the generated invitation card, in response to the The sharing instruction sends the invitation card to the server of the second application through the server of the first application, and then shares the invitation card to the second application for display. In order to enable the second account in the second application to perform an operation on the invitation card through the client, such as performing an identification operation on the image code in the invitation card, performing access to the invitation card, thereby implementing target stream data matching the invitation card. Shared play.

可选地,在本实施例中,第一应用的服务器可以但不限于获取访问请求的请求时间;获取与请求时间相匹配的进度指示信息,其中,进度指示信息用于指示目标流数据的播放进度;向第二应用中的第二账号分享与进度指示信息相匹配的目标流数据。Optionally, in this embodiment, the server of the first application may be, but is not limited to, a request time for obtaining an access request; and obtaining progress indication information that matches the request time, where the progress indication information is used to indicate that the target stream data is played. Progress; sharing target stream data matching the progress indication information to the second account in the second application.

可选地,在本实施例中,向第二应用中的第二账号分享与进度指示信息相匹配的目标流数据可以包括但不限于:Optionally, in this embodiment, sharing the target flow data that matches the progress indication information to the second account in the second application may include, but is not limited to:

1)在进度指示信息指示目标流数据未开始播放的情况下,向第二应 用中使用第二账号的客户端发送第一提示信息,其中,第一提示信息用于提示是否预约播放目标流数据;1) The first prompt information is sent to the client using the second account in the second application, where the progress indication information indicates that the target stream data does not start playing, wherein the first prompt information is used to prompt whether to reserve the target stream data. ;

2)在进度指示信息指示目标流数据已开始、但未完成播放的情况下,向第二应用中使用第二账号的客户端发送第二提示信息,其中,第二提示信息用于提示从目标流数据的当前播放画面开始播放;2) sending, in the case that the progress indication information indicates that the target stream data has started but not completing the playing, sending the second prompt information to the client using the second account in the second application, where the second prompt information is used to prompt the target The current playback screen of the streaming data starts playing;

3)在进度指示信息指示目标流数据已完成播放的情况下,向第二应用中使用第二账号的客户端发送第三提示信息,其中,第三提示信息用于提示目标流数据已完成播放。3) The third prompt information is sent to the client using the second account in the second application, where the progress indication information indicates that the target stream data has been played, wherein the third prompt information is used to prompt the target stream data to be played. .

也就是说,在本实施例中,可以根据直播的目标流数据的播放进度,向第二应用中的第二账号分享与进度指示信息相匹配的目标流数据。例如,以开始播放,但未完成播放为例,可以使第二账号直接从进度指示信息所指示的进度对应的播放画面开始播放;又例如,以未开始播放为例,可以提示第二账号,第一账号所要直播的目标流数据还未开始播放,是否预约播放。上述仅是一种示例,本实施例中对此不做任何限定。That is to say, in this embodiment, the target stream data matching the progress indication information may be shared with the second account in the second application according to the playing progress of the live target data. For example, in the case of starting playback but not completing the playback, the second account may be directly played from the playback screen corresponding to the progress indicated by the progress indication information; for example, the second account may be prompted by the example of not starting playback. The target stream data to be broadcasted by the first account has not started playing yet, and is scheduled to be played. The above is only an example, and is not limited in this embodiment.

具体结合图3所示进行说明,以发起直播的第一应用的客户端为例进行说明,如图3所示步骤S302-S328,第一应用的客户端302获取第一账号执行直播发起操作所生成的直播发起指令,并根据该直播发起指令向第一应用的服务器304发送直播请求,第一应用的服务器304随机配置一个用于唯一标识该直播请求所要直播的目标数据的数据标识ID,并将该数据标识ID发送给第二应用的服务器306,以使第二应用的服务器306可以根据该数据标识生成与目标流数据匹配的图像码。第一应用的客户端302通过第一应用的服务器304接收第二应用的服务器306发送的图像码,及与当前直播相关的直播信息,并根据上述获取到的内容生成与目标流数据相匹配的邀请卡。在获取到第一客户端对邀请卡执行分享操作的分享指令后,将该邀请卡发送至第一应用的服务器304,第一应用的服务器304将建立该邀请卡与目标流数据的映射关系,并将该邀请卡通过第二应用的服务器306分享至第二应用中使用第二账号的客户端308。第二应用中使 用第二账号的客户端308将显示该邀请卡,并获取对该邀请卡执行访问操作的访问请求,然后将该访问请求通过第二应用的服务器306发送至第一应用的服务器304,以使第一应用的服务器304可以将上述所要直播的目标流数据分享给第二应用中使用第二账号的客户端308。Specifically, as shown in FIG. 3, the client of the first application that initiates the live broadcast is taken as an example. As shown in FIG. 3, steps S302-S328, the client 302 of the first application obtains the first account to perform the live broadcast initiation operation. The generated live broadcast initiating instruction, and sending a live broadcast request to the server 304 of the first application according to the live broadcast initiating instruction, where the server 304 of the first application randomly configures a data identifier ID for uniquely identifying the target data to be broadcasted by the live broadcast request, and The data identification ID is sent to the server 306 of the second application such that the server 306 of the second application can generate an image code that matches the target stream data based on the data identification. The client 302 of the first application receives the image code sent by the server 306 of the second application and the live broadcast information related to the current live broadcast through the server 304 of the first application, and generates a matching match with the target stream data according to the acquired content. invitation card. After obtaining the sharing instruction of the sharing operation by the first client to the invitation card, the invitation card is sent to the server 304 of the first application, and the server 304 of the first application establishes a mapping relationship between the invitation card and the target stream data. The invitation card is shared by the server 306 of the second application to the client 308 in the second application using the second account. The client 308 using the second account in the second application will display the invitation card, and obtain an access request for performing an access operation on the invitation card, and then send the access request to the server of the first application through the server 306 of the second application. 304, so that the server 304 of the first application can share the target stream data to be broadcasted to the client 308 in the second application using the second account.

通过本申请提供的实施例,在第一应用的服务器获取使用第一账号的第一应用的客户端发送的直播请求之后,响应该直播请求获取用于标识第一账号所要直播的目标流数据的图像码,然后,将上述图像码发送至第一应用的客户端,以使第一应用的客户端生成与目标流数据匹配的邀请卡。进一步,第一应用的服务器将获取将上述邀请卡分享至第二应用的分享请求,其中,分享请求中携带邀请卡及第二应用的应用标识,第二应用与第一应用为关联应用;然后,获取第二应用中的第二账号对该邀请卡执行访问操作所生成的请求,并响应该访问请求向第二应用分享第一账号所直播的所述目标流数据。从而实现通过分享根据图像码及目标流数据的直播控制信息生成的邀请卡,来邀请第二应用中的第二账号来直接观看目标流数据,其中,上述邀请卡中不仅可以直观地看到与当前直播的目标流数据相关的直播控制信息,而且通过图像码进入直播,将大大简化数据分享的操作步骤,而无需再通过点击访问链接进行跳转,从而缩减了分享过程中的等待时间,以达到提高数据分享效率的效果,进而克服了相关技术中存在的数据分享效率较低的问题。After the server of the first application obtains the live broadcast request sent by the client of the first application of the first account, the server of the first application obtains the target stream data for identifying the first account to be broadcasted in response to the live request. The image code is then sent to the client of the first application to cause the client of the first application to generate an invitation card that matches the target stream data. Further, the server of the first application obtains a sharing request for sharing the invitation card to the second application, where the sharing request carries the invitation card and the application identifier of the second application, and the second application is associated with the first application; And acquiring, by the second account in the second application, a request generated by performing an access operation on the invitation card, and sharing the target stream data broadcasted by the first account with the second application in response to the access request. Therefore, the second account in the second application is invited to directly view the target stream data by sharing the invitation card generated according to the live control information of the image code and the target stream data, wherein the invitation card can not only visually see and The live broadcast control information related to the current live stream target data, and entering the live broadcast through the image code, will greatly simplify the data sharing operation steps, without having to click the access link to jump, thereby reducing the waiting time in the sharing process, thereby To achieve the effect of improving data sharing efficiency, and thus overcome the problem of low data sharing efficiency in related technologies.

作为一种可选的方案,响应直播请求获取图像码包括:As an optional solution, obtaining an image code in response to a live broadcast request includes:

S1,生成与目标流数据相匹配的数据标识;S1, generating a data identifier that matches the target stream data;

S2,将数据标识发送给第二应用的服务器,以使第二应用的服务器根据数据标识生成图像码;S2: Send the data identifier to the server of the second application, so that the server of the second application generates the image code according to the data identifier;

S3,接收第二应用的服务器发送的图像码。S3. Receive an image code sent by a server of the second application.

具体结合以下示例进行说明,假设第一应用以直播应用app1为例,第二应用以社交应用app2为例进行说明。在本示例中,在使用第一账号 的主播点击发起直播的直播按钮生成直播发起指令后,将向直播应用app1的后台服务器发送直播请求,直播应用app1的后台服务器在接收到上述直播请求后,将为该主播发起的直播分配一个唯一的数据标识ID,将该ID发送至社交应用app2的服务器,以使社交应用app2生成一个与该数据标识ID匹配的场景图像码,例如二维码,并将该场景图像码发送给直播应用app1,以使直播应用app1根据该直播的直播控制信息(也称直播信息)以及场景图像码组合生成一个与本次直播匹配的邀请卡。Specifically, the following example is used for the description, and the first application is taken as an example of the live application app1, and the second application is described by taking the social application app2 as an example. In this example, after the live broadcast button of the live broadcast of the first account is used to generate the live broadcast command, the live broadcast request is sent to the background server of the live application app1, and the background server of the live application app1 receives the live broadcast request. The live broadcast initiated by the anchor is assigned a unique data identification ID, and the ID is sent to the server of the social application app2, so that the social application app2 generates a scene image code matching the data identification ID, such as a two-dimensional code, and The scene image code is sent to the live application app1, so that the live application app1 generates an invitation card that matches the live broadcast according to the live broadcast control information (also called live broadcast information) and the scene image code combination.

通过本申请提供的实施例,在第一应用的服务器生成与目标流数据相匹配的数据标识后,将数据标识发送给第二应用的服务器,以使第二应用的服务器根据第一应用的服务器所发送的与目标流数据相匹配的数据标识,来生成与目标流数据匹配的图像码,从而实现利用该图像码得到用于邀请关联账号播放目标流数据的邀请卡,达到简化目标流数据的分享操作,提高数据分享效率的效果。With the embodiment provided by the application, after the server of the first application generates the data identifier that matches the target stream data, the data identifier is sent to the server of the second application, so that the server of the second application is configured according to the server of the first application. The sent data identifier matching the target stream data is used to generate an image code that matches the target stream data, so that an invitation card for inviting the associated account to play the target stream data is obtained by using the image code, so as to simplify the target stream data. Share operations and improve the efficiency of data sharing.

作为一种可选的方案,在获取将邀请卡分享至第二应用的分享请求之后,还包括:As an optional solution, after obtaining the sharing request for sharing the invitation card to the second application, the method further includes:

S1,存储分享请求中所携带的邀请卡与目标流数据之间的映射关系;S1. The mapping relationship between the invitation card carried in the sharing request and the target stream data is stored.

S2,将分享请求发送至第二应用的服务器。S2. Send the sharing request to the server of the second application.

可选地,在本实施例中,获取第二应用中的第二账号对邀请卡执行访问操作所生成的访问请求包括:获取第二应用中的第二账号发送的访问请求,其中,访问请求为第二应用中的第二账号通过识别邀请卡中的图像码后生成的请求。也就是说,第二应用中的第二账号可以通过扫描识别图像码,以生成向第一应用的服务器发送的访问请求。第一应用的服务器在接收到上述访问请求之后,可以根据映射关系获取与访问请求所请求访问的包含上述图像码的邀请卡相匹配的目标流数据,并将该目标流数据分享给第二应用中使用第二账号的客户端。Optionally, in this embodiment, acquiring an access request generated by the second account in the second application to perform an access operation on the invitation card includes: acquiring an access request sent by the second account in the second application, where the access request is The request generated by the second account in the second application by identifying the image code in the invitation card. That is to say, the second account in the second application can identify the image code by scanning to generate an access request sent to the server of the first application. After receiving the foregoing access request, the server of the first application may acquire, according to the mapping relationship, target stream data that matches the invitation card that is requested to be accessed by the access request, and share the target stream data to the second application. The client that uses the second account.

通过本申请提供的实施例,通过在第一应用的服务器存储邀请卡与目 标流数据之间的映射关系,以便于在接收到第二应用中的第二账号发送的访问请求后,可以利用该映射关系快速获取对应的目标流数据进行分享,以缩减查找分享内容的时间,提高分享效率。Through the embodiment provided by the application, the mapping relationship between the invitation card and the target stream data is stored in the server of the first application, so that after the access request sent by the second account in the second application is received, the The mapping relationship quickly acquires the corresponding target stream data for sharing, so as to reduce the time for searching for the shared content and improve the sharing efficiency.

作为一种可选的方案,响应访问请求向第二应用中使用第二账号的客户端分享第一账号所直播的目标流数据的播放过程包括:As an optional solution, the process of sharing the target stream data broadcasted by the first account to the client using the second account in the second application in response to the access request includes:

S1,获取访问请求的请求时间;S1, obtaining a request time for an access request;

S2,获取与请求时间相匹配的进度指示信息,其中,进度指示信息用于指示目标流数据的播放进度;S2. Obtain progress indication information that matches the request time, where the progress indication information is used to indicate a play progress of the target flow data.

S3,向第二应用中使用第二账号的客户端分享与进度指示信息相匹配的目标流数据。S3. Share the target stream data that matches the progress indication information to the client that uses the second account in the second application.

可选地,在本实施例中,向第二应用中使用第二账号的客户端分享与进度指示信息相匹配的目标流数据包括:Optionally, in the embodiment, the sharing of the target flow data that matches the progress indication information to the client that uses the second account in the second application includes:

1)在进度指示信息指示目标流数据未开始播放的情况下,向第二应用中使用第二账号的客户端发送第一提示信息,其中,第一提示信息用于提示是否预约播放目标流数据;或者1) The first prompt information is sent to the client using the second account in the second application, where the progress indication information indicates that the target stream data does not start playing, wherein the first prompt information is used to prompt whether to reserve the target stream data. ;or

具体结合以下示例进行说明,假设第一应用以直播应用app1为例,第二应用以社交应用app2为例进行说明。在本示例中,在进度指示信息指示目标流数据未开始播放的情况下,向第二应用中的第二账号发送第一提示信息,如图6所示,显示包含“预约”按钮的界面,以提示第二账号确认是否提前预约播放该目标流数据。Specifically, the following example is used for the description, and the first application is taken as an example of the live application app1, and the second application is described by taking the social application app2 as an example. In this example, if the progress indication information indicates that the target stream data does not start playing, the first prompt information is sent to the second account in the second application, and as shown in FIG. 6, the interface including the “reservation” button is displayed. The second account is prompted to confirm whether the target stream data is scheduled to be played in advance.

2)在进度指示信息指示目标流数据已开始、但未完成播放的情况下,向第二应用中使用第二账号的客户端发送第二提示信息,其中,第二提示信息用于提示从目标流数据的当前播放画面开始播放;或者2) sending, in the case that the progress indication information indicates that the target stream data has started but not completing the playing, sending the second prompt information to the client using the second account in the second application, where the second prompt information is used to prompt the target The current playback screen of the streaming data starts playing; or

具体结合以下示例进行说明,假设第一应用以直播应用app1为例,第二应用以社交应用app2为例进行说明。在本示例中,在进度指示信息 指示目标流数据已开始、但未完成播放的情况下,向第二应用中的第二账号发送第二提示信息,以提示第二账号从目标流数据的当前播放画面开始播放,并进入该当前播放画面播放该目标流数据。Specifically, the following example is used for the description, and the first application is taken as an example of the live application app1, and the second application is described by taking the social application app2 as an example. In this example, if the progress indication information indicates that the target stream data has started but the playback is not completed, the second prompt information is sent to the second account in the second application to prompt the second account to be current from the target stream data. The play screen starts playing, and enters the current play screen to play the target stream data.

3)在进度指示信息指示目标流数据已完成播放的情况下,向第二应用中使用第二账号的客户端发送第三提示信息,其中,第三提示信息用于提示目标流数据已完成播放。3) The third prompt information is sent to the client using the second account in the second application, where the progress indication information indicates that the target stream data has been played, wherein the third prompt information is used to prompt the target stream data to be played. .

具体结合以下示例进行说明,假设第一应用以直播应用app1为例,第二应用以社交应用app2为例进行说明。在本示例中,在进度指示信息指示目标流数据已完成播放的情况下,向第二应用中的第二账号发送第三提示信息,如图7所示,以提示第二账号目标流数据已完成播放,例如“您请求的直播已结束…”。Specifically, the following example is used for the description, and the first application is taken as an example of the live application app1, and the second application is described by taking the social application app2 as an example. In this example, if the progress indication information indicates that the target stream data has been played, the third prompt information is sent to the second account in the second application, as shown in FIG. 7 to prompt the second account target stream data. Finish playing, such as "The live stream you requested is over...".

通过本申请提供的实施例,通过向第二应用中的第二账号分享与进度指示信息相匹配的目标流数据,以使得第二应用中的第二账号可以同步目标流数据的播放工程,实现分享同步化的效果。Through the embodiment provided by the present application, the target stream data matching the progress indication information is shared to the second account in the second application, so that the second account in the second application can synchronize the playback project of the target stream data, thereby realizing Share the effect of synchronization.

作为一种可选的方案,在向第二应用中使用第二账号的客户端发送第一提示信息之后,还包括:As an optional solution, after the first prompt information is sent to the client that uses the second account in the second application, the method further includes:

S1,在第二账号根据第一提示信息确认预约播放目标流数据的情况下,在距离目标流数据开始播放之前的预定时刻,通过第二应用的第三账号发送第四提示信息,其中,第四提示信息用于提示目标流数据开始播放的时间,第三账号与第二账号为关联账号。S1, in the case that the second account confirms the reserved play target stream data according to the first prompt information, the fourth prompt information is sent through the third account of the second application at a predetermined time before the start of the playback of the target stream data, wherein, The four prompt information is used to prompt the time when the target stream data starts to be played, and the third account and the second account are associated accounts.

需要说明的是,在本实施例中,上述第二账号可以但不限于关注第三账号,例如,第三账号为第一应用在第二应用中申请的公众账号,而第二账号为第二应用中的个人账号,其中,该第二账号关注了第三账号,以便于获取第三账号推送的消息。It should be noted that, in this embodiment, the second account may be, but not limited to, the third account, for example, the third account is a public account applied by the first application in the second application, and the second account is the second account. The personal account in the application, wherein the second account pays attention to the third account, so as to obtain the message pushed by the third account.

可选地,在本实施例中,在第二账号根据第一提示信息确认预约播放目标流数据的情况下,例如,点击了“预约”按钮,则在距离目标流数据 开始播放之前的预定时刻,例如,距离开播前5分钟,通过第二应用(以社交应用app2为例)的第三账号发送第四提示信息,以提示第二账号上述预约的直播即将开始。Optionally, in this embodiment, in a case where the second account confirms the reserved play target stream data according to the first prompt information, for example, when the “reservation” button is clicked, the predetermined time before the start of the target stream data is started. For example, the fifth prompt information is sent by the third account of the second application (for example, the social application app2 as an example) 5 minutes before the broadcast, to prompt the second account to start the live broadcast of the reservation.

通过本申请提供的实施例,通过及时提示第二账号,上述目标流数据开始播放的时间,以使得第二账号可以及时获取所预约的播放信息,避免遗漏或错过所预约的目标流数据,保证分享的准确性和有效性。Through the embodiment provided by the present application, by prompting the second account in time, the time when the target stream data starts playing, so that the second account can obtain the reserved playing information in time, avoiding missing or missing the reserved target stream data, and ensuring The accuracy and effectiveness of sharing.

需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于可选实施例,所涉及的动作和模块并不一定是本申请所必须的。It should be noted that, for the foregoing method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should understand that the present application is not limited by the described action sequence. Because certain steps may be performed in other sequences or concurrently in accordance with the present application. In the following, those skilled in the art should also understand that the embodiments described in the specification are optional embodiments, and the actions and modules involved are not necessarily required by the present application.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, by hardware, but in many cases, the former is A better implementation. Based on such understanding, the technical solution of the present application, which is essential or contributes to the related art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, CD-ROM). The instructions include a number of instructions for causing a terminal device (which may be a cell phone, computer, server, or network device, etc.) to perform the methods of various embodiments of the present application.

根据本申请实施例的又一方面,还提供了一种用于实施上述数据分享方法的数据分享装置,应用于终端侧,如图8所示,该装置包括:According to still another aspect of the embodiments of the present application, a data sharing apparatus for implementing the data sharing method is further applied to a terminal side. As shown in FIG. 8, the apparatus includes:

1)第一获取单元802,设置为获取第一账号在第一应用的客户端中执行直播发起操作所生成的直播发起指令,其中,直播发起指令中携带有与第一账号所要直播的目标流数据相匹配的直播控制信息;1) The first obtaining unit 802 is configured to acquire a live broadcast initiation instruction generated by the first account to perform a live broadcast initiation operation in the client of the first application, where the live broadcast initiation instruction carries a target flow to be broadcasted with the first account. Live control information matching the data;

2)第二获取单元804,设置为响应直播发起指令,通过第一应用的服 务器获取图像码,其中,图像码用于标识第一账号所要直播的目标流数据;2) The second obtaining unit 804 is configured to obtain an image code by using a server of the first application, where the image code is used to identify target stream data to be broadcasted by the first account.

3)生成单元806,设置为利用图像码及直播控制信息生成与目标流数据匹配的邀请卡;3) The generating unit 806 is configured to generate an invitation card that matches the target stream data by using the image code and the live broadcast control information;

4)分享单元808,设置为将邀请卡分享至第二应用进行显示,以邀请第二应用中的第二账号利用邀请卡分享第一账号所直播的目标流数据的播放过程。4) The sharing unit 808 is configured to share the invitation card to the second application for display, to invite the second account in the second application to share the playing process of the target stream data broadcasted by the first account by using the invitation card.

可选地,在本实施例中,上述数据分享装置可以但不限于应用于对直播过程中的目标流数据进行分享的过程中,例如,应用于直播应用中,实现对直播流数据进行高效分享。需要说明的是,在本实施例中,上述数据分享方法也可以但不限于应用于对其他平台中进行数据分享的过程中,例如,还可以应用于视频播放应用中,对上述应用中的播放资源进行分享,上述仅是一种示例,本实施例中在此不做任何限定。Optionally, in this embodiment, the data sharing device may be used in the process of sharing the target stream data in the live broadcast process, for example, in a live broadcast application, to implement efficient sharing of the live stream data. . It should be noted that, in this embodiment, the foregoing data sharing method may also be applied to a process of data sharing in other platforms, for example, may also be applied to a video playing application, and playing in the above application. The resource is shared. The foregoing is only an example, and is not limited herein.

应当说明的是,在本实施例中,上述第一应用包括但不限于直播应用,也可以包括但不限于用于直播的web网页或其他具有媒体播放功能的应用。第二应用包括但不限于社交应用、网页论坛等具备社交功能或即时通信的应用。还需要说明的是,第二应用与第一应用可以但不限于为关联应用,如第二应用为第一应用提供授权接口,以实现利用第二应用中的社交范围来分享第一应用中的消息或其他内容,从而达到扩大数据分享范围的目的,在此,本申请不做任何限定。It should be noted that, in this embodiment, the foregoing first application includes, but is not limited to, a live broadcast application, and may also include, but is not limited to, a webpage for live broadcast or other applications having a media play function. The second application includes, but is not limited to, social applications, web forums, and the like with social functions or instant messaging. It should be noted that the second application and the first application may be, but are not limited to, an associated application, such as the second application providing an authorization interface for the first application, to implement sharing the social application in the second application to share the first application. Messages or other content to achieve the purpose of expanding the scope of data sharing, and the application is not limited herein.

需要说明的是,在第一应用的客户端中获取第一账号执行直播发起操作所生成的直播发起指令之后,响应该直播发起指令通过第一应用的服务器获取用于标识第一账号所要直播的目标流数据的图像码,然后,利用上述图像码以及直播发起指令中携带的目标流数据的直播控制信息,生成与目标流数据匹配的邀请卡,并将该邀请卡分享至第二应用进行显示,以邀请第二应用中的第二账户利用该邀请卡同步分享第一账号直播目标流数据的过程。从而实现通过分享根据图像码及目标流数据的直播控制信息生成的邀请卡,来邀请第二应用中的第二账号来直接观看目标流数据,其中, 上述邀请卡中不仅可以直观地看到与当前直播的目标流数据相关的直播控制信息,而且通过图像码进入直播,将大大简化数据分享的操作步骤,而无需再通过点击访问链接进行跳转,从而缩减了分享过程中的等待时间,以达到提高数据分享效率的效果,进而克服了相关技术中存在的数据分享效率较低的问题。It is to be noted that, after obtaining the live broadcast initiation instruction generated by the first account to perform the live broadcast initiation operation, the client in the first application obtains the live broadcast initiation instruction to obtain the first account to be broadcasted by the server of the first application. An image code of the target stream data, and then using the image code and the live control information of the target stream data carried in the live broadcast command to generate an invitation card that matches the target stream data, and sharing the invitation card to the second application for display The process of inviting the second account in the second application to synchronously share the first account live target stream data by using the invitation card. Therefore, the second account in the second application is invited to directly view the target stream data by sharing the invitation card generated by the live control information of the image code and the target stream data, wherein the invitation card can not only visually see and The live broadcast control information related to the current live stream target data, and entering the live broadcast through the image code, will greatly simplify the data sharing operation steps, without having to click the access link to jump, thereby reducing the waiting time in the sharing process, thereby To achieve the effect of improving data sharing efficiency, and thus overcome the problem of low data sharing efficiency in related technologies.

可选地,在本实施例中,利用直播发起指令中携带的直播控制信息,及从第一应用的服务器获取的用于标识目标流数据的图像码,来生成与目标流数据匹配的邀请卡,通过分享该邀请卡,以实现将直播中的目标流数据分享给第二应用中的关联账号,其中,该邀请卡可以包括但不限于以下至少一种格式信息:文字、图片、音频、动态图片(gif)或短视频,从而使用户可以通过该邀请卡可以直观地观看第一账号所要直播内容,对此在本实施例中不做任何限定。Optionally, in this embodiment, the live broadcast control information carried in the live broadcast initiation command and the image code used to identify the target flow data obtained from the server of the first application are used to generate an invitation card that matches the target flow data. By sharing the invitation card, the target stream data in the live broadcast is shared to the associated account in the second application, where the invitation card may include but is not limited to at least one of the following format information: text, picture, audio, dynamic A picture (gif) or a short video, so that the user can intuitively view the content to be broadcasted by the first account through the invitation card, which is not limited in this embodiment.

可选地,在本实施例中,上述目标流数据可以但不限于用于指示在主播账号(也就是第一账号)发起执行直播发起操作之后,进入直播过程中所传输的媒体流数据。其中,与第一账号所要直播的目标流数据相匹配的直播控制信息中可以包括但不限于以下至少之一:目标流数据的标题、目标流数据的直播封面图片、及目标流数据的摘要指示信息。其中,上述摘要指示信息可以包括但不限于以下至少之一:直播时间段、主播标识(ID)、直播内容简介等等。上述内容仅是一种示例,本实施例中,对此不做任何限定。Optionally, in this embodiment, the foregoing target stream data may be, but not limited to, used to indicate that the media stream data transmitted during the live broadcast process is performed after the anchor account (that is, the first account) initiates the live broadcast initiation operation. The live control information that matches the target stream data to be broadcasted by the first account may include, but is not limited to, at least one of the following: a title of the target stream data, a live cover image of the target stream data, and a summary indication of the target stream data. information. The summary indication information may include, but is not limited to, at least one of the following: a live broadcast period, an anchor identifier (ID), a live content introduction, and the like. The above content is only an example, and in this embodiment, no limitation is imposed on this.

需要说明的是,在第一应用的客户端获取到直播发起指令之前,可以但不限于在第一应用的客户端获取上述第一账号所直播的目标流数据的标题、封面。将上述第一账号所直播的目标流数据的标题、封面发送给第一应用的服务器,以发起用于请求直播上述目标流数据的直播请求。It should be noted that before the client of the first application obtains the live broadcast initiation command, the title and the cover of the target stream data broadcasted by the first account may be acquired by the client of the first application. Sending a title and a cover of the target stream data broadcasted by the first account to the server of the first application to initiate a live broadcast request for requesting live broadcast of the target stream data.

可选地,在本实施例中,第一应用的客户端在获取到直播发起指令后,向第一应用的服务器发送直播请求,第一应用的服务器为所要直播的目标流数据生成唯一的数据标识,并将该数据标识发送给第二应用的服务器, 以使第二应用的服务器根据数据标识生成图像码;然后,接收第二应用的服务器根据该数据标识生成的图像码。需要说明的是,第二应用的服务器根据与目标流数据匹配的数据标识生成图像码,以利用该图像码生成用于获取目标流数据的邀请卡。Optionally, in this embodiment, after obtaining the live broadcast initiation command, the client of the first application sends a live broadcast request to the server of the first application, and the server of the first application generates unique data for the target stream data to be broadcasted. And identifying, and sending the data identifier to the server of the second application, so that the server of the second application generates the image code according to the data identifier; and then receiving the image code generated by the server of the second application according to the data identifier. It should be noted that the server of the second application generates an image code according to the data identifier matching the target stream data, to generate an invitation card for acquiring the target stream data by using the image code.

可选地,在本实施例中,上述图像码可以包括但不限于二维码、三维码等,以及其他易于被应用识别的图像码。上述内容仅是一种示例,本实施例中,对此不做任何限定。Optionally, in this embodiment, the foregoing image code may include, but is not limited to, a two-dimensional code, a three-dimensional code, and the like, and other image codes that are easily recognized by the application. The above content is only an example, and in this embodiment, no limitation is imposed on this.

可选地,在本实施例中,将邀请卡分享至第二应用进行显示可以包括但不限于:获取第一应用的客户端对所生成的邀请卡执行分享操作所生成的分享指令,响应该分享指令,将该邀请卡通过第一应用的服务器,发送至第二应用的服务器,然后,将邀请卡分享至第二应用进行显示。以使得第二应用中的第二账号通过客户端对邀请卡执行操作,如对邀请卡中的图像码进行识别操作,实现对邀请卡执行访问,进而实现对与邀请卡匹配的目标流数据进行共享播放。Optionally, in this embodiment, the sharing the invitation card to the second application for display may include, but is not limited to: acquiring a sharing instruction generated by the client of the first application to perform a sharing operation on the generated invitation card, in response to the The sharing instruction sends the invitation card to the server of the second application through the server of the first application, and then shares the invitation card to the second application for display. In order to enable the second account in the second application to perform an operation on the invitation card through the client, such as performing an identification operation on the image code in the invitation card, performing access to the invitation card, thereby implementing target stream data matching the invitation card. Shared play.

可选地,在本实施例中,利用图像码及直播控制信息生成与目标流数据匹配的邀请卡包括但不限于:第一应用的客户端可以但不限于根据获取到的配置指令所指示的邀请卡的显示样式,来布局与目标流数据匹配的直播控制信息及图像码,从而达到生成邀请卡的目的。Optionally, in this embodiment, generating an invitation card that matches the target stream data by using the image code and the live broadcast control information includes, but is not limited to, the client of the first application may be, but is not limited to, indicated according to the acquired configuration instruction. The display style of the invitation card is used to lay out the live control information and the image code that match the target stream data, thereby achieving the purpose of generating the invitation card.

具体结合图3所示进行说明,以发起直播的第一应用的客户端为例进行说明,如图3所示步骤S302-S328,第一应用的客户端302获取第一账号执行直播发起操作所生成的直播发起指令,并根据该直播发起指令向第一应用的服务器304发送直播请求,第一应用的服务器304随机配置一个用于唯一标识该直播请求所要直播的目标数据的数据标识ID,并将该数据标识ID发送给第二应用的服务器306,以使第二应用的服务器306可以根据该数据标识生成与目标流数据匹配的图像码。第一应用的客户端302通过第一应用的服务器304接收第二应用的服务器306发送的图像码,及与当前直播相关的直播信息,并根据上述获取到的内容生成与目标流数 据相匹配的邀请卡。在获取到第一客户端对邀请卡执行分享操作的分享指令后,将该邀请卡发送至第一应用的服务器304,第一应用的服务器304将建立该邀请卡与目标流数据的映射关系,并将该邀请卡通过第二应用的服务器306分享至第二应用中使用第二账号的客户端308。第二应用中使用第二账号的客户端308将显示该邀请卡,并获取对该邀请卡执行访问操作的访问请求,然后将该访问请求通过第二应用的服务器306发送至第一应用的服务器304,以使第一应用的服务器304可以将上述所要直播的目标流数据分享给第二应用中使用第二账号的客户端308。Specifically, as shown in FIG. 3, the client of the first application that initiates the live broadcast is taken as an example. As shown in FIG. 3, steps S302-S328, the client 302 of the first application obtains the first account to perform the live broadcast initiation operation. The generated live broadcast initiating instruction, and sending a live broadcast request to the server 304 of the first application according to the live broadcast initiating instruction, where the server 304 of the first application randomly configures a data identifier ID for uniquely identifying the target data to be broadcasted by the live broadcast request, and The data identification ID is sent to the server 306 of the second application such that the server 306 of the second application can generate an image code that matches the target stream data based on the data identification. The client 302 of the first application receives the image code sent by the server 306 of the second application and the live broadcast information related to the current live broadcast through the server 304 of the first application, and generates a matching match with the target stream data according to the acquired content. invitation card. After obtaining the sharing instruction of the sharing operation by the first client to the invitation card, the invitation card is sent to the server 304 of the first application, and the server 304 of the first application establishes a mapping relationship between the invitation card and the target stream data. The invitation card is shared by the server 306 of the second application to the client 308 in the second application using the second account. The client 308 using the second account in the second application will display the invitation card, and obtain an access request for performing an access operation on the invitation card, and then send the access request to the server of the first application through the server 306 of the second application. 304, so that the server 304 of the first application can share the target stream data to be broadcasted to the client 308 in the second application using the second account.

通过本申请提供的实施例,在第一应用的客户端中获取第一账号执行直播发起操作所生成的直播发起指令之后,响应该直播发起指令通过第一应用的服务器获取用于标识第一账号所要直播的目标流数据的图像码,然后,利用上述图像码以及直播发起指令中携带的目标流数据的直播控制信息,生成与目标流数据匹配的邀请卡,并将该邀请卡分享至第二应用进行显示,以邀请第二应用中的第二账户利用该邀请卡同步分享第一账号直播目标流数据的过程。从而实现通过分享根据图像码及目标流数据的直播控制信息生成的邀请卡,来邀请第二应用中的第二账号来直接观看目标流数据,其中,上述邀请卡中不仅可以直观地看到与当前直播的目标流数据相关的直播控制信息,而且通过图像码进入直播,将大大简化数据分享的操作步骤,而无需再通过点击访问链接进行跳转,从而缩减了分享过程中的等待时间,以达到提高数据分享效率的效果,进而克服了相关技术中存在的数据分享效率较低的问题。After obtaining the live broadcast initiation command generated by the first account to perform the live broadcast initiation operation, the client in the first application obtains the first account by using the server of the first application in response to the live broadcast initiation command. The image code of the target stream data to be broadcasted, and then using the above-mentioned image code and the live control information of the target stream data carried in the live broadcast command to generate an invitation card matching the target stream data, and sharing the invitation card to the second The application performs display to invite the second account in the second application to synchronously share the first account live target stream data by using the invitation card. Therefore, the second account in the second application is invited to directly view the target stream data by sharing the invitation card generated according to the live control information of the image code and the target stream data, wherein the invitation card can not only visually see and The live broadcast control information related to the current live stream target data, and entering the live broadcast through the image code, will greatly simplify the data sharing operation steps, without having to click the access link to jump, thereby reducing the waiting time in the sharing process, thereby To achieve the effect of improving data sharing efficiency, and thus overcome the problem of low data sharing efficiency in related technologies.

作为一种可选的方案,第二获取单元804包括:As an optional solution, the second obtaining unit 804 includes:

1)接收模块,设置为通过第一应用的服务器接收第二应用的服务器生成的图像码,其中,图像码为第二应用的服务器根据第一应用的服务器所发送的与目标流数据相匹配的数据标识而生成。a receiving module, configured to receive, by the server of the first application, an image code generated by a server of the second application, where the image code is a server of the second application that matches the target stream data according to the server of the first application. Generated by data identification.

具体结合以下示例进行说明,假设第一应用以直播应用app1为例,第二应用以社交应用app2为例进行说明。在本示例中,在使用第一账号 的主播点击发起直播的直播按钮生成直播发起指令后,将向直播应用app1的后台服务器发送直播请求,直播应用app1的后台服务器在接收到上述直播请求后,将为该主播发起的直播分配一个唯一的数据标识ID,将该ID发送至社交应用app2的服务器,以使社交应用app2生成一个与该数据标识ID匹配的场景图像码,例如二维码,并将该场景图像码发送给直播应用app1,以使直播应用app1根据该直播的直播控制信息(也称直播信息)以及场景图像码组合生成一个与本次直播匹配的邀请卡。Specifically, the following example is used for the description, and the first application is taken as an example of the live application app1, and the second application is described by taking the social application app2 as an example. In this example, after the live broadcast button of the live broadcast of the first account is used to generate the live broadcast command, the live broadcast request is sent to the background server of the live application app1, and the background server of the live application app1 receives the live broadcast request. The live broadcast initiated by the anchor is assigned a unique data identification ID, and the ID is sent to the server of the social application app2, so that the social application app2 generates a scene image code matching the data identification ID, such as a two-dimensional code, and The scene image code is sent to the live application app1, so that the live application app1 generates an invitation card that matches the live broadcast according to the live broadcast control information (also called live broadcast information) and the scene image code combination.

通过本申请提供的实施例,在第二应用的服务器中,根据第一应用的服务器所发送的与目标流数据相匹配的数据标识,来生成与目标流数据匹配的图像码,以利用该图像码得到用于邀请关联账号播放目标流数据的邀请卡,从而简化目标流数据的分享操作,提高数据分享效率。With the embodiment provided by the present application, in the server of the second application, an image code matching the target stream data is generated according to the data identifier sent by the server of the first application and matched with the target stream data, to utilize the image. The code obtains an invitation card for inviting the associated account to play the target stream data, thereby simplifying the sharing operation of the target stream data and improving the data sharing efficiency.

作为一种可选的方案,分享单元808包括:As an alternative, the sharing unit 808 includes:

1)第一获取模块,设置为获取在第一应用的客户端对邀请卡执行分享操作所生成的分享指令;1) The first obtaining module is configured to obtain a sharing instruction generated by the client of the first application to perform a sharing operation on the invitation card;

2)发送模块,设置为响应分享指令将邀请卡发送至第一应用的服务器,以使第一应用的服务器通过第二应用的服务器,将邀请卡分享至第二应用中使用第二账号的客户端进行显示,其中,第一应用的服务器将存储邀请卡与目标流数据之间的映射关系。2) a sending module, configured to send the invitation card to the server of the first application in response to the sharing instruction, so that the server of the first application shares the invitation card to the client using the second account in the second application through the server of the second application The display is performed, wherein the server of the first application stores the mapping relationship between the invitation card and the target stream data.

具体结合以下示例进行说明,假设第一应用以直播应用app1为例,第二应用以社交应用app2为例进行说明。在本示例中,在直播应用app1中生成邀请卡之后,获取使用第一账号的主播点击发起分享按钮生成的分享指令,并响应该分享指令将邀请卡发送至直播应用app1的后台服务器,以使直播应用app1的后台服务器通过社交应用app2的后台服务器,将上述邀请卡分享至社交应用app2进行显示,以邀请社交应用app2中关注第一账号的第二账号通过识别邀请卡上的图像码来进入目标流数据的播放界面,以播放该目标流数据,实现数据的分享。Specifically, the following example is used for the description, and the first application is taken as an example of the live application app1, and the second application is described by taking the social application app2 as an example. In this example, after the invitation card is generated in the live application app1, the sharing instruction generated by the anchor click initiation sharing button of the first account is acquired, and the invitation card is sent to the background server of the live application app1 in response to the sharing instruction, so that The background server of the live application app1 shares the invitation card to the social application app2 through the background server of the social application app2, so as to invite the second account of the social application app2 to focus on the first account to enter by identifying the image code on the invitation card. The play interface of the target stream data is used to play the target stream data to realize data sharing.

需要说明的是,直播应用app1的后台服务器在接收到邀请卡之后,将存储邀请卡与目标流数据之间的映射关系。从而实现在接收到第二应用中的第二账号通过识别图像码所生成的访问请求后,将与包含该图像码的邀请卡对应的目标流数据推送给第二应用中的第二账号。It should be noted that after receiving the invitation card, the background server of the live application app1 stores the mapping relationship between the invitation card and the target stream data. Therefore, after receiving the access request generated by the second account in the second application by identifying the image code, the target stream data corresponding to the invitation card including the image code is pushed to the second account in the second application.

通过本申请提供的实施例,获取在第一应用的客户端对邀请卡执行分享操作所生成的分享指令,响应分享指令将邀请卡发送至第一应用的服务器,以使第一应用的服务器通过第二应用的服务器将邀请卡分享至第二应用的客户度进行显示,从而实现利用第二应用的社交范围达到对目标流数据的分享目的,此外,将邀请卡显示在第二应用中使用第二账号的客户端中,还将达到直观展示所要直播的目标流数据的相关内容的目的,而无需再通过跳转链接获取。Through the embodiment provided by the application, the sharing instruction generated by the client of the first application to perform the sharing operation on the invitation card is obtained, and the invitation card is sent to the server of the first application in response to the sharing instruction, so that the server of the first application passes The server of the second application displays the client card to the client of the second application for display, so as to achieve the purpose of sharing the target stream data by using the social scope of the second application, and further, displaying the invitation card in the second application. The client of the second account will also achieve the purpose of visually displaying the relevant content of the target stream data to be broadcasted, without having to obtain the jump link.

作为一种可选的方案,生成单元806包括:As an alternative, the generating unit 806 includes:

1)第二获取模块,设置为获取配置指令,其中,配置指令用于配置邀请卡的显示样式;1) a second obtaining module, configured to obtain a configuration instruction, where the configuration instruction is used to configure a display style of the invitation card;

2)生成模块,设置为按照显示样式布局直播控制信息及图像码,以生成邀请卡。2) The generation module is set to layout the live control information and the image code according to the display style to generate an invitation card.

可选地,在本实施例中,上述直播控制信息中可以包括但不限于以下至少之一:目标流数据的标题、目标流数据的直播封面图片、及目标流数据的摘要指示信息。Optionally, in this embodiment, the live broadcast control information may include, but is not limited to, at least one of the following: a title of the target stream data, a live cover picture of the target stream data, and summary indication information of the target stream data.

具体结合以下示例进行说明,假设第一应用以直播应用app1为例,第二应用以社交应用app2为例进行说明。在本示例中,例如,如图4所示,假设本次所要直播的目标流数据的直播控制信息包括:主题、封面、摘要指示信息等,其中,摘要指示信息包括:直播时间及发起直播的主播标识(例如,标识A),进一步,假设图像码为二维码。直播应用app1可以先获取配置指令,该配置指令包含用于配置邀请卡的显示样式,根据该显示样式对上述直播控制信息以及图像码进行布局排版,以生成对应的邀 请卡,如图4所示。Specifically, the following example is used for the description, and the first application is taken as an example of the live application app1, and the second application is described by taking the social application app2 as an example. In this example, for example, as shown in FIG. 4, it is assumed that the live broadcast control information of the target stream data to be broadcasted in this time includes: a topic, a cover, a summary indication information, and the like, wherein the summary indication information includes: a live broadcast time and a live broadcast. The anchor identification (for example, the identification A), further, assumes that the image code is a two-dimensional code. The live application app1 may first obtain a configuration command, where the configuration command includes a display style for configuring the invitation card, and performs layout layout on the live control information and the image code according to the display style, to generate a corresponding invitation card, as shown in FIG. .

通过本申请提供的实施例,根据配置指令中的显示样式对直播控制信息以及图像码进行布局排版生成邀请卡,能够对直播内容进行充分的展示,以提高所要分享的数据的关注度,提升数据的分享率,从而达到使更多的用户来分享上述直播的目标流数据。Through the embodiment provided by the present application, the live broadcast control information and the image code are configured to generate an invitation card according to the display style in the configuration instruction, so that the live broadcast content can be fully displayed, so as to improve the attention of the data to be shared and improve the data. The sharing rate, so that more users can share the target stream data of the above live broadcast.

根据本申请实施例的又一方面,还提供了一种用于实施上述数据分享方法的数据分享装置,应用于服务器侧,如图9所示,该装置包括:According to still another aspect of the embodiments of the present application, a data sharing apparatus for implementing the data sharing method is further applied to a server side. As shown in FIG. 9, the apparatus includes:

1)第一获取单元902,设置为获取第一应用中使用第一账号的客户端发送的直播请求,其中,所述直播请求中携带有与所述第一账号所要直播的目标流数据相匹配的直播控制信息;1) The first obtaining unit 902 is configured to obtain a live broadcast request sent by the client that uses the first account in the first application, where the live broadcast request carries the target stream data that is to be broadcasted by the first account. Live control information;

2)第二获取单元904,设置为响应所述直播请求获取图像码,其中,所述图像码用于标识所述第一账号所要直播的所述目标流数据;2) The second obtaining unit 904 is configured to acquire an image code in response to the live broadcast request, where the image code is used to identify the target stream data to be broadcasted by the first account;

3)第一发送单元906,设置为将所述图像码发送至所述第一应用中使用所述第一账号的客户端,以生成与所述目标流数据匹配的邀请卡;3) The first sending unit 906 is configured to send the image code to the client in the first application that uses the first account to generate an invitation card that matches the target stream data;

4)第三获取单元908,设置为获取将所述邀请卡分享至第二应用的分享请求,其中,所述分享请求中携带有所述邀请卡及所述第二应用的应用标识;The third obtaining unit 908 is configured to obtain a sharing request for sharing the invitation card to the second application, where the sharing request carries the invitation card and the application identifier of the second application;

5)分享单元910,设置为获取所述第二应用中的第二账号对所述邀请卡执行访问操作所生成的访问请求,并响应所述访问请求向所述第二应用中使用所述第二账号的客户端分享所述第一账号所直播的所述目标流数据的播放过程。The sharing unit 910 is configured to acquire an access request generated by the second account in the second application to perform an access operation on the invitation card, and use the first message in the second application in response to the access request. The client of the second account shares the playing process of the target stream data broadcasted by the first account.

可选地,在本实施例中,上述数据分享方法可以但不限于应用于对直播过程中的目标流数据进行分享的过程中,例如,应用于直播应用的服务器中,实现对直播流数据进行高效分享。需要说明的是,在本实施例中, 上述数据分享方法也可以但不限于应用于对其他平台的服务器中进行数据分享的过程中,例如,还可以应用于视频播放应用的服务器中,对上述应用的服务器中的播放资源进行分享,上述仅是一种示例,本实施例中在此不做任何限定。Optionally, in this embodiment, the data sharing method may be, but is not limited to, being applied to the process of sharing the target stream data in the live broadcast process, for example, being applied to a server of the live broadcast application to implement live broadcast stream data. Share efficiently. It should be noted that, in this embodiment, the foregoing data sharing method may also be applied to a process of sharing data in servers of other platforms, for example, may also be applied to a server of a video playing application. The foregoing is only an example of the playback resource in the application server. The foregoing is not limited in this embodiment.

应当说明的是,在本实施例中,上述第一应用包括但不限于直播应用,也可以包括但不限于用于直播的web网页或其他具有媒体播放功能的应用。第二应用包括但不限于社交应用、网页论坛等具备社交功能或即时通信的应用。还需要说明的是,第二应用与第一应用可以但不限于为关联应用,如第二应用为第一应用提供授权接口,以实现利用第二应用中的社交范围来分享第一应用中的消息或其他内容,从而达到扩大数据分享范围的目的,在此,本申请不做任何限定。It should be noted that, in this embodiment, the foregoing first application includes, but is not limited to, a live broadcast application, and may also include, but is not limited to, a webpage for live broadcast or other applications having a media play function. The second application includes, but is not limited to, social applications, web forums, and the like with social functions or instant messaging. It should be noted that the second application and the first application may be, but are not limited to, an associated application, such as the second application providing an authorization interface for the first application, to implement sharing the social application in the second application to share the first application. Messages or other content to achieve the purpose of expanding the scope of data sharing, and the application is not limited herein.

需要说明的是,在第一应用的服务器获取使用第一账号的第一应用的客户端发送的直播请求之后,响应该直播请求获取用于标识第一账号所要直播的目标流数据的图像码,然后,将上述图像码发送至第一应用的客户端,以使第一应用的客户端生成与目标流数据匹配的邀请卡。进一步,第一应用的服务器将获取将上述邀请卡分享至第二应用的分享请求,其中,分享请求中携带邀请卡及第二应用的应用标识,第二应用与第一应用为关联应用;然后,获取第二应用中的第二账号对该邀请卡执行访问操作所生成的请求,并响应该访问请求向第二应用分享第一账号所直播的所述目标流数据。从而实现通过分享根据图像码及目标流数据的直播控制信息生成的邀请卡,来邀请第二应用中的第二账号来直接观看目标流数据,其中,上述邀请卡中不仅可以直观地看到与当前直播的目标流数据相关的直播控制信息,而且通过图像码进入直播,将大大简化数据分享的操作步骤,而无需再通过点击访问链接进行跳转,从而缩减了分享过程中的等待时间,以达到提高数据分享效率的效果,进而克服了相关技术中存在的数据分享效率较低的问题。It is to be noted that after the server of the first application obtains the live broadcast request sent by the client of the first application that uses the first account, the image code for identifying the target stream data to be broadcasted by the first account is obtained in response to the live broadcast request, Then, the above image code is sent to the client of the first application, so that the client of the first application generates an invitation card that matches the target stream data. Further, the server of the first application obtains a sharing request for sharing the invitation card to the second application, where the sharing request carries the invitation card and the application identifier of the second application, and the second application is associated with the first application; And acquiring, by the second account in the second application, a request generated by performing an access operation on the invitation card, and sharing the target stream data broadcasted by the first account with the second application in response to the access request. Therefore, the second account in the second application is invited to directly view the target stream data by sharing the invitation card generated according to the live control information of the image code and the target stream data, wherein the invitation card can not only visually see and The live broadcast control information related to the current live stream target data, and entering the live broadcast through the image code, will greatly simplify the data sharing operation steps, without having to click the access link to jump, thereby reducing the waiting time in the sharing process, thereby To achieve the effect of improving data sharing efficiency, and thus overcome the problem of low data sharing efficiency in related technologies.

可选地,在本实施例中,利用直播发起指令中携带的直播控制信息, 及从第一应用的服务器获取的用于标识目标流数据的图像码,来生成与目标流数据匹配的邀请卡,通过分享该邀请卡,以实现将直播中的目标流数据分享给第二应用中的关联账号,其中,该邀请卡可以包括但不限于以下至少一种格式信息:文字、图片、音频、动态图片(gif)或短视频,从而使用户可以通过该邀请卡可以直观地观看第一账号所要直播内容,对此在本实施例中不做任何限定。Optionally, in this embodiment, the live broadcast control information carried in the live broadcast command and the image code used to identify the target flow data obtained from the server of the first application are used to generate an invitation card that matches the target flow data. By sharing the invitation card, the target stream data in the live broadcast is shared to the associated account in the second application, where the invitation card may include but is not limited to at least one of the following format information: text, picture, audio, dynamic A picture (gif) or a short video, so that the user can intuitively view the content to be broadcasted by the first account through the invitation card, which is not limited in this embodiment.

可选地,在本实施例中,上述目标流数据可以但不限于用于指示在主播账号(也就是第一账号)发起执行直播发起操作之后,进入直播过程中所传输的媒体流数据。其中,与第一账号所要直播的目标流数据相匹配的直播控制信息中可以包括但不限于以下至少之一:目标流数据的标题、目标流数据的直播封面图片、及目标流数据的摘要指示信息。其中,上述摘要指示信息可以包括但不限于以下至少之一:直播时间段、主播标识(ID)、直播内容简介等等。上述内容仅是一种示例,本实施例中,对此不做任何限定。Optionally, in this embodiment, the foregoing target stream data may be, but not limited to, used to indicate that the media stream data transmitted during the live broadcast process is performed after the anchor account (that is, the first account) initiates the live broadcast initiation operation. The live control information that matches the target stream data to be broadcasted by the first account may include, but is not limited to, at least one of the following: a title of the target stream data, a live cover image of the target stream data, and a summary indication of the target stream data. information. The summary indication information may include, but is not limited to, at least one of the following: a live broadcast period, an anchor identifier (ID), a live content introduction, and the like. The above content is only an example, and in this embodiment, no limitation is imposed on this.

可选地,在本实施例中,第一应用的客户端在获取到直播发起指令后,向第一应用的服务器发送直播请求,第一应用的服务器为所要直播的目标流数据生成唯一的数据标识,并将该数据标识发送给第二应用的服务器,以使第二应用的服务器根据数据标识生成图像码;然后,接收第二应用的服务器根据该数据标识生成的图像码。需要说明的是,第二应用的服务器根据与目标流数据匹配的数据标识生成图像码,以利用该图像码生成用于获取目标流数据的邀请卡。Optionally, in this embodiment, after obtaining the live broadcast initiation command, the client of the first application sends a live broadcast request to the server of the first application, and the server of the first application generates unique data for the target stream data to be broadcasted. Identifying, and transmitting the data identifier to the server of the second application, so that the server of the second application generates the image code according to the data identifier; and then receiving the image code generated by the server of the second application according to the data identifier. It should be noted that the server of the second application generates an image code according to the data identifier matching the target stream data, to generate an invitation card for acquiring the target stream data by using the image code.

可选地,在本实施例中,上述图像码可以包括但不限于二维码、三维码等,以及其他易于被应用识别的图像码。上述内容仅是一种示例,本实施例中,对此不做任何限定。Optionally, in this embodiment, the foregoing image code may include, but is not limited to, a two-dimensional code, a three-dimensional code, and the like, and other image codes that are easily recognized by the application. The above content is only an example, and in this embodiment, no limitation is imposed on this.

可选地,在本实施例中,将邀请卡分享至第二应用进行显示可以包括但不限于:获取第一应用的客户端对所生成的邀请卡执行分享操作所生成的分享指令,响应该分享指令,将该邀请卡通过第一应用的服务器,发送 至第二应用的服务器,然后,将邀请卡分享至第二应用进行显示。以使得第二应用中的第二账号通过客户端对邀请卡执行操作,如对邀请卡中的图像码进行识别操作,实现对邀请卡执行访问,进而实现对与邀请卡匹配的目标流数据进行共享播放。Optionally, in this embodiment, the sharing the invitation card to the second application for display may include, but is not limited to: acquiring a sharing instruction generated by the client of the first application to perform a sharing operation on the generated invitation card, in response to the The sharing instruction sends the invitation card to the server of the second application through the server of the first application, and then shares the invitation card to the second application for display. In order to enable the second account in the second application to perform an operation on the invitation card through the client, such as performing an identification operation on the image code in the invitation card, performing access to the invitation card, thereby implementing target stream data matching the invitation card. Shared play.

可选地,在本实施例中,第一应用的服务器可以但不限于获取访问请求的请求时间;获取与请求时间相匹配的进度指示信息,其中,进度指示信息用于指示目标流数据的播放进度;向第二应用中的第二账号分享与进度指示信息相匹配的目标流数据。Optionally, in this embodiment, the server of the first application may be, but is not limited to, a request time for obtaining an access request; and obtaining progress indication information that matches the request time, where the progress indication information is used to indicate that the target stream data is played. Progress; sharing target stream data matching the progress indication information to the second account in the second application.

可选地,在本实施例中,向第二应用中的第二账号分享与进度指示信息相匹配的目标流数据可以包括但不限于:Optionally, in this embodiment, sharing the target flow data that matches the progress indication information to the second account in the second application may include, but is not limited to:

1)在进度指示信息指示目标流数据未开始播放的情况下,向第二应用中的第二账号发送第一提示信息,其中,第一提示信息用于提示是否预约播放目标流数据;1) The first prompt information is sent to the second account in the second application, where the progress indication information indicates that the target stream data does not start playing, wherein the first prompt information is used to prompt whether to reserve the target stream data;

2)在进度指示信息指示目标流数据已开始、但未完成播放的情况下,向第二应用中的第二账号发送第二提示信息,其中,第二提示信息用于提示从目标流数据的当前播放画面开始播放;2) sending, in the case that the progress indication information indicates that the target stream data has started but not completing the playing, sending the second prompt information to the second account in the second application, where the second prompt information is used to prompt the data from the target stream. The current playback screen starts playing;

3)在进度指示信息指示目标流数据已完成播放的情况下,向第二应用中的第二账号发送第三提示信息,其中,第三提示信息用于提示目标流数据已完成播放。3) If the progress indication information indicates that the target stream data has been played, the third prompt information is sent to the second account in the second application, where the third prompt information is used to prompt the target stream data to be played.

也就是说,在本实施例中,可以根据直播的目标流数据的播放进度,向第二应用中的第二账号分享与进度指示信息相匹配的目标流数据。例如,以开始播放,但未完成播放为例,可以使第二账号直接从进度指示信息所指示的进度对应的播放画面开始播放;又例如,以未开始播放为例,可以提示第二账号,第一账号所要直播的目标流数据还未开始播放,是否预约播放。上述仅是一种示例,本实施例中对此不做任何限定。That is to say, in this embodiment, the target stream data matching the progress indication information may be shared with the second account in the second application according to the playing progress of the live target data. For example, in the case of starting playback but not completing the playback, the second account may be directly played from the playback screen corresponding to the progress indicated by the progress indication information; for example, the second account may be prompted by the example of not starting playback. The target stream data to be broadcasted by the first account has not started playing yet, and is scheduled to be played. The above is only an example, and is not limited in this embodiment.

具体结合图3所示进行说明,以发起直播的第一应用的客户端为例进 行说明,如图3所示步骤S302-S328,第一应用的客户端302获取第一账号执行直播发起操作所生成的直播发起指令,并根据该直播发起指令向第一应用的服务器304发送直播请求,第一应用的服务器304随机配置一个用于唯一标识该直播请求所要直播的目标数据的数据标识ID,并将该数据标识ID发送给第二应用的服务器306,以使第二应用的服务器306可以根据该数据标识生成与目标流数据匹配的图像码。第一应用的客户端302通过第一应用的服务器304接收第二应用的服务器306发送的图像码,及与当前直播相关的直播信息,并根据上述获取到的内容生成与目标流数据相匹配的邀请卡。在获取到第一客户端对邀请卡执行分享操作的分享指令后,将该邀请卡发送至第一应用的服务器304,第一应用的服务器304将建立该邀请卡与目标流数据的映射关系,并将该邀请卡通过第二应用的服务器306分享至第二应用中使用第二账号的客户端308。第二应用中使用第二账号的客户端308将显示该邀请卡,并获取对该邀请卡执行访问操作的访问请求,然后将该访问请求通过第二应用的服务器306发送至第一应用的服务器304,以使第一应用的服务器304可以将上述所要直播的目标流数据分享给第二应用中使用第二账号的客户端308。Specifically, as shown in FIG. 3, the client of the first application that initiates the live broadcast is taken as an example. As shown in FIG. 3, steps S302-S328, the client 302 of the first application obtains the first account to perform the live broadcast initiation operation. The generated live broadcast initiating instruction, and sending a live broadcast request to the server 304 of the first application according to the live broadcast initiating instruction, where the server 304 of the first application randomly configures a data identifier ID for uniquely identifying the target data to be broadcasted by the live broadcast request, and The data identification ID is sent to the server 306 of the second application such that the server 306 of the second application can generate an image code that matches the target stream data based on the data identification. The client 302 of the first application receives the image code sent by the server 306 of the second application and the live broadcast information related to the current live broadcast through the server 304 of the first application, and generates a matching match with the target stream data according to the acquired content. invitation card. After obtaining the sharing instruction of the sharing operation by the first client to the invitation card, the invitation card is sent to the server 304 of the first application, and the server 304 of the first application establishes a mapping relationship between the invitation card and the target stream data. The invitation card is shared by the server 306 of the second application to the client 308 in the second application using the second account. The client 308 using the second account in the second application will display the invitation card, and obtain an access request for performing an access operation on the invitation card, and then send the access request to the server of the first application through the server 306 of the second application. 304, so that the server 304 of the first application can share the target stream data to be broadcasted to the client 308 in the second application using the second account.

通过本申请提供的实施例,在第一应用的服务器获取使用第一账号的第一应用的客户端发送的直播请求之后,响应该直播请求获取用于标识第一账号所要直播的目标流数据的图像码,然后,将上述图像码发送至第一应用的客户端,以使第一应用的客户端生成与目标流数据匹配的邀请卡。进一步,第一应用的服务器将获取将上述邀请卡分享至第二应用的分享请求,其中,分享请求中携带邀请卡及第二应用的应用标识,第二应用与第一应用为关联应用;然后,获取第二应用中的第二账号对该邀请卡执行访问操作所生成的请求,并响应该访问请求向第二应用分享第一账号所直播的所述目标流数据。从而实现通过分享根据图像码及目标流数据的直播控制信息生成的邀请卡,来邀请第二应用中的第二账号来直接观看目标流数据,其中,上述邀请卡中不仅可以直观地看到与当前直播的目标流数据相关的直播控制信息,而且通过图像码进入直播,将大大简化数据分享的操 作步骤,而无需再通过点击访问链接进行跳转,从而缩减了分享过程中的等待时间,以达到提高数据分享效率的效果,进而克服了相关技术中存在的数据分享效率较低的问题。After the server of the first application obtains the live broadcast request sent by the client of the first application of the first account, the server of the first application obtains the target stream data for identifying the first account to be broadcasted in response to the live request. The image code is then sent to the client of the first application to cause the client of the first application to generate an invitation card that matches the target stream data. Further, the server of the first application obtains a sharing request for sharing the invitation card to the second application, where the sharing request carries the invitation card and the application identifier of the second application, and the second application is associated with the first application; And acquiring, by the second account in the second application, a request generated by performing an access operation on the invitation card, and sharing the target stream data broadcasted by the first account with the second application in response to the access request. Therefore, the second account in the second application is invited to directly view the target stream data by sharing the invitation card generated according to the live control information of the image code and the target stream data, wherein the invitation card can not only visually see and The live broadcast control information related to the current live stream target data, and entering the live broadcast through the image code, will greatly simplify the data sharing operation steps, without having to click the access link to jump, thereby reducing the waiting time in the sharing process, thereby To achieve the effect of improving data sharing efficiency, and thus overcome the problem of low data sharing efficiency in related technologies.

作为一种可选的方案,第二获取单元904包括:As an optional solution, the second obtaining unit 904 includes:

1)第一生成模块,设置为生成与目标流数据相匹配的数据标识;1) a first generation module configured to generate a data identifier that matches the target stream data;

2)第一发送模块,设置为将数据标识发送给第二应用的服务器,以使第二应用的服务器根据数据标识生成图像码;2) The first sending module is configured to send the data identifier to the server of the second application, so that the server of the second application generates the image code according to the data identifier;

3)接收模块,设置为接收第二应用的服务器发送的图像码。3) A receiving module, configured to receive an image code sent by a server of the second application.

具体结合以下示例进行说明,假设第一应用以直播应用app1为例,第二应用以社交应用app2为例进行说明。在本示例中,在使用第一账号的主播点击发起直播的直播按钮生成直播发起指令后,将向直播应用app1的后台服务器发送直播请求,直播应用app1的后台服务器在接收到上述直播请求后,将为该主播发起的直播分配一个唯一的数据标识ID,将该ID发送至社交应用app2的服务器,以使社交应用app2生成一个与该数据标识ID匹配的场景图像码,例如二维码,并将该场景图像码发送给直播应用app1,以使直播应用app1根据该直播的直播控制信息(也称直播信息)以及场景图像码组合生成一个与本次直播匹配的邀请卡。Specifically, the following example is used for the description, and the first application is taken as an example of the live application app1, and the second application is described by taking the social application app2 as an example. In this example, after the live broadcast button of the live broadcast of the first account is used to generate the live broadcast command, the live broadcast request is sent to the background server of the live application app1, and the background server of the live application app1 receives the live broadcast request. The live broadcast initiated by the anchor is assigned a unique data identification ID, and the ID is sent to the server of the social application app2, so that the social application app2 generates a scene image code matching the data identification ID, such as a two-dimensional code, and The scene image code is sent to the live application app1, so that the live application app1 generates an invitation card that matches the live broadcast according to the live broadcast control information (also called live broadcast information) and the scene image code combination.

通过本申请提供的实施例,在第一应用的服务器生成与目标流数据相匹配的数据标识后,将数据标识发送给第二应用的服务器,以使第二应用的服务器根据第一应用的服务器所发送的与目标流数据相匹配的数据标识,来生成与目标流数据匹配的图像码,从而实现利用该图像码得到用于邀请关联账号播放目标流数据的邀请卡,达到简化目标流数据的分享操作,提高数据分享效率的效果。With the embodiment provided by the application, after the server of the first application generates the data identifier that matches the target stream data, the data identifier is sent to the server of the second application, so that the server of the second application is configured according to the server of the first application. The sent data identifier matching the target stream data is used to generate an image code that matches the target stream data, so that an invitation card for inviting the associated account to play the target stream data is obtained by using the image code, so as to simplify the target stream data. Share operations and improve the efficiency of data sharing.

作为一种可选的方案,还包括:As an alternative, it also includes:

1)存储单元,设置为在获取将邀请卡分享至第二应用的分享请求之后,存储分享请求中所携带的邀请卡与目标流数据之间的映射关系;a storage unit, configured to store a mapping relationship between the invitation card carried in the sharing request and the target stream data after acquiring the sharing request for sharing the invitation card to the second application;

2)第二发送单元,设置为将分享请求发送至第二应用的服务器。2) The second sending unit is configured to send the sharing request to the server of the second application.

可选地,在本实施例中,分享单元包括:第一获取模块,设置为获取第二应用中的第二账号发送的访问请求,其中,访问请求为第二应用中的第二账号通过识别邀请卡中的图像码后生成的请求。上述装置还包括:第四获取单元,设置为在获取第二应用中的第二账号对邀请卡执行访问操作所生成的访问请求之后,根据映射关系获取与访问请求所请求访问的邀请卡匹配的目标流数据。也就是说,第二应用中的第二账号可以通过扫描识别图像码,以生成向第一应用的服务器发送的访问请求。第一应用的服务器在接收到上述访问请求之后,可以根据映射关系获取与访问请求所请求访问的包含上述图像码的邀请卡相匹配的目标流数据,并将该目标流数据分享给第二应用中使用第二账号的客户端。Optionally, in this embodiment, the sharing unit includes: a first acquiring module, configured to obtain an access request sent by the second account in the second application, where the access request is the second account in the second application A request generated after the image code in the invitation card. The device further includes: a fourth obtaining unit, configured to: after acquiring an access request generated by the second account in the second application to perform an access operation on the invitation card, acquiring, according to the mapping relationship, an invitation card that is requested to be accessed by the access request Target stream data. That is to say, the second account in the second application can identify the image code by scanning to generate an access request sent to the server of the first application. After receiving the foregoing access request, the server of the first application may acquire, according to the mapping relationship, target stream data that matches the invitation card that is requested to be accessed by the access request, and share the target stream data to the second application. The client that uses the second account.

通过本申请提供的实施例,通过在第一应用的服务器存储邀请卡与目标流数据之间的映射关系,以便于在接收到第二应用中的第二账号发送的访问请求后,可以利用该映射关系快速获取对应的目标流数据进行分享,以缩减查找分享内容的时间,提高分享效率。Through the embodiment provided by the application, the mapping relationship between the invitation card and the target stream data is stored in the server of the first application, so that after the access request sent by the second account in the second application is received, the The mapping relationship quickly acquires the corresponding target stream data for sharing, so as to reduce the time for searching for the shared content and improve the sharing efficiency.

可选地,在本实施例中,分享单元910包括:Optionally, in this embodiment, the sharing unit 910 includes:

1)第二获取模块,设置为获取访问请求的请求时间;1) a second obtaining module, configured to obtain a request time for an access request;

2)第三获取模块,设置为获取与请求时间相匹配的进度指示信息,其中,进度指示信息用于指示目标流数据的播放进度;2) The third obtaining module is configured to obtain progress indication information that matches the request time, where the progress indication information is used to indicate the playing progress of the target stream data;

3)分享模块,设置为向第二应用中使用第二账号的客户端分享与进度指示信息相匹配的目标流数据。3) The sharing module is configured to share the target stream data that matches the progress indication information to the client using the second account in the second application.

可选地,在本实施例中,分享模块包括:Optionally, in this embodiment, the sharing module includes:

(1)第一提示子模块,设置为在进度指示信息指示目标流数据未开始播放的情况下,向第二应用中使用第二账号的客户端发送第一提示信息,其中,第一提示信息用于提示是否预约播放目标流数据;或者(1) The first prompt sub-module is configured to send the first prompt information to the client using the second account in the second application, where the progress indication information indicates that the target stream data does not start playing, wherein the first prompt information Used to prompt whether to reserve the target stream data; or

具体结合以下示例进行说明,假设第一应用以直播应用app1为例,第二应用以社交应用app2为例进行说明。在本示例中,在进度指示信息指示目标流数据未开始播放的情况下,向第二应用中的第二账号发送第一提示信息,如图6所示,显示包含“预约”按钮的界面,以提示第二账号确认是否提前预约播放该目标流数据。Specifically, the following example is used for the description, and the first application is taken as an example of the live application app1, and the second application is described by taking the social application app2 as an example. In this example, if the progress indication information indicates that the target stream data does not start playing, the first prompt information is sent to the second account in the second application, and as shown in FIG. 6, the interface including the “reservation” button is displayed. The second account is prompted to confirm whether the target stream data is scheduled to be played in advance.

(2)第二提示子模块,设置为在进度指示信息指示目标流数据已开始、但未完成播放的情况下,向第二应用中使用第二账号的客户端发送第二提示信息,其中,第二提示信息用于提示从目标流数据的当前播放画面开始播放;或者(2) a second prompting sub-module, configured to send, to the second application, the second prompt information to the client in the second application, where the progress indication information indicates that the target flow data has been started but is not completed, wherein The second prompt information is used to prompt to start playing from the current play screen of the target stream data; or

具体结合以下示例进行说明,假设第一应用以直播应用app1为例,第二应用以社交应用app2为例进行说明。在本示例中,在进度指示信息指示目标流数据已开始、但未完成播放的情况下,向第二应用中的第二账号发送第二提示信息,以提示第二账号从目标流数据的当前播放画面开始播放,并进入该当前播放画面播放该目标流数据。Specifically, the following example is used for the description, and the first application is taken as an example of the live application app1, and the second application is described by taking the social application app2 as an example. In this example, if the progress indication information indicates that the target stream data has started but the playback is not completed, the second prompt information is sent to the second account in the second application to prompt the second account to be current from the target stream data. The play screen starts playing, and enters the current play screen to play the target stream data.

(3)第三提示子模块,设置为在进度指示信息指示目标流数据已完成播放的情况下,向第二应用中使用第二账号的客户端发送第三提示信息,其中,第三提示信息用于提示目标流数据已完成播放。(3) a third prompt sub-module, configured to send a third prompt information to the client using the second account in the second application, where the progress indication information indicates that the target stream data has been played, wherein the third prompt information Used to prompt that the target stream data has finished playing.

具体结合以下示例进行说明,假设第一应用以直播应用app1为例,第二应用以社交应用app2为例进行说明。在本示例中,在进度指示信息指示目标流数据已完成播放的情况下,向第二应用中的第二账号发送第三提示信息,如图7所示,以提示第二账号目标流数据已完成播放,例如“您请求的直播已结束…”。Specifically, the following example is used for the description, and the first application is taken as an example of the live application app1, and the second application is described by taking the social application app2 as an example. In this example, if the progress indication information indicates that the target stream data has been played, the third prompt information is sent to the second account in the second application, as shown in FIG. 7 to prompt the second account target stream data. Finish playing, such as "The live stream you requested is over...".

通过本申请提供的实施例,通过向第二应用中的第二账号分享与进度指示信息相匹配的目标流数据,以使得第二应用中的第二账号可以同步目标流数据的播放工程,实现分享同步化的效果。Through the embodiment provided by the present application, the target stream data matching the progress indication information is shared to the second account in the second application, so that the second account in the second application can synchronize the playback project of the target stream data, thereby realizing Share the effect of synchronization.

作为一种可选的方案,还包括:As an alternative, it also includes:

1)第二发送模块,设置为在向第二应用中的第二账号发送第一提示信息之后,在第二账号根据第一提示信息确认预约播放目标流数据的情况下,在距离目标流数据开始播放之前的预定时刻,通过第二应用的第三账号发送第四提示信息,其中,第四提示信息用于提示目标流数据开始播放的时间,第三账号与第二账号为关联账号。1) The second sending module is configured to: after transmitting the first prompt information to the second account in the second application, in the case that the second account confirms the reserved target stream data according to the first prompt information, the distance target data is The fourth prompt information is sent by the third account of the second application, and the fourth prompt information is used to prompt the time when the target stream data starts playing, and the third account and the second account are associated accounts.

需要说明的是,在本实施例中,上述第二账号可以但不限于关注第三账号,例如,第三账号为第一应用在第二应用中申请的公众账号,而第二账号为第二应用中的个人账号,其中,该第二账号关注了第三账号,以便于获取第三账号推送的消息。It should be noted that, in this embodiment, the second account may be, but not limited to, the third account, for example, the third account is a public account applied by the first application in the second application, and the second account is the second account. The personal account in the application, wherein the second account pays attention to the third account, so as to obtain the message pushed by the third account.

可选地,在本实施例中,在第二账号根据第一提示信息确认预约播放目标流数据的情况下,例如,点击了“预约”按钮,则在距离目标流数据开始播放之前的预定时刻,例如,距离开播前5分钟,通过第二应用(以社交应用app2为例)的第三账号发送第四提示信息,以提示第二账号上述预约的直播即将开始。Optionally, in this embodiment, in a case where the second account confirms the reserved play target stream data according to the first prompt information, for example, when the “reservation” button is clicked, the predetermined time before the start of the target stream data is started. For example, the fifth prompt information is sent by the third account of the second application (for example, the social application app2 as an example) 5 minutes before the broadcast, to prompt the second account to start the live broadcast of the reservation.

通过本申请提供的实施例,通过及时提示第二账号,上述目标流数据开始播放的时间,以使得第二账号可以及时获取所预约的播放信息,避免遗漏或错过所预约的目标流数据,保证分享的准确性和有效性。Through the embodiment provided by the present application, by prompting the second account in time, the time when the target stream data starts playing, so that the second account can obtain the reserved playing information in time, avoiding missing or missing the reserved target stream data, and ensuring The accuracy and effectiveness of sharing.

根据本申请实施例的又一方面,还提供了一种电子装置,其中该电子装置包括:存储器和处理器,存储器存储有计算机程序,处理器被设置为通过计算机程序执行上述的数据分享方法。例如,电子装置可以为用户实现上述数据分享方法的数据分享场景的数据分享终端。作为一种可选的实施方式,如图10所示,该数据分享终端包括:According to still another aspect of embodiments of the present application, there is also provided an electronic device, wherein the electronic device comprises: a memory and a processor, the memory storing a computer program, the processor being configured to execute the data sharing method described above by a computer program. For example, the electronic device may be a data sharing terminal for the user to implement the data sharing scenario of the data sharing method described above. As an optional implementation manner, as shown in FIG. 10, the data sharing terminal includes:

1)通讯接口1002,设置为获取第一账号在第一应用的客户端中执行直播发起操作所生成的直播发起指令,其中,直播发起指令中携带有与第一账号所要直播的目标流数据相匹配的直播控制信息;还设置为响应直播 发起指令,通过第一应用的服务器获取图像码,其中,图像码用于标识第一账号所要直播的目标流数据;1) The communication interface 1002 is configured to obtain a live broadcast initiation instruction generated by the first account to perform a live broadcast initiation operation in the client of the first application, where the live broadcast initiation instruction carries the target flow data to be broadcasted by the first account. The matching live control information is further configured to: in response to the live broadcast initiation instruction, acquire the image code by using the server of the first application, where the image code is used to identify the target stream data to be broadcasted by the first account;

2)处理器1004,与通讯接口1002连接,设置为利用图像码及直播控制信息生成与目标流数据匹配的邀请卡;还设置为将邀请卡分享至第二应用进行显示,以邀请第二应用中的第二账号利用邀请卡分享第一账号所直播的目标流数据的播放过程。2) The processor 1004 is connected to the communication interface 1002, and is configured to generate an invitation card that matches the target stream data by using the image code and the live control information; and is further configured to share the invitation card to the second application for display, to invite the second application. The second account in the account uses the invitation card to share the playing process of the target stream data broadcasted by the first account.

3)存储器1006,与通讯接口1002及处理器1004连接,设置为存储上述邀请卡及上述直播控制信息。3) The memory 1006 is connected to the communication interface 1002 and the processor 1004, and is configured to store the invitation card and the live broadcast control information.

可选地,在本实施例中,上述处理器可以被设置为通过计算机程序执行以下步骤:Optionally, in this embodiment, the foregoing processor may be configured to perform the following steps by using a computer program:

S1,获取第一账号在第一应用的客户端中执行直播发起操作所生成的直播发起指令,其中,直播发起指令中携带有与第一账号所要直播的目标流数据相匹配的直播控制信息;S1, obtaining a live broadcast initiation instruction generated by the first account to perform a live broadcast initiation operation in the client of the first application, where the live broadcast initiation instruction carries live broadcast control information that matches the target flow data to be broadcasted by the first account;

S2,响应直播发起指令,通过第一应用的服务器获取图像码,其中,图像码用于标识第一账号所要直播的目标流数据;S2. Acquire an image code by using a server of the first application, where the image code is used to identify target stream data to be broadcasted by the first account.

S3,利用图像码及直播控制信息生成与目标流数据匹配的邀请卡;S3, generating an invitation card that matches the target stream data by using the image code and the live broadcast control information;

S4,将邀请卡分享至第二应用进行显示,以邀请第二应用中的第二账号利用邀请卡分享第一账号所直播的目标流数据的播放过程。S4. The invitation card is shared to the second application for display, so that the second account in the second application invites the invitation card to share the playing process of the target stream data broadcasted by the first account.

可选地,本领域普通技术人员可以理解,图10所示的结构仅为示意,数据分享终端也可以是智能手机(如Android手机、iOS手机等)、平板电脑、掌上电脑以及移动互联网设备(Mobile Internet Devices,MID)、PAD等终端设备。图10其并不对上述数据分享终端的结构造成限定。例如,电子装置还可包括比图10中所示更多或者更少的组件(如显示装置等),或者具有与图10所示不同的配置。Optionally, those skilled in the art can understand that the structure shown in FIG. 10 is only illustrative, and the data sharing terminal can also be a smart phone (such as an Android mobile phone, an iOS mobile phone, etc.), a tablet computer, a palm computer, and a mobile Internet device ( Mobile Internet Devices, MID), PAD and other terminal devices. FIG. 10 does not limit the structure of the above data sharing terminal. For example, the electronic device may further include more or less components (such as display devices, etc.) than those shown in FIG. 10, or have a different configuration than that shown in FIG.

其中,存储器1006可用于存储软件程序以及模块,如本发明实施例 中的数据分享方法对应的程序指令/模块,处理器1004通过运行存储在存储器1006内的软件程序以及模块,从而执行各种功能应用以及数据处理,即实现上述的数据分享方法。存储器1006可包括高速随机存储器,还可以包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器1006可进一步包括相对于处理器1004远程设置的存储器,这些远程存储器可以通过网络连接至终端。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 1006 can be used to store software programs and modules, such as program instructions/modules corresponding to the data sharing method in the embodiment of the present invention. The processor 1004 executes various functions by running software programs and modules stored in the memory 1006. Application and data processing, that is, the above data sharing method is implemented. Memory 1006 can include high speed random access memory, and can also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory. In some examples, memory 1006 can further include memory remotely located relative to processor 1004, which can be connected to the terminal over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.

其中,具体地,存储器1006用于存储目标流数据与直播控制信息及生成的邀请卡等内容。Specifically, the memory 1006 is configured to store content such as target stream data, live broadcast control information, and generated invitation cards.

根据本申请实施例的又一方面,还提供了一种电子装置,其中该电子装置包括:存储器和处理器,存储器存储有计算机程序,处理器被设置为通过计算机程序执行上述的数据分享方法。例如,电子装置可以为用户实现上述数据分享方法的数据分享场景的数据分享服务器。作为一种可选的实施方式,如图11所示,该数据分享服务器包括:According to still another aspect of embodiments of the present application, there is also provided an electronic device, wherein the electronic device comprises: a memory and a processor, the memory storing a computer program, the processor being configured to execute the data sharing method described above by a computer program. For example, the electronic device may be a data sharing server for the user to implement the data sharing scenario of the data sharing method described above. As an optional implementation manner, as shown in FIG. 11, the data sharing server includes:

1)通讯接口1102,设置为获取第一应用中使用第一账号的客户端发送的直播请求,其中,直播请求中携带有与第一账号所要直播的目标流数据相匹配的直播控制信息;还设置为响应直播请求获取图像码,其中,图像码用于标识第一账号所要直播的目标流数据;还设置为将图像码发送至第一应用中使用第一账号的客户端,以生成与目标流数据匹配的邀请卡;还设置为获取将邀请卡分享至第二应用的分享请求,其中,分享请求中携带有邀请卡及第二应用的应用标识;还设置为获取第二应用中的第二账号对邀请卡执行访问操作所生成的访问请求;1) The communication interface 1102 is configured to obtain a live broadcast request sent by the client that uses the first account in the first application, where the live broadcast request carries the live broadcast control information that matches the target flow data to be broadcasted by the first account; The image code is configured to obtain the image code in response to the live broadcast request, wherein the image code is used to identify the target stream data to be broadcasted by the first account, and is further configured to send the image code to the client in the first application using the first account to generate and target An invitation card that matches the stream data; and is configured to obtain a sharing request for sharing the invitation card to the second application, where the sharing request carries the invitation card and the application identifier of the second application; and is further configured to obtain the second application The access request generated by the second account to perform the access operation on the invitation card;

2)处理器1104,与通讯接口1102连接,设置为响应访问请求向第二应用中使用第二账号的客户端分享第一账号所直播的目标流数据的播放过程;2) The processor 1104 is connected to the communication interface 1102, and configured to share, in response to the access request, a playback process of the target stream data broadcasted by the first account to the client using the second account in the second application;

3)存储器1106,与通讯接口1102及处理器1104连接,设置为存储上述邀请卡及目标流数据。3) The memory 1106 is connected to the communication interface 1102 and the processor 1104, and is configured to store the invitation card and the target stream data.

可选地,在本实施例中,上述处理器可以被设置为通过计算机程序执行以下步骤:Optionally, in this embodiment, the foregoing processor may be configured to perform the following steps by using a computer program:

S1,获取第一应用中使用第一账号的客户端发送的直播请求,其中,直播请求中携带有与第一账号所要直播的目标流数据相匹配的直播控制信息;S1, obtaining a live broadcast request sent by a client that uses the first account in the first application, where the live broadcast request carries live broadcast control information that matches the target flow data to be broadcasted by the first account;

S2,响应直播请求获取图像码,其中,图像码用于标识第一账号所要直播的目标流数据;S2. Acquire an image code in response to the live broadcast request, where the image code is used to identify target stream data to be broadcasted by the first account.

S3,将图像码发送至第一应用中使用第一账号的客户端,以生成与目标流数据匹配的邀请卡;S3, sending the image code to the client in the first application that uses the first account to generate an invitation card that matches the target stream data;

S4,获取将邀请卡分享至第二应用的分享请求,其中,分享请求中携带有邀请卡及第二应用的应用标识;S4, the sharing request for sharing the invitation card to the second application is obtained, where the sharing request carries the invitation card and the application identifier of the second application;

S5,获取第二应用中的第二账号对邀请卡执行访问操作所生成的访问请求,并响应访问请求向第二应用中使用第二账号的客户端分享第一账号所直播的目标流数据的播放过程。S5. Acquire an access request generated by the second account in the second application to perform an access operation on the invitation card, and share the target stream data broadcasted by the first account with the client in the second application using the second account in response to the access request. Playback process.

可选地,本领域普通技术人员可以理解,图11所示的结构仅为示意,数据分享服务器也可以是智能手机(如Android手机、iOS手机等)、平板电脑、掌上电脑以及移动互联网设备(Mobile Internet Devices,MID)、PAD等终端设备。图11其并不对上述数据分享服务器的结构造成限定。例如,数据分享服务器还可包括比图11中所示更多或者更少的组件(如网络接口等),或者具有与图11所示不同的配置。Optionally, those skilled in the art can understand that the structure shown in FIG. 11 is only illustrative, and the data sharing server can also be a smart phone (such as an Android mobile phone, an iOS mobile phone, etc.), a tablet computer, a palm computer, and a mobile Internet device ( Mobile Internet Devices, MID), PAD and other terminal devices. FIG. 11 does not limit the structure of the above data sharing server. For example, the data sharing server may also include more or less components (such as a network interface or the like) than shown in FIG. 11, or have a different configuration than that shown in FIG.

其中,存储器1106可用于存储软件程序以及模块,如本发明实施例中的数据分享方法与装置对应的程序指令/模块,处理器1104通过运行存储在存储器1106内的软件程序以及模块,从而执行各种功能应用以及数据处理,即实现上述的数据分享方法。存储器1106可包括高速随机存储 器,还可以包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器1106可进一步包括相对于处理器1104远程设置的存储器,这些远程存储器可以通过网络连接至终端。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 1106 can be used to store software programs and modules, such as the data sharing method and the program instructions/modules corresponding to the device in the embodiment of the present invention. The processor 1104 executes the software programs and modules stored in the memory 1106, thereby executing each A functional application and data processing, that is, the above data sharing method is implemented. Memory 1106 can include high speed random access memory and can also include non-volatile memory such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory. In some examples, memory 1106 can further include memory remotely located relative to processor 1104, which can be connected to the terminal over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.

其中,具体地,存储器1106用于存储所要直播的目标流数据与生成的邀请卡等内容。Specifically, the memory 1106 is configured to store content of the target stream to be broadcasted and the generated invitation card and the like.

可选地,本实施例中的具体示例可以参考上述实施例1和实施例2中所描述的示例,本实施例在此不再赘述。For example, the specific examples in this embodiment may refer to the examples described in Embodiment 1 and Embodiment 2, and details are not described herein again.

根据本申请实施例的又一方面,还提供了一种存储介质。可选地,在本实施例中,上述存储介质可以位于网络中的多个网络设备中的至少一个网络设备。According to still another aspect of embodiments of the present application, a storage medium is also provided. Optionally, in this embodiment, the foregoing storage medium may be located in at least one of the plurality of network devices in the network.

可选地,在本实施例中,存储介质被设置为存储用于执行以下步骤的程序代码:Optionally, in the present embodiment, the storage medium is arranged to store program code for performing the following steps:

S1,获取第一账号在第一应用的客户端中执行直播发起操作所生成的直播发起指令,其中,直播发起指令中携带有与第一账号所要直播的目标流数据相匹配的直播控制信息;S1, obtaining a live broadcast initiation instruction generated by the first account to perform a live broadcast initiation operation in the client of the first application, where the live broadcast initiation instruction carries live broadcast control information that matches the target flow data to be broadcasted by the first account;

S2,响应直播发起指令,通过第一应用的服务器获取图像码,其中,图像码用于标识第一账号所要直播的目标流数据;S2. Acquire an image code by using a server of the first application, where the image code is used to identify target stream data to be broadcasted by the first account.

S3,利用图像码及直播控制信息生成与目标流数据匹配的邀请卡;S3, generating an invitation card that matches the target stream data by using the image code and the live broadcast control information;

S4,将邀请卡分享至第二应用进行显示,以邀请第二应用中的第二账号利用邀请卡分享第一账号所直播的目标流数据的播放过程。S4. The invitation card is shared to the second application for display, so that the second account in the second application invites the invitation card to share the playing process of the target stream data broadcasted by the first account.

可选地,存储介质还被设置为存储用于执行以下步骤的程序代码:Optionally, the storage medium is further arranged to store program code for performing the following steps:

S1,获取第一应用中使用第一账号的客户端发送的直播请求,其中, 直播请求中携带有与第一账号所要直播的目标流数据相匹配的直播控制信息;S1, obtaining a live broadcast request sent by a client that uses the first account in the first application, where the live broadcast request carries live broadcast control information that matches the target flow data to be broadcasted by the first account;

S2,响应直播请求获取图像码,其中,图像码用于标识第一账号所要直播的目标流数据;S2. Acquire an image code in response to the live broadcast request, where the image code is used to identify target stream data to be broadcasted by the first account.

S3,将图像码发送至第一应用中使用第一账号的客户端,以生成与目标流数据匹配的邀请卡;S3, sending the image code to the client in the first application that uses the first account to generate an invitation card that matches the target stream data;

S4,获取将邀请卡分享至第二应用的分享请求,其中,分享请求中携带有邀请卡及第二应用的应用标识;S4, the sharing request for sharing the invitation card to the second application is obtained, where the sharing request carries the invitation card and the application identifier of the second application;

S5,获取第二应用中的第二账号对邀请卡执行访问操作所生成的访问请求,并响应访问请求向第二应用中使用第二账号的客户端分享第一账号所直播的目标流数据的播放过程。S5. Acquire an access request generated by the second account in the second application to perform an access operation on the invitation card, and share the target stream data broadcasted by the first account with the client in the second application using the second account in response to the access request. Playback process.

可选地,在本实施例中,上述存储介质可以包括但不限于:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。Optionally, in this embodiment, the foregoing storage medium may include, but not limited to, a USB flash drive, a Read-Only Memory (ROM), a Random Access Memory (RAM), a mobile hard disk, and a magnetic memory. A variety of media that can store program code, such as a disc or a disc.

可选地,本实施例中的具体示例可以参考上述实施例1和实施例2中所描述的示例,本实施例在此不再赘述。For example, the specific examples in this embodiment may refer to the examples described in Embodiment 1 and Embodiment 2, and details are not described herein again.

上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the embodiments of the present application are merely for the description, and do not represent the advantages and disadvantages of the embodiments.

上述实施例中的集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在上述计算机可读取的存储介质中。基于这样的理解,本申请的技术方案本质上或者说对相关技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在存储介质中,包括若干指令用以使得一台或多台计算机设备(可为个人计算机、服务器或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。The integrated unit in the above embodiment, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in the above-described computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied in the form of a software product, or the whole or part of the technical solution, which is stored in the storage medium, including The instructions are used to cause one or more computer devices (which may be a personal computer, server or network device, etc.) to perform all or part of the steps of the methods described in the various embodiments of the present application.

在本申请的上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above-mentioned embodiments of the present application, the descriptions of the various embodiments are different, and the parts that are not detailed in a certain embodiment can be referred to the related descriptions of other embodiments.

在本申请所提供的几个实施例中,应该理解到,所揭露的客户端,可通过其它的方式实现。其中,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,单元或模块的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided by the present application, it should be understood that the disclosed client may be implemented in other manners. The device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner. For example, multiple units or components may be combined or may be Integrate into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, unit or module, and may be electrical or otherwise.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.

另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.

以上所述仅是本申请的可选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本申请原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本申请的保护范围。The above description is only an alternative embodiment of the present application, and it should be noted that those skilled in the art can make several improvements and retouchings without departing from the principles of the present application. It should also be considered as the scope of protection of this application.

工业实用性Industrial applicability

在本申请实施例中,通过在第一应用的客户端中获取第一账号执行直播发起操作所生成的直播发起指令之后,响应该直播发起指令通过第一应用的服务器获取用于标识第一账号所要直播的目标流数据的图像码,然后,利用上述图像码以及直播发起指令中携带的与目标流数据相匹配的直播控制信息,生成与目标流数据匹配的邀请卡,并将该邀请卡分享至第二应 用进行显示,以邀请第二应用中的第二账号利用邀请卡分享第一账号所直播的目标流数据的播放过程,从而实现了通过分享根据图像码及目标流数据的直播控制信息生成的邀请卡,来邀请第二应用中的第二账号来直接观看目标流数据的目的。此外,邀请卡中不仅可以直观地看到与当前直播的目标流数据相关的直播控制信息,而且通过图像码进入直播,将大大简化数据分享的操作步骤,缩减了分享过程中的等待时间,提高了数据分享效率,进而解决了相关技术中存在的数据分享效率低的问题。In the embodiment of the present application, after obtaining the live broadcast initiation instruction generated by the first account to perform the live broadcast initiation operation, the server in the first application obtains the first account by using the server of the first application. The image code of the target stream data to be broadcasted, and then using the above-mentioned image code and the live control information carried in the live broadcast command to match the target stream data, generate an invitation card matching the target stream data, and share the invitation card Displaying to the second application to invite the second account in the second application to share the playing process of the target stream data broadcasted by the first account by using the invitation card, thereby realizing sharing of live control information according to the image code and the target stream data. The generated invitation card invites the second account in the second application to directly view the purpose of the target stream data. In addition, the invitation card can not only visually see the live broadcast control information related to the current live target stream data, but also enter the live broadcast through the image code, which greatly simplifies the data sharing operation steps, reduces the waiting time in the sharing process, and improves the waiting time. The data sharing efficiency further solves the problem of low data sharing efficiency in related technologies.

Claims (23)

一种数据分享方法,包括:A data sharing method, including: 获取第一账号在第一应用的客户端中执行直播发起操作所生成的直播发起指令,其中,所述直播发起指令中携带有与所述第一账号所要直播的目标流数据相匹配的直播控制信息;Obtaining a live broadcast initiation command generated by the first account to perform a live broadcast initiation operation in the client of the first application, where the live broadcast initiation instruction carries a live broadcast control that matches the target flow data to be broadcasted by the first account. information; 响应所述直播发起指令,通过所述第一应用的服务器获取图像码,其中,所述图像码用于标识所述第一账号所要直播的所述目标流数据;Responding to the live broadcast initiating instruction, the image code is obtained by the server of the first application, where the image code is used to identify the target stream data to be broadcasted by the first account; 利用所述图像码及所述直播控制信息生成与所述目标流数据匹配的邀请卡;Generating an invitation card that matches the target stream data by using the image code and the live broadcast control information; 将所述邀请卡分享至第二应用进行显示,以邀请所述第二应用中的第二账号利用所述邀请卡分享所述第一账号所直播的所述目标流数据的播放过程。And sharing the invitation card to the second application for display, to invite the second account in the second application to share the playing process of the target stream data broadcasted by the first account by using the invitation card. 根据权利要求1所述的方法,其中,所述响应所述直播发起指令,通过所述第一应用的服务器获取图像码包括:The method of claim 1, wherein the obtaining the image code by the server of the first application in response to the live broadcast initiation instruction comprises: 通过所述第一应用的服务器接收所述第二应用的服务器生成的所述图像码,其中,所述图像码为所述第二应用的服务器根据所述第一应用的服务器所发送的与所述目标流数据相匹配的数据标识而生成。Receiving, by the server of the first application, the image code generated by the server of the second application, where the image code is a server sent by the server of the second application according to the server of the first application The target stream data is generated by matching the data identifiers. 根据权利要求1所述的方法,其中,所述将所述邀请卡分享至第二应用进行显示包括:The method of claim 1, wherein the sharing the invitation card to the second application for display comprises: 获取在所述第一应用的客户端对所述邀请卡执行分享操作所生成的分享指令;Obtaining a sharing instruction generated by the client of the first application performing a sharing operation on the invitation card; 响应所述分享指令将所述邀请卡发送至所述第一应用的服务器,以使所述第一应用的服务器通过所述第二应用的服务器,将所述邀请卡分享至所述第二应用中使用所述第二账号的客户端进行显示,其中,所述第一应用的服务器将存储所述邀请卡与所述目标流数据之间的 映射关系。Sending the invitation card to the server of the first application in response to the sharing instruction, so that the server of the first application shares the invitation card to the second application by using a server of the second application The client of the second account is used for display, wherein the server of the first application stores a mapping relationship between the invitation card and the target stream data. 根据权利要求1所述的方法,其中,所述利用所述图像码及所述直播控制信息生成与所述目标流数据匹配的邀请卡包括:The method of claim 1, wherein the generating the invitation card that matches the target stream data by using the image code and the live broadcast control information comprises: 获取配置指令,其中,所述配置指令用于配置所述邀请卡的显示样式;Obtaining a configuration instruction, where the configuration instruction is used to configure a display style of the invitation card; 按照所述显示样式布局所述直播控制信息及所述图像码,以生成所述邀请卡。The live control information and the image code are arranged according to the display style to generate the invitation card. 根据权利要求1至4中任一项所述的方法,其中,所述直播控制信息中包括以下至少之一:所述目标流数据的标题、所述目标流数据的直播封面图片、及所述目标流数据的摘要指示信息。The method according to any one of claims 1 to 4, wherein the live broadcast control information includes at least one of: a title of the target stream data, a live cover picture of the target stream data, and the A summary indication of the target stream data. 根据权利要求1至4中任一项所述的方法,其中,所述图像码包括二维码。The method according to any one of claims 1 to 4, wherein the image code comprises a two-dimensional code. 一种数据分享方法,包括:A data sharing method, including: 获取第一应用中使用第一账号的客户端发送的直播请求,其中,所述直播请求中携带有与所述第一账号所要直播的目标流数据相匹配的直播控制信息;Obtaining a live broadcast request sent by the client that uses the first account in the first application, where the live broadcast request carries live broadcast control information that matches the target flow data to be broadcasted by the first account; 响应所述直播请求获取图像码,其中,所述图像码用于标识所述第一账号所要直播的所述目标流数据;Obtaining an image code in response to the live broadcast request, wherein the image code is used to identify the target stream data to be broadcasted by the first account; 将所述图像码发送至所述第一应用中使用所述第一账号的客户端,以生成与所述目标流数据匹配的邀请卡;Sending the image code to a client in the first application that uses the first account to generate an invitation card that matches the target stream data; 获取将所述邀请卡分享至第二应用的分享请求,其中,所述分享请求中携带有所述邀请卡及所述第二应用的应用标识;Obtaining a sharing request for sharing the invitation card to the second application, where the sharing request carries the invitation card and the application identifier of the second application; 获取所述第二应用中的第二账号对所述邀请卡执行访问操作所生成的访问请求,并响应所述访问请求向所述第二应用中使用所述第二账号的客户端分享所述第一账号所直播的所述目标流数据的播放过程。Obtaining, by the second account in the second application, an access request generated by performing an access operation on the invitation card, and sharing, in response to the access request, a client that uses the second account in the second application to share the The playing process of the target stream data broadcasted by the first account. 根据权利要求7所述的方法,其中,所述响应所述直播请求获取图像码包括:The method of claim 7, wherein the obtaining the image code in response to the live broadcast request comprises: 生成与所述目标流数据相匹配的数据标识;Generating a data identifier that matches the target stream data; 将所述数据标识发送给所述第二应用的服务器,以使所述第二应用的服务器根据所述数据标识生成所述图像码;Sending the data identifier to a server of the second application, so that the server of the second application generates the image code according to the data identifier; 接收所述第二应用的服务器发送的所述图像码。Receiving the image code sent by the server of the second application. 根据权利要求7所述的方法,其中,在所述获取将所述邀请卡分享至第二应用的分享请求之后,还包括:The method of claim 7, wherein after the obtaining the sharing request to share the invitation card to the second application, the method further comprises: 存储所述分享请求中所携带的所述邀请卡与所述目标流数据之间的映射关系;And storing a mapping relationship between the invitation card carried in the sharing request and the target stream data; 将所述分享请求发送至所述第二应用的服务器。Sending the sharing request to a server of the second application. 根据权利要求9所述的方法,其中,The method of claim 9 wherein 所述获取所述第二应用中的第二账号对所述邀请卡执行访问操作所生成的访问请求包括:获取所述第二应用中的所述第二账号发送的所述访问请求,其中,所述访问请求为所述第二应用中的所述第二账号通过识别所述邀请卡中的所述图像码后生成的请求;The obtaining the access request generated by the second account in the second application to perform the access operation on the invitation card includes: acquiring the access request sent by the second account in the second application, where The access request is a request generated by the second account in the second application by identifying the image code in the invitation card; 在所述获取所述第二应用中的第二账号对所述邀请卡执行访问操作所生成的访问请求之后,还包括:根据所述映射关系获取与所述访问请求所请求访问的所述邀请卡匹配的所述目标流数据。After the obtaining the access request generated by the second account in the second application to perform the access operation on the invitation card, the method further includes: acquiring, according to the mapping relationship, the invitation requested to be accessed by the access request The target stream data matched by the card. 根据权利要求7所述的方法,其中,所述响应所述访问请求向所述第二应用中使用所述第二账号的客户端分享所述第一账号所直播的所述目标流数据的播放过程包括:The method according to claim 7, wherein the responding to the access request to the client using the second account in the second application to share the playback of the target stream data broadcasted by the first account The process includes: 获取所述访问请求的请求时间;Obtaining the request time of the access request; 获取与所述请求时间相匹配的进度指示信息,其中,所述进度指示信息用于指示所述目标流数据的播放进度;Obtaining progress indication information that matches the request time, where the progress indication information is used to indicate a play progress of the target stream data; 向所述第二应用中使用所述第二账号的客户端分享与所述进度指示信息相匹配的所述目标流数据。And sharing, by the client using the second account in the second application, the target stream data that matches the progress indication information. 根据权利要求11所述的方法,其中,所述向所述第二应用中使用所述第二账号的客户端分享与所述进度指示信息相匹配的所述目标流数据包括:The method of claim 11, wherein the sharing, by the client using the second account in the second application, the target stream data that matches the progress indication information comprises: 在所述进度指示信息指示所述目标流数据未开始播放的情况下,向所述第二应用中使用所述第二账号的客户端发送第一提示信息,其中,所述第一提示信息用于提示是否预约播放所述目标流数据;或者And sending, by the client that uses the second account, the first prompt information to the second application, where the progress indication information indicates that the target flow data does not start playing, where the first prompt information is used by the first prompt information. Prompting whether to reserve the target stream data; or 在所述进度指示信息指示所述目标流数据已开始、但未完成播放的情况下,向所述第二应用中使用所述第二账号的客户端发送第二提示信息,其中,所述第二提示信息用于提示从所述目标流数据的当前播放画面开始播放;或者And sending, by the client using the second account, the second prompt information to the second application, where the progress indication information indicates that the target flow data has been started but is not completed. The second prompt information is used to prompt to start playing from the current play screen of the target stream data; or 在所述进度指示信息指示所述目标流数据已完成播放的情况下,向所述第二应用中使用所述第二账号的客户端发送第三提示信息,其中,所述第三提示信息用于提示所述目标流数据已完成播放。And sending, by the client that uses the second account, the third prompt information to the second application, where the progress indication information indicates that the target flow data has been played, wherein the third prompt information is used by the third application At the prompt, the target stream data has been played. 根据权利要求12所述的方法,其中,在向所述第二应用中使用所述第二账号的客户端发送所述第一提示信息之后,还包括:The method of claim 12, after the sending the first prompt information to the client using the second account in the second application, further comprising: 在所述第二账号根据所述第一提示信息确认预约播放所述目标流数据的情况下,在距离所述目标流数据开始播放之前的预定时刻,通过所述第二应用的第三账号发送第四提示信息,其中,所述第四提示信息用于提示所述目标流数据开始播放的时间,所述第三账号与所述第二账号为关联账号。When the second account confirms that the target stream data is reserved for playing according to the first prompt information, the second account is sent by the third account of the second application at a predetermined time before the start of playing of the target stream data. The fourth prompt information, wherein the fourth prompt information is used to prompt the time when the target stream data starts playing, and the third account and the second account are associated accounts. 一种数据分享装置,包括:A data sharing device comprising: 第一获取单元,设置为获取第一账号在第一应用的客户端中执行直播发起操作所生成的直播发起指令,其中,所述直播发起指令中携带有与所述第一账号所要直播的目标流数据相匹配的直播控制信息;The first obtaining unit is configured to obtain a live broadcast initiation instruction generated by the first account to perform a live broadcast initiation operation in the client of the first application, where the live broadcast initiation instruction carries a target to be broadcasted with the first account Streaming data matching live broadcast control information; 第二获取单元,设置为响应所述直播发起指令,通过所述第一应用的服务器获取图像码,其中,所述图像码用于标识所述第一账号所要直播的所述目标流数据;a second acquiring unit, configured to: in response to the live broadcast initiating instruction, acquire an image code by using a server of the first application, where the image code is used to identify the target stream data to be broadcasted by the first account; 生成单元,设置为利用所述图像码及所述直播控制信息生成与所述目标流数据匹配的邀请卡;a generating unit, configured to generate an invitation card that matches the target stream data by using the image code and the live broadcast control information; 分享单元,设置为将所述邀请卡分享至第二应用进行显示,以邀请所述第二应用中的第二账号利用所述邀请卡分享所述第一账号所直播的所述目标流数据的播放过程。a sharing unit, configured to share the invitation card to the second application for display, to invite the second account in the second application to share the target stream data broadcasted by the first account by using the invitation card Playback process. 根据权利要求14所述的装置,其中,所述第二获取单元包括:The apparatus of claim 14, wherein the second obtaining unit comprises: 接收模块,设置为通过所述第一应用的服务器接收所述第二应用的服务器生成的所述图像码,其中,所述图像码为所述第二应用的服务器根据所述第一应用的服务器所发送的与所述目标流数据相匹配的数据标识而生成。a receiving module, configured to receive, by the server of the first application, the image code generated by a server of the second application, where the image code is a server of the second application according to a server of the first application Generated by the transmitted data identifier matching the target stream data. 根据权利要求14所述的装置,其中,所述分享单元包括:The apparatus of claim 14, wherein the sharing unit comprises: 第一获取模块,设置为获取在所述第一应用的客户端对所述邀请卡执行分享操作所生成的分享指令;a first obtaining module, configured to acquire a sharing instruction generated by the client of the first application to perform a sharing operation on the invitation card; 发送模块,设置为响应所述分享指令将所述邀请卡发送至所述第一应用的服务器,以使所述第一应用的服务器通过所述第二应用的服务器,将所述邀请卡分享至所述第二应用中使用所述第二账号的客户端进行显示,其中,所述第一应用的服务器将存储所述邀请卡与所述目标流数据之间的映射关系。a sending module, configured to send the invitation card to the server of the first application in response to the sharing instruction, so that the server of the first application shares the invitation card to the server of the second application to The second application uses a client of the second account to display, wherein the server of the first application stores a mapping relationship between the invitation card and the target stream data. 根据权利要求14所述的装置,其中,所述生成单元包括:The apparatus of claim 14, wherein the generating unit comprises: 第二获取模块,设置为获取配置指令,其中,所述配置指令用于配置所述邀请卡的显示样式;a second obtaining module, configured to acquire a configuration instruction, where the configuration instruction is used to configure a display style of the invitation card; 生成模块,设置为按照所述显示样式布局所述直播控制信息及所述图像码,以生成所述邀请卡。And generating a module, configured to layout the live control information and the image code according to the display style to generate the invitation card. 一种数据分享装置,包括:A data sharing device comprising: 第一获取单元,设置为获取第一应用中使用第一账号的客户端发送的直播请求,其中,所述直播请求中携带有与所述第一账号所要直 播的目标流数据相匹配的直播控制信息;The first obtaining unit is configured to obtain a live broadcast request sent by the client that uses the first account in the first application, where the live broadcast request carries a live broadcast control that matches the target flow data to be broadcasted by the first account. information; 第二获取单元,设置为响应所述直播请求获取图像码,其中,所述图像码用于标识所述第一账号所要直播的所述目标流数据;a second acquiring unit, configured to acquire an image code in response to the live broadcast request, where the image code is used to identify the target stream data to be broadcasted by the first account; 第一发送单元,设置为将所述图像码发送至所述第一应用中使用所述第一账号的客户端,以生成与所述目标流数据匹配的邀请卡;a first sending unit, configured to send the image code to a client in the first application that uses the first account to generate an invitation card that matches the target stream data; 第三获取单元,设置为获取将所述邀请卡分享至第二应用的分享请求,其中,所述分享请求中携带有所述邀请卡及所述第二应用的应用标识;The third obtaining unit is configured to obtain a sharing request for sharing the invitation card to the second application, where the sharing request carries the invitation card and the application identifier of the second application; 分享单元,设置为获取所述第二应用中的第二账号对所述邀请卡执行访问操作所生成的访问请求,并响应所述访问请求向所述第二应用中使用所述第二账号的客户端分享所述第一账号所直播的所述目标流数据的播放过程。a sharing unit, configured to acquire an access request generated by the second account in the second application to perform an access operation on the invitation card, and use the second account in the second application in response to the access request The client shares the playing process of the target stream data broadcasted by the first account. 根据权利要求18所述的装置,其中,所述第二获取单元包括:The apparatus of claim 18, wherein the second obtaining unit comprises: 第一生成模块,设置为生成与所述目标流数据相匹配的数据标识;a first generation module, configured to generate a data identifier that matches the target stream data; 第一发送模块,设置为将所述数据标识发送给所述第二应用的服务器,以使所述第二应用的服务器根据所述数据标识生成所述图像码;a first sending module, configured to send the data identifier to a server of the second application, so that the server of the second application generates the image code according to the data identifier; 接收模块,设置为接收所述第二应用的服务器发送的所述图像码。And a receiving module, configured to receive the image code sent by the server of the second application. 根据权利要求18所述的装置,其中,所述分享单元包括:The apparatus of claim 18, wherein the sharing unit comprises: 第二获取模块,设置为获取所述访问请求的请求时间;a second obtaining module, configured to acquire a request time of the access request; 第三获取模块,设置为获取与所述请求时间相匹配的进度指示信息,其中,所述进度指示信息用于指示所述目标流数据的播放进度;a third obtaining module, configured to acquire progress indication information that matches the request time, where the progress indication information is used to indicate a play progress of the target stream data; 分享模块,设置为向所述第二应用中使用所述第二账号的客户端分享与所述进度指示信息相匹配的所述目标流数据。a sharing module, configured to share the target stream data that matches the progress indication information to a client using the second account in the second application. 根据权利要求20所述的装置,其中,所述分享模块包括:The device of claim 20, wherein the sharing module comprises: 第一提示子模块,设置为在所述进度指示信息指示所述目标流数据未开始播放的情况下,向所述第二应用中使用所述第二账号的客户端发送第一提示信息,其中,所述第一提示信息用于提示是否预约播 放所述目标流数据;或者a first prompting sub-module, configured to send a first prompt information to a client using the second account in the second application, where the progress indication information indicates that the target stream data does not start playing, where The first prompt information is used to prompt whether to reserve the target stream data; or 第二提示子模块,设置为在所述进度指示信息指示所述目标流数据已开始、但未完成播放的情况下,向所述第二应用中使用所述第二账号的客户端发送第二提示信息,其中,所述第二提示信息用于提示从所述目标流数据的当前播放画面开始播放;或者a second prompting sub-module, configured to send, to the second application, the client that uses the second account, in the case that the progress indication information indicates that the target flow data has started but has not completed playing a prompt information, wherein the second prompt information is used to prompt to start playing from a current play screen of the target stream data; or 第三提示子模块,设置为在所述进度指示信息指示所述目标流数据已完成播放的情况下,向所述第二应用中使用所述第二账号的客户端发送第三提示信息,其中,所述第三提示信息用于提示所述目标流数据已完成播放。a third prompt sub-module, configured to send a third prompt information to the client using the second account in the second application, where the progress indication information indicates that the target flow data has been played, wherein The third prompt information is used to prompt that the target stream data has been played. 一种存储介质,所述存储介质中存储有计算机程序,其中,所述计算机程序被设置为运行时执行所述权利要求1至6或7至13任一项中所述的方法。A storage medium having stored therein a computer program, wherein the computer program is arranged to execute the method of any one of claims 1 to 6 or 7 to 13 at runtime. 一种电子装置,包括存储器和处理器,所述存储器中存储有计算机程序,所述处理器被设置为通过所述计算机程序执行所述权利要求1至6或7至13任一项中所述的方法。An electronic device comprising a memory and a processor, wherein the memory stores a computer program, the processor being arranged to perform the method of any one of claims 1 to 6 or 7 to 13 by the computer program Methods.
PCT/CN2018/084209 2017-04-25 2018-04-24 Data sharing method and device, storage medium and electronic device Ceased WO2018196733A1 (en)

Applications Claiming Priority (2)

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

Publications (1)

Publication Number Publication Date
WO2018196733A1 true WO2018196733A1 (en) 2018-11-01

Family

ID=61152384

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/084209 Ceased WO2018196733A1 (en) 2017-04-25 2018-04-24 Data sharing method and device, storage medium and electronic 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
US10984206B2 (en) 2019-04-16 2021-04-20 Advanced New Technologies Co., Ltd. Data storing and sharing using two-dimensional codes
CN110245304B (en) * 2019-04-16 2021-09-03 创新先进技术有限公司 Data sharing method, device and computer readable medium
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 (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120317592A1 (en) * 2011-06-09 2012-12-13 Samsung Electronics Co., Ltd. Method and system for providing additional information of contents
US20130139191A1 (en) * 2011-11-30 2013-05-30 Verizon Patent And Licensing Inc. Content recommendation for a unified catalog
CN105163193A (en) * 2015-08-28 2015-12-16 北京奇艺世纪科技有限公司 Method and device for comment information sharing of video-on-demand played by smart television
CN106302086A (en) * 2015-05-19 2017-01-04 努比亚技术有限公司 A kind of different mobile terminal carries out the method for content synchronization, Apparatus and system
CN106341408A (en) * 2016-09-20 2017-01-18 武汉斗鱼网络科技有限公司 Live broadcast sharing method and system in LAN of TV device
CN107690085A (en) * 2017-04-25 2018-02-13 腾讯科技(深圳)有限公司 Data sharing method and device

Family Cites Families (11)

* 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
US8358903B1 (en) * 2011-10-31 2013-01-22 iQuest, Inc. Systems and methods for recording information on a mobile computing device
CN104639985B (en) * 2013-11-14 2018-04-06 深圳市快播科技有限公司 Control method for playing multimedia and system
CN104093067B (en) * 2014-06-23 2017-08-25 广州三星通信技术研究有限公司 Share in the terminal, the apparatus and method of playback of audio-visual fragment
CN104168517B (en) * 2014-08-04 2017-10-13 广州华多网络科技有限公司 Into the method and system of direct broadcast band
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
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
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

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120317592A1 (en) * 2011-06-09 2012-12-13 Samsung Electronics Co., Ltd. Method and system for providing additional information of contents
US20130139191A1 (en) * 2011-11-30 2013-05-30 Verizon Patent And Licensing Inc. Content recommendation for a unified catalog
CN106302086A (en) * 2015-05-19 2017-01-04 努比亚技术有限公司 A kind of different mobile terminal carries out the method for content synchronization, Apparatus and system
CN105163193A (en) * 2015-08-28 2015-12-16 北京奇艺世纪科技有限公司 Method and device for comment information sharing of video-on-demand played by smart television
CN106341408A (en) * 2016-09-20 2017-01-18 武汉斗鱼网络科技有限公司 Live broadcast sharing method and system in LAN of TV device
CN107690085A (en) * 2017-04-25 2018-02-13 腾讯科技(深圳)有限公司 Data sharing method and device

Also Published As

Publication number Publication date
CN107690085B (en) 2019-06-07
CN107690085A (en) 2018-02-13

Similar Documents

Publication Publication Date Title
WO2018196733A1 (en) Data sharing method and device, storage medium and electronic device
CN109922377B (en) Play control method and device, storage medium and electronic device
CN106658200B (en) Method, device and terminal device for sharing and obtaining live video
CN109525851B (en) Live broadcast method, device and storage medium
US9925465B2 (en) Game accessing method and processing method, server, terminal, and system
CN109224456B (en) Live broadcast room game team forming method, live broadcast-based game interaction system and server
CN112714330B (en) Gift presenting method and device based on live broadcast with wheat and electronic equipment
US11025967B2 (en) Method for inserting information push into live video streaming, server, and terminal
US20170311039A1 (en) Interaction information processing method, client, service platform, and storage medium
WO2016202128A1 (en) Message sharing method, client, and computer storage medium
US20180255359A1 (en) Method for sharing a captured video clip and electronic device
CN108989609A (en) Video cover generation method, device, terminal device and computer storage medium
WO2018145505A1 (en) Video direct-broadcast method and device, storage medium, and electronic device
WO2018077214A1 (en) Information search method and apparatus
WO2017032268A1 (en) Method for realizing cross-platform interaction, terminal device and application platform
CN104519124A (en) Allocation method and device of virtual resources
CN109274979B (en) Live broadcast room jumping method and device, storage medium and server
CN107517399B (en) Media information synchronization method and server
CN114257833B (en) Live room recommendation and entry method, system, device, equipment and storage medium
CN113613029B (en) Live broadcast picture display method and device, storage medium and electronic equipment
CN111185012A (en) Game team forming method and device, electronic equipment, live broadcast system and storage medium
WO2023222112A1 (en) Live-streaming method and apparatus, and device, medium and program product
CN105744338B (en) A kind of method for processing video frequency and its equipment
CN106792237B (en) Message display method and system
CN110809172A (en) Interactive special effect display method and device and electronic equipment

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18792007

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18792007

Country of ref document: EP

Kind code of ref document: A1