Data interaction method and device, electronic equipment and storage medium

Through the matching mechanism of cache and progress identification, the problem of out-of-sync progress in data interaction between dual-end devices is solved, and the display effect and user experience of the viewing end are improved.

CN119342262AActive Publication Date: 2025-01-21BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202310908567.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-21
Publication Date
2025-01-21
Estimated Expiration
2043-07-21

AI Technical Summary

Technical Problem

In the data interaction between the dual-end devices, the display progress of interactive resources in the viewing data received by the viewing end is easily out of sync with the display progress of feedback data, resulting in poor display effect of the display interface of the viewing end.

Method used

By obtaining the first interaction data from the interaction initiating end and caching it, sending it to the interaction receiving end and obtaining the second interaction data generated by it, determining the target interaction data based on the cached data and progress identifier, and sending it to the interactive viewing end. .

Benefits of technology

The progress matching between the first interactive data and the second interactive data is achieved, which improves the display effect of the interactive viewing terminal and enhances the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119342262A_ABST
    Figure CN119342262A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a data interaction method and device, electronic equipment and a storage medium. The method is applied to an interaction initiating end and comprises the steps that first interaction data corresponding to the interaction initiating end are obtained and cached, and the first interaction data comprise a first progress identifier corresponding to the first interaction data; the first interaction data are sent to an interaction receiving end, second interaction data corresponding to the first interaction data and generated by the interaction receiving end are obtained, and the second interaction data comprise a second progress identifier corresponding to the first progress identifier; and based on the cached first interaction data, the first progress identifier, the second interaction data and the second progress identifier, determining target interaction data corresponding to the interaction initiating end, and sending the target interaction data to an interaction viewing end corresponding to the interaction initiating end. According to the technical scheme, the matching effect between the first interaction data and the second interaction data in the target interaction data is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present disclosure relate to the technical field of data transmission, and in particular to a data interaction method, device, electronic device and storage medium. Background Art

[0002] With the continuous development of network technology, more and more network devices can realize network communication and data transmission functions, and more and more applications have developed interactive functions between two-end devices or multi-end devices.

[0003] In the related art, when an interactive relationship is established between two-end devices, when one-end device displays interactive multimedia resources, the other-end device can generate feedback data corresponding to the interactive resources based on the interactive resources displayed by the resource display end, and feed the generated feedback data back to the resource display end, so that the resource display end uses the received feedback data and interactive resources as viewing data and pushes them to the viewing end corresponding to the resource display end.

[0004] However, when performing data interaction based on the above data interaction method, there may be a problem in which the display progress of the interactive resources in the viewing data received by the viewing end is out of sync with the display progress of the feedback data, resulting in poor display effect of the viewing end display interface and affecting the user experience. Summary of the invention

[0005] The present disclosure provides a data interaction method, device, electronic device and storage medium to achieve a matching effect between the display progress of first interactive data and the display progress of second interactive data in target interactive data.

[0006] In a first aspect, an embodiment of the present disclosure provides a data interaction method, which is applied to an interaction initiator, and the method includes:

[0007] Acquire first interaction data corresponding to the interaction initiator, and cache the first interaction data, wherein the first interaction data carries a first progress indicator;

[0008] Sending the first interactive data to an interactive receiving end, and acquiring second interactive data generated by the interactive receiving end and corresponding to the first interactive data, wherein the second interactive data carries a second progress identifier corresponding to the first progress identifier;

[0009] Based on the cached first interaction data, the first progress identifier, the second interaction data and the second progress identifier, target interaction data corresponding to the interaction initiating end is determined, and the target interaction data is sent to the interaction viewing end corresponding to the interaction initiating end.

[0010] In a second aspect, the embodiments of the present disclosure further provide a data interaction method, which is applied to an interaction receiving end, and the method includes:

[0011] receiving first interaction data sent by an interaction initiator, and generating second interaction data corresponding to the first interaction data, wherein the first interaction data carries a first progress identifier, and the second interaction data carries a second progress identifier corresponding to the first progress identifier;

[0012] The second interactive data is transmitted to the interactive initiator, so that the interactive initiator determines the target interactive data corresponding to the interactive initiator based on the cached first interactive data, the first progress identifier, the second interactive data and the second progress identifier, and sends the target interactive data to the interactive viewing end corresponding to the interactive initiator.

[0013] In a third aspect, an embodiment of the present disclosure provides a data interaction device, which is configured at an interaction initiating end, and includes:

[0014] A data acquisition module, used for acquiring first interaction data corresponding to the interaction initiator, and caching the first interaction data, wherein the first interaction data carries a first progress indicator;

[0015] a data sending module, configured to send the first interactive data to an interactive receiving end, and obtain second interactive data generated by the interactive receiving end and corresponding to the first interactive data, wherein the second interactive data carries a second progress identifier corresponding to the first progress identifier;

[0016] A viewing data determination module is used to determine the target interaction data corresponding to the interaction initiating end based on the cached first interaction data, the first progress identifier, the second interaction data and the second progress identifier, and send the target interaction data to the interaction viewing end corresponding to the interaction initiating end.

[0017] In a fourth aspect, an embodiment of the present disclosure provides a data interaction device, which is configured at an interaction receiving end, and the device includes:

[0018] A data receiving module, configured to receive first interaction data sent by an interaction initiator, and generate second interaction data corresponding to the first interaction data, wherein the first interaction data carries a first progress indicator, and the second interaction data carries a second progress indicator corresponding to the first progress indicator;

[0019] A data transmission module is used to transmit the second interactive data to the interaction initiating end, so that the interaction initiating end determines the target interactive data corresponding to the interaction initiating end based on the cached first interactive data, the first progress identifier, the second interactive data and the second progress identifier, and sends the target interactive data to the interactive viewing end corresponding to the interaction initiating end.

[0020] In a fifth aspect, an embodiment of the present disclosure further provides an electronic device, the electronic device comprising:

[0021] one or more processors;

[0022] a storage device for storing one or more programs,

[0023] When the one or more programs are executed by the one or more processors, the one or more processors implement the data interaction method as described in any one of the embodiments of the present disclosure.

[0024] In a sixth aspect, the embodiments of the present disclosure further provide a storage medium comprising computer executable instructions, which, when executed by a computer processor, are used to execute the data interaction method as described in any one of the embodiments of the present disclosure.

[0025] The technical solution of the disclosed embodiment, by acquiring the first interactive data corresponding to the interactive initiating end and caching the first interactive data, can cache the first interactive data locally while determining the first interactive data, providing a data basis for subsequent data processing; further, the first interactive data is sent to the interactive receiving end, and the second interactive data corresponding to the first interactive data generated by the interactive receiving end is acquired, so that data interaction between the interactive initiating end and the interactive receiving end can be realized, and the correlation between the second interactive data and the first interactive data is guaranteed; finally, based on the cached first interactive data, the first progress identifier, the second interactive data, and the second progress identifier, the target interactive data corresponding to the interactive initiating end is determined, and the target interactive data is sent to the interactive viewing end corresponding to the interactive initiating end, so as to solve the problems existing in the prior art that the display progress of the interactive resources in the viewing data received by the viewing end is not synchronized with the display progress of the feedback data, resulting in poor display effect of the display interface of the viewing end, and realize the effect of matching the display progress of the first interactive data in the target interactive data with the display progress of the second interactive data, thereby improving the display effect of the interactive viewing end, and improving the user experience of the interactive initiating end, the interactive receiving end, and the interactive viewing end for the application software. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale.

[0027] Figure 1 A flowchart of a data interaction method provided by an embodiment of the present disclosure;

[0028] Figure 2 A flowchart of a data interaction method provided by an embodiment of the present disclosure;

[0029] Figure 3 A flowchart of a data interaction method provided by an embodiment of the present disclosure;

[0030] Figure 4 A flowchart of a data interaction method provided by an embodiment of the present disclosure;

[0031] Figure 5 A flowchart of a data interaction method provided by an embodiment of the present disclosure;

[0032] Figure 6 A schematic diagram of a process of establishing an interactive relationship in a data interactive method provided in an embodiment of the present disclosure;

[0033] Figure 7 A schematic diagram of the structure of a data interaction device provided by an embodiment of the present disclosure;

[0034] Figure 8 A schematic diagram of the structure of a data interaction device provided by an embodiment of the present disclosure;

[0035] Fig. 9 A schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0036] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0037] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.

[0038] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.

[0039] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0040] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0041] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.

[0042] It is understandable that before using the technical solutions disclosed in the embodiments of the present disclosure, the types, scope of use, usage scenarios, etc. of the personal information involved in the present disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.

[0043] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly prompt the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can autonomously choose whether to provide personal information to software or hardware such as an electronic device, application, server, or storage medium that performs the operation of the technical solution of the present disclosure according to the prompt message.

[0044] As an optional but non-limiting implementation, in response to receiving an active request from the user, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.

[0045] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet the relevant laws and regulations may also be applied to the implementation of the present disclosure.

[0046] It is understandable that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of relevant laws, regulations and relevant provisions.

[0047] Before introducing the present technical solution, an exemplary description of the application scenario may be given first. The technical solution of the embodiment of the present disclosure can be applied to the scenario of network communication and data interaction between any two devices or more than two devices. For example, in the scenario of network communication and data interaction between the interaction initiator and the interaction receiver, a data interaction request can be initiated based on the interaction initiator, and the interaction receiver corresponding to the interaction initiator can be determined based on the response data of the data interaction request. In the case where the interaction initiator and the interaction receiver have established an interactive relationship, the data to be shared can be displayed based on the interaction initiator. At the same time, the interaction receiver can determine the feedback data corresponding to the interactive resource based on the interactive resource in the data to be shared displayed by the interaction initiator and feed it back to the interaction initiator. Further, when receiving the feedback data, the interaction initiator can perform data confluence processing on the received feedback data and the displayed data to be shared to generate viewing data corresponding to the interaction initiator, and send the viewing data to the interactive viewing terminal corresponding to the interaction initiator. However, when performing data interaction based on the above data interaction method, there may be a problem that the display progress of the data to be shared in the viewing data received by the interactive viewing terminal is not synchronized with the display progress of the feedback data, resulting in poor display effect of the display interface of the interactive viewing terminal. At this time, based on the technical solution of the embodiment of the present disclosure, the data to be shared displayed by the interaction initiator can be obtained, and each frame of the data to be shared can be marked to obtain a first progress identifier corresponding to the data to be shared, and then the data to be shared and the first progress identifier are sent to the interaction receiving end as the first interaction data. At the same time, the first interaction data is cached. When the interaction receiving end receives the first interaction data, second interaction data corresponding to the first interaction data and carrying a second progress identifier corresponding to the first progress identifier can be generated, and the second interaction data can be fed back to the interaction initiator. Further, when the interaction initiator receives the second interaction data, target interaction data corresponding to the interaction initiator can be generated based on the cached first interaction data, the first progress identifier, the second interaction data and the second progress identifier, and the target interaction data is sent to the interaction viewing end corresponding to the interaction initiator, thereby achieving the effect of matching the display progress of the first interaction data and the display progress of the second interaction data in the target interaction data, improving the display effect of the interaction viewing end, and improving the user experience of the interaction initiator, the interaction receiving end and the interaction viewing end for the application software.

