CN114205366A - Cross-platform data synchronization method and device, equipment, medium and product thereof - Google Patents

Cross-platform data synchronization method and device, equipment, medium and product thereof Download PDF

Info

Publication number
CN114205366A
CN114205366A CN202111453250.7A CN202111453250A CN114205366A CN 114205366 A CN114205366 A CN 114205366A CN 202111453250 A CN202111453250 A CN 202111453250A CN 114205366 A CN114205366 A CN 114205366A
Authority
CN
China
Prior art keywords
application
task
data
live
current client
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111453250.7A
Other languages
Chinese (zh)
Inventor
王嘉健
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Cubesili Information Technology Co Ltd
Original Assignee
Guangzhou Cubesili Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Cubesili Information Technology Co Ltd filed Critical Guangzhou Cubesili Information Technology Co Ltd
Priority to CN202111453250.7A priority Critical patent/CN114205366A/en
Publication of CN114205366A publication Critical patent/CN114205366A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0807Network architectures or network communication protocols for network security for authentication of entities using tickets, e.g. Kerberos
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/236Assembling of a multiplex stream, e.g. transport stream, by combining a video stream with other content or additional data, e.g. inserting a URL [Uniform Resource Locator] into a video stream, multiplexing software data into a video stream; Remultiplexing of multiplex streams; Insertion of stuffing bits into the multiplex stream, e.g. to obtain a constant bit-rate; Assembling of a packetised elementary stream
    • H04N21/23602Multiplexing isochronously with the video sync, e.g. according to bit-parallel or bit-serial interface formats, as SDI
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/254Management at additional data server, e.g. shopping server, rights management server
    • H04N21/2541Rights Management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/4302Content synchronisation processes, e.g. decoder synchronisation
    • H04N21/4307Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/434Disassembling of a multiplex stream, e.g. demultiplexing audio and video streams, extraction of additional data from a video stream; Remultiplexing of multiplex streams; Extraction or processing of SI; Disassembling of packetised elementary stream
    • H04N21/4342Demultiplexing isochronously with video sync, e.g. according to bit-parallel or bit-serial interface formats, as SDI
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/462Content or additional data management, e.g. creating a master electronic program guide from data received from the Internet and a Head-end, controlling the complexity of a video stream by scaling the resolution or bit-rate based on the client capabilities
    • H04N21/4627Rights management associated to the content

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Databases & Information Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application discloses a cross-platform data synchronization method and a device, equipment, medium and product thereof, wherein the method comprises the following steps: the method comprises the steps that a first application displays task data of live task service on a task display page of the first application, responds to a platform switching instruction triggered by a current client to activate a second application and registers an access entrance of a live broadcast room pre-associated with the live task service in a shared space; the second application acquires and displays the access entrance from the shared space so as to respond to the touch instruction of the current client for accessing the access entrance and display a corresponding live broadcast room page; the second application acquires task data generated in a live broadcast room page by a current client, and stores the task data and a second token held by the current client into a synchronous pool as mapping relation data; and the first application acquires task data from the synchronous pool through the first token held by the current client and updates the task display page. The method and the device realize complex activity bearing for the applications of different platforms, and further expand the service range of both the platforms.

Description