[0048] Figure 1A flow chart of a data interaction method provided in an embodiment of the present disclosure is applicable to situations where network communication is established and data is transmitted between an interaction initiator and an interaction receiver. The method can be applied to the interaction initiator and can be executed by a data interaction device, which can be implemented in the form of software and / or hardware, and optionally, can be implemented by an electronic device, which can be a mobile terminal, a PC or a server, etc.

[0049] like Figure 1 As shown, the method of this embodiment may specifically include:

[0050] S110: Acquire first interaction data corresponding to the interaction initiator, and cache the first interaction data.

[0051] In this embodiment, the interaction initiator may be an electronic device pre-installed with application software supporting data interaction function. Optionally, the interaction initiator may include a mobile terminal, a PC terminal, a tablet computer or a virtual reality device, etc. The application software may be a type of software supporting data interaction function, and its specific application software will not be described one by one here, as long as the data interaction function can be realized. The first interactive data may be data that meets user needs and can be transmitted between multiple device terminals. The first interactive data may be at least one of an image, a video, a text and an audio. Optionally, the first interactive data may include only interactive resources, or may include interactive resources and other resources associated with the interactive resources at the same time. Among them, the interactive resources may be pre-set multimedia data streams that can be transmitted between multiple device terminals. Optionally, the interactive resources may include multimedia resources, such as music accompaniment data, film and television clips to be dubbed, or any video, etc. Optionally, other resources associated with the interactive resources may include images or videos collected by the interaction initiator, for example, a sing-along video of the music accompaniment data collected by the interaction initiator; it may also include text acquisition information corresponding to the interactive resource, for example, if the interactive resource is music accompaniment data, then the lyrics acquisition path corresponding to the music accompaniment data.

[0052] The first interactive data carries a first progress identifier. The first progress identifier may be an identifier that characterizes the display progress of the first interactive data. Each frame of the first interactive data has a first progress identifier corresponding thereto, and the first progress identifier corresponding to each frame of the first interactive data is different. Based on the first progress identifier corresponding to each frame of the first interactive data, the display order between each frame of the first interactive data may be determined. The first progress identifier may be any form of identification information, and may optionally be a timestamp or a number.

[0053] In this embodiment, the first progress identifier can be associated with the data acquisition time corresponding to the first interaction data. Specifically, when the interaction initiator obtains the corresponding first interaction data, the obtained first interaction data are all data after marking processing. That is to say, the first interaction data obtained by the interaction initiator carries the first progress identifier at the time of acquisition.

[0054] In practical applications, before obtaining the first interaction data corresponding to the interaction initiator, the corresponding first interaction data can be first determined based on the interaction initiator so that the first interaction data carries a first progress indicator representing the display progress of the first interaction data.

[0055] Optionally, obtaining first interaction data corresponding to the interaction initiator includes: obtaining data to be shared displayed by the interaction initiator, determining a first progress identifier corresponding to the data to be shared, and using the data to be shared and the first progress identifier as the first interaction data corresponding to the interaction initiator.

[0056] In this embodiment, the data to be shared may be data that does not carry the first progress indicator and can be transmitted between multiple devices. Optionally, the data to be shared may include only interactive resources, or may include both interactive resources and other resources associated with the interactive resources.

[0057] In actual application, the data to be shared displayed by the interaction initiator may be determined first, and then, when the data to be shared is determined and displayed on the interaction initiator, a first progress indicator corresponding to the displayed data to be shared may be determined.

[0058] In this embodiment, whether the data to be shared only includes interactive resources or includes interactive resources and other resources associated with interactive resources, it can be shown that the data to be shared is data associated with interactive resources. Therefore, when determining the data to be shared based on the interactive initiator, the interactive resources included in the data to be shared can be determined first, and then, based on the interactive resources, the data to be shared based on the interactive initiator can be determined. In practical applications, there can be at least two ways to determine the data to be shared. The two determination methods can be described below.

[0059] One method may be: in response to a trigger operation on a resource display control, display at least one candidate interactive resource; in response to a selection trigger operation on a candidate interactive resource, use the selected candidate interactive resource as the interactive resource included in the data to be shared.

[0060] In this embodiment, the trigger operation for the resource display control and the selection trigger operation for the candidate interactive resource can be any operation acting on the resource display control or the candidate interactive resource. For example, a click operation on the resource display control or the candidate interactive resource. Among them, the click operation can be a single click operation or a multiple click operation (such as a double-click operation, etc.). In order to facilitate user operation, the trigger operation for the resource display control and the selection trigger operation for the candidate interactive resource can also be that when it is detected that the user's pause time on the resource display control or the candidate interactive resource based on the input device or the touch point reaches a preset time, it can be determined that the resource display control is triggered, or the candidate interactive resource is used as an interactive resource that meets the user's needs.

[0061] In actual applications, when it is detected that the user inputs a trigger operation on the resource display control through an input device or a touch point, the trigger operation can be responded to, and at least one candidate interactive resource can be displayed on the display interface corresponding to the interaction initiator. Furthermore, a selection can be made from the displayed candidate interactive resources through the trigger operation. When a user selection trigger operation on any candidate interactive resource is detected, the selected candidate interactive resource can be used as the interactive resource included in the data to be shared.

[0062] Another method may be: receiving the uploaded resources to be processed as the interactive resources included in the data to be shared.

[0063] In this embodiment, the resources to be processed may be resources uploaded to the interaction initiating end in real time or periodically based on an external device.

[0064] Further, after determining the interactive resources, the data to be shared displayed by the interactive initiator can be determined. If the data to be shared only includes interactive resources, the determined interactive resources can be directly displayed in the display interface corresponding to the interactive initiator; if the data to be shared includes interactive resources and other resources associated with the interactive resources, after determining the interactive resources, other resources associated with the interactive resources can be determined based on the determined interactive resources, and then the determined interactive resources and other resources associated with the interactive resources can be displayed as data to be shared on the interactive initiator. Exemplarily, if the data to be shared includes interactive resources and other resources associated with the interactive resources, and the interactive resources are music accompaniment data, and the other resources are real-time singing videos of singers for the music accompaniment data collected by the interactive initiator, then the interactive initiator can play the music accompaniment data while collecting videos of the singers singing for the music accompaniment data based on the camera device set on the interactive initiator, and then the music accompaniment data and the collected videos can be used as data to be shared.

[0065] Furthermore, after determining the data to be shared, each frame of the data to be shared may be marked to determine a first progress identifier corresponding to each frame of the data to be shared, so that the data to be shared and the first progress identifier may be used as the first interactive data corresponding to the interactive initiator.

[0066] It should be noted that the advantage of using the data to be shared and the first progress identifier corresponding to the data to be shared as the first interactive data corresponding to the interaction initiator is that it achieves the effect of marking each frame of the data to be shared, so that the acquired first interactive data all carry the corresponding first progress identifier, and achieves the effect of indicating the display order of each frame of the first interactive data based on the first progress identifier, laying the foundation for data confluence and data tracing.

[0067] In practical applications, the technical solution provided in this embodiment can be applied to a live broadcast room chorus scenario. In this application scenario, the interaction initiator and the interaction receiver can be two live broadcast rooms that have established a connection relationship, the interaction initiator is the first live broadcast room, and the interaction receiver is the second live broadcast room. The interactive resource can be music accompaniment data. In this application scenario, obtaining the first interactive data corresponding to the interaction initiator includes: obtaining the audio data of the first live broadcast room as the first interactive data, and adding a timestamp to the first interactive data based on the acquisition time of the first interactive data, and using the timestamp as the first progress indicator.

[0068] The audio data includes audio data and music accompaniment data collected in the first live broadcast room.

[0069] In practical applications, when the music accompaniment data is determined, the determined music accompaniment data can be played based on the first live studio, and the audio displayed in the first live studio can be collected. Then, the audio data and music accompaniment data collected in the first live studio can be obtained. The audio data and music accompaniment data collected in the first live studio can be used as the first interactive data. Furthermore, the acquisition time corresponding to the acquisition of each frame of the first interactive data can be obtained. Then, a timestamp can be added to the first interactive data of the corresponding frame according to the acquisition time of each frame of the first interactive data, and the added timestamp can be used as the first progress identifier corresponding to the first interactive data. Thus, the effect of matching the playback progress of the music accompaniment data with the display progress of the audio data in the first live studio can be achieved.

[0070] It should be noted that, in addition to the audio data and music accompaniment data collected by the first live broadcast room, the first interactive data may also include video data collected by the first live broadcast room, and the video data may characterize the performance of the music accompaniment data in the first live broadcast room. In practical applications, while the determined music accompaniment data is played in the first live broadcast room, the video and audio displayed in the first live broadcast room may be collected simultaneously. Furthermore, the audio data, video data and music accompaniment data collected in the first live broadcast room may be obtained. The collected audio data, video data and music accompaniment data may be used as the first interactive data. Further, the first interactive data may be sent to the second live broadcast room, so that when the first interactive data is received in the second live broadcast room, the first interactive data may be displayed based on the terminal corresponding to the second live broadcast room. The advantage of such a setting is that the singing and performance of the music accompaniment data in the two live broadcast rooms can be displayed simultaneously in any live broadcast room, which improves the interactive flexibility between the live broadcast rooms and improves the visual display effect of the live broadcast room.

[0071] In actual applications, the first interaction data is data that can be transmitted among multiple device ends. Therefore, when obtaining the first interaction data corresponding to the interaction initiating end, other device ends that have established an interactive relationship with the interaction initiating end can be determined first. Thus, after determining the other device ends that have established an interactive relationship with the interaction initiating end, the first interaction data corresponding to the interaction initiating end can be obtained.

[0072] Optionally, obtaining first interaction data corresponding to the interaction initiating end includes: responding to a data interaction request initiated by the interaction initiating end, determining an interaction receiving end corresponding to the interaction initiating end based on response data corresponding to the data interaction request; and obtaining the first interaction data corresponding to the interaction initiating end when an interaction relationship has been established between the interaction initiating end and the interaction receiving end.

[0073] In this embodiment, the data interaction request may be a pre-written request message, which may be used to represent the request of the interaction initiator to establish a communication connection with other devices and interact with data. Optionally, the other devices may include mobile terminals, PCs, tablet computers, or virtual reality devices. The response data may be used to represent the request response status of other devices corresponding to the received data interaction request.

[0074] In practical applications, there may be at least two ways of initiating a data interaction request and determining an interaction receiving end corresponding to an interaction initiating end. These two ways will be described below respectively.

[0075] One method may be: displaying identification information of a target object belonging to at least one device end to be interacted with in a display interface corresponding to the interaction initiating end, so that when a trigger operation for the identification information is detected, a data interaction request is initiated to the device end to be interacted with corresponding to the identification information; and determining the interaction receiving end corresponding to the interaction initiating end from the device end to be interacted with based on the response data corresponding to the data interaction request.

[0076] In this embodiment, the device to be interacted with may be an electronic device of a user registered in the corresponding application software or the corresponding application. Optionally, the device to be interacted with may include a mobile terminal, a PC, a tablet computer or a virtual reality device. The identification information may be used to indicate the target object to which the device to be interacted belongs. The identification information may be information in any form, and may optionally be an avatar of the target object.

[0077] In this embodiment, in application software or applications that support data interaction functions, a user list display control for displaying the device ends to be interacted can be pre-developed. When it is detected that the user triggers the control based on the interaction initiating end, the identification information corresponding to at least one device end to be interacted can be displayed in the display interface corresponding to the interaction initiating end.

[0078] In actual applications, when the interaction initiator detects a user's trigger operation on a user list display control, it can display identification information of at least one object belonging to a device to be interacted with based on the display interface corresponding to the interaction initiator. The user can select from the identification information displayed in the display interface through the trigger operation. When a trigger operation on any identification information is detected, a data interaction request can be initiated to the device to be interacted corresponding to the identification information.

[0079] Furthermore, for the interaction initiator, after detecting that the interaction initiator initiates a data interaction request to the selected device to be interacted with, the response data generated by the device to be interacted with to the data interaction request can be obtained, and then, the interaction receiving end corresponding to the interaction initiator can be determined based on the response data corresponding to the data interaction request.

[0080] In actual applications, for the device end to be interacted that receives the data interaction request, when the data interaction request is received, a request inquiry page corresponding to the data interaction request can be popped up on the display interface corresponding to the device end to be interacted. The page may include a request acceptance control, a request rejection control, and identification information of the target object to which the interaction initiator belongs that initiates the data interaction request. The target object to which the device end to be interacted belongs can select the controls included in the request inquiry page through a trigger operation. Furthermore, based on the trigger operation of the controls included in the request inquiry page, response data corresponding to the data interaction request can be generated and fed back to the interaction initiator that initiates the data interaction request.

[0081] Furthermore, for the interaction initiating end, when the interaction receiving end corresponding to the interaction initiating end is determined based on the response data corresponding to the data interaction request, if the response data corresponding to the received data interaction request is an acceptance request, the device end to be interacted that generates and sends the response data can be used as the interaction receiving end corresponding to the interaction initiating end; if the response data corresponding to the received data interaction request is a rejection request, the operation of initiating a data interaction request to the next device end to be interacted can be executed. In the case that the response data corresponding to the received data interaction request is a reception request, the device end to be interacted that generates and sends the response data can be used as the interaction receiving end corresponding to the interaction initiating end.

[0082] Another method may be: in response to a trigger operation on a data interaction control, a data interaction request is initiated to at least one interactive viewing end corresponding to the interaction initiating end based on the trigger operation; the request acceptance response data with the earliest reception time corresponding to the data interaction request is determined, and the interactive viewing end corresponding to the request acceptance response data with the earliest reception time is used as the interactive receiving end corresponding to the interaction initiating end.

[0083] In this embodiment, in the application software or application program supporting the data interaction function, a data interaction control for triggering the data interaction function can be developed in advance, so that when the triggering operation of the control is detected, a data interaction request is initiated to the interactive viewing end corresponding to the interactive initiating end based on the interactive initiating end. Among them, the interactive viewing end can be an electronic device for viewing the data stream displayed by the interactive initiating end. The request acceptance response data can be data representing the request acceptance status corresponding to the received data interaction request by the interactive viewing end. The response data can include request acceptance response data or request rejection response data.

[0084] In actual applications, for the interaction initiating end, when a trigger operation for a data interaction control is detected, a data interaction request can be initiated to the interactive viewing end corresponding to the interaction initiating end, and then, the initiated data interaction request can be responded to, and the response data corresponding to the data interaction request generated by the interactive viewing end can be obtained, and the request acceptance response data with the earliest reception time can be determined from these response data, so that the interactive viewing end corresponding to the determined request acceptance response data can be used as the interactive receiving end corresponding to the interaction initiating end.

[0085] It should be noted that the data interaction function between the interaction initiator and the interaction receiver can be realized directly by establishing network communication between the interaction initiator and the interaction receiver; or, the data interaction between the interaction initiator and the interaction receiver can be realized through the server. Specifically, the interaction initiator can send a data interaction request to the server, so that the server sends the data interaction request to the device to be interacted. Furthermore, based on the feedback data corresponding to the data interaction request fed back by the device to be interacted, the server receives the feedback data, and sends the received feedback data to the interaction initiator through the server, so that the interaction initiator determines the interaction receiver corresponding to the interaction initiator based on the received feedback data.

[0086] Furthermore, after determining the interaction receiving end corresponding to the interaction initiating end, an interaction relationship between the interaction initiating end and the interaction receiving end can be established, so that when the interaction relationship has been established between the interaction initiating end and the interaction receiving end, the first interaction data corresponding to the interaction initiating end can be obtained and cached.

[0087] It should be noted that when caching the first interactive data, a preset number of frames of the first interactive data may be cached, wherein the preset number of frames may be any value.

[0088] S120: Send the first interactive data to the interactive receiving end, and obtain second interactive data generated by the interactive receiving end and corresponding to the first interactive data.

[0089] In this embodiment, after obtaining the first interaction data corresponding to the interaction initiator, the first interaction data can be sent to the interaction receiving end that has established an interactive relationship with the interaction initiator, so that the interaction receiving end can process the received first interaction data to obtain second interaction data corresponding to the first interaction data.

[0090] Among them, the second interactive data may be feedback data generated by the interactive receiving end based on the received first interactive data. The second interactive data may carry a second progress identifier corresponding to the first progress identifier. The second progress identifier may be an identifier representing the display progress of the second interactive data. Each frame of the second interactive data has a second progress identifier corresponding to it, and the second progress identifier corresponding to each frame of the second interactive data is different. The display order between each frame of the second interactive data can be determined based on the second progress identifier corresponding to each frame of the second interactive data. The second progress identifier may be any form of identification information, and may optionally be a timestamp or a number.

[0091] In actual applications, after obtaining the first interaction data corresponding to the interaction initiator, the first interaction data can be sent to the interaction receiving end, so that when the interaction receiving end receives the first interaction data, it can generate second interaction data corresponding to the first interaction data based on the first interaction data and feed it back to the interaction initiator.

[0092] It should be noted that when the first interactive data is sent to the interactive receiving end based on the interactive initiator, a real-time clock (RTC) interface can be called based on the interactive initiator to send the first interactive data to the interactive receiving end based on the RTC interface.

[0093] It should also be noted that when the second interactive data is fed back to the interactive initiating end based on the interactive receiving end, the RTC interface can be called based on the interactive receiving end to send the second interactive data to the interactive initiating end based on the RTC interface.

[0094] In a specific implementation, for the interactive receiving end, when the first interactive data is received, the received first interactive data can be displayed based on the interactive receiving end, and then, the participation data corresponding to each frame of the first interactive data can be determined based on the displayed first interactive data. At the same time, the first progress identifier corresponding to each frame of the first interactive data can be obtained, and then, the second progress identifier corresponding to each frame of the participation data can be determined based on the first progress identifier corresponding to each frame of the first interactive data, so that the participation data and the corresponding second progress identifier can be used as the second interactive data corresponding to the first interactive data and sent to the interactive initiating end.

[0095] In practical applications, an identifier mapping relationship between the first progress identifier and the second progress identifier can be pre-constructed, and the mapping relationship can characterize the correspondence between each first progress identifier and each second progress identifier, that is, for each first progress identifier, there is a corresponding second progress identifier. Furthermore, after obtaining the first progress identifier corresponding to each frame of first interactive data, each frame of participation data can be marked according to the pre-constructed identifier mapping relationship to obtain the second progress identifier corresponding to each frame of participation data.

[0096] S130, determining target interaction data corresponding to the interaction initiating end based on the cached first interaction data, the first progress identifier, the second interaction data, and the second progress identifier, and sending the target interaction data to the interaction viewing end corresponding to the interaction initiating end.

[0097] In this embodiment, after receiving the second interaction data corresponding to the first interaction data generated by the interaction receiving end, the target interaction data corresponding to the interaction initiating end can be determined based on the cached first interaction data, the first progress identifier corresponding to the first interaction data, the second interaction data, and the second progress identifier corresponding to the second interaction data.

[0098] The target interactive data may be data displayed in a display interface corresponding to the viewing terminal. The target interactive data may include first interactive data and second interactive data. The interactive viewing terminal may be an electronic device that is viewing a data stream displayed by another device terminal. Optionally, the interactive viewing terminal may include a mobile terminal, a PC terminal, a tablet computer, or a virtual reality device.

[0099] It should be noted that the first progress identifier and the second progress identifier corresponding to the first progress identifier can be used to indicate the relative correlation relationship between the display progress of the first interactive data and the second interactive data. Specifically, for each frame of the first interactive data, it carries the first progress identifier corresponding to the first interactive data of the frame. At the same time, for each frame of the second interactive data, it carries the second progress identifier corresponding to the second interactive data of the frame, and the second progress identifier is determined based on the first progress identifier. Therefore, based on the first progress identifier corresponding to each frame of the first interactive data and the second progress identifier corresponding to each frame of the second interactive data, the relative display progress between each frame of the first interactive data and each frame of the second interactive data can be determined. In other words, the display progress of the first interactive data and the display progress of the second interactive data can be compared in the vertical dimension according to the first progress identifier and the second progress identifier.

[0100] It should also be noted that while sending the first interaction data to the interaction receiving end, the interaction initiating end will also display the first interaction data. When receiving the second interaction data fed back by the interaction receiving end, the first interaction data currently displayed by the interaction initiating end may be ahead of the second interaction data received. Therefore, when determining the target interaction data corresponding to the interaction initiating end, the first interaction data matching the second interaction data can be determined from the cached first interaction data, and then, based on the matched first interaction data and second interaction data, the target interaction data can be determined.

[0101] In actual applications, after obtaining the second interactive data generated by the interactive receiving end corresponding to the first interactive data, the pre-cached first interactive data can be retrieved, and then, the display progress of the first interactive data and the second interactive data can be matched according to the first progress identifier carried by the first interactive data and the second progress identifier carried by the second interactive data. Therefore, based on the matched first interactive data and the second interactive data, the target interactive data corresponding to the interactive initiating end can be determined, and the target interactive data can be sent to the interactive viewing end corresponding to the interactive initiating end, so that the display interface corresponding to the interactive viewing end can display the received target interactive data.

[0102] It should be noted that when the target interactive data is sent to the corresponding interactive viewing end based on the interactive initiator, the content delivery network (CDN) interface can be called based on the interactive initiator to send the target interactive data to the interactive viewing end based on the CDN interface.

[0103] It should be noted that when the interactive viewing end displays the received target interactive data, it can be displayed in the corresponding display interface in any form. Optionally, it can be an evenly divided interface display (such as evenly divided up and down or evenly divided left and right), that is, the first interactive data and the second interactive data included in the target interactive data are simultaneously displayed based on the display interface corresponding to the interactive viewing end, and the display area of ​​the display interface of the two types of data is the same; or, it can also be a small window display, that is, the first interactive data in the target interactive data is displayed in full screen based on the display interface corresponding to the interactive viewing end, and at the same time, the second interactive data in the target interactive data is displayed in the form of a small window at any position in the first interactive data display area; or, it can also include other display forms, which are not specifically limited in the embodiments of the present disclosure.

[0104] In actual applications, when the display progress of the first interactive data and the second interactive data is matched based on the first progress identifier and the second progress identifier, there may be multiple situations, and these multiple situations may be described below respectively.