Cross-platform data synchronization method and device, equipment, medium and product thereof
Technical Field
The present application relates to the field of live webcasting, and in particular, to a cross-platform data synchronization method, and further, to an apparatus, a device, a non-volatile storage medium, and a computer program product corresponding to the method.
Background
In the existing application program, the platform can initiate various types of activity task services for users to play, for example, daily routine services such as a daily sign-in task service and a browsing duration task service, or festival and day limiting services such as a spring festival task service and a platform annual celebration task service, so as to improve the user activity of the platform.
However, the activity task services between the application programs of different business platforms cannot be linked with each other, so that the activity task services initiated by the platforms can be limited only in the platforms, the playing services provided by the activity task services initiated by the platforms are limited due to the limitations of the businesses of the platforms, users of the platforms are tired for a long time, and the users cannot be attracted to participate in the activity task services initiated by the platforms effectively.
Moreover, although different service platforms can perform linkage between the two parties by providing an access interface for a user, the platform cannot acquire and utilize data generated by an activity performed by the user in an application program of another platform, so that the linkage between the two parties of the platform flows on the surface, and a linkage task activity with interoperability cannot be formed.
In view of the above problems, the present applicant has made a corresponding search in view of solving the problems.
Disclosure of Invention
It is an object of the present application to meet the needs of the prior art or to overcome at least some of the disadvantages of the prior art and to provide a cross-platform data synchronization method and corresponding apparatus, electronic device, non-volatile storage medium and computer program product.
In order to realize the purpose of the application, the following technical scheme is adopted:
the cross-platform data synchronization method suitable for the purpose of the application comprises the following steps:
the method comprises the steps that a first application displays task data of live task service on a task display page of the first application, responds to a platform switching instruction triggered by a current client to activate a second application and registers an access entrance of a live broadcast room pre-associated with the live task service in a shared space;
the second application acquires and displays the access entrance from the shared space so as to respond to a touch instruction of the current client accessing the access entrance and display a corresponding live broadcast room page;
the second application acquires task data generated in the live broadcast room page by the current client, and stores the task data and a second token held by the current client into a synchronous pool as mapping relation data;
and the first application acquires the task data from the synchronous pool through the first token held by the current client for updating to the task display page.
In a further embodiment, the step of displaying task data of the live task service on the task display page of the first application, activating the second application in response to a platform switching instruction triggered by the current client, and registering an access entry of a live room pre-associated with the live task service in the shared space includes the following steps:
the first application loads and displays the task display page, displays a live broadcast task window in the task display page, and outputs and displays summary information of a live broadcast room pre-associated with a live broadcast task service to the live broadcast task window;
the first application receives task data corresponding to the current client and pushed by the server, and outputs and displays the task data to the live task window;
and the first application responds to a platform switching instruction acting on the live task window, activates a second application corresponding to the instruction, and registers an access entry of a live broadcast room corresponding to the summary information displayed in the live task window in the shared space.
In a further embodiment, the step of activating the second application in response to the platform switching instruction triggered by the current client includes the following steps:
the first application responds to a platform switching instruction triggered by the current client and detects whether the second application is installed on the current client;
if the second application is not installed in the current client, acquiring an installation file of the second application, and installing the second application into the current client;
and if the second application is installed in the current client, activating the second application, and registering an access entrance of a live broadcast room pre-associated with the live broadcast task service in a shared space.
In a further embodiment, the step of acquiring and displaying the access entry from the shared space by the second application to respond to the touch instruction of the current client accessing the access entry and display the corresponding live broadcast room page includes the following steps:
the second application acquires the access entrance from the shared space;
the second application displays an access window in a graphical user interface and outputs the live broadcast room corresponding to the access entrance to the access window for display;
and the second application responds to the touch instruction acting on the access window and loads and displays the live broadcast room page of the live broadcast room corresponding to the access entrance.
In a further embodiment, the step of acquiring, by the second application, task data generated by the current client in the live broadcast room page, and storing the task data and a second token held by the current client as mapping relationship data in a synchronization pool includes the following steps:
the second application acquires live broadcast data generated in the live broadcast room page by the current client, wherein the live broadcast data comprises live broadcast watching time length data, virtual gift presentation quantity data and chat text sending time data;
the second application outputs and displays the newly acquired live data to a live data window, and the live data window is displayed in the live room page;
and the second application takes the live broadcast data as task data, encapsulates the task data and a second token held by the current client as mapping relation data and stores the mapping relation data into the synchronous pool.
In a further embodiment, the step of acquiring, by the first application, the task data from the synchronization pool through the first token held by the current client, for updating to the task display page includes the following steps:
the first application inquires a second token mapped with a first token from the synchronous pool according to the first token held by the current client;
and the first application acquires the task data corresponding to the second token from the synchronous pool and correspondingly updates the task data of the live task service currently displayed in the task display page.
A cross-platform data synchronization apparatus proposed to adapt to the purpose of the present application, comprising:
the platform switching instruction response module is used for displaying task data of the live task service on a task display page of the first application, responding to a platform switching instruction triggered by a current client to activate a second application and registering an access entrance of a live broadcasting room pre-associated with the live task service in a shared space;
the live broadcast room page loading module is used for acquiring and displaying the access entrance from the shared space by the second application so as to respond to a touch instruction of the current client accessing the access entrance and display a corresponding live broadcast room page;
the task data storage module is used for the second application to acquire task data generated by the current client in the live broadcast room page so as to store the task data and a second token held by the current client into a synchronous pool as mapping relation data;
and the task data synchronization module is used for the first application to acquire the task data from the synchronization pool through the first token held by the current client and update the task data to the task display page.
In a further embodiment, the platform switching instruction response module includes:
the task display page display submodule is used for loading and displaying the task display page by the first application, displaying a live broadcast task window in the task display page and outputting and displaying summary information of a live broadcast room pre-associated with a live broadcast task service to the live broadcast task window;
the task data display submodule is used for the first application to receive the task data corresponding to the current client pushed by the server and output and display the task data to the live task window;
and the second application activation sub-module is used for responding to a platform switching instruction acting on the live task window by the first application, activating a second application corresponding to the instruction, and registering an access entry of a live broadcast room corresponding to the summary information displayed in the live task window in the shared space.
In a preferred embodiment, the platform switching instruction response module further includes:
the second application detection submodule is used for responding to a platform switching instruction triggered by the current client by the first application and detecting whether the second application is installed on the current client;
the second application installation submodule is used for acquiring an installation file of a second application and installing the second application into the current client if the second application is not installed in the current client;
and the second application activation sub-module activates the second application if the second application is installed in the current client, and registers an access entrance of the live broadcast room pre-associated with the live broadcast task service in a shared space.
In a further embodiment, the live room page loading module includes:
the access entry obtaining submodule is used for obtaining the access entry from the shared space by the second application;
the access window display submodule is used for displaying an access window in a graphical user interface by the second application and outputting the live broadcast room corresponding to the access entrance to the access window for display;
and the live broadcast room page loading submodule is used for responding to the touch instruction acting on the access window by the second application and loading and displaying the live broadcast room page of the live broadcast room corresponding to the access entrance.
In a further embodiment, the task data storage module includes:
the live broadcast data acquisition sub-module is used for acquiring live broadcast data generated in the page of the live broadcast room by the current client through a second application, wherein the live broadcast data comprises live broadcast watching time length data, virtual gift presentation quantity data and chat text sending time data;
the live data display sub-module is used for outputting and displaying the newly acquired live data to a live data window by a second application, and the live data window is displayed in the live room page;
and the task data storage submodule is used for the second application to take the live broadcast data as task data, package the task data and a second token held by the current client into mapping relation data and store the mapping relation data into the synchronous pool.
In a further embodiment, the task data synchronization module includes:
the task data query submodule is used for the first application to query a second token mapped with a first token from the synchronous pool according to the first token held by the current client;
and the task data acquisition submodule is used for acquiring the task data corresponding to the second token from the synchronous pool by the first application and correspondingly updating the task data of the currently displayed live task service in the task display page.
An electronic device adapted for the purpose of the present application comprises a central processing unit and a memory, wherein the central processing unit is used for calling and running a computer program stored in the memory to execute the steps of the cross-platform data synchronization method.
The non-volatile storage medium stores a computer program implemented according to the cross-platform data synchronization method, and when the computer program is called by a computer, the computer program executes the steps included in the corresponding method.
In order to solve the foregoing technical problem, an embodiment of the present invention further provides a computer program product, which includes a computer program and computer instructions, and when the computer program and the computer instructions are executed by a processor, the processor executes the steps of the live data hierarchical prediction method or the cross-platform data synchronization method.
Compared with the prior art, the application has the following advantages:
the method and the system provide a linkage method of the activity task service among different platforms, joint task service among cross-platforms is achieved, compared with activity task service initiated by a traditional platform, activity business of platforms of two parties is expanded, the growth rate of new users of the two parties of the platforms and the exposure of related business are effectively improved, an entrance entering a second application is provided in a task page displayed by the first application, the user can conveniently activate the second application to participate in the joint task service through the entrance, the task progress of the user participating in the joint task service is displayed in the page, and the user can conveniently know the current task progress in the first application.
And secondly, the data synchronization between different platforms is realized through the synchronization token, the complex linkage task of the two platforms is borne, the error of task data processing of the two platforms is reduced, the data barrier between the different platforms is broken through, and the timeliness of the data in the joint task service initiated between the different platforms is ensured.
In addition, the method and the system have the advantages that the traditional access between different service platforms is realized by providing an access entrance, the data intercommunication between the two platforms is also realized, through the construction of a data synchronization pool, the first application can acquire task data generated by the action of a user in the second application, the playability of linkage task service is enriched by utilizing the task data, and a service closed loop is formed.
Additional aspects and advantages of the present application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the present application.
Drawings
The foregoing and/or additional aspects and advantages of the present application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
fig. 1 is a schematic diagram of a typical network deployment architecture related to implementing the technical solution of the present application;
FIG. 2 is a schematic flow chart diagram illustrating an exemplary embodiment of a cross-platform data synchronization method of the present application;
FIG. 3 is a schematic diagram of a graphical user interface of a task presentation page of a first application of the present application;
fig. 4 is a schematic diagram of a graphical user interface of an access window of a live broadcast room corresponding to a second application display access portal in the present application;
FIG. 5 is a schematic diagram of a graphical user interface of a live view page displayed by a second application load in the present application;
FIG. 6 is a schematic diagram of a graphical user interface of a first application after a task presentation page synchronously updates task data;
fig. 7 is a schematic flowchart illustrating a specific embodiment of a first application responding to a platform switching instruction triggered by a current client through a task display page according to the present application;
fig. 8 is a schematic flowchart illustrating a specific embodiment of the first application responding to a platform switching instruction to detect whether a second application is currently installed on a client;
FIG. 9 is a flowchart illustrating a specific embodiment of obtaining a display access entry and loading and displaying a live view page by a second application according to the present application;
FIG. 10 is a flowchart illustrating an embodiment of a second application for obtaining and storing task data of a current client;
fig. 11 is a schematic flowchart illustrating a specific embodiment of the present application for acquiring task data of a current client for synchronous update by a first application;
FIG. 12 is a functional block diagram of an exemplary embodiment of a cross-platform data synchronization apparatus of the present application;
fig. 13 is a block diagram of a basic structure of a computer device according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary only for the purpose of explaining the present application and are not to be construed as limiting the present application.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. As used herein, the term "and/or" includes all or any element and all combinations of one or more of the associated listed items.
It will be understood by those within the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
As will be appreciated by those skilled in the art, "client," "terminal," and "terminal device" as used herein include both devices that are wireless signal receivers, which are devices having only wireless signal receivers without transmit capability, and devices that are receive and transmit hardware, which have receive and transmit hardware capable of two-way communication over a two-way communication link. Such a device may include: cellular or other communication devices such as personal computers, tablets, etc. having single or multi-line displays or cellular or other communication devices without multi-line displays; PCS (Personal Communications Service), which may combine voice, data processing, facsimile and/or data communication capabilities; a PDA (Personal Digital Assistant), which may include a radio frequency receiver, a pager, internet/intranet access, a web browser, a notepad, a calendar and/or a GPS (Global Positioning System) receiver; a conventional laptop and/or palmtop computer or other device having and/or including a radio frequency receiver. As used herein, a "client," "terminal device" can be portable, transportable, installed in a vehicle (aeronautical, maritime, and/or land-based), or situated and/or configured to operate locally and/or in a distributed fashion at any other location(s) on earth and/or in space. The "client", "terminal Device" used herein may also be a communication terminal, a web terminal, a music/video playing terminal, such as a PDA, an MID (Mobile Internet Device) and/or a Mobile phone with music/video playing function, and may also be a smart tv, a set-top box, and the like.
The hardware referred to by the names "server", "client", "service node", etc. is essentially an electronic device with the performance of a personal computer, and is a hardware device having necessary components disclosed by the von neumann principle such as a central processing unit (including an arithmetic unit and a controller), a memory, an input device, an output device, etc., a computer program is stored in the memory, and the central processing unit calls a program stored in an external memory into the internal memory to run, executes instructions in the program, and interacts with the input and output devices, thereby completing a specific function.
It should be noted that the concept of "server" as referred to in this application can be extended to the case of a server cluster. According to the network deployment principle understood by those skilled in the art, the servers should be logically divided, and in physical space, the servers may be independent from each other but can be called through an interface, or may be integrated into one physical computer or a set of computer clusters. Those skilled in the art will appreciate this variation and should not be so limited as to restrict the implementation of the network deployment of the present application.
Referring to fig. 1, the hardware basis required for implementing the related art embodiments of the present application may be deployed according to the architecture shown in the figure. The server 80 is deployed at the cloud end, and serves as a business server, and is responsible for further connecting to a related data server and other servers providing related support, so as to form a logically associated server cluster to provide services for related terminal devices, such as a smart phone 81 and a personal computer 82 shown in the figure, or a third-party server (not shown in the figure). Both the smart phone and the personal computer can access the internet through a known network access mode, and establish a data communication link with the cloud server 80 so as to run a terminal application program related to the service provided by the server.
For the server, the application program is usually constructed as a service process, and a corresponding program interface is opened for remote call of the application program running on various terminal devices.
The application program refers to an application program running on a server or a terminal device, the application program implements the related technical scheme of the application in a programming mode, a program code of the application program can be saved in a nonvolatile storage medium which can be identified by a computer in a form of a computer executable instruction, and is called into a memory by a central processing unit to run, and the related device of the application is constructed by running the application program on the computer.
For the server, the application program is usually constructed as a service process, and a corresponding program interface is opened for remote call of the application program running on various terminal devices.
The technical scheme suitable for being implemented in the terminal device in the application can also be programmed and built in an application program providing live webcasting, and the technical scheme is used as a part of extended functions. The live webcast refers to a live webcast room network service realized based on the network deployment architecture.
The live broadcast room is a video chat room realized by means of an internet technology, generally has an audio and video broadcast control function and comprises a main broadcast user and audience users, wherein the audience users can comprise registered users registered in a platform or unregistered tourist users; either registered users who are interested in the anchor user or registered or unregistered users who are not interested in the anchor user. The interaction between the anchor user and the audience user can be realized through known online interaction modes such as voice, video, characters and the like, generally, the anchor user performs programs for the audience user in the form of audio and video streams, and economic transaction behaviors can also be generated in the interaction process. Of course, the application form of the live broadcast room is not limited to online entertainment, and can be popularized to other relevant scenes, such as an educational training scene, a video conference scene, a product recommendation and sale scene, and any other scene needing similar interaction.
The person skilled in the art will know this: although the various methods of the present application are described based on the same concept so as to be common to each other, they may be independently performed unless otherwise specified. In the same way, for each embodiment disclosed in the present application, it is proposed based on the same inventive concept, and therefore, concepts of the same expression and concepts of which expressions are different but are appropriately changed only for convenience should be equally understood.
The embodiments to be disclosed herein can be flexibly constructed by cross-linking related technical features of the embodiments unless the mutual exclusion relationship between the related technical features is stated in the clear text, as long as the combination does not depart from the inventive spirit of the present application and can meet the needs of the prior art or solve the deficiencies of the prior art. Those skilled in the art will appreciate variations therefrom.
Referring to fig. 2, in an exemplary embodiment of a cross-platform data synchronization method according to the present application, the method includes the following steps:
step S11, the first application displays task data of the live task service on its task display page, and responds to a platform switching instruction triggered by the current client to activate the second application and register an access entry of a live room pre-associated with the live task service in a shared space:
the first application displays the task data of the current client in the live task service in the task display page which is currently loaded and displayed, responds to the platform switching instruction triggered by the current client through the task display page, activates a second application pointed by the platform switching instruction, and registers the access entrance of the live broadcasting room pre-associated with the live task service in the shared space.
The live task service is a secondary task service included in a main task service of the first application, and the live task service is a task service in which the first application and the second application are linked, for example, when the main task service is a ' welcome spring task service ', the live task service is a secondary task service of ' watching a live task service in spring in the ' welcome spring task service '.
The task data is data related to the live broadcast task service, the task data generally comprises live broadcast watching time length data, virtual gift presenting quantity data, chat text sending frequency data and the like, the data is generated by live broadcast interaction in a live broadcast room of a second application related to the current client participating in the live broadcast task service, the task data is generally used for calculating the task level or task progress of the live task service of the current client in the first application, determining the task level or task progress of the current client in the live task service initiated by the first application through the live interaction of the current client in the live broadcast room of the second application, and pushing a task reward associated with the live task service to the current client, wherein the task reward generally comprises a corresponding virtual gift, points for exchanging gifts, a member service and the like.
The platform switching instruction is generally generated by triggering a control which is displayed by the task display page displayed by the first application and used for activating the second application by the current client, so that the first application responds to the platform switching instruction to activate the second application, and an access entry of a live broadcast room which is pre-associated with the live broadcast task service is registered in the shared space, so that after the second application is activated, the second application acquires the access entry from the shared space to display and load and display a live broadcast room page of the live broadcast room to which the access entry points.
The shared space generally refers to a clipboard tool or a cache space in an operating system of a current client, and the first application registers an access entry of a live broadcast room pre-associated with the live broadcast task service into the shared space while activating the second application, so that the second application can acquire the access entry from the shared space to display and load and display a live broadcast room page of the live broadcast room to which the access entry points.
The access entry of the live broadcast room generally refers to a link address of a page of the live broadcast room.
It can be understood that the first application and the second application are generally application programs to which different platforms belong, that is, both the first application and the second application have different online services, for example, in the present application, the second application can provide live online services for the first application, and further, in a linkage task manner, the online services that the platform to which the first application belongs can provide are expanded, and at the same time, the platform to which the second application belongs is also provided with popularization, and the number of users of the platform to which the second application belongs is increased.
Referring to fig. 3, the graphical user interface shown in fig. 3 is the task display page, where a task level display window 301, a task data display window 302 and a live broadcast summary display window 303 are displayed in the task display page, where data displayed in the task level display window 301 and the task data display window 302 are associated with the task data of the current client, for example, related data in the task data are displayed in the task data display window 302, for example, live broadcast viewing time data, virtual gift giving quantity data and chat text sending time data included in the task data are displayed, and a task level calculated by the task data is displayed in the task level display window 301; in addition, the platform switching instruction is generally generated by the current client by touching the live broadcast room entry control 304 in the live broadcast room summary display window 303 shown in fig. 3, so that the first application responds to the platform switching instruction to activate the second application, and registers the access entry of the live broadcast room displayed in the live broadcast room summary display window 303 in the shared space, so that the second application acquires the access entry from the shared space to display and load and display the page of the live broadcast room pointed by the access entry.
And after responding to the platform switching instruction, the first application detects whether a second application is installed in the current client, if the second application is not installed, an installation file of the second application is acquired from a local space or in a network mode, the second application is further installed in the current client, and if the second application is installed in the current client, the second application is activated, and an access entrance of a live broadcast room pre-associated with the live broadcast task service is registered in the shared space.
Step S12, the second application acquires and displays the access entry from the shared space, so as to respond to the touch instruction of the current client accessing the access entry and display a corresponding live view page:
and after the second application is activated, acquiring the access entry registered by the first application from the shared space, and displaying a live broadcast room abstract window in the current graphical user interface to output a live broadcast room abstract of a live broadcast room corresponding to the access entry to the live broadcast room abstract window for display, so as to respond to a touch instruction generated by a current client through touching the live broadcast room abstract window, and load and display a live broadcast room page of the live broadcast room corresponding to the access entry.
Referring to fig. 4, fig. 4 is a schematic diagram showing the access entry in a graphical user interface of a second application, where a live broadcast room summary window 401 shown in fig. 4 shows live broadcast room characteristic information of a live broadcast room corresponding to the access entry, where the live broadcast room characteristic information includes a live broadcast user nickname of the live broadcast room, live broadcast hotness data of the live broadcast room, and live broadcast room fan number data, and a live broadcast room entry control 402 is displayed in the live broadcast room summary window 401, so that a current client generates the touch instruction by touching the live broadcast room entry control 402, drives the second application to respond to the touch instruction, and loads and displays a live broadcast room page corresponding to the access entry shown in the live broadcast room summary window 401, and the graphical user interface of the live broadcast room page is as the live broadcast room page shown in fig. 5.
Step S13, the second application acquires task data generated by the current client in the live broadcast room page, and stores the task data and a second token held by the current client as mapping relationship data in a synchronization pool:
after the second application loads and displays the live broadcast room page, the current client can perform live broadcast interaction between the related control provided by the live broadcast room page and the anchor terminal, for example, chat texts are pushed to the live broadcast room through a chat text editing and pushing control in the live broadcast room page, or virtual gifts are given to the anchor terminal through a virtual gift giving control in the live broadcast room page, and the like.
The synchronous pool is generally stored in a server for maintaining the live task activity, the synchronous pool is a synchronous database commonly used by a first application and a second application, respective platforms of the first application and the second application maintain the synchronous pool together, and when the mapping relation data associated with the current client generally comprises the second token and the task data held by the mapping relation data, the mapping relation data also comprises a first token held by the current client, so that the first application can acquire the task data of the current client from the synchronous pool through the first token held by the current client to perform synchronous updating.
It is to be understood that the second token is a unique identifier of the current client in the second application, and correspondingly, the first token is a unique identifier of the current client in the first application.
Referring to fig. 5, fig. 5 is a schematic diagram of a graphical user interface of a live broadcast room page loaded and displayed by a second application, where task data of a current client is shown in a task progress window 501 shown in fig. 5, so that the current client knows a task progress of the current client in a real-time live broadcast task service in real time, a virtual gift-giving window 502 shown in fig. 5 provides a service of giving a virtual gift to an anchor terminal in the live broadcast room for the current client, when the current client selects the virtual gift to give the virtual gift to the anchor terminal through the virtual gift-giving window 502 shown in fig. 5, the second application obtains the task data updated in the manner of the virtual gift-giving event and outputs and displays the task data to the task progress window 501 shown in the virtual gift-giving window, and stores the task data and a second token held by the current client as mapping relationship data in the synchronous pool; the chat text edit send control 503 shown in fig. 5 can be used by the current client to edit chat text pushed to the live room.
Step S14, the first application acquires the task data from the synchronization pool through the first token held by the current client, and updates the task data to the task display page:
the first application determines a first token held by a current client, so as to obtain a second token mapped with the first token in the synchronous pool, further obtain task data corresponding to the second token, and synchronously update the task data displayed in the task display page of the first application.
Referring to fig. 3 and 6, after the first application acquires the task data, the first application updates the information displayed in the control associated with the task data and used for displaying the task data in the task display page, when the first acquired task data is the task data of 8 virtual gifts given to the anchor terminal in the live broadcast room page loaded and displayed by the current client in the first application, the task display page loaded and displayed by the first application is converted from fig. 3 to fig. 6, the data of the gift-giving quantity displayed in the task data display window 601 in fig. 6 is updated correspondingly, and the task level of the current client is increased as the virtual gift-giving quantity included in the task data of the current client indicates that the current client has completed the corresponding task, and the task level of the current client is updated correspondingly in the task level display window 603 shown in fig. 6, and displays a level up notification 604 on the task display page as shown to notify the current client that the task level is up.
According to the exemplary embodiment, the cross-platform joint task service is realized, the task data of the two parties are synchronized, the entry entering the second application is provided in the task page displayed by the first application, the client can conveniently activate the task service of the second application participating in the first application through the entry, and the summary window of the live broadcast room pre-associated with the task service is displayed in the activated second application, so that the client can conveniently enter the live broadcast room page associated with the task service through the window to participate in the task service, and the task data can be conveniently transmitted between the first application and the second application through the construction of the first token, the second token and the shared pool, the complex linkage task bearing of the two parties is realized, and the error of the platform processing the task data of the two parties is reduced; secondly, by linkage task service between the first application platform and the second application platform, the activity business of the two platforms is expanded, the new user growth rate and the exposure of related business of the two platforms are effectively improved, and the development of the two platforms is facilitated; in addition, through the construction of the data synchronization pool, the first application can acquire task data generated by the user performing activities in the second application, so that the playability of the task data for enriching the linkage task service is utilized, a service closed loop is formed, namely, compared with a common access entry mode, the data intercommunication among different platforms is realized, and further, the deep mining and utilization of the data value are realized through deeper data interaction.
The above exemplary embodiments and variations thereof fully disclose the embodiments of the cross-platform data synchronization method of the present application, but many variations of the method can be deduced by transforming and augmenting some technical means, and other embodiments are briefly described as follows:
in an embodiment, referring to fig. 3 and 7, the step of displaying, by the first application, task data of a live task service on a task display page of the first application, and activating the second application in response to a platform switching instruction triggered by a current client and registering an access entry of a live room pre-associated with the live task service in a shared space includes the following steps:
step S111, the first application loads and displays the task display page, displays a live task window in the task display page, and outputs and displays summary information of a live broadcast room pre-associated with a live broadcast task service to the live broadcast task window:
and the first application loads and displays the task display page, and displays a live task window in the task display page so as to output the summary information of the live broadcast room pre-associated with the live task service to the live task window for display.
Referring to fig. 3, fig. 3 is a schematic view of a graphical user interface of a task display page displayed by a first application loading, where the task display page includes a plurality of live task windows for displaying data related to a live task service, such as a task level display window 301, a task data display window 302, and a live room summary display window 303 shown in fig. 3, where the task level display window 301 is used for displaying a task level of a current client in the live task service, the task data display window 302 is used for displaying task data of the current client in the live task service, and the live room summary display window 303 is used for displaying summary information of a live room pre-associated with the live task service.
Step S112, the first application receives the task data corresponding to the current client pushed by the server, and outputs and displays the task data to the live task window:
the first application receives the task data corresponding to the current client pushed by the server, and outputs and displays the task data to the live task window, for example, in the schematic diagram of the graphical user interface of the task display page shown in fig. 3, the first application outputs and displays the task data to the task data display window 302 for display.
Step S113, the first application responds to a platform switching instruction acting on the live task window, activates a second application corresponding to the instruction, and registers an access entry of a live broadcasting room corresponding to the summary information displayed in the live task window in the shared space:
and the first application responds to a platform switching instruction of a live broadcast task window for displaying summary information of the live broadcast room, activates a second application corresponding to the instruction, and registers an access entry of the live broadcast room corresponding to the summary information displayed in the live broadcast task window in the shared space, so that after the second application is activated, the second application acquires the access entry from the shared space to display and load and display a page of the live broadcast room to which the access entry points.
Referring to fig. 3, the summary information of the live broadcast room is shown in the live broadcast room summary display window 303 in fig. 3, and the current client generates the platform switching instruction by touching the live broadcast room entry control 304 in the live broadcast room summary display window 303, so that the first application responds to the platform switching instruction to activate the second application.
In this embodiment, the first application displays a task display page by loading, and displays summary information for displaying a live broadcast room associated with a live broadcast task service in the page, so that the current client knows the live broadcast room of the live broadcast task service, and provides a control for activating the second application for the user to perform platform switching, and then enter the second application to participate in the live broadcast task service.
In an embodiment, referring to fig. 8, the step of activating the second application in response to the platform switching instruction triggered by the current client includes the following steps:
step S111', the first application responds to the platform switching instruction triggered by the current client, and detects whether the current client has installed the second application:
after the first application loads and displays the task display page, when a platform switching instruction triggered by the current client through the task display page is responded to activate the second application, whether the second application is installed on the current client is detected.
Step S112', if the second application is not installed in the current client, obtaining an installation file of the second application, and installing the second application into the current client:
if the first application detects that the second application is not installed in the current client, whether an installation file of the second application exists or not is inquired in a local storage space, if so, the second application is installed in the current client through the installation file, and if not, the installation file of the second application is downloaded through a network link, so that the second application is installed in the current client.
Step S113', if the second application is installed in the current client, activating the second application, and registering an access entry of the live broadcast room pre-associated with the live broadcast task service in the shared space:
and if the first application detects that the second application is installed in the current client or completes the installation of the second application in the current client through the steps, activating the second application, and registering an access entrance of the live broadcast room pre-associated with the live broadcast task service in the shared space so that after the second application is activated, the second application acquires the access entrance from the shared space to display and load and display a live broadcast room page of the live broadcast room pointed by the access entrance.
In this embodiment, when activating the second application, the first application detects whether the second application is installed in the current client, if not, the installation file of the second application is acquired and installed, and if so, the second application is activated, and an access entry of a live broadcast room associated with the live broadcast task access is registered in the shared space.
In an embodiment, referring to fig. 4, 5 and 9, the step of the second application obtaining and displaying the access entry from the shared space to display a corresponding live view page in response to a touch instruction of the current client accessing the access entry includes the following steps:
step S121, the second application obtains the access entry from the shared space:
and after the second application is activated by the first application, acquiring an access entry of the live broadcast room, registered by the first application and associated with the live broadcast task access, from the shared space so as to load and display a live broadcast page of the live broadcast room.
Step S122, the second application displays an access window in a graphical user interface, and outputs the live broadcast room corresponding to the access entrance to the access window for display:
and after the second application acquires the access entrance, displaying the access window in the current graphical user interface so as to output the characteristic information of the live broadcast room corresponding to the access entrance to the access window for display.
Referring to fig. 4, fig. 4 is a schematic view of a graphical user interface after the second application outputs summary information of the live broadcast room corresponding to the access entry to the access window, and live broadcast room characteristic information of the live broadcast room corresponding to the access entry is displayed in a live broadcast room summary window 401 in fig. 4, where the live broadcast room characteristic information includes a live broadcast user nickname of the live broadcast room, live broadcast hotness data of the live broadcast room, and fan number data of the live broadcast room.
Step S123, the second application responds to the touch instruction acting on the access window, and loads and displays a live view page of the live view corresponding to the access entry:
and responding to the touch instruction acting on the access window by the second application, and loading and displaying the live broadcast room page corresponding to the access entrance in the current graphical user interface.
Referring to fig. 4 and 5, a live view entry control 402 is displayed in a live view summary window 401 shown in fig. 4, so that the current client generates the touch instruction by touching the live view entry control 402, drives the second application to respond to the touch instruction, and loads and displays a live view page of a live view corresponding to an access entry displayed in the live view summary window 401, where a graphical user interface of the live view page is the live view page shown in fig. 5.
In this embodiment, the second application outputs the feature information of the live broadcast associated with the live broadcast task service to the window by displaying the access window in the graphical user interface, thereby guiding the user of the current client to enter the live broadcast to participate in the live broadcast task service.
In an embodiment, referring to fig. 5 and fig. 10, the step of the second application obtaining task data generated by the current client in the live broadcast room page to store the task data and the second token held by the current client as mapping relation data in the synchronization pool includes the following steps:
step S131, the second application obtains live broadcast data generated by the current client in the live broadcast room page, wherein the live broadcast data comprises live broadcast watching time length data, virtual gift giving quantity data and chat text sending frequency data:
and after loading and displaying a live broadcast room page of a live broadcast room associated with the live broadcast task service, the second application acquires live broadcast data generated by live broadcast interaction of the current client in the live broadcast room page, wherein the live broadcast data comprises live broadcast watching duration data of live broadcast watching of the current client in the live broadcast room page, virtual gift giving quantity data of virtual gifts given by the current client to the anchor client in the live broadcast room page, chat text sending time data of chat texts sent by the current client in the live broadcast room page and the like.
Referring to fig. 5, fig. 5 is a schematic diagram of a graphical user interface of a live-air page displayed by the second application, showing a virtual gift-giving window 502 that provides a service for a current client to give a virtual gift to an anchor in the live-air, when the current client selects a virtual gift to present the virtual gift to the anchor through the virtual gift-presentation window 502 shown, the second application records the virtual gift-giving event of the current client, obtains the data of the virtual gift-giving quantity, the illustrated chat text editing and sending control 503 can be used by the current client to edit the chat text pushed to the live broadcast room, after the current client sends the chat text through the chat text editing and sending control 503, the current client records the chat text sending event of the current client, and obtains the chat text sending frequency data of the current client.
Step S132, the second application outputs and displays the newly acquired live data to a live data window, where the live data window displays in the live view room page:
the second application outputs the newly acquired live data to the live data window displayed in the live view page for display, such as displaying the live data of the current client in a task progress window 501 shown in fig. 5.
Step S133, the second application uses the live data as task data, packages the task data and a second token held by the current client as mapping relationship data, and stores the mapping relationship data in the synchronization pool:
and after the second application acquires the live data, the live data is used as the task data of the current client, the task data and a second token held by the current client are packaged into mapping relation data and stored into the synchronous pool, so that the first application maps the second token from the synchronous pool through the first token held by the current client to acquire the task data of the current client for synchronous updating.
In this embodiment, the second application outputs the acquired live data to a live data window displayed in the page for displaying, so that the current client knows the task progress of the current client in the real-time live task service in real time, and stores the live data as the task data of the current client in the synchronization pool, so that the first application performs synchronous update of the task data.
In an embodiment, referring to fig. 3, fig. 6 and fig. 11, the step of the first application obtaining the task data from the synchronization pool through the first token held by the current client for updating to the task display page includes the following steps:
step S141, the first application queries, according to the first token held by the current client, a second token mapped with the first token from the synchronization pool:
and the first application acquires a first token held by the current client, and queries a second token which is mapped with the first token from the synchronization pool according to the first token.
Step S142, the first application obtains task data corresponding to the second token from the synchronization pool, and correspondingly updates the task data of the live task service currently displayed in the task display page:
and after the first application inquires a second token mapped with the first token from the synchronous pool, acquiring task data correspondingly stored by the second token in the synchronous pool so as to correspondingly update the task data of the live task service currently displayed in the task display page loaded and displayed by the first application.
Referring to fig. 3 and 6, after the first application acquires the task data, the first application updates the information displayed in the control associated with the task data and used for displaying the task data in the task display page, when the first acquired task data is the task data of 8 virtual gifts given to the anchor terminal in the live broadcast room page loaded and displayed by the current client in the first application, the task display page loaded and displayed by the first application is converted from fig. 3 to fig. 6, the data of the gift-giving quantity displayed in the task data display window 601 in fig. 6 is updated correspondingly, and the task level of the current client is increased as the virtual gift-giving quantity included in the task data of the current client indicates that the current client has completed the corresponding task, and the task level of the current client is updated correspondingly in the task level display window 603 shown in fig. 6, and displays a level up notification 604 on the task display page as shown to notify the current client that the task level is up.
Further, a cross-platform data synchronization apparatus of the present application can be constructed by functionalizing the steps in the methods disclosed in the above embodiments, and according to this idea, please refer to fig. 12, wherein in an exemplary embodiment, the apparatus includes: the platform switching instruction response module 11 is used for displaying task data of the live task service on a task display page of the first application, responding to a platform switching instruction triggered by a current client to activate a second application, and registering an access entrance of a live broadcast room pre-associated with the live task service in a shared space; the live broadcast room page loading module 12 is configured to obtain and display the access entry from the shared space by the second application, so as to respond to a touch instruction of a current client accessing the access entry and display a corresponding live broadcast room page; the task data storage module 13 is configured to obtain task data generated by the current client in the live broadcast room page by the second application, and store the task data and a second token held by the current client as mapping relation data in a synchronization pool; and the task data synchronization module 14 is configured to obtain the task data from the synchronization pool through the first token held by the current client by the first application, and update the task data to the task display page.
In one embodiment, the platform switching instruction response module 11 includes: the task display page display submodule is used for loading and displaying the task display page by the first application, displaying a live broadcast task window in the task display page and outputting and displaying summary information of a live broadcast room pre-associated with a live broadcast task service to the live broadcast task window; the task data display submodule is used for the first application to receive the task data corresponding to the current client pushed by the server and output and display the task data to the live task window; and the second application activation sub-module is used for responding to a platform switching instruction acting on the live task window by the first application, activating a second application corresponding to the instruction, and registering an access entry of a live broadcast room corresponding to the summary information displayed in the live task window in the shared space.
In another embodiment, the platform switching instruction response module 11 further includes: the second application detection submodule is used for responding to a platform switching instruction triggered by the current client by the first application and detecting whether the second application is installed on the current client; the second application installation submodule is used for acquiring an installation file of a second application and installing the second application into the current client if the second application is not installed in the current client; and the second application activation sub-module activates the second application if the second application is installed in the current client, and registers an access entrance of the live broadcast room pre-associated with the live broadcast task service in a shared space.
In one embodiment, the live-room page loading module 12 includes: the access entry obtaining submodule is used for obtaining the access entry from the shared space by the second application; the access window display submodule is used for displaying an access window in a graphical user interface by the second application and outputting the live broadcast room corresponding to the access entrance to the access window for display; and the live broadcast room page loading submodule is used for responding to the touch instruction acting on the access window by the second application and loading and displaying the live broadcast room page of the live broadcast room corresponding to the access entrance.
In one embodiment, the task data storage module 13 includes: the live broadcast data acquisition sub-module is used for acquiring live broadcast data generated in the page of the live broadcast room by the current client through a second application, wherein the live broadcast data comprises live broadcast watching time length data, virtual gift presentation quantity data and chat text sending time data; the live data display sub-module is used for outputting and displaying the newly acquired live data to a live data window by a second application, and the live data window is displayed in the live room page; and the task data storage submodule is used for the second application to take the live broadcast data as task data, package the task data and a second token held by the current client into mapping relation data and store the mapping relation data into the synchronous pool.
In one embodiment, the task data synchronization module 14 includes: the task data query submodule is used for the first application to query a second token mapped with a first token from the synchronous pool according to the first token held by the current client; and the task data acquisition submodule is used for acquiring the task data corresponding to the second token from the synchronous pool by the first application and correspondingly updating the task data of the currently displayed live task service in the task display page.
In order to solve the foregoing technical problem, an embodiment of the present application further provides a computer device, configured to run a computer program implemented according to the cross-platform data synchronization method. Referring to fig. 13, fig. 13 is a block diagram of a basic structure of a computer device according to the present embodiment.
As shown in fig. 13, the internal structure of the computer device is schematically illustrated. The computer device includes a processor, a non-volatile storage medium, a memory, and a network interface connected by a system bus. The non-volatile storage medium of the computer device stores an operating system, a database and computer readable instructions, the database can store control information sequences, and the computer readable instructions can enable the processor to realize a cross-platform data synchronization method when being executed by the processor. The processor of the computer device is used for providing calculation and control capability and supporting the operation of the whole computer device. The memory of the computer device may have stored therein computer readable instructions that, when executed by the processor, may cause the processor to perform a cross-platform data synchronization method. The network interface of the computer device is used for connecting and communicating with the terminal. Those skilled in the art will appreciate that the architecture shown in fig. 13 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In this embodiment, the processor is configured to execute specific functions of each module/sub-module in the cross-platform data synchronization apparatus of the present invention, and the memory stores program codes and various types of data required for executing the modules. The network interface is used for data transmission to and from a user terminal or a server. The memory in this embodiment stores program codes and data required for executing all modules/submodules in the cross-platform data synchronization device, and the server can call the program codes and data of the server to execute the functions of all the submodules.
The present application also provides a non-volatile storage medium, wherein the cross-platform data synchronization method is written as a computer program, and the computer program is stored in the storage medium in the form of computer readable instructions, and when the computer readable instructions are executed by one or more processors, the program is executed in a computer, so that the one or more processors execute the steps of the cross-platform data synchronization method according to any one of the above embodiments.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and can include the processes of the embodiments of the methods described above when the computer program is executed. The storage medium may be a non-volatile storage medium such as a magnetic disk, an optical disk, a Read-Only Memory (ROM), or a Random Access Memory (RAM).
In conclusion, the application realizes complex activity bearing for the application of different platforms, and further expands the service range of the service platform, compared with the activity task service initiated by the traditional platform, the application expands the activity services of both the platforms, effectively improves the new user growth rate and the exposure of related services of both the platforms, and further realizes more deep data interaction and deep mining and utilization of data value by realizing data intercommunication between different platforms.
It should be understood that, although the steps in the flowcharts of the figures are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and may be performed in other orders unless explicitly stated herein. Moreover, at least a portion of the steps in the flow chart of the figure may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed alternately or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
Those of skill in the art will appreciate that the various operations, methods, steps in the processes, acts, or solutions discussed in this application can be interchanged, modified, combined, or eliminated. Further, other steps, measures, or schemes in various operations, methods, or flows that have been discussed in this application can be alternated, altered, rearranged, broken down, combined, or deleted. Further, steps, measures, schemes in the prior art having various operations, methods, procedures disclosed in the present application may also be alternated, modified, rearranged, decomposed, combined, or deleted.
The foregoing is only a partial embodiment of the present application, and it should be noted that, for those skilled in the art, several modifications and decorations can be made without departing from the principle of the present application, and these modifications and decorations should also be regarded as the protection scope of the present application.

Claims (10)

1. A cross-platform data synchronization method is characterized by comprising the following steps:
the method comprises the steps that a first application displays task data of live task service on a task display page of the first application, responds to a platform switching instruction triggered by a current client to activate a second application and registers an access entrance of a live broadcast room pre-associated with the live task service in a shared space;
the second application acquires and displays the access entrance from the shared space so as to respond to a touch instruction of the current client accessing the access entrance and display a corresponding live broadcast room page;
the second application acquires task data generated in the live broadcast room page by the current client, and stores the task data and a second token held by the current client into a synchronous pool as mapping relation data;
and the first application acquires the task data from the synchronous pool through the first token held by the current client for updating to the task display page.
2. The method of claim 1, wherein the step of the first application displaying task data of the live task service on a task display page of the first application, and activating the second application in response to a platform switching instruction triggered by a current client and registering an access entry of a live room pre-associated with the live task service in the shared space comprises the following steps:
the first application loads and displays the task display page, displays a live broadcast task window in the task display page, and outputs and displays summary information of a live broadcast room pre-associated with a live broadcast task service to the live broadcast task window;
the first application receives task data corresponding to the current client and pushed by the server, and outputs and displays the task data to the live task window;
and the first application responds to a platform switching instruction acting on the live task window, activates a second application corresponding to the instruction, and registers an access entry of a live broadcast room corresponding to the summary information displayed in the live task window in the shared space.
3. The method according to claim 1, wherein the step of activating the second application in response to the platform switching instruction triggered by the current client comprises the steps of:
the first application responds to a platform switching instruction triggered by the current client and detects whether the second application is installed on the current client;
if the second application is not installed in the current client, acquiring an installation file of the second application, and installing the second application into the current client;
and if the second application is installed in the current client, activating the second application, and registering an access entrance of a live broadcast room pre-associated with the live broadcast task service in a shared space.
4. The method according to claim 1, wherein the step of the second application obtaining and displaying the access entry from the shared space to display a corresponding live room page in response to a touch instruction of a current client accessing the access entry comprises the steps of:
the second application acquires the access entrance from the shared space;
the second application displays an access window in a graphical user interface and outputs the live broadcast room corresponding to the access entrance to the access window for display;
and the second application responds to the touch instruction acting on the access window and loads and displays the live broadcast room page of the live broadcast room corresponding to the access entrance.
5. The method according to claim 1, wherein the step of the second application acquiring task data generated in the live broadcast room page by the current client to store the task data and the second token held by the current client as mapping relation data in the synchronization pool comprises the following steps:
the second application acquires live broadcast data generated in the live broadcast room page by the current client, wherein the live broadcast data comprises live broadcast watching time length data, virtual gift presentation quantity data and chat text sending time data;
the second application outputs and displays the newly acquired live data to a live data window, and the live data window is displayed in the live room page;
and the second application takes the live broadcast data as task data, encapsulates the task data and a second token held by the current client as mapping relation data and stores the mapping relation data into the synchronous pool.
6. The method according to claim 1, wherein the step of the first application obtaining the task data from the synchronization pool through the first token held by the current client for updating to the task presentation page comprises the following steps:
the first application inquires a second token mapped with a first token from the synchronous pool according to the first token held by the current client;
and the first application acquires the task data corresponding to the second token from the synchronous pool and correspondingly updates the task data of the live task service currently displayed in the task display page.
7. A cross-platform data synchronization apparatus, comprising:
the platform switching instruction response module is used for displaying task data of the live task service on a task display page of the first application, responding to a platform switching instruction triggered by a current client to activate a second application and registering an access entrance of a live broadcasting room pre-associated with the live task service in a shared space;
the live broadcast room page loading module is used for acquiring and displaying the access entrance from the shared space by the second application so as to respond to a touch instruction of the current client accessing the access entrance and display a corresponding live broadcast room page;
the task data storage module is used for the second application to acquire task data generated by the current client in the live broadcast room page so as to store the task data and a second token held by the current client into a synchronous pool as mapping relation data;
and the task data synchronization module is used for the first application to acquire the task data from the synchronization pool through the first token held by the current client and update the task data to the task display page.
8. An electronic device comprising a central processor and a memory, wherein the central processor is configured to invoke execution of a computer program stored in the memory to perform the steps of the method according to any one of claims 1 to 7.
9. A non-volatile storage medium, characterized in that it stores, in the form of computer-readable instructions, a computer program implemented according to the method of any one of claims 1 to 7, which, when invoked by a computer, performs the steps comprised by the method.
10. A computer program product comprising computer program/instructions, characterized in that the computer program/instructions, when executed by a processor, implement the steps of the method of any one of claims 1 to 7.
CN202111453250.7A 2021-12-01 2021-12-01 Cross-platform data synchronization method and device, equipment, medium and product thereof Pending CN114205366A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111453250.7A CN114205366A (en) 2021-12-01 2021-12-01 Cross-platform data synchronization method and device, equipment, medium and product thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111453250.7A CN114205366A (en) 2021-12-01 2021-12-01 Cross-platform data synchronization method and device, equipment, medium and product thereof