[0105] The first situation may be: based on the first progress identifier corresponding to each frame of the first interactive data and the second progress identifier corresponding to each frame of the second interactive data, the first interactive data having the same display progress as the second interactive data is determined from the cached first interactive data, and the determined first interactive data is used as the first interactive data that matches the second interactive data, and then, based on the matched first interactive data and the second interactive data, the target interactive data corresponding to the interaction initiator is determined.

[0106] The second situation may be: based on the first progress indicator corresponding to each frame of the first interactive data and the second progress indicator corresponding to each frame of the second interactive data, the first interactive data whose display progress lags behind the second interactive data by a preset number of frames is determined from the cached first interactive data, and then, based on the determined first interactive data and second interactive data, the target interactive data corresponding to the interactive initiator is determined. The preset number of frames may be any value.

[0107] The third situation may be: based on the first progress indicator corresponding to each frame of the first interactive data and the second progress indicator corresponding to each frame of the second interactive data, the first interactive data whose display progress is ahead of the second interactive data by a preset number of frames is determined from the cached first interactive data, and then, based on the determined first interactive data and second interactive data, the target interactive data corresponding to the interactive initiator is determined. The preset number of frames may be any value.

[0108] The technical solution of the disclosed embodiment, by acquiring the first interactive data corresponding to the interactive initiating end and caching the first interactive data, can cache the first interactive data locally while determining the first interactive data, providing a data basis for subsequent data processing; further, the first interactive data is sent to the interactive receiving end, and the second interactive data corresponding to the first interactive data generated by the interactive receiving end is acquired, so that data interaction between the interactive initiating end and the interactive receiving end can be realized, and the correlation between the second interactive data and the first interactive data is guaranteed; finally, based on the cached first interactive data, the first progress identifier, the second interactive data, and the second progress identifier, the target interactive data corresponding to the interactive initiating end is determined, and the target interactive data is sent to the interactive viewing end corresponding to the interactive initiating end, so as to solve the problems existing in the prior art that the display progress of the interactive resources in the viewing data received by the viewing end is not synchronized with the display progress of the feedback data, resulting in poor display effect of the display interface of the viewing end, and realize the effect of matching the display progress of the first interactive data in the target interactive data with the display progress of the second interactive data, thereby improving the display effect of the interactive viewing end, and improving the user experience of the interactive initiating end, the interactive receiving end, and the interactive viewing end for the application software.

[0109] Figure 2 A flowchart of a data interaction method provided by an embodiment of the present disclosure. The technical solution of this embodiment is based on the above-mentioned embodiment, and based on the first progress identifier and the second progress identifier, the cached first interaction data and the second interaction data are progress matched to generate target interaction data corresponding to the interaction initiator. For specific implementation methods, please refer to the description of this embodiment. Among them, the technical features that are the same or similar to the above-mentioned embodiments are not repeated here.

[0110] like Figure 2As shown, the method of this embodiment may specifically include:

[0111] S210: Acquire first interaction data corresponding to the interaction initiator, and cache the first interaction data.

[0112] S220: Send the first interactive data to the interactive receiving end, and obtain second interactive data generated by the interactive receiving end and corresponding to the first interactive data.

[0113] S230: Based on the first progress identifier and the second progress identifier, progress match the cached first interaction data with the second interaction data.

[0114] In this embodiment, after obtaining the second interaction data generated by the interaction receiving end and corresponding to the first interaction data, the cached first interaction data can be obtained, so that progress matching can be performed on the cached first interaction data and the second interaction data.

[0115] In actual applications, you can first obtain a first progress identifier corresponding to the cached first interactive data and a second progress identifier corresponding to the acquired second interactive data. Based on the first progress identifier, you can determine the display order of each frame of the first interactive data. At the same time, based on the second progress identifier, you can determine the display order of each frame of the second interactive data. Furthermore, you can match the progress of the cached first interactive data with the second interactive data based on the first progress identifier, the second progress identifier, and a pre-constructed identifier mapping relationship.

[0116] It should be noted that when progress matching is performed on the cached first interaction data and the second interaction data, matching can be performed based on user needs or default matching rules. Optionally, it can include displaying the same progress, displaying a delayed progress, or displaying an advanced progress, etc. The progress matching process between the cached first interaction data and the second interaction data will be described below using the same display progress as an example.

[0117] Optionally, based on the first progress identifier and the second progress identifier, the cached first interaction data and the second interaction data are progress matched, including: based on the first progress identifier and the second progress identifier, determining the first interaction data having the same display progress as the second interaction data from the cached first interaction data, and using the determined first interaction data as the first interaction data that matches the second interaction data.

[0118] In actual applications, while sending the first interactive data to the interactive receiving end, the interactive initiating end will display the acquired first interactive data. Then, when acquiring the second interactive data corresponding to the first interactive data generated by the interactive receiving end, the first interactive data currently displayed by the interactive initiating end will be ahead of the second interactive data. Therefore, the first interactive data whose display progress is the same as the second interactive data can be determined from the cached first interactive data. Specifically, first, while receiving the second interactive data, the first progress identifier corresponding to the cached first interactive data and the second progress identifier corresponding to the received second interactive data can be acquired. Furthermore, according to the second progress identifier and the pre-constructed identifier mapping relationship, the first progress identifier matching the second progress identifier is determined from the multiple acquired first progress identifiers, and the first interactive data corresponding to the first progress identifier is used as the first interactive data whose display progress is the same as the second interactive data, so that the first interactive data can be used as the first interactive data matching the second interactive data. The advantage of this setting is that it achieves the effect of synchronizing the display progress of the first interactive data in the target interactive data with the display progress of the second interactive data, so that the display progress of the interactive resources displayed in the display interface corresponding to the interactive viewing end, the display progress of the corresponding data in the display interface corresponding to the interactive initiating end, and the display progress of the corresponding data in the display interface corresponding to the interactive receiving end are all at the same display progress, thereby improving the display effect of the interactive viewing end.

[0119] S240, generating target interaction data corresponding to the interaction initiating end based on the matched first interaction data and the second interaction data, and sending the target interaction data to the interaction viewing end corresponding to the interaction initiating end.

[0120] In actual applications, after determining the first interactive data that matches the second interactive data, the matched first interactive data and the second interactive data can be merged, and the merged data can be used as the target interactive data corresponding to the interaction initiating end. Then, the target interactive data can be sent to the interactive viewing end corresponding to the interaction initiating end, so that the display interface corresponding to the interactive viewing end can display the received target interactive data.

[0121] The technical solution of the disclosed embodiment obtains first interactive data corresponding to an interactive initiating end and caches the first interactive data, then sends the first interactive data to an interactive receiving end, and obtains second interactive data generated by the interactive receiving end and corresponding to the first interactive data. Furthermore, based on a first progress identifier and a second progress identifier, the cached first interactive data and the second interactive data are progress matched. Finally, based on the matched first interactive data and the second interactive data, target interactive data corresponding to the interactive initiating end is generated, and the target interactive data is sent to an interactive viewing end corresponding to the interactive initiating end. This solves the problem in the prior art that the display progress of interactive resources in the viewing data received by the viewing end is out of sync with the display progress of feedback data, resulting in poor display effect of the display interface of the viewing end, and achieves a matching effect between the display progress of the first interactive data and the display progress of the second interactive data in the target interactive data, thereby improving the display effect of the interactive viewing end and enhancing the user experience of the interactive initiating end, the interactive receiving end and the interactive viewing end for the application software.

[0122] Figure 3 A flow chart of a data interaction method provided in an embodiment of the present disclosure is applicable to situations where network communication is established and data is transmitted between an interaction initiator and an interaction receiver. The method can be applied to an interaction receiver and can be executed by a data interaction device, which can be implemented in the form of software and / or hardware, and optionally, by an electronic device, which can be a mobile terminal, a PC, a server, etc.

[0123] like Figure 3 As shown, the method of this embodiment may specifically include:

[0124] S310: Receive first interaction data sent by an interaction initiator, and generate second interaction data corresponding to the first interaction data.

[0125] The first interactive data carries a first progress indicator, and the second interactive data carries a second progress indicator corresponding to the first progress indicator.

[0126] In actual applications, when an interactive relationship has been established between an interaction initiator and an interaction receiver, first interactive data sent by the interaction initiator is received, and then the received first interactive data is processed based on the interaction receiver to generate second interactive data corresponding to the first interactive data. Specifically, when the first interactive data is received, feedback data corresponding to the interactive resource can be determined based on the interactive resource included in the first interactive data. At the same time, each determined frame of feedback data can be marked in turn according to the first progress identifier carried in the first interactive data and a pre-constructed identifier mapping relationship to obtain a second progress identifier corresponding to each frame of feedback data. Then, the feedback data and the corresponding second progress identifier can be used as the second interactive data corresponding to the first interactive data.

[0127] In practical applications, when this embodiment is applied to a live broadcast chorus scene, the interactive sending end and the interactive receiving end are two live broadcast rooms that have established a connection relationship, the interactive initiating end is the first live broadcast room, and the interactive receiving end is the second live broadcast room. The first interactive data may be the audio data of the first live broadcast room. The second interactive data may be the audio data of the second live broadcast room. Accordingly, generating the second interactive data corresponding to the first interactive data includes: obtaining a timestamp indicating the acquisition time of the first interactive data as a first progress identifier corresponding to the audio data of the first live broadcast room; adding the first progress identifier as the second progress identifier to the audio data of the second live broadcast room to obtain the second interactive data.

[0128] In a specific implementation, in order to achieve the effect of synchronously singing the music accompaniment data in the first live broadcast room and the second live broadcast room, the second interactive identifier of the second interactive data can be determined according to the first progress identifier of the first interactive data. When the audio data of the first live broadcast room sent by the first live broadcast room is received, the timestamp indicating the acquisition time of the first interactive data can be first obtained. Then, the timestamp of each frame of the first interactive data can be used as the first progress identifier corresponding to the audio data of the first live broadcast room. Furthermore, after obtaining the first progress identifier of the first interactive data, in order to achieve the effect of synchronously singing the music accompaniment data in the first live broadcast room and the second live broadcast room, the first progress identifier can be used as the second progress identifier, and the second progress can be added to the audio data of the second live broadcast room. Thus, the audio data to which the second progress identifier has been added can be used as the second interactive data.

[0129] S320, transmitting the second interactive data to the interactive initiating end, so that the interactive initiating end determines the target interactive data corresponding to the interactive initiating end based on the cached first interactive data, the first progress identifier, the second interactive data, and the second progress identifier, and sends the target interactive data to the interactive viewing end corresponding to the interactive initiating end.

[0130] In actual applications, after determining the second interactive data corresponding to the first interactive data, the second interactive data can be transmitted to the interaction initiating end, so that when the interaction initiating end receives the second interactive data, it can obtain the cached first interactive data. Then, the interaction initiating end can match the progress of the cached first interactive data with the second interactive data based on the first progress identifier carried by the dynamic sharing data and the second progress identifier carried by the second interactive data. Furthermore, based on the matched first interactive data and the second interactive data, it can generate target interactive data corresponding to the interaction initiating end, and send the target interactive data to the interactive viewing end corresponding to the interaction initiating end, so that the interactive viewing end can display the received target interactive data based on the corresponding display interface.

[0131] The technical solution of the disclosed embodiment generates second interactive data corresponding to the first interactive data by receiving first interactive data sent by an interactive initiator, and further transmits the second interactive data to the interactive initiator, so that the interactive initiator determines the target interactive data corresponding to the interactive initiator based on the cached first interactive data, the first progress identifier, the second interactive data and the second progress identifier, and sends the target interactive data to the interactive viewing terminal corresponding to the interactive initiator, thereby solving the problems existing in the prior art that the display progress of the interactive resources in the viewing data received by the viewing terminal is out of sync with the display progress of the feedback data, resulting in poor display effect of the display interface of the viewing terminal, and realizes the effect of matching the display progress of the first interactive data in the target interactive data with the display progress of the second interactive data, thereby improving the display effect of the interactive viewing terminal and enhancing the user experience of the interactive initiator, the interactive receiving terminal and the interactive viewing terminal for the application software.

[0132] Figure 4 A flow chart of a data interaction method provided by an embodiment of the present disclosure. The technical solution of this embodiment is based on the above-mentioned embodiment, obtains interactive participation data corresponding to the first interactive data, and determines the second progress identifier based on the first progress identifier, so as to generate the second interactive data corresponding to the first interactive data based on the interactive participation data and the second progress identifier. For the specific implementation method, please refer to the description of this embodiment. Among them, the technical features that are the same or similar to the above-mentioned embodiments are not repeated here.

[0133] like Figure 4 As shown, the method of this embodiment may specifically include:

[0134] S410: Receive first interaction data sent by an interaction initiating end, and obtain interaction participation data generated by an interaction receiving end and corresponding to the first interaction data.

[0135] In this embodiment, the interactive participation data may be feedback data that does not carry a progress indicator and corresponds to the first interactive data. The interactive participation data may be data that provides feedback on the interactive resources included in the first interactive data. Exemplarily, if the interactive resources included in the first interactive data are music accompaniment data, the interactive participation data may be a sing-along video of the music accompaniment data collected by the interactive receiving end.

[0136] In actual applications, when an interactive relationship has been established between an interactive receiving end and an interactive initiating end, the interactive receiving end receives the first interactive data sent by the interactive initiating end, and displays the interactive resources included in the first interactive data, so as to determine the feedback data on the interactive resources collected by the interactive receiving end during the display of the interactive resources, and use the feedback data as the interactive participation data corresponding to the first interactive data.

[0137] Exemplarily, the interactive resource included in the first interactive data is music accompaniment data, and the interactive participation data is a sing-along video of the music accompaniment data collected by the interactive receiving end. Then, when the interactive receiving end receives the first interactive data, the music accompaniment data included in the first interactive data can be displayed based on the interactive receiving end. At the same time, a singing-along video of the user to the displayed music accompaniment data can be collected based on a camera device provided in the interactive receiving end. Furthermore, the collected singing-along video of the user to the music accompaniment data can be used as the interactive participation data corresponding to the first interactive data.

[0138] S420: Determine a second progress identifier corresponding to the interactive participation data based on the first progress identifier corresponding to the first interactive data, and use the interactive participation data and the second progress identifier as second interactive data corresponding to the first interactive data.

[0139] In this embodiment, after the interactive participation data corresponding to the first interactive data is obtained, each frame of the interactive participation data may be marked to obtain a second progress mark corresponding to the interactive participation data.

[0140] In practical applications, when marking the interactive participation data, a first progress identifier corresponding to the first interactive data may be obtained, so as to determine a second progress identifier corresponding to the interactive participation data based on the first progress identifier corresponding to the first interactive data.

[0141] Optionally, determining a second progress identifier corresponding to the interactive participation data based on a first progress identifier corresponding to the first interactive data includes: acquiring the first progress identifier corresponding to the first interactive data, and using the first progress identifier as the second progress identifier corresponding to the interactive participation data.

[0142] In a specific implementation, when the interactive participation data is obtained, the first progress identifier carried in the first interactive data can be obtained, and then the first progress identifier can be used as the second progress identifier corresponding to the interactive participation data, so that the interactive participation data and the second progress identifier can be used as the second interactive data corresponding to the first interactive data. The advantage of this setting is that a progress association relationship between the first interactive data and the second interactive data can be established based on the first progress identifier and the second progress identifier, thereby enhancing the association between the first interactive data and the second interactive data and laying the foundation for the subsequent data merging process.

[0143] It should be noted that when determining the second progress identifier corresponding to the interactive participation data, it is also possible to determine the progress identifier corresponding to the first progress identifier based on a pre-constructed identifier mapping relationship after obtaining the first progress identifier carried in the first interactive data, and then, the determined progress identifier can be used as the second progress identifier corresponding to the interactive participation data.

[0144] S430, transmitting the second interactive data to the interactive initiating end, so that the interactive initiating end determines the target interactive data corresponding to the interactive initiating end based on the cached first interactive data, the first progress identifier, the second interactive data, and the second progress identifier, and sends the target interactive data to the interactive viewing end corresponding to the interactive initiating end.

[0145] The technical solution of the disclosed embodiment receives first interactive data sent by an interactive initiating end, obtains interactive participation data corresponding to the first interactive data generated by an interactive receiving end, further determines a second progress identifier corresponding to the interactive participation data based on a first progress identifier corresponding to the first interactive data, uses the interactive participation data and the second progress identifier as second interactive data corresponding to the first interactive data, and finally transmits the second interactive data to the interactive initiating end, so that the interactive initiating end determines target interactive data corresponding to the interactive initiating end based on the cached first interactive data, the first progress identifier, the second interactive data, and the second progress identifier, and sends the target interactive data to the interactive viewing end corresponding to the interactive initiating end, thereby solving the problems existing in the prior art that the display progress of interactive resources in the viewing data received by the viewing end is not synchronized with the display progress of feedback data, resulting in poor display effect of the display interface of the viewing end, and realizes the effect of matching the display progress of the first interactive data in the target interactive data with the display progress of the second interactive data, thereby improving the display effect of the interactive viewing end, and enhancing the user experience of the interactive initiating end, the interactive receiving end, and the interactive viewing end for the application software.

[0146] Figure 5A flow chart of a data interaction method provided by an embodiment of the present disclosure. The technical solution of this embodiment is based on the above embodiment, and the first interactive data includes interactive resources and text acquisition information corresponding to the interactive resources, so as to acquire target text information corresponding to the interactive resources based on the text acquisition information, and associate the target text information with the interactive resources for display. For specific implementation methods, please refer to the description of this embodiment. Among them, the technical features that are the same or similar to the above embodiments are not repeated here.

[0147] like Figure 5 As shown, the method of this embodiment may specifically include:

[0148] S510: Receive first interaction data sent by an interaction initiator, and generate second interaction data corresponding to the first interaction data.

[0149] S520, transmitting the second interactive data to the interactive initiating end, so that the interactive initiating end determines the target interactive data corresponding to the interactive initiating end based on the cached first interactive data, the first progress identifier, the second interactive data, and the second progress identifier, and sends the target interactive data to the interactive viewing end corresponding to the interactive initiating end.

[0150] S530: Acquire target text information corresponding to the interactive resource included in the first interactive data based on the text acquisition information, and associate the target text information with the interactive resource for display.

[0151] In this embodiment, the text acquisition information may be information representing the corresponding text acquisition method. Optionally, the text acquisition information may include at least one of a text storage path, a text acquisition path, and a text acquisition method. The target text information may be information representing the corresponding resource in text form. Exemplarily, if the interactive resource is music accompaniment data, the target text information may be lyrics corresponding to the music accompaniment data.

[0152] In this embodiment, a text information acquisition control can be developed in advance and set in a display interface corresponding to the interactive resources included in the second interactive data and the first interactive data. During the display of the interactive resources and the corresponding second interactive data based on the interactive receiving end, if the user's triggering operation on the text information acquisition control is detected, the text acquisition information corresponding to the interactive resources included in the first interactive data can be obtained.

[0153] In actual applications, for the interactive receiving end, while generating the second interactive data corresponding to the first interactive data, the second interactive data and the interactive resources included in the first interactive data can also be simultaneously displayed in the display interface corresponding to the interactive receiving end. During the display process, when the user's text acquisition operation for the target text information corresponding to the interactive resource is detected, the text acquisition information corresponding to the interactive resource included in the first interactive data can be obtained. Furthermore, the target text information corresponding to the interactive resource included in the first interactive data can be obtained based on the text acquisition information, and then the acquired target text information can be associated with the interactive resource and displayed.

[0154] It should be noted that the text acquisition operation for the target text information corresponding to the interactive resource can be responded to while the interactive resource is displayed on the interactive receiving end, that is, when the interactive resource is displayed on the interactive receiving end, the target text information corresponding to the interactive resource can be acquired based on the text acquisition information, and the target text information can be associated with the interactive resource for display; or, the text acquisition operation for the interactive resource can be responded to during the process of the interactive resource being displayed on the interactive receiving end, that is, when the user's text acquisition operation for the target text information corresponding to the interactive resource is detected during the process of the interactive resource being displayed on the interactive receiving end, the operation can be responded to, the target text information corresponding to the interactive resource can be acquired based on the text acquisition information, and the target text information can be associated with the interactive resource for display. At this time, when performing the associated display, the current display progress of the interactive resource based on the interactive receiving end can be determined first, so as to perform a positioning query in the target text information based on the display progress, so that the queried target text information can be associated with the interactive resource currently displayed by the interactive receiving end for display.

[0155] In actual applications, when this embodiment is applied to a live chorus scene, the interactive resource includes music accompaniment data; the text acquisition information includes a lyrics storage path; and the target text information includes lyrics information. Accordingly, the target text information corresponding to the interactive resource included in the first interactive data is acquired based on the text acquisition information, and the target text information is associated with the interactive resource for display, including: accessing the target storage space based on the lyrics storage path to acquire the lyrics information corresponding to the music accompaniment data included in the first interactive data from the target storage space; synchronizing the progress of the lyrics information with the music accompaniment data, and displaying the synchronized lyrics information in conjunction with the music accompaniment data.

[0156] In this embodiment, the lyrics storage path may be a path representing a lyrics storage location. The target storage space may be a space for storing lyrics information corresponding to the music accompaniment data.

[0157] In actual applications, when a user's text acquisition operation for the target text information corresponding to the interactive resource is detected, the lyrics storage path corresponding to the music accompaniment data can be determined first. Afterwards, the target storage space storing the lyrics information can be accessed according to the determined lyrics storage path. Afterwards, when the first interactive data is determined, the identifier corresponding to the music accompaniment data included in the first interactive data can be determined. Then, the lyrics information corresponding to the identifier can be retrieved from the target storage space according to the identifier. Further, the playback progress of the music accompaniment data in the first interactive data can be determined, so as to perform a positioning query in the retrieved lyrics information based on the playback progress. Then, the lyrics information is synchronized with the progress of the music accompaniment data according to the positioning query result. Thus, the synchronized lyrics information and the music accompaniment data can be displayed in a linked manner.

[0158] The technical solution of the disclosed embodiment generates second interactive data corresponding to the first interactive data by receiving first interactive data sent by an interactive initiator, and further transmits the second interactive data to the interactive initiator, so that the interactive initiator determines the target interactive data corresponding to the interactive initiator based on the cached first interactive data, the first progress identifier, the second interactive data and the second progress identifier, and sends the target interactive data to the interactive viewing terminal corresponding to the interactive initiator, obtains the target text information corresponding to the interactive resource included in the first interactive data based on the text acquisition information, associates the target text information with the interactive resource and displays it, thereby achieving the effect of matching the display progress of the first interactive data and the display progress of the second interactive data in the target interactive data, and achieving the effect of synchronous display of the target text information and the interactive resource, thereby improving the display effect of the interactive viewing terminal, and enhancing the user experience of the interactive initiator, the interactive receiving terminal and the interactive viewing terminal for the application software.

[0159] Figure 6 The flowchart of a data interaction method provided by the embodiment of the present disclosure is as follows. The present disclosure embodiment is an optional embodiment of the above-mentioned disclosure embodiments, and the data interaction method between the interaction initiator and the interaction receiver can be described by taking the scene of chorus between two live broadcast rooms as an example. Figure 6 As shown, the method of the embodiment of the present disclosure may include the following steps:

[0160] 1. When live broadcast room A and live broadcast room B have established a chorus interactive relationship, at time T1, the first interactive data corresponding to live broadcast room A is obtained (i.e. Figure 6 The first interactive data is sent to the live broadcast room B through the server, and at the same time, the video data corresponding to the live broadcast room A is obtained, and the first interactive data and the video data are cached (i.e. Figure 6The first interactive data may include the audio data collected by the live broadcast room A and the corresponding first progress mark TS (i.e. Figure 6 AudioA) and interactive resources (i.e. Figure 6 In order to intuitively understand the performance of live broadcast room A for interactive resources, enrich the display effect of the live broadcast room in the display interface. The first interactive data includes the audio data collected by live broadcast room A and the corresponding first progress mark TS (i.e. Figure 6 In addition to the AudioA in the video and interactive resources, it can also include the video data corresponding to the live broadcast room A that has been obtained;

[0161] 2. For live broadcast room B, when receiving the first interactive data, the second interactive data corresponding to the first interactive data can be generated (i.e. Figure 6 B), and feeds back the second interactive data to the live broadcast room B through the server, wherein the second interactive data may include the audio data collected by the live broadcast room B and the corresponding second progress mark, and the second progress mark may be the first progress mark obtained from AudioA; when the first interactive data includes the acquired video data corresponding to the live broadcast room A, the second interactive data may also include the video data corresponding to the live broadcast room B. The advantage of this setting is that it can more intuitively understand the chorus situation of the live broadcast room A and the live broadcast room B for the interactive resources, thereby improving the chorus display effect of the live broadcast room;

[0162] 3. For live broadcast room A, at time T2, the second interactive data corresponding to the first interactive data obtained at time T1 is received, and based on the second progress indicator included in data B, the cached first interactive data and video data are backtracked (i.e. Figure 6 TS search in ), such as Figure 6 As shown, data a, data b, data c, data d, data e, data f, data g, and data h are all cached audio data frames, and data 1, data 2, data 3, data 4, data 5, data 6, data 7, and data 8 are all cached video data frames;

[0163] 4. Based on the second progress indicator included in data B, determine the audio data frame corresponding to time T1 from the cached audio data sequence as data e, and at the same time, determine the video data frame corresponding to time T1 from the cached video data sequence as data 5;

[0164] 5. Combine data e, data 5 and data B to obtain the target interactive data corresponding to live broadcast room A (i.e. Figure 6The real-time messaging protocol (RTMP) is used to transmit the data frame sequence of data e, data 5 and data B. , RTMP ) Or the CDN interface sends the target interactive data to the audience end corresponding to the live broadcast room A;

[0165] 5. For live broadcast room A, the data that can be viewed by live broadcast room A in the display interface can be determined based on the time when live broadcast room A receives the second interactive data (i.e., time T2). At time T2, the audio data frame corresponding to time T2 is determined from the cached audio data sequence as data h, and at the same time, the video data frame corresponding to time T2 is determined from the cached video data sequence as data 8;

[0166] 6. For live broadcast room A, data h, data 8 and data B are merged to obtain the target preview data corresponding to live broadcast room A (i.e. Figure 6 The data frame sequence includes data h, data 8 and data B), and the live broadcast room A displays the target preview data;

[0167] 7. For live broadcast room B, when generating the second interactive data corresponding to the first interactive data, the video data corresponding to live broadcast room B can be obtained (i.e. Figure 6 Data in V);

[0168] 8. For live broadcast room B, data A, data B and data V are merged to obtain the viewing data corresponding to live broadcast room B (i.e. Figure 6 The viewing data is sent to the audience end corresponding to the live broadcast room B by calling the RTMP interface or the CDN interface. At the same time, the display interface displayed by the device end to which the live broadcast room B belongs also displays the generated viewing data.

[0169] The technical solution of the disclosed embodiment, by acquiring the first interactive data corresponding to the interactive initiating end and caching the first interactive data, can cache the first interactive data locally while determining the first interactive data, providing a data basis for subsequent data processing; further, the first interactive data is sent to the interactive receiving end, and the second interactive data corresponding to the first interactive data generated by the interactive receiving end is acquired, so that data interaction between the interactive initiating end and the interactive receiving end can be realized, and the correlation between the second interactive data and the first interactive data is guaranteed; finally, based on the cached first interactive data, the first progress identifier, the second interactive data, and the second progress identifier, the target interactive data corresponding to the interactive initiating end is determined, and the target interactive data is sent to the interactive viewing end corresponding to the interactive initiating end, so as to solve the problems existing in the prior art that the display progress of the interactive resources in the viewing data received by the viewing end is not synchronized with the display progress of the feedback data, resulting in poor display effect of the display interface of the viewing end, and realize the effect of matching the display progress of the first interactive data in the target interactive data with the display progress of the second interactive data, thereby improving the display effect of the interactive viewing end, and improving the user experience of the interactive initiating end, the interactive receiving end, and the interactive viewing end for the application software.

[0170] Figure 7 A schematic diagram of a data interaction device provided by an embodiment of the present disclosure is shown in FIG. Figure 7 As shown, the device includes: a first interaction data acquisition module 610, a first interaction data sending module 620 and a viewing data determination module 630.

[0171] Among them, the first interactive data acquisition module 610 is used to obtain the first interactive data corresponding to the interactive initiator and cache the first interactive data, wherein the first interactive data includes a first progress identifier corresponding to the first interactive data; the first interactive data sending module 620 is used to send the first interactive data to the interactive receiving end, and obtain the second interactive data corresponding to the first interactive data generated by the interactive receiving end, wherein the second interactive data includes a second progress identifier corresponding to the first progress identifier; the viewing data determination module 630 is used to determine the target interactive data corresponding to the interactive initiator based on the cached first interactive data, the first progress identifier, the second interactive data and the second progress identifier, and send the target interactive data to the interactive viewing end corresponding to the interactive initiator.

[0172] On the basis of the above technical solutions, the first interactive data acquisition module 610 is specifically used to acquire the data to be shared displayed by the interaction initiator, determine the first progress identifier corresponding to the data to be shared, and use the data to be shared and the first progress identifier as the first interactive data corresponding to the interaction initiator.

[0173] On the basis of the above technical solutions, the first interactive data acquisition module 610 includes: an interactive receiving end determination unit and a first interactive data acquisition unit.

[0174] An interaction receiving end determining unit, configured to respond to a data interaction request initiated by an interaction initiating end and determine an interaction receiving end corresponding to the interaction initiating end based on response data corresponding to the data interaction request;

[0175] The first interaction data acquisition unit is used to acquire first interaction data of the interaction initiating end when the interaction initiating end and the interaction receiving end have established an interaction relationship.

[0176] On the basis of the above technical solutions, the viewing data determination module 630 includes: a progress matching unit and a viewing data determination unit.

[0177] a progress matching unit, configured to perform progress matching between the cached first interaction data and the second interaction data based on the first progress identifier and the second progress identifier;

[0178] A viewing data determination unit is used to generate target interaction data corresponding to the interaction initiator based on the matched first interaction data and the second interaction data.

[0179] Based on the above technical solutions, the progress matching unit is specifically used to determine the first interactive data having the same display progress as the second interactive data from the cached first interactive data based on the first progress identifier and the second progress identifier, and use the determined first interactive data as the first interactive data that matches the second interactive data.

[0180] Based on the above technical solutions, the first progress indicator is associated with the data acquisition time corresponding to the first interactive data.

[0181] On the basis of the above technical solutions, the first interactive data includes interactive resources, and the interactive resources include multimedia resources.

[0182] On the basis of the above technical solutions, the interaction initiator is the first live broadcast room, the interaction receiver is the second live broadcast room, and the interaction resource is music accompaniment data;

[0183] Correspondingly, the first interactive data acquisition module 610 is specifically used to acquire the audio data of the first live broadcast room as the first interactive data, and add a timestamp to the first interactive data based on the collection time of the first interactive data, and use the timestamp as the first identification data, wherein the audio data includes the audio data collected in the first live broadcast room and the music accompaniment data.

[0184] The technical solution of the disclosed embodiment, by acquiring the first interactive data corresponding to the interactive initiating end and caching the first interactive data, can cache the first interactive data locally while determining the first interactive data, providing a data basis for subsequent data processing; further, the first interactive data is sent to the interactive receiving end, and the second interactive data corresponding to the first interactive data generated by the interactive receiving end is acquired, so that data interaction between the interactive initiating end and the interactive receiving end can be realized, and the correlation between the second interactive data and the first interactive data is guaranteed; finally, based on the cached first interactive data, the first progress identifier, the second interactive data, and the second progress identifier, the target interactive data corresponding to the interactive initiating end is determined, and the target interactive data is sent to the interactive viewing end corresponding to the interactive initiating end, so as to solve the problems existing in the prior art that the display progress of the interactive resources in the viewing data received by the viewing end is not synchronized with the display progress of the feedback data, resulting in poor display effect of the display interface of the viewing end, and realize the effect of matching the display progress of the first interactive data in the target interactive data with the display progress of the second interactive data, thereby improving the display effect of the interactive viewing end, and improving the user experience of the interactive initiating end, the interactive receiving end, and the interactive viewing end for the application software.

[0185] The data interaction device provided in the embodiments of the present disclosure can execute the data interaction method provided in any embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects of the execution method.

[0186] It is worth noting that the various units and modules included in the above-mentioned device are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the embodiments of the present disclosure.

[0187] Figure 8 A schematic diagram of a data interaction device provided by an embodiment of the present disclosure is shown in FIG. Figure 8 As shown, the device includes: a first interactive data receiving module 710 and a second interactive data transmitting module 720.

[0188] Among them, the first interactive data receiving module 710 is used to receive the first interactive data sent by the interactive initiator, and generate second interactive data corresponding to the first interactive data, wherein the first interactive data carries a first progress identifier, and the second interactive data carries a second progress identifier corresponding to the first progress identifier; the second interactive data transmission module 720 is used to transmit the second interactive data to the interactive initiator, so that the interactive initiator determines the target interactive data corresponding to the interactive initiator based on the cached first interactive data, the first progress identifier, the second interactive data and the second progress identifier, and sends the target interactive data to the interactive viewing end corresponding to the interactive initiator.

[0189] On the basis of the above technical solutions, the first interactive data receiving module 710 includes: an interactive participation data acquiring unit and a second interactive data generating unit.

[0190] An interactive participation data acquisition unit, configured to acquire interactive participation data generated by the interactive receiving terminal and corresponding to the first interactive data;

[0191] The second interaction data generating unit is used to determine a second progress identifier corresponding to the interaction participation data based on the first progress identifier corresponding to the first interaction data, and use the interaction participation data and the second progress identifier as the second interaction data corresponding to the first interaction data.

[0192] On the basis of the above technical solutions, the second interactive data generating unit is specifically configured to obtain a first progress identifier corresponding to the first interactive data, and use the first progress identifier as a second progress identifier corresponding to the interactive participation data.

[0193] On the basis of the above technical solutions, the interaction initiator is the first live broadcast room, and the interaction receiver is the second live broadcast room; the first interaction data is the audio data of the first live broadcast room; and the interaction participation data is the audio data of the second live broadcast room;

[0194] Correspondingly, the second interactive data generating unit includes: a first progress indicator determining subunit and a second interactive data determining subunit.

[0195] A first progress indicator determination subunit is used to obtain a timestamp indicating a time when the first interactive data was collected as a first progress indicator corresponding to the audio data of the first live broadcast room;

[0196] The second interactive data determination subunit is used to add the first progress identifier as the second progress identifier to the audio data of the second live broadcast room to obtain second interactive data.

[0197] Based on the above technical solutions, the first interactive data includes the interactive resource and text acquisition information corresponding to the interactive resource;

[0198] The device also includes: a target text information acquisition module.

[0199] The target text information acquisition module is used to acquire the target text information corresponding to the interactive resource and included in the first interactive data based on the text acquisition information, and associate the target text information with the interactive resource for display.

[0200] On the basis of the above technical solutions, the interactive resource includes music accompaniment data, the text acquisition information includes lyrics storage path, and the target text information includes lyrics information;

[0201] Correspondingly, the target text information acquisition module includes: a lyrics information acquisition unit and a linkage display unit.

[0202] a lyrics information acquisition unit, configured to access a target storage space based on the lyrics storage path, so as to acquire lyrics information corresponding to the music accompaniment data included in the first interactive data from the target storage space;

[0203] The linkage display unit is used to synchronize the progress of the lyrics information with the music accompaniment data, and to display the synchronized lyrics information and the music accompaniment data in a linkage manner.

[0204] The technical solution of the disclosed embodiment, by acquiring the first interactive data corresponding to the interactive initiating end and caching the first interactive data, can cache the first interactive data locally while determining the first interactive data, providing a data basis for subsequent data processing; further, the first interactive data is sent to the interactive receiving end, and the second interactive data corresponding to the first interactive data generated by the interactive receiving end is acquired, so that data interaction between the interactive initiating end and the interactive receiving end can be realized, and the correlation between the second interactive data and the first interactive data is guaranteed; finally, based on the cached first interactive data, the first progress identifier, the second interactive data, and the second progress identifier, the target interactive data corresponding to the interactive initiating end is determined, and the target interactive data is sent to the interactive viewing end corresponding to the interactive initiating end, so as to solve the problems existing in the prior art that the display progress of the interactive resources in the viewing data received by the viewing end is not synchronized with the display progress of the feedback data, resulting in poor display effect of the display interface of the viewing end, and realize the effect of matching the display progress of the first interactive data in the target interactive data with the display progress of the second interactive data, thereby improving the display effect of the interactive viewing end, and improving the user experience of the interactive initiating end, the interactive receiving end, and the interactive viewing end for the application software.

[0205] The data interaction device provided in the embodiments of the present disclosure can execute the data interaction method provided in any embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects of the execution method.

[0206] It is worth noting that the various units and modules included in the above-mentioned device are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the embodiments of the present disclosure.

[0207] Fig. 9 This is a schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure. Fig. 9 , which shows an electronic device (eg, Fig. 9 The terminal device in the embodiment of the present disclosure may include but is not limited to mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Fig. 9 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0208] like Fig. 9 As shown, the electronic device 800 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 801, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 802 or a program loaded from a storage device 808 into a random access memory (RAM) 803. In the RAM 803, various programs and data required for the operation of the electronic device 800 are also stored. The processing device 801, the ROM 802, and the RAM 803 are connected to each other via a bus 804. An edit / output (I / O) interface 805 is also connected to the bus 804.

[0209] Typically, the following devices may be connected to the I / O interface 805: input devices 806 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 807 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 808 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 809. The communication device 809 may allow the electronic device 800 to communicate with other devices wirelessly or by wire to exchange data. Although Fig. 9The electronic device 800 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.

[0210] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device 809, or installed from a storage device 808, or installed from a ROM 802. When the computer program is executed by the processing device 801, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.

[0211] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.

[0212] The electronic device provided by the embodiment of the present disclosure and the data interaction method provided by the above embodiment belong to the same inventive concept. The technical details not fully described in this embodiment can be referred to the above embodiment, and this embodiment has the same beneficial effects as the above embodiment.

[0213] The embodiments of the present disclosure provide a computer storage medium on which a computer program is stored. When the program is executed by a processor, the data interaction method provided in the above embodiments is implemented.

[0214] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0215] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.

[0216] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.

[0217] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device:

[0218] Acquire first interaction data corresponding to the interaction initiator, and cache the first interaction data, wherein the first interaction data includes a first progress indicator corresponding to the first interaction data;

[0219] sending the first interactive data to an interactive receiving end, and acquiring second interactive data generated by the interactive receiving end and corresponding to the first interactive data, wherein the second interactive data includes a second progress identifier corresponding to the first progress identifier;

[0220] Based on the cached first interaction data, the first progress identifier, the second interaction data and the second progress identifier, target interaction data corresponding to the interaction initiating end is determined, and the target interaction data is sent to the interaction viewing end corresponding to the interaction initiating end.

[0221] Alternatively, the computer-readable medium carries one or more programs, and when the one or more programs are executed by the electronic device, the electronic device:

[0222] receiving first interaction data sent by an interaction initiator, and generating second interaction data corresponding to the first interaction data, wherein the first interaction data includes a first progress indicator corresponding to the first interaction data, and the second interaction data includes a second progress indicator corresponding to the first progress indicator;

[0223] The second interactive data is transmitted to the interactive initiator, so that the interactive initiator determines the target interactive data corresponding to the interactive initiator based on the cached first interactive data, the first progress identifier, the second interactive data and the second progress identifier, and sends the target interactive data to the interactive viewing end corresponding to the interactive initiator.

[0224] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages ​​or a combination thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).

[0225] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0226] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware. The name of a unit does not limit the unit itself in some cases. For example, the first acquisition unit may also be described as a "unit for acquiring at least two Internet Protocol addresses".

[0227] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.

[0228] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0229] According to one or more embodiments of the present disclosure, [Example 1] provides a data interaction method, which is applied to an interaction initiator, including:

[0230] Acquire first interaction data corresponding to the interaction initiator, and cache the first interaction data, wherein the first interaction data includes a first progress indicator corresponding to the first interaction data;

[0231] sending the first interactive data to an interactive receiving end, and acquiring second interactive data generated by the interactive receiving end and corresponding to the first interactive data, wherein the second interactive data includes a second progress identifier corresponding to the first progress identifier;

[0232] Based on the cached first interaction data, the first progress identifier, the second interaction data and the second progress identifier, target interaction data corresponding to the interaction initiating end is determined, and the target interaction data is sent to the interaction viewing end corresponding to the interaction initiating end.

[0233] According to one or more embodiments of the present disclosure, [Example 2] provides the method of Example 1, further comprising:

[0234] Optionally, obtaining the first interaction data corresponding to the interaction initiator includes: obtaining the data to be shared displayed by the interaction initiator, determining a first progress identifier corresponding to the data to be shared, and using the data to be shared and the first progress identifier as the first interaction data corresponding to the interaction initiator.

[0235] According to one or more embodiments of the present disclosure, [Example 3] provides the method of Example 1, further comprising:

[0236] Optionally, obtaining the first interaction data of the interaction initiating end includes: responding to a data interaction request initiated by the interaction initiating end, determining the interaction receiving end corresponding to the interaction initiating end based on response data corresponding to the data interaction request; and obtaining the first interaction data of the interaction initiating end when the interaction initiating end and the interaction receiving end have established an interactive relationship.

[0237] According to one or more embodiments of the present disclosure, [Example 4] provides the method of Example 1, further comprising:

[0238] Optionally, determining the target interaction data corresponding to the interaction initiator based on the cached first interaction data, the first progress identifier, the second interaction data and the second progress identifier includes: performing progress matching on the cached first interaction data and the second interaction data based on the first progress identifier and the second progress identifier; and generating the target interaction data corresponding to the interaction initiator based on the matched first interaction data and the second interaction data.

[0239] According to one or more embodiments of the present disclosure, [Example 5] provides the method of Example 4, further comprising:

[0240] Optionally, the progress matching of the cached first interaction data and the second interaction data based on the first progress identifier and the second progress identifier includes: determining, from the cached first interaction data, the first interaction data having the same display progress as the second interaction data based on the first progress identifier and the second progress identifier, and using the determined first interaction data as the first interaction data that matches the second interaction data.

[0241] According to one or more embodiments of the present disclosure, [Example 6] provides the method of Example 1, further comprising:

[0242] Optionally, the first progress indicator is associated with a data acquisition time corresponding to the first interactive data.

[0243] According to one or more embodiments of the present disclosure, [Example 7] provides the method of Example 1, further comprising:

[0244] Optionally, the first interactive data includes interactive resources, and the interactive resources include multimedia resources.

[0245] According to one or more embodiments of the present disclosure, [Example 8] provides the method of Example 7, further comprising:

[0246] Optionally, the interaction initiator is a first live broadcast room, the interaction receiver is a second live broadcast room, and the interaction resource is music accompaniment data; obtaining the first interaction data corresponding to the interaction initiator includes: obtaining the audio data of the first live broadcast room as the first interaction data, and adding a timestamp to the first interaction data based on the collection time of the first interaction data, and using the timestamp as the first identification data, wherein the audio data includes the audio data collected in the first live broadcast room and the music accompaniment data.

[0247] According to one or more embodiments of the present disclosure, [Example 9] provides a data interaction method, which is applied to an interaction receiving end, including:

[0248] receiving first interaction data sent by an interaction initiator, and generating second interaction data corresponding to the first interaction data, wherein the first interaction data carries a first progress identifier, and the second interaction data carries a second progress identifier corresponding to the first progress identifier;

[0249] The second interactive data is transmitted to the interactive initiator, so that the interactive initiator determines the target interactive data corresponding to the interactive initiator based on the cached first interactive data, the first progress identifier, the second interactive data and the second progress identifier, and sends the target interactive data to the interactive viewing end corresponding to the interactive initiator.

[0250] According to one or more embodiments of the present disclosure, [Example 10] provides the method of Example 9, further including: optionally, the generating second interactive data corresponding to the first interactive data includes: obtaining interactive participation data corresponding to the first interactive data generated by the interactive receiving end; determining the second progress identifier corresponding to the interactive participation data based on the first progress identifier corresponding to the first interactive data, and using the interactive participation data and the second progress identifier as the second interactive data corresponding to the first interactive data.

[0251] According to one or more embodiments of the present disclosure, [Example 11] provides the method of Example 10, further comprising:

[0252] Optionally, determining a second progress identifier corresponding to the interactive participation data based on a first progress identifier corresponding to the first interactive data includes: acquiring a first progress identifier corresponding to the first interactive data, and using the first progress identifier as a second progress identifier corresponding to the interactive participation data.

[0253] According to one or more embodiments of the present disclosure, [Example 12] provides the method of Example 10, further comprising:

[0254] Optionally, the interaction initiator is the first live broadcast room, and the interaction receiver is the second live broadcast room; the first interaction data is the audio data of the first live broadcast room; the interaction participation data is the audio data of the second live broadcast room; and the generation of second interaction data corresponding to the first interaction data includes: obtaining a timestamp indicating the collection time of the first interaction data as a first progress identifier corresponding to the audio data of the first live broadcast room; adding the first progress identifier as the second progress identifier to the audio data of the second live broadcast room to obtain second interaction data.

[0255] According to one or more embodiments of the present disclosure, [Example 13] provides the method of Example 9, further comprising:

[0256] The first interactive data includes the interactive resource and text acquisition information corresponding to the interactive resource; the data interaction method also includes: acquiring target text information corresponding to the interactive resource included in the first interactive data based on the text acquisition information, and associating the target text information with the interactive resource for display.

[0257] According to one or more embodiments of the present disclosure, [Example 14] provides the method of Example 13, further comprising:

[0258] Optionally, the interactive resource includes music accompaniment data, the text acquisition information includes a lyrics storage path, and the target text information includes lyrics information; the target text information corresponding to the interactive resource included in the first interactive data is acquired based on the text acquisition information, and the target text information is displayed in association with the interactive resource, including: accessing a target storage space based on the lyrics storage path to acquire lyrics information corresponding to the music accompaniment data included in the first interactive data from the target storage space; synchronizing the lyrics information with the progress of the music accompaniment data, and displaying the synchronized lyrics information in conjunction with the music accompaniment data.

[0259] According to one or more embodiments of the present disclosure, [Example 15] provides a data interaction device, which is configured at an interaction initiating end and includes:

[0260] A first interaction data acquisition module, used to acquire first interaction data corresponding to the interaction initiator, and cache the first interaction data, wherein the first interaction data carries a first progress indicator;

[0261] a first interactive data sending module, configured to send the first interactive data to an interactive receiving end, and obtain second interactive data corresponding to the first interactive data generated by the interactive receiving end, wherein the second interactive data carries a second progress identifier corresponding to the first progress identifier;

[0262] A viewing data determination module is used to determine the target interaction data corresponding to the interaction initiating end based on the cached first interaction data, the first progress identifier, the second interaction data and the second progress identifier, and send the target interaction data to the interaction viewing end corresponding to the interaction initiating end.

[0263] According to one or more embodiments of the present disclosure, [Example 16] provides a data interaction device, which is configured at an interaction receiving end and includes:

[0264] A first interaction data receiving module, configured to receive first interaction data sent by an interaction initiator, and generate second interaction data corresponding to the first interaction data, wherein the first interaction data carries a first progress identifier, and the second interaction data carries a second progress identifier corresponding to the first progress identifier;

[0265] A second interactive data transmission module is used to transmit the second interactive data to the interactive initiating end, so that the interactive initiating end determines the target interactive data corresponding to the interactive initiating end based on the cached first interactive data, the first progress identifier, the second interactive data and the second progress identifier, and sends the target interactive data to the interactive viewing end corresponding to the interactive initiating end.

[0266] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.

[0267] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.

[0268] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.

Claims

1. A data interaction method, characterized in that: Applied to the interaction initiator, including: Acquire first interaction data corresponding to the interaction initiator, and cache the first interaction data, wherein the first interaction data carries a first progress indicator; Sending the first interactive data to an interactive receiving end, and acquiring second interactive data generated by the interactive receiving end and corresponding to the first interactive data, wherein the second interactive data carries a second progress identifier corresponding to the first progress identifier; Based on the cached first interaction data, the first progress identifier, the second interaction data and the second progress identifier, target interaction data corresponding to the interaction initiating end is determined, and the target interaction data is sent to the interaction viewing end corresponding to the interaction initiating end.

2. The data interaction method according to claim 1, characterized in that: The obtaining of first interaction data corresponding to the interaction initiator includes: The data to be shared displayed by the interaction initiator is obtained, and a first progress identifier corresponding to the data to be shared is determined, and the data to be shared and the first progress identifier are used as first interaction data corresponding to the interaction initiator.

3. The data interaction method according to claim 1, characterized in that: The obtaining of first interaction data corresponding to the interaction initiator includes: In response to a data interaction request initiated by an interaction initiating end, determining an interaction receiving end corresponding to the interaction initiating end based on response data corresponding to the data interaction request; In a case where the interaction initiating end and the interaction receiving end have established an interaction relationship, first interaction data corresponding to the interaction initiating end is obtained.

4. The data interaction method according to claim 1, characterized in that: The determining, based on the cached first interaction data, the first progress identifier, the second interaction data, and the second progress identifier, target interaction data corresponding to the interaction initiator includes: Based on the first progress identifier and the second progress identifier, progress matching is performed between the cached first interaction data and the second interaction data; Target interaction data corresponding to the interaction initiator is generated based on the matched first interaction data and the second interaction data.

5. The data interaction method according to claim 4, characterized in that: The performing progress matching of the cached first interaction data and the second interaction data based on the first progress identifier and the second progress identifier includes: Based on the first progress identifier and the second progress identifier, the first interaction data having the same display progress as the second interaction data is determined from the cached first interaction data, and the determined first interaction data is used as the first interaction data matching the second interaction data.

6. The data interaction method according to claim 1, characterized in that: The first progress indicator is associated with a data acquisition time corresponding to the first interactive data.

7. The data interaction method according to claim 1, characterized in that: The first interactive data includes interactive resources, and the interactive resources include multimedia resources.

8. The data interaction method according to claim 7, characterized in that: The interaction initiator is a first live broadcast room, the interaction receiver is a second live broadcast room, and the interaction resource is music accompaniment data; The obtaining of first interaction data corresponding to the interaction initiator includes: The audio data of the first live broadcast room is obtained as the first interactive data, and a timestamp is added to the first interactive data based on the collection time of the first interactive data, and the timestamp is used as the first identification data, wherein the audio data includes the audio data collected in the first live broadcast room and the music accompaniment data.

9. A data interaction method, characterized in that: Applied to the interactive receiving end, including: receiving first interaction data sent by an interaction initiator, and generating second interaction data corresponding to the first interaction data, wherein the first interaction data carries a first progress identifier, and the second interaction data carries a second progress identifier corresponding to the first progress identifier; The second interactive data is transmitted to the interactive initiator, so that the interactive initiator determines the target interactive data corresponding to the interactive initiator based on the cached first interactive data, the first progress identifier, the second interactive data and the second progress identifier, and sends the target interactive data to the interactive viewing end corresponding to the interactive initiator.

10. The data interaction method according to claim 9, characterized in that: The generating second interaction data corresponding to the first interaction data includes: Acquire interactive participation data generated by the interactive receiving end and corresponding to the first interactive data; A second progress identifier corresponding to the interactive participation data is determined based on a first progress identifier corresponding to the first interactive data, and the interactive participation data and the second progress identifier are used as second interactive data corresponding to the first interactive data.

11. The data interaction method according to claim 10, characterized in that: The determining, based on the first progress indicator corresponding to the first interactive data, a second progress indicator corresponding to the interactive participation data includes: A first progress identifier corresponding to the first interactive data is obtained, and the first progress identifier is used as a second progress identifier corresponding to the interactive participation data.

12. The data interaction method according to claim 10, characterized in that: The interaction initiator is the first live broadcast room, and the interaction receiver is the second live broadcast room; the first interaction data is the audio data of the first live broadcast room; The interactive participation data is audio data of the second live broadcast room; The generating second interaction data corresponding to the first interaction data includes: Acquire a timestamp indicating a collection time of the first interactive data as a first progress indicator corresponding to the audio data of the first live broadcast room; The first progress identifier is added as a second progress identifier to the audio data of the second live broadcast room to obtain second interaction data.

13. The data interaction method according to claim 9, characterized in that: The first interactive data includes interactive resources and text acquisition information corresponding to the interactive resources; The data interaction method further includes: Target text information corresponding to the interactive resource included in the first interactive data is acquired based on the text acquisition information, and the target text information is associated with the interactive resource for display.

14. The data interaction method according to claim 13, characterized in that: The interactive resource includes music accompaniment data, the text acquisition information includes lyrics storage path, and the target text information includes lyrics information; The acquiring target text information corresponding to the interactive resource included in the first interactive data based on the text acquisition information, and displaying the target text information in association with the interactive resource, includes: Accessing a target storage space based on the lyrics storage path to obtain lyrics information corresponding to the music accompaniment data included in the first interactive data from the target storage space; The lyrics information is synchronized with the progress of the music accompaniment data, and the synchronized lyrics information and the music accompaniment data are displayed in linkage.

15. A data interaction device, characterized in that: Configured on the interaction initiator, including: A first interaction data acquisition module, used to acquire first interaction data corresponding to the interaction initiator, and cache the first interaction data, wherein the first interaction data carries a first progress indicator; a first interactive data sending module, configured to send the first interactive data to an interactive receiving end, and obtain second interactive data generated by the interactive receiving end and corresponding to the first interactive data, wherein the second interactive data carries a second progress identifier corresponding to the first progress identifier; A viewing data determination module is used to determine the target interaction data corresponding to the interaction initiating end based on the cached first interaction data, the first progress identifier, the second interaction data and the second progress identifier, and send the target interaction data to the interaction viewing end corresponding to the interaction initiating end.

16. A data interaction device, characterized in that: Configured on the interactive receiving end, including: A first interactive data receiving module, configured to receive first interactive data sent by an interactive initiator, and generate second interactive data corresponding to the first interactive data, wherein the first interactive data carries a first progress identifier, and the second interactive data carries a second progress identifier corresponding to the first progress identifier; A second interactive data transmission module is used to transmit the second interactive data to the interactive initiating end, so that the interactive initiating end determines the target interactive data corresponding to the interactive initiating end based on the cached first interactive data, the first progress identifier, the second interactive data and the second progress identifier, and sends the target interactive data to the interactive viewing end corresponding to the interactive initiating end.

17. An electronic device, characterized in that: The electronic device comprises: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the data interaction method as described in any one of claims 1-8 or 9-14.

18. A storage medium containing computer executable instructions, characterized in that: The computer executable instructions are used to execute the data interaction method as described in any one of claims 1-8 or 9-14 when executed by a computer processor.

Citation Information

Patent Citations

  • Data playing method and device, electronic equipment and storage medium

    CN113382272A

  • Interaction method and device, terminal and storage medium

    CN113518264A

  • Interactive information display method, system and device, electronic equipment and storage medium

    CN116320542A

  • Live-streaming interaction method and apparatus in game, and computer device and storage medium

    WO2023093451A1