Publications (1)

Publication Number Publication Date
CN114205366A true CN114205366A (en) 2022-03-18

Family

ID=80649953

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111453250.7A Pending CN114205366A (en) 2021-12-01 2021-12-01 Cross-platform data synchronization method and device, equipment, medium and product thereof

Country Status (1)

Country Link
CN (1) CN114205366A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115278285A (en) * 2022-07-26 2022-11-01 北京字跳网络技术有限公司 Display method and device of live broadcast picture, electronic equipment and storage medium
CN117978818A (en) * 2024-04-01 2024-05-03 西安卡唤唤金融科技有限公司 Cross-environment page synchronization method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105704178A (en) * 2014-11-26 2016-06-22 腾讯科技(深圳)有限公司 Task platform access method and task platform access device
WO2020000973A1 (en) * 2018-06-29 2020-01-02 北京微播视界科技有限公司 Information access method, client, information access apparatus, terminal, server, and storage medium
CN111031332A (en) * 2019-11-26 2020-04-17 北京达佳互联信息技术有限公司 Data interaction method, device, server and storage medium
CN111970531A (en) * 2020-08-26 2020-11-20 广州华多网络科技有限公司 Cross-user group interaction control and execution method, device, equipment and medium thereof
CN113269588A (en) * 2021-05-26 2021-08-17 上海妙契科技有限公司 Task-based incentive advertisement putting method and device and server

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105704178A (en) * 2014-11-26 2016-06-22 腾讯科技(深圳)有限公司 Task platform access method and task platform access device
WO2020000973A1 (en) * 2018-06-29 2020-01-02 北京微播视界科技有限公司 Information access method, client, information access apparatus, terminal, server, and storage medium
CN111031332A (en) * 2019-11-26 2020-04-17 北京达佳互联信息技术有限公司 Data interaction method, device, server and storage medium
CN111970531A (en) * 2020-08-26 2020-11-20 广州华多网络科技有限公司 Cross-user group interaction control and execution method, device, equipment and medium thereof
CN113269588A (en) * 2021-05-26 2021-08-17 上海妙契科技有限公司 Task-based incentive advertisement putting method and device and server

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115278285A (en) * 2022-07-26 2022-11-01 北京字跳网络技术有限公司 Display method and device of live broadcast picture, electronic equipment and storage medium
CN115278285B (en) * 2022-07-26 2024-01-30 北京字跳网络技术有限公司 Live broadcast picture display method and device, electronic equipment and storage medium
CN117978818A (en) * 2024-04-01 2024-05-03 西安卡唤唤金融科技有限公司 Cross-environment page synchronization method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
US8868637B2 (en) Page rendering for dynamic web pages
US10063996B2 (en) Methods and systems for providing geospatially-aware user-customizable virtual environments
CN105051686B (en) System and method for integrated recommendation
US20200065061A1 (en) Method and apparatus for processing information
CN114205366A (en) Cross-platform data synchronization method and device, equipment, medium and product thereof
US10311500B2 (en) Methods and systems for developer onboarding for software-development products
Liu et al. Composing enterprise mashup components and services using architecture integration patterns
WO2023147758A1 (en) Method and apparatus for processing cloud game resource data, and computer device and storage medium
CN113253880B (en) Method and device for processing pages of interaction scene and storage medium
CN114245157A (en) Live broadcast room activity data display method and device, equipment, medium and product thereof
CN114422821A (en) Live broadcast home page interaction method, device, medium and equipment based on virtual gift
CN115357497A (en) Service fault analysis method, device, medium and computer equipment
CN107924403A (en) Inquire about composition system
CN113569089A (en) Information processing method, device, server, equipment, system and storage medium
CN113596495B (en) Live broadcast push stream processing method and device, equipment and medium thereof
CN114048258A (en) Live broadcast data scheduling and accessing method and device, equipment, medium and product thereof
CN113556610B (en) Video synthesis control method and device, equipment and medium thereof
US11468058B1 (en) Schema aggregating and querying system
CN114077459A (en) Method, device, medium and product for controlling foreign access login
US8838596B2 (en) Systems and methods to process enquires by receving and processing user defined scopes first
US20050033822A1 (en) Method and apparatus for information distribution and retrieval
CN114222190A (en) Remote control processing and responding method and device, equipment, medium and product thereof
CN114328555A (en) Commodity information updating processing method and device, equipment, medium and product thereof
CN113784161A (en) User mark transmission method and device, equipment and medium thereof
KR20220165993A (en) Method and system for generating artificial intelligence character

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination