WO2020057352A1 - Distributed system data sharing method and device, distributed data sharing system - Google Patents

Distributed system data sharing method and device, distributed data sharing system Download PDF

Info

Publication number
WO2020057352A1
WO2020057352A1 PCT/CN2019/103774 CN2019103774W WO2020057352A1 WO 2020057352 A1 WO2020057352 A1 WO 2020057352A1 CN 2019103774 W CN2019103774 W CN 2019103774W WO 2020057352 A1 WO2020057352 A1 WO 2020057352A1
Authority
WO
WIPO (PCT)
Prior art keywords
screen content
playback
request
data sharing
file
Prior art date
Application number
PCT/CN2019/103774
Other languages
French (fr)
Chinese (zh)
Inventor
申灵
Original Assignee
深圳市九洲电器有限公司
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 深圳市九洲电器有限公司 filed Critical 深圳市九洲电器有限公司
Publication of WO2020057352A1 publication Critical patent/WO2020057352A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/176Support for shared access to files; File sharing support
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/18File system types
    • G06F16/182Distributed file systems

Definitions

  • the present invention relates to the technical field of data sharing, and in particular, to a data sharing method and device for a distributed system, and a data sharing distributed system.
  • the inventor found that the conventional technology has at least the following problems: due to the variety of file types of data shared between devices, the data shared by device A to device B may not be able to be opened in device B, affecting system operation. reliability.
  • An object of the embodiments of the present invention is to provide a data sharing method and device for a distributed system, and a data sharing distributed system, which can improve the reliability of system operation.
  • the embodiments of the present invention provide the following technical solutions:
  • an embodiment of the present invention provides a distributed system data sharing method, which is applied to a node server.
  • the method includes:
  • the file playback request includes a playback success request and a playback failure request
  • the sending the screen content to the first device according to the file playback request includes:
  • the playback failure request carries a file format of the first device
  • converting the screen content into a target file that can be played by the first device according to the playback failure request includes:
  • the screen content is an online video
  • the method further includes:
  • obtaining the file format of the screen content displayed on the second device according to the identity information of the second device includes:
  • the device permission list pre-stores identity information of several devices
  • the first data sharing request is not responded.
  • an embodiment of the present invention provides a data sharing device for a distributed system, which is applied to a node server, and the device includes:
  • a receiving module configured to receive a first data sharing request sent by a first device, where the first data sharing request carries identity information of a second device;
  • An obtaining module configured to obtain a file format and a playback starting point of screen content displayed on the second device according to the identity information of the second device;
  • a returning module configured to return the file format of the screen content of the second device and the playback start point to the first device, so that the first device returns a file playback request according to the file format of the screen content;
  • a sending module is configured to send the screen content to the first device according to the file playback request, so that the first device plays the screen content according to the playback starting point.
  • the file playback request includes a playback success request and a playback failure request
  • the sending module includes:
  • a determining unit configured to determine a type of the file playback request
  • a first sending unit configured to send a second data sharing request to the second device if the playback is successful, so that the second device returns an address of the screen content according to the second data sharing request;
  • a second sending unit configured to send the address of the screen content to the first device, so that the first device obtains the screen content according to the address of the screen content
  • a conversion unit configured to convert the screen content into a target file that can be played by the first device according to the playback failure request, and send the target file to the first device according to the playback failure request.
  • an embodiment of the present invention provides a node server, including:
  • At least one processor At least one processor
  • a memory connected in communication with the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processing
  • the processor can be used to execute the distributed system data sharing method according to any one of the above.
  • an embodiment of the present invention provides a data sharing distributed system, including:
  • the node server and the node server are respectively connected to the first devices and the second devices.
  • an embodiment of the present invention provides a non-transitory computer-readable storage medium, where the non-transitory computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to cause a node server to execute The data sharing method of any one of the distributed systems.
  • an embodiment of the present invention provides a computer program product.
  • the computer program product includes a computer program stored on a non-volatile computer-readable storage medium.
  • the computer program includes program instructions. When the instructions are executed by the node server, the node server is caused to execute the distributed system data sharing method according to any one of the foregoing.
  • a first data sharing request sent by a first device is received, and the first data sharing request carries an identity of the second device information.
  • a file format and a playback starting point of the screen content displayed on the second device are obtained.
  • the file format and the playback start point of the screen content of the second device are returned to the first device, so that the first device returns a file playback request according to the file format of the screen content.
  • the screen content is sent to the first device, so that the first device plays the screen content according to the playback start point. Therefore, the node server can send the screen content to the first device according to the file format of the screen content, so that the first device can successfully open the screen content, reduce the sharing failure rate, and thereby improve the reliability of system operation.
  • FIG. 1 is a data sharing distributed system provided by an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of a data sharing method for a distributed system according to an embodiment of the present invention
  • FIG. 3 is a schematic flowchart of S24 in FIG. 2;
  • FIG. 4 is a schematic flowchart of S244 in FIG. 3;
  • FIG. 5 is a schematic structural diagram of a data sharing device for a distributed system according to an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a sending module in FIG. 5;
  • FIG. 7 is a schematic structural diagram of a node server according to an embodiment of the present invention.
  • FIG. 1 is a data sharing distributed system according to an embodiment of the present invention.
  • the data sharing distributed system 100 includes a first device 11, a second device 12, and a node server 13.
  • the first device 11 or the second device 12 may be any one of the following electronic devices: a television, a smart phone, a computer, a personal digital assistant (PDA), a tablet computer, an e-book, and so on.
  • a television a smart phone
  • a computer a personal digital assistant (PDA)
  • PDA personal digital assistant
  • tablet computer a tablet computer
  • e-book an e-book
  • the first device 11 or the second device 12 has a display screen.
  • the display screen may be a touch screen or a non-touch screen. It may be a TFT screen (Thin Film Transistor), a TFD screen (Thin Film Diode, TFD). Thin film diode), UFB screen (Ultra FineBright, UFB), STN screen (Super Twisted Nematic, STN), OLED screen (Organic Light-Emitting Diode), AMOLED screen (Active Matrix / Organic Light AMOLED active matrix organic light emitting diode panel), and so on.
  • TFT screen Thin Film Transistor
  • TFD screen Thin Film Diode
  • UFB screen Ultra FineBright, UFB
  • STN screen Super Twisted Nematic, STN
  • OLED screen Organic Light-Emitting Diode
  • AMOLED screen Active Matrix / Organic Light AMOLED active matrix organic light emitting diode panel
  • the first device 11 or the second device 12 supports the installation of various applications, such as one or more desktop applications among the following applications: drawing applications, presentation applications, word processing applications, spreadsheet applications, games Applications, phone applications, video conferencing applications, email applications, instant messaging applications, training support applications, photos applications, digital camera applications, digital video recorder applications, web browsing applications, digital music players Applications, digital video player applications, and more.
  • applications include contacts, such as: phone applications, email applications, instant messaging applications, and so on.
  • the first device 11 or the second device 12 displays UI interfaces or other screen contents of various applications through a display screen.
  • the number of the first device 11 or the second device 12 may be one or more than two.
  • the node server 13 communicates with the first device 11 and the second device 12, respectively.
  • the communication method may be wireless communication or wired communication.
  • the node server 13 serves as an information transmission medium, and can control the screen content of the first device 11 to be displayed on the display screen of the second device 12 at the same time, and can also control the screen content of the second device 12 on the display screen of the first device 11 at the same time. Play to achieve multi-screen interaction.
  • the node server here may be a physical server or a logical server virtualized by multiple physical servers.
  • the server may also be a server group composed of multiple servers that can communicate with each other, and each functional module may be separately distributed on each server in the server group.
  • the first device 11, the second device 12, and the node server 13 support a Digital Living Network Alliance protocol (DIGITAL LIVING NETWORK ALLIANCE, DLAN). In other embodiments, the first device 11, the second device 12, and the node server 13 may also support the improved DLAN.
  • DIGITAL LIVING NETWORK ALLIANCE DLAN
  • the first device 11, the second device 12, and the node server 13 may also support the improved DLAN.
  • FIG. 2 is a schematic flowchart of a data sharing method for a distributed system according to an embodiment of the present invention.
  • the distributed system data sharing method S200 includes:
  • S21 Receive a first data sharing request sent by a first device, where the first data sharing request carries identity information of a second device;
  • the first device stores a device permission list
  • the device permission list pre-stores the identity information of several devices, including the identity information of the second device.
  • the identity information of any two devices is different, and the identity of each device is different.
  • the information corresponds to the correspondence address.
  • the first device When the first device needs to share the screen content of the second device, the first device encapsulates the identity information of the second device into a first data sharing request, and the first device sends the first data sharing request to the node server, so that the node server The identity information of the second device in a data sharing request is used to find the communication address of the second device.
  • the node server when the node server detects that the newly added device joins the data sharing distributed system, the node server broadcasts the identity information of the newly added device to the data sharing distributed system, and when each device receives the identity information of the newly added device , Will automatically update the device permission list maintained by itself.
  • the node server also maintains the same device permission list as each device.
  • the node server obtains the device permission list and determines whether there is identity information matching the identity information of the second device in the device permission list. If it does not exist, it does not respond to the first data sharing request. If it does, it obtains a display based on the identity information of the second device.
  • the file format and playback start point of the screen content of the second device for example, the node server traverses the communication address corresponding to the identity information of the second device from the device permission list, and accesses the second device according to the communication address of the second device device.
  • the node server When accessing the second device, the node server sends a content acquisition request to the second device, and the content acquisition request is used to instruct the second device to return to the node server the file format of the screen content currently displayed on the display screen of the second device and the playback start point.
  • the second device returns the file format of the screen content and the playback starting point to the node server according to the content acquisition request.
  • Screen content includes various formats of video files, various formats of audio files or various formats of edited text, etc.
  • the format of video files includes wmv, asf, asx, rm, rmvb, mp4, 3gp, mov, m4v, avi, dat, mkv, flv, vob, etc.
  • the formats of audio files include ACT, REC, VY1, VY2, VY3, VY4, SC4, DVF, MSC, WMA, MP3, WAV, and so on.
  • the playback start point is the playback time point at which the current screen content is located when the second device responds to the content acquisition request.
  • the screen content is a video file
  • the playback time of the video file is 60 minutes.
  • the second device responds to the content acquisition request, and the playback time point at this time is the 32nd minute.
  • the node server when the node server receives the file format and the playback start point of the screen content returned by the second device, the node server forwards the file format and the playback start point of the screen content of the second device to the first device.
  • the first device determines whether an application program for opening the screen content is installed according to the file format of the screen content, the first device encapsulates the determination result in a file playback request, and sends the file playback request to the node server.
  • the first device also records a playback start point of the screen content of the second device.
  • the judgment result includes the existence of an application for opening the screen content and the absence of an application for opening the screen content.
  • the current screen content of the display screen of the second device is a mov format video file.
  • An application for opening a mov format video file is not installed, so the determination result is that there is no application for opening the screen content.
  • the determination result is that there is an application program for opening the screen content.
  • the node server adaptively sends screen content to the first device according to the file playback request, so that the first device plays the screen content at the playback starting point.
  • the first device may also obtain the network delay time, and fast forward the playback progress corresponding to the network delay time at the playback start point according to a preset playback speed. This allows the first device to more effectively share the screen content of the second device.
  • the node server can send the screen content to the first device according to the file format of the screen content, so that the first device can successfully open the screen content, reduce the sharing failure rate, and thereby improve the reliability of system operation.
  • the determination result includes the existence of an application program for opening the screen content and the absence of an application program for opening the screen content. Accordingly, the file playback request includes a playback success request and a playback failure request.
  • S24 includes:
  • the node server sends a second data sharing request to the second device according to the playback success request returned by the first device, where the second data sharing request is used for An address that instructs the second device to return the screen content.
  • the screen content can be the content viewed online by the second device or the content stored locally by the second device.
  • the address of the screen content is a URL address (Uniform Resource Locator, Uniform Resource Locator).
  • the address of the screen content is an absolute address.
  • the second device when the screen content currently played by the second device is content that can be viewed by registered members, the second device returns not only the address of the screen content, but also the family account bound to the member registration account of the second device. To enable the first device to log in to the webpage where the screen content is located according to the family account and successfully share the screen content with the second device.
  • If the playback failure request according to the playback failure request, convert the screen content into a target file that can be played by the first device, and send the target file to the first device.
  • the node server converts the mov format video file into an avi format video file, and the avi format video file is the target file.
  • the playback failure request carries a file format of the first device.
  • S244 includes:
  • S2443 Convert the screen content into an object file that matches the file format of the first device.
  • the first device can reliably and successfully share the screen content of the second device.
  • the smoothness of online video playback is lower than that of local video.
  • the screen content has been downloaded and pre-stored in the node server, and the second device obtains the video from the node server and plays the video more smoothly than when playing the video online. Therefore, in order to improve the smoothness of the video played by the second device, first, when the node server detects that the screen content of the second device is an online video, it sends a connection disconnection request to the second device to disconnect the second device from the online connection. And establish a new connection with the node server. Second, with the playback start point as the starting point, the node server pushes the subsequent content of the target file to the second device, and the start time point of the subsequent content is the playback start point.
  • the node server may further obtain the network delay time, and fast forward the playback progress corresponding to the network delay time at the playback start point according to a preset playback speed, so that the second device plays the screen content more efficiently.
  • the embodiments of the present invention provide a data sharing apparatus for a distributed system.
  • the distributed system data sharing device according to the embodiment of the present invention can be used as one of the software functional units.
  • the distributed system data sharing device includes several instructions. The several instructions are stored in a memory, and the processor can access the memory and call the instructions for execution. Complete the above-mentioned distributed system data sharing method.
  • FIG. 5 is a schematic structural diagram of a distributed system data sharing device according to an embodiment of the present invention.
  • the distributed system data sharing device 500 is applied to a node server.
  • the distributed system data sharing device 500 includes a receiving module 51, an obtaining module 52, a returning module 53, and a sending module 54.
  • the receiving module 51 is configured to receive a first data sharing request sent by a first device, where the first data sharing request carries identity information of a second device;
  • the obtaining module 52 is configured to obtain a file format and a playback starting point of screen content displayed on the second device according to the identity information of the second device;
  • the returning module 53 is configured to return the file format of the screen content of the second device and the playback start point to the first device, so that the first device returns a file playback request according to the file format of the screen content;
  • the sending module 54 is configured to send the screen content to the first device according to the file playback request, so that the first device plays the screen content according to the playback starting point.
  • the node server can send the screen content to the first device according to the file format of the screen content, so that the first device can successfully open the screen content, reduce the sharing failure rate, and thereby improve the reliability of system operation.
  • the file playback request includes a playback success request and a playback failure request.
  • the sending module 54 includes: a determining unit 541, a first sending unit 542, a second sending unit 543, and a converting unit 544.
  • the determining unit 541 is configured to determine a type of the file playback request
  • the first sending unit 542 is configured to send a second data sharing request to the second device if the playback is successful, so that the second device returns an address of the screen content according to the second data sharing request;
  • the second sending unit 543 is configured to send the address of the screen content to the first device, so that the first device obtains the screen content according to the address of the screen content;
  • the conversion unit 544 is configured to convert the screen content into a target file that can be played by the first device according to the playback failure request, and send the target file to the first device according to the playback failure request.
  • the above-mentioned distributed system data sharing device can execute the distributed system data sharing method provided by the embodiment of the present invention, and has corresponding function modules and beneficial effects of the execution method.
  • the distributed system data sharing method provided in the embodiment of the present invention.
  • an embodiment of the present invention provides a node server.
  • the node server 700 includes: one or more processors 71 and a memory 72. Among them, one processor 71 is taken as an example in FIG. 7.
  • the processor 71 and the memory 72 may be connected through a bus or other manners. In FIG. 7, the connection through the bus is taken as an example.
  • the memory 72 is a non-volatile computer-readable storage medium, and can be used to store non-volatile software programs, non-volatile computer executable programs, and modules, as corresponding to the distributed system data sharing method in the embodiment of the present invention.
  • the processor 71 executes various functional applications and data processing of the distributed system data sharing device by running the non-volatile software programs, instructions, and modules stored in the memory 72, that is, the distributed system data sharing of the foregoing method embodiment is implemented Method and functions of each module of the above device embodiment.
  • the memory 72 may include a high-speed random access memory, and may further include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other non-volatile solid-state storage device.
  • the memory 72 may optionally include a memory remotely set relative to the processor 71, and these remote memories may be connected to the processor 71 through a network. Examples of the above networks include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
  • the program instructions / modules are stored in the memory 72, and when executed by the one or more processors 71, perform the distributed system data sharing method in any of the foregoing method embodiments, for example, execute the diagram described above 2 and each step shown in FIG. 4; the functions of each module and unit described in FIG. 5 to FIG. 6 can also be realized.
  • An embodiment of the present invention also provides a non-volatile computer storage medium.
  • the computer storage medium stores computer-executable instructions, and the computer-executable instructions are executed by one or more processors, such as a process in FIG. 7.
  • the processor 71 may enable the one or more processors to execute the distributed system data sharing method in any of the foregoing method embodiments, for example, to execute the distributed system data sharing method in any of the foregoing method embodiments, for example, to execute the foregoing description.
  • the above steps are performed to perform the steps shown in FIG. 2 and FIG. 4 described above; the functions of each module and unit described in FIG. 5 to FIG. 6 may also be implemented.
  • the embodiments of the device or device described above are only schematic, and the unit modules described as separate components may or may not be physically separated, and the components displayed as module units may or may not be physical units. , Can be located in one place, or can be distributed to multiple network module units. Some or all of the modules may be selected according to actual needs to achieve the objective of the solution of this embodiment.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present invention relates to the technical field of data sharing, and in particular to a distributed system data sharing method and device, and a distributed data sharing system. The method comprises: receiving a first data sharing request sent by a first device, the first data sharing request carrying identification information of a second device; acquiring, according to the identification information of the second device, a file format and a playback starting point of screen content displayed on the second device; sending the file format and the playback starting point of the screen content of the second device to the first device, such that the first device can send back a file playback request according to the file format of the screen content; and sending the screen content to the first device according to the file playback request, such that the first device can play the screen content according to the playback starting point. A node server can send screen content to a first device according to a file format of the screen content, such that the first device can successfully open the screen content, so as to reduce the failure rate of sharing and improve the reliability of system operation.

Description

分布式***数据共享方法及装置、数据共享分布式***Data sharing method and device for distributed system, and data sharing distributed system 技术领域Technical field
本发明涉及数据共享技术领域,特别是涉及一种分布式***数据共享方法及装置、数据共享分布式***。The present invention relates to the technical field of data sharing, and in particular, to a data sharing method and device for a distributed system, and a data sharing distributed system.
背景技术Background technique
随着共享技术的发展,现有不同设备都可以实现双方数据的共享。基于数据的共享开放,设备的智能化程度越来越高,用户体验感越来越强,比如,用户可以将电视机的当前屏幕内容转移至手机中播放,从而实现大屏转小屏的跨越式播放,从而极大提升用户的体验感。With the development of sharing technology, existing different devices can share data between both parties. Based on data sharing and openness, the device is becoming more intelligent and the user experience is getting stronger. For example, the user can transfer the current screen content of the TV to a mobile phone to play, thereby achieving the leap from large screen to small screen Playback, which greatly enhances the user ’s experience.
发明人在实现本发明的过程中,发现传统技术至少存在以下问题:由于设备之间共享数据的文件类型繁多,设备A共享给设备B的数据在设备B中未必能够被打开,影响***运行的可靠性。In the process of implementing the present invention, the inventor found that the conventional technology has at least the following problems: due to the variety of file types of data shared between devices, the data shared by device A to device B may not be able to be opened in device B, affecting system operation. reliability.
发明内容Summary of the Invention
本发明实施例一个目的旨在提供一种分布式***数据共享方法及装置、数据共享分布式***,其能够提高***运行的可靠性。An object of the embodiments of the present invention is to provide a data sharing method and device for a distributed system, and a data sharing distributed system, which can improve the reliability of system operation.
为解决上述技术问题,本发明实施例提供以下技术方案:To solve the above technical problems, the embodiments of the present invention provide the following technical solutions:
在第一方面,本发明实施例提供一种分布式***数据共享方法,应用于节点服务器,所述方法包括:In a first aspect, an embodiment of the present invention provides a distributed system data sharing method, which is applied to a node server. The method includes:
接收第一设备发送的第一数据共享请求,所述第一数据共享请求携带有第二设备的身份信息;Receiving a first data sharing request sent by a first device, where the first data sharing request carries identity information of a second device;
根据所述第二设备的身份信息,获取显示于所述第二设备的屏幕内容的文件格式以及播放起始点;Obtaining a file format and a playback starting point of the screen content displayed on the second device according to the identity information of the second device;
向所述第一设备返回所述第二设备的屏幕内容的文件格式以及播放起始点,以使所述第一设备根据所述屏幕内容的文件格式返回文件播放请求;Returning the file format of the screen content of the second device and the playback start point to the first device, so that the first device returns a file playback request according to the file format of the screen content;
根据所述文件播放请求,向所述第一设备发送所述屏幕内容,以使所述第一设备根据所述播放起始点播放所述屏幕内容。Sending the screen content to the first device according to the file playback request, so that the first device plays the screen content according to the playback starting point.
可选地,所述文件播放请求包括播放成功请求与播放失败请求;Optionally, the file playback request includes a playback success request and a playback failure request;
所述根据所述文件播放请求,向所述第一设备发送所述屏幕内容,包括:The sending the screen content to the first device according to the file playback request includes:
确定所述文件播放请求的类型;Determining the type of the file playback request;
若是播放成功请求,向所述第二设备发送第二数据共享请求,以使所述第二设备根据所述第二数据共享请求返回所述屏幕内容的地址;If it is a successful playback request, sending a second data sharing request to the second device, so that the second device returns an address of the screen content according to the second data sharing request;
向所述第一设备发送所述屏幕内容的地址,以使所述第一设备根据所述屏幕内容的地址获取所述屏幕内容;Sending the address of the screen content to the first device, so that the first device obtains the screen content according to the address of the screen content;
若是播放失败请求,根据所述播放失败请求,获取所述屏幕内容,并向所述第一设备发送所述屏幕内容。If it is a playback failure request, acquire the screen content according to the playback failure request, and send the screen content to the first device.
可选地,所述播放失败请求携带有所述第一设备的文件格式;Optionally, the playback failure request carries a file format of the first device;
所述若是播放失败请求,根据所述播放失败请求,将所述屏幕内容转换成可由所述第一设备播放的目标文件,包括:If the playback failure request, converting the screen content into a target file that can be played by the first device according to the playback failure request includes:
根据所述播放失败请求,向所述第二设备发送第二数据共享请求,以使所述第二设备根据所述第二数据共享请求返回所述屏幕内容的地址;Sending a second data sharing request to the second device according to the playback failure request, so that the second device returns an address of the screen content according to the second data sharing request;
根据所述屏幕内容的地址,下载所述屏幕内容;Downloading the screen content according to the address of the screen content;
将所述屏幕内容转换成匹配所述第一设备的文件格式的目标文件。Converting the screen content into an object file that matches the file format of the first device.
可选地,所述屏幕内容为在线视频;Optionally, the screen content is an online video;
所述方法还包括:The method further includes:
在检测到所述第二设备的屏幕内容为在线视频时,向所述第二设备发送连接断开请求,以使所述第二设备断开在线连接,并与所述节点服务器建立新连接;When detecting that the screen content of the second device is an online video, sending a connection disconnection request to the second device, so that the second device disconnects the online connection and establishes a new connection with the node server;
以所述播放起始点为起始点,向所述第二设备推送所述目标文件的后续内容。And using the playback start point as a starting point to push subsequent content of the target file to the second device.
可选地,所述根据所述第二设备的身份信息,获取显示于所述第二设备的屏幕内容的文件格式,包括:Optionally, obtaining the file format of the screen content displayed on the second device according to the identity information of the second device includes:
获取设备权限列表,所述设备权限列表预存有若干设备的身份信息;Obtaining a device permission list, the device permission list pre-stores identity information of several devices;
判断所述设备权限列表是否存在与所述第二设备的身份信息匹配的身份信息;Determining whether there is identity information matching the identity information of the second device in the device permission list;
若存在,根据所述第二设备的身份信息,获取显示于所述第二设备的屏幕 内容的文件格式以及播放起始点;If it exists, obtaining the file format of the screen content displayed on the second device and the playback start point according to the identity information of the second device;
若不存在,不响应所述第一数据共享请求。If it does not exist, the first data sharing request is not responded.
在第二方面,本发明实施例提供一种分布式***数据共享装置,应用于节点服务器,所述装置包括:In a second aspect, an embodiment of the present invention provides a data sharing device for a distributed system, which is applied to a node server, and the device includes:
接收模块,用于接收第一设备发送的第一数据共享请求,所述第一数据共享请求携带有第二设备的身份信息;A receiving module, configured to receive a first data sharing request sent by a first device, where the first data sharing request carries identity information of a second device;
获取模块,用于根据所述第二设备的身份信息,获取显示于所述第二设备的屏幕内容的文件格式以及播放起始点;An obtaining module, configured to obtain a file format and a playback starting point of screen content displayed on the second device according to the identity information of the second device;
返回模块,用于向所述第一设备返回所述第二设备的屏幕内容的文件格式以及播放起始点,以使所述第一设备根据所述屏幕内容的文件格式返回文件播放请求;A returning module, configured to return the file format of the screen content of the second device and the playback start point to the first device, so that the first device returns a file playback request according to the file format of the screen content;
发送模块,用于根据所述文件播放请求,向所述第一设备发送所述屏幕内容,以使所述第一设备根据所述播放起始点播放所述屏幕内容。A sending module is configured to send the screen content to the first device according to the file playback request, so that the first device plays the screen content according to the playback starting point.
可选地,所述文件播放请求包括播放成功请求与播放失败请求;Optionally, the file playback request includes a playback success request and a playback failure request;
所述发送模块,包括:The sending module includes:
确定单元,用于确定所述文件播放请求的类型;A determining unit, configured to determine a type of the file playback request;
第一发送单元,用于若是播放成功请求,向所述第二设备发送第二数据共享请求,以使所述第二设备根据所述第二数据共享请求返回所述屏幕内容的地址;A first sending unit, configured to send a second data sharing request to the second device if the playback is successful, so that the second device returns an address of the screen content according to the second data sharing request;
第二发送单元,用于向所述第一设备发送所述屏幕内容的地址,以使所述第一设备根据所述屏幕内容的地址获取所述屏幕内容;A second sending unit, configured to send the address of the screen content to the first device, so that the first device obtains the screen content according to the address of the screen content;
转换单元,用于若是播放失败请求,根据所述播放失败请求,将所述屏幕内容转换成可由所述第一设备播放的目标文件,并向所述第一设备发送所述目标文件。A conversion unit, configured to convert the screen content into a target file that can be played by the first device according to the playback failure request, and send the target file to the first device according to the playback failure request.
在第三方面,本发明实施例提供一种节点服务器,包括:In a third aspect, an embodiment of the present invention provides a node server, including:
至少一个处理器;以及At least one processor; and
与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够用于执行任一项所述的分布式***数据共享方法。A memory connected in communication with the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processing The processor can be used to execute the distributed system data sharing method according to any one of the above.
在第四方面,本发明实施例提供一种数据共享分布式***,包括:In a fourth aspect, an embodiment of the present invention provides a data sharing distributed system, including:
若干第一设备;Several first devices;
若干第二设备;以及A number of second devices; and
所述的节点服务器,所述节点服务器分别与所述若干第一设备和所述若干第二设备。The node server and the node server are respectively connected to the first devices and the second devices.
在第五方面,本发明实施例提供一种非暂态计算机可读存储介质,所述非暂态计算机可读存储介质存储有计算机可执行指令,所述计算机可执行指令用于使节点服务器执行任一项所述的分布式***数据共享方法。In a fifth aspect, an embodiment of the present invention provides a non-transitory computer-readable storage medium, where the non-transitory computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to cause a node server to execute The data sharing method of any one of the distributed systems.
在第六方面,本发明实施例提供一种计算机程序产品,所述计算机程序产品包括存储在非易失性计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被节点服务器执行时,使所述节点服务器执行任一项所述的分布式***数据共享方法。In a sixth aspect, an embodiment of the present invention provides a computer program product. The computer program product includes a computer program stored on a non-volatile computer-readable storage medium. The computer program includes program instructions. When the instructions are executed by the node server, the node server is caused to execute the distributed system data sharing method according to any one of the foregoing.
在本发明各个实施例提供的分布式***数据共享方法及装置、数据共享分布式***中,首先,接收第一设备发送的第一数据共享请求,第一数据共享请求携带有第二设备的身份信息。其次,根据第二设备的身份信息,获取显示于第二设备的屏幕内容的文件格式以及播放起始点。再次,向第一设备返回第二设备的屏幕内容的文件格式以及播放起始点,以使第一设备根据所述屏幕内容的文件格式返回文件播放请求。最后,根据文件播放请求,向第一设备发送屏幕内容,以使第一设备根据播放起始点播放屏幕内容。因此,节点服务器能够根据屏幕内容的文件格式向第一设备发送屏幕内容,使得第一设备能够成功地打开屏幕内容,降低共享失败率,从而提高***运行的可靠性。In the distributed system data sharing method and device and data sharing distributed system provided by the embodiments of the present invention, first, a first data sharing request sent by a first device is received, and the first data sharing request carries an identity of the second device information. Secondly, according to the identity information of the second device, a file format and a playback starting point of the screen content displayed on the second device are obtained. Again, the file format and the playback start point of the screen content of the second device are returned to the first device, so that the first device returns a file playback request according to the file format of the screen content. Finally, according to the file playback request, the screen content is sent to the first device, so that the first device plays the screen content according to the playback start point. Therefore, the node server can send the screen content to the first device according to the file format of the screen content, so that the first device can successfully open the screen content, reduce the sharing failure rate, and thereby improve the reliability of system operation.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
一个或多个实施例通过与之对应的附图中的图片进行示例性说明,这些示例性说明并不构成对实施例的限定,附图中具有相同参考数字标号的元件表示为类似的元件,除非有特别申明,附图中的图不构成比例限制。One or more embodiments are exemplified by the pictures in the accompanying drawings. These exemplary descriptions do not constitute a limitation on the embodiments. Elements with the same reference numerals in the drawings are denoted as similar elements. Unless otherwise stated, the drawings in the drawings do not constitute a limitation on scale.
图1是本发明实施例提供一种数据共享分布式***;FIG. 1 is a data sharing distributed system provided by an embodiment of the present invention;
图2是本发明实施例提供一种分布式***数据共享方法的流程示意图;2 is a schematic flowchart of a data sharing method for a distributed system according to an embodiment of the present invention;
图3是图2中S24的流程示意图;3 is a schematic flowchart of S24 in FIG. 2;
图4是图3中S244的流程示意图;4 is a schematic flowchart of S244 in FIG. 3;
图5是本发明实施例提供一种分布式***数据共享装置的结构示意图;5 is a schematic structural diagram of a data sharing device for a distributed system according to an embodiment of the present invention;
图6是图5中发送模块的结构示意图;6 is a schematic structural diagram of a sending module in FIG. 5;
图7是本发明实施例提供一种节点服务器的结构示意图。FIG. 7 is a schematic structural diagram of a node server according to an embodiment of the present invention.
具体实施方式detailed description
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,此处所描述的具体实施例仅用以解释本发明,并不用于限定本发明。In order to make the objectives, technical solutions, and advantages of the present invention clearer, the present invention is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
请参阅图1,图1是本发明实施例提供一种数据共享分布式***。如图1所示,数据共享分布式***100包括第一设备11、第二设备12及节点服务器13。Please refer to FIG. 1, which is a data sharing distributed system according to an embodiment of the present invention. As shown in FIG. 1, the data sharing distributed system 100 includes a first device 11, a second device 12, and a node server 13.
第一设备11或第二设备12可以为以下任意一种电子设备:电视机、智能手机、计算机、掌上电脑(Personal Digital Assistant,PDA)、平板电脑、电子书等等。The first device 11 or the second device 12 may be any one of the following electronic devices: a television, a smart phone, a computer, a personal digital assistant (PDA), a tablet computer, an e-book, and so on.
第一设备11或第二设备12具有显示屏幕,显示屏幕可以是触控屏幕或者非触控屏幕,可以是TFT屏幕(Thin Film Transistor,TFT薄膜场效应晶体管)、TFD屏幕(Thin Film Diode,TFD薄膜二极管)、UFB屏幕(Ultra Fine Bright,UFB)、STN屏幕(Super Twisted Nematic,STN)、OLED屏幕(Organic Light-Emitting Diode,OLED有机发光二极管)、AMOLED屏幕(Active Matrix/Organic Light Emitting Diode,AMOLED有源矩阵有机发光二极体面板),以及等等。The first device 11 or the second device 12 has a display screen. The display screen may be a touch screen or a non-touch screen. It may be a TFT screen (Thin Film Transistor), a TFD screen (Thin Film Diode, TFD). Thin film diode), UFB screen (Ultra FineBright, UFB), STN screen (Super Twisted Nematic, STN), OLED screen (Organic Light-Emitting Diode), AMOLED screen (Active Matrix / Organic Light AMOLED active matrix organic light emitting diode panel), and so on.
第一设备11或第二设备12支持各种应用程序的安装,诸如以下应用程序中的一个或者多个桌面应用程序:绘图应用程序、演示应用程序、文字处理应用程序、电子表格应用程序、游戏应用程序、电话应用程序、视频会议应用程序、电子邮件应用程序、即时消息应用程序、训练支持应用程序、照片应用程序、数码相机应用程序、数码录像机应用程序、网页浏览应用程序、数字音乐播放器应用程序、数字视频播放器应用程序以及等等。在一些实施例中,一些应用程序包括有联系人,例如:电话应用程序、电子邮件应用程序、即时消息应用程序等等。The first device 11 or the second device 12 supports the installation of various applications, such as one or more desktop applications among the following applications: drawing applications, presentation applications, word processing applications, spreadsheet applications, games Applications, phone applications, video conferencing applications, email applications, instant messaging applications, training support applications, photos applications, digital camera applications, digital video recorder applications, web browsing applications, digital music players Applications, digital video player applications, and more. In some embodiments, some applications include contacts, such as: phone applications, email applications, instant messaging applications, and so on.
第一设备11或第二设备12通过显示屏幕显示各种应用程序的UI界面或其它屏幕内容。The first device 11 or the second device 12 displays UI interfaces or other screen contents of various applications through a display screen.
值得提醒的是,第一设备11或第二设备12的数量可以为一个,亦可以为两个以上。It is worth reminding that the number of the first device 11 or the second device 12 may be one or more than two.
节点服务器13分别与第一设备11和第二设备12通讯,其中,该通讯方式可以为无线通讯,亦可以为有线通讯。节点服务器13作为信息传输媒介,其能够控制第一设备11的屏幕内容在第二设备12的显示屏幕中同时播放,亦可以控制第二设备12的屏幕内容在第一设备11的显示屏幕中同时播放,从而达到多屏互动。The node server 13 communicates with the first device 11 and the second device 12, respectively. The communication method may be wireless communication or wired communication. The node server 13 serves as an information transmission medium, and can control the screen content of the first device 11 to be displayed on the display screen of the second device 12 at the same time, and can also control the screen content of the second device 12 on the display screen of the first device 11 at the same time. Play to achieve multi-screen interaction.
此处的节点服务器可以是一个物理服务器或者多个物理服务器虚拟而成的一个逻辑服务器。服务器也可以是多个可互联通信的服务器组成的服务器群,且各个功能模块可分别分布在服务器群中的各个服务器上。The node server here may be a physical server or a logical server virtualized by multiple physical servers. The server may also be a server group composed of multiple servers that can communicate with each other, and each functional module may be separately distributed on each server in the server group.
在一些实施例中,第一设备11、第二设备12及节点服务器13支持数字生活网络联盟协议(DIGITAL LIVING NETWORK ALLIANCE,DLAN)。在另一些实施例中,第一设备11、第二设备12及节点服务器13还可以支持改进后的DLAN。In some embodiments, the first device 11, the second device 12, and the node server 13 support a Digital Living Network Alliance protocol (DIGITAL LIVING NETWORK ALLIANCE, DLAN). In other embodiments, the first device 11, the second device 12, and the node server 13 may also support the improved DLAN.
请参阅图2,图2是本发明实施例提供一种分布式***数据共享方法的流程示意图。如图2所示,分布式***数据共享方法S200包括:Please refer to FIG. 2, which is a schematic flowchart of a data sharing method for a distributed system according to an embodiment of the present invention. As shown in FIG. 2, the distributed system data sharing method S200 includes:
S21、接收第一设备发送的第一数据共享请求,第一数据共享请求携带有第二设备的身份信息;S21. Receive a first data sharing request sent by a first device, where the first data sharing request carries identity information of a second device;
在本实施例中,第一设备保存有设备权限列表,设备权限列表预存有若干设备的身份信息,其中包括第二设备的身份信息,任意两个设备的身份信息皆不同,每个设备的身份信息皆对应有通讯地址。In this embodiment, the first device stores a device permission list, and the device permission list pre-stores the identity information of several devices, including the identity information of the second device. The identity information of any two devices is different, and the identity of each device is different. The information corresponds to the correspondence address.
第一设备需要共享第二设备的屏幕内容时,第一设备将第二设备的身份信息封装成第一数据共享请求,第一设备向节点服务器发送第一数据共享请求,以使节点服务器根据第一数据共享请求中的第二设备的身份信息,查找出所述第二设备的通讯地址。When the first device needs to share the screen content of the second device, the first device encapsulates the identity information of the second device into a first data sharing request, and the first device sends the first data sharing request to the node server, so that the node server The identity information of the second device in a data sharing request is used to find the communication address of the second device.
在一些实施例中,节点服务器检测到新增设备加入数据共享分布式***时,节点服务器将新增设备的身份信息广播于数据共享分布式***,每个设备接收到新增设备的身份信息时,都会自动更新自身维护的设备权限列表。In some embodiments, when the node server detects that the newly added device joins the data sharing distributed system, the node server broadcasts the identity information of the newly added device to the data sharing distributed system, and when each device receives the identity information of the newly added device , Will automatically update the device permission list maintained by itself.
S22、根据第二设备的身份信息,获取显示于第二设备的屏幕内容的文件格式以及播放起始点;S22. Acquire a file format and a playback starting point of the screen content displayed on the second device according to the identity information of the second device.
在本实施例中,节点服务器同样维护着与各个设备相同的设备权限列表。节点服务器获取设备权限列表,判断设备权限列表是否存在与第二设备的身份信息匹配的身份信息,若不存在,不响应第一数据共享请求,若存在,根据第二设备的身份信息,获取显示于第二设备的屏幕内容的文件格式以及播放起始点,例如,节点服务器从设备权限列表中遍历出与第二设备的身份信息相对应的通讯地址,并根据第二设备的通讯地址访问第二设备。访问第二设备时,节点服务器向第二设备发送内容获取请求,该内容获取请求用于指示第二设备向节点服务器返回第二设备显示屏幕当前显示的屏幕内容的文件格式以及播放起始点,于是,第二设备根据内容获取请求,向节点服务器返回屏幕内容的文件格式以及播放起始点。In this embodiment, the node server also maintains the same device permission list as each device. The node server obtains the device permission list and determines whether there is identity information matching the identity information of the second device in the device permission list. If it does not exist, it does not respond to the first data sharing request. If it does, it obtains a display based on the identity information of the second device. The file format and playback start point of the screen content of the second device, for example, the node server traverses the communication address corresponding to the identity information of the second device from the device permission list, and accesses the second device according to the communication address of the second device device. When accessing the second device, the node server sends a content acquisition request to the second device, and the content acquisition request is used to instruct the second device to return to the node server the file format of the screen content currently displayed on the display screen of the second device and the playback start point. The second device returns the file format of the screen content and the playback starting point to the node server according to the content acquisition request.
屏幕内容包括各类格式视频文件、各类格式音频文件或各类格式编辑文本等等,例如,视频文件的格式包括wmv、asf、asx、rm、rmvb、mp4、3gp、mov、m4v、avi、dat、mkv、flv、vob等等,音频文件的格式包括ACT、REC、VY1、VY2、VY3、VY4、SC4、DVF、MSC、WMA、MP3、WAV等等。Screen content includes various formats of video files, various formats of audio files or various formats of edited text, etc. For example, the format of video files includes wmv, asf, asx, rm, rmvb, mp4, 3gp, mov, m4v, avi, dat, mkv, flv, vob, etc. The formats of audio files include ACT, REC, VY1, VY2, VY3, VY4, SC4, DVF, MSC, WMA, MP3, WAV, and so on.
播放起始点为在第二设备响应于内容获取请求时,当前屏幕内容所在的播放时间点,例如,屏幕内容为视频文件,该视频文件的播放时长为60分钟,当该视频文件在第二设备播放32分钟时,第二设备响应于内容获取请求,此时的播放时间点为第32分钟。The playback start point is the playback time point at which the current screen content is located when the second device responds to the content acquisition request. For example, the screen content is a video file, and the playback time of the video file is 60 minutes. When playing for 32 minutes, the second device responds to the content acquisition request, and the playback time point at this time is the 32nd minute.
S23、向第一设备返回第二设备的屏幕内容的文件格式以及播放起始点,以使第一设备根据屏幕内容的文件格式返回文件播放请求;S23: Return the file format of the screen content of the second device and the playback start point to the first device, so that the first device returns a file playback request according to the file format of the screen content;
在本实施例中,当节点服务器接收到第二设备返回的屏幕内容的文件格式以及播放起始点,节点服务器便向第一设备转发第二设备的屏幕内容的文件格式以及播放起始点。第一设备根据屏幕内容的文件格式,判断自身是否安装有用于打开该屏幕内容的应用程序,第一设备将判断结果封装于文件播放请求,并向节点服务器发送文件播放请求。并且,第一设备还记录第二设备的屏幕内容的播放起始点。In this embodiment, when the node server receives the file format and the playback start point of the screen content returned by the second device, the node server forwards the file format and the playback start point of the screen content of the second device to the first device. The first device determines whether an application program for opening the screen content is installed according to the file format of the screen content, the first device encapsulates the determination result in a file playback request, and sends the file playback request to the node server. In addition, the first device also records a playback start point of the screen content of the second device.
举例而言,判断结果包括存在用于打开屏幕内容的应用程序和不存在用于 打开屏幕内容的应用程序,例如,第二设备显示屏幕的当前屏幕内容为mov格式视频文件,然而,第一设备并未安装有用于打开mov格式视频文件的应用程序,于是,该判断结果为不存在用于打开屏幕内容的应用程序。相反,当第一设备安装有用于打开mov格式视频文件的应用程序,于是,该判断结果为存在用于打开屏幕内容的应用程序。For example, the judgment result includes the existence of an application for opening the screen content and the absence of an application for opening the screen content. For example, the current screen content of the display screen of the second device is a mov format video file. An application for opening a mov format video file is not installed, so the determination result is that there is no application for opening the screen content. In contrast, when the first device is installed with an application program for opening a mov format video file, the determination result is that there is an application program for opening the screen content.
S24、根据文件播放请求,向第一设备发送屏幕内容,以使第一设备根据播放起始点播放屏幕内容。S24. Send the screen content to the first device according to the file playback request, so that the first device plays the screen content according to the playback start point.
在本实施例中,节点服务器根据文件播放请求,适应性地向第一设备发送屏幕内容,以使第一设备在播放起始点处播放屏幕内容。In this embodiment, the node server adaptively sends screen content to the first device according to the file playback request, so that the first device plays the screen content at the playback starting point.
在一些实施例中,第一设备根据播放起始点播放屏幕内容的过程中,其还可以获取网络延迟时间,在播放起始点处按照预设播放速度快进与网络延迟时间相对应的播放进度,以使第一设备更有效地共享第二设备的屏幕内容。In some embodiments, during the process of playing the screen content according to the playback start point, the first device may also obtain the network delay time, and fast forward the playback progress corresponding to the network delay time at the playback start point according to a preset playback speed. This allows the first device to more effectively share the screen content of the second device.
综上,节点服务器能够根据屏幕内容的文件格式向第一设备发送屏幕内容,使得第一设备能够成功地打开屏幕内容,降低共享失败率,从而提高***运行的可靠性。In summary, the node server can send the screen content to the first device according to the file format of the screen content, so that the first device can successfully open the screen content, reduce the sharing failure rate, and thereby improve the reliability of system operation.
如前所述,判断结果包括存在用于打开屏幕内容的应用程序和不存在用于打开屏幕内容的应用程序,相应的,文件播放请求包括播放成功请求与播放失败请求。As described above, the determination result includes the existence of an application program for opening the screen content and the absence of an application program for opening the screen content. Accordingly, the file playback request includes a playback success request and a playback failure request.
承接上述例子,虽然第一设备未安装有用于打开mov格式视频文件的应用程序,但是第一设备安装有用于打开avi格式视频文件的应用程序,当将mov格式视频文件转换成avi格式视频文件时,第一设备便能够成功地共享第二设备的屏幕内容。因此,在一些实施例中,请参阅图3,S24包括:Following the above example, although the first device is not installed with an application for opening a mov format video file, the first device is installed with an application for opening an avi format video file. When the mov format video file is converted into an avi format video file , The first device can successfully share the screen content of the second device. Therefore, in some embodiments, referring to FIG. 3, S24 includes:
S241、确定文件播放请求的类型,若是播放成功请求,跳转至S242;若是播放失败请求,跳转至S244;S241. Determine the type of the file playback request. If the playback is successful, skip to S242; if the playback fails, skip to S244;
S242、若是播放成功请求,向第二设备发送第二数据共享请求,以使第二设备根据第二数据共享请求返回屏幕内容的地址;S242. If the playback is successful, send a second data sharing request to the second device, so that the second device returns the address of the screen content according to the second data sharing request;
在S242中,第一设备存在用于打开屏幕内容的应用程序,节点服务器根据第一设备返回的播放成功请求,向第二设备发送第二数据共享请求,其中,该第二数据共享请求用于指示第二设备返回屏幕内容的地址。屏幕内容可以为 第二设备在线观看的内容,亦可以为第二设备本地存储的内容,当屏幕内容为在线观看的内容时,该屏幕内容的地址为URL地址(Uniform Resource Locator,统一资源定位符)。当屏幕内容为本地存储的内容,该屏幕内容的地址为绝对地址。In S242, there is an application for opening the screen content on the first device, and the node server sends a second data sharing request to the second device according to the playback success request returned by the first device, where the second data sharing request is used for An address that instructs the second device to return the screen content. The screen content can be the content viewed online by the second device or the content stored locally by the second device. When the screen content is viewed online, the address of the screen content is a URL address (Uniform Resource Locator, Uniform Resource Locator). ). When the screen content is locally stored content, the address of the screen content is an absolute address.
在一些实施例中,当第二设备当前播放的屏幕内容为注册会员方可观看的内容时,第二设备不仅返回屏幕内容的地址,而且还返回第二设备的会员注册账号绑定的亲情账号,以使第一设备根据亲情账号登录上屏幕内容所在的网页,并成功与第二设备共享屏幕内容。In some embodiments, when the screen content currently played by the second device is content that can be viewed by registered members, the second device returns not only the address of the screen content, but also the family account bound to the member registration account of the second device. To enable the first device to log in to the webpage where the screen content is located according to the family account and successfully share the screen content with the second device.
S243、向第一设备发送屏幕内容的地址,以使第一设备根据屏幕内容的地址获取屏幕内容;S243. Send the address of the screen content to the first device, so that the first device obtains the screen content according to the address of the screen content.
S244、若是播放失败请求,根据播放失败请求,将屏幕内容转换成可由第一设备播放的目标文件,并向第一设备发送目标文件。S244. If the playback failure request, according to the playback failure request, convert the screen content into a target file that can be played by the first device, and send the target file to the first device.
在S244中,承接上述例子,节点服务器将mov格式视频文件转换成avi格式视频文件,该avi格式视频文件为目标文件。In S244, following the above example, the node server converts the mov format video file into an avi format video file, and the avi format video file is the target file.
在一些实施例中,播放失败请求携带有第一设备的文件格式。请参阅图4,S244包括:In some embodiments, the playback failure request carries a file format of the first device. Referring to Figure 4, S244 includes:
S2441、根据播放失败请求,向第二设备发送第二数据共享请求,以使第二设备根据第二数据共享请求返回屏幕内容的地址;S2441. Send a second data sharing request to the second device according to the playback failure request, so that the second device returns the address of the screen content according to the second data sharing request.
S2442、根据屏幕内容的地址,下载屏幕内容;S2442. Download the screen content according to the address of the screen content.
S2443、将屏幕内容转换成匹配第一设备的文件格式的目标文件。S2443: Convert the screen content into an object file that matches the file format of the first device.
因此,第一设备能够可靠地、成功地共享第二设备的屏幕内容。Therefore, the first device can reliably and successfully share the screen content of the second device.
一般,在线视频的播放流畅性低于本地视频的播放流畅性。在一些实施例中,屏幕内容已被下载并预存于节点服务器,第二设备从节点服务器获取视频并将该视频播放的流畅性会高于在线播放视频的流畅性。因此,为了提高第二设备播放视频的流畅性,首先,节点服务器在检测到第二设备的屏幕内容为在线视频时,向第二设备发送连接断开请求,以使第二设备断开在线连接,并与节点服务器建立新连接。其次,以播放起始点为起始点,节点服务器向第二设备推送目标文件的后续内容,该后续内容的起始时间点为播放起始点。Generally, the smoothness of online video playback is lower than that of local video. In some embodiments, the screen content has been downloaded and pre-stored in the node server, and the second device obtains the video from the node server and plays the video more smoothly than when playing the video online. Therefore, in order to improve the smoothness of the video played by the second device, first, when the node server detects that the screen content of the second device is an online video, it sends a connection disconnection request to the second device to disconnect the second device from the online connection. And establish a new connection with the node server. Second, with the playback start point as the starting point, the node server pushes the subsequent content of the target file to the second device, and the start time point of the subsequent content is the playback start point.
在一些实施例中,节点服务器还可以获取网络延迟时间,在播放起始点处 按照预设播放速度快进与网络延迟时间相对应的播放进度,以使第二设备更有效地播放屏幕内容。In some embodiments, the node server may further obtain the network delay time, and fast forward the playback progress corresponding to the network delay time at the playback start point according to a preset playback speed, so that the second device plays the screen content more efficiently.
需要说明的是,在上述各个实施例中,上述各步骤之间并不必然存在一定的先后顺序,本领域普通技术人员,根据本发明实施例的描述可以理解,不同实施例中,上述各步骤可以有不同的执行顺序,亦即,可以并行执行,亦可以交换执行等等。It should be noted that, in the above embodiments, there is not necessarily a certain sequence between the above steps. Those skilled in the art can understand from the description of the embodiments of the present invention that the above steps in different embodiments There can be different execution orders, that is, execution can be performed in parallel, execution can be exchanged, and so on.
作为本发明实施例的另一方面,本发明实施例提供一种分布式***数据共享装置。本发明实施例的分布式***数据共享装置可以作为其中一个软件功能单元,分布式***数据共享装置包括若干指令,该若干指令存储于存储器内,处理器可以访问该存储器,调用指令进行执行,以完成上述分布式***数据共享方法。As another aspect of the embodiments of the present invention, the embodiments of the present invention provide a data sharing apparatus for a distributed system. The distributed system data sharing device according to the embodiment of the present invention can be used as one of the software functional units. The distributed system data sharing device includes several instructions. The several instructions are stored in a memory, and the processor can access the memory and call the instructions for execution. Complete the above-mentioned distributed system data sharing method.
请参阅图5,图5是本发明实施例提供一种分布式***数据共享装置的结构示意图,分布式***数据共享装置500应用于节点服务器。如图5所示,分布式***数据共享装置500包括:接收模块51、获取模块52、返回模块53及发送模块54。Please refer to FIG. 5. FIG. 5 is a schematic structural diagram of a distributed system data sharing device according to an embodiment of the present invention. The distributed system data sharing device 500 is applied to a node server. As shown in FIG. 5, the distributed system data sharing device 500 includes a receiving module 51, an obtaining module 52, a returning module 53, and a sending module 54.
接收模块51用于接收第一设备发送的第一数据共享请求,所述第一数据共享请求携带有第二设备的身份信息;The receiving module 51 is configured to receive a first data sharing request sent by a first device, where the first data sharing request carries identity information of a second device;
获取模块52用于根据所述第二设备的身份信息,获取显示于所述第二设备的屏幕内容的文件格式以及播放起始点;The obtaining module 52 is configured to obtain a file format and a playback starting point of screen content displayed on the second device according to the identity information of the second device;
返回模块53用于向所述第一设备返回所述第二设备的屏幕内容的文件格式以及播放起始点,以使所述第一设备根据所述屏幕内容的文件格式返回文件播放请求;The returning module 53 is configured to return the file format of the screen content of the second device and the playback start point to the first device, so that the first device returns a file playback request according to the file format of the screen content;
发送模块54用于根据所述文件播放请求,向所述第一设备发送所述屏幕内容,以使所述第一设备根据所述播放起始点播放所述屏幕内容。The sending module 54 is configured to send the screen content to the first device according to the file playback request, so that the first device plays the screen content according to the playback starting point.
综上,节点服务器能够根据屏幕内容的文件格式向第一设备发送屏幕内容,使得第一设备能够成功地打开屏幕内容,降低共享失败率,从而提高***运行的可靠性。In summary, the node server can send the screen content to the first device according to the file format of the screen content, so that the first device can successfully open the screen content, reduce the sharing failure rate, and thereby improve the reliability of system operation.
在一些实施例中,所述文件播放请求包括播放成功请求与播放失败请求。请参阅图6,所述发送模块54包括:确定单元541、第一发送单元542、第二 发送单元543以及转换单元544。In some embodiments, the file playback request includes a playback success request and a playback failure request. Referring to FIG. 6, the sending module 54 includes: a determining unit 541, a first sending unit 542, a second sending unit 543, and a converting unit 544.
确定单元541用于确定所述文件播放请求的类型;The determining unit 541 is configured to determine a type of the file playback request;
第一发送单元542用于若是播放成功请求,向所述第二设备发送第二数据共享请求,以使所述第二设备根据所述第二数据共享请求返回所述屏幕内容的地址;The first sending unit 542 is configured to send a second data sharing request to the second device if the playback is successful, so that the second device returns an address of the screen content according to the second data sharing request;
第二发送单元543用于向所述第一设备发送所述屏幕内容的地址,以使所述第一设备根据所述屏幕内容的地址获取所述屏幕内容;The second sending unit 543 is configured to send the address of the screen content to the first device, so that the first device obtains the screen content according to the address of the screen content;
转换单元544用于若是播放失败请求,根据所述播放失败请求,将所述屏幕内容转换成可由所述第一设备播放的目标文件,并向所述第一设备发送所述目标文件。The conversion unit 544 is configured to convert the screen content into a target file that can be played by the first device according to the playback failure request, and send the target file to the first device according to the playback failure request.
需要说明的是,上述分布式***数据共享装置可执行本发明实施例所提供的分布式***数据共享方法,具备执行方法相应的功能模块和有益效果。未在分布式***数据共享装置实施例中详尽描述的技术细节,可参见本发明实施例所提供的分布式***数据共享方法。It should be noted that the above-mentioned distributed system data sharing device can execute the distributed system data sharing method provided by the embodiment of the present invention, and has corresponding function modules and beneficial effects of the execution method. For technical details that are not described in detail in the embodiment of the distributed system data sharing device, refer to the distributed system data sharing method provided in the embodiment of the present invention.
作为本发明实施例的又另一方面,本发明实施例提供一种节点服务器。如图7所示,该节点服务器700包括:一个或多个处理器71以及存储器72。其中,图7中以一个处理器71为例。As yet another aspect of the embodiments of the present invention, an embodiment of the present invention provides a node server. As shown in FIG. 7, the node server 700 includes: one or more processors 71 and a memory 72. Among them, one processor 71 is taken as an example in FIG. 7.
处理器71和存储器72可以通过总线或者其他方式连接,图7中以通过总线连接为例。The processor 71 and the memory 72 may be connected through a bus or other manners. In FIG. 7, the connection through the bus is taken as an example.
存储器72作为一种非易失性计算机可读存储介质,可用于存储非易失性软件程序、非易失性计算机可执行程序以及模块,如本发明实施例中的分布式***数据共享方法对应的程序指令/模块。处理器71通过运行存储在存储器72中的非易失性软件程序、指令以及模块,从而执行分布式***数据共享装置的各种功能应用以及数据处理,即实现上述方法实施例分布式***数据共享方法以及上述装置实施例的各个模块的功能。The memory 72 is a non-volatile computer-readable storage medium, and can be used to store non-volatile software programs, non-volatile computer executable programs, and modules, as corresponding to the distributed system data sharing method in the embodiment of the present invention. Program instructions / modules. The processor 71 executes various functional applications and data processing of the distributed system data sharing device by running the non-volatile software programs, instructions, and modules stored in the memory 72, that is, the distributed system data sharing of the foregoing method embodiment is implemented Method and functions of each module of the above device embodiment.
存储器72可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实施例中,存储器72可选包括相对于处理器71远程设置的存储器,这些远程存储器可以通过网络连接至处理器71。上述网络的实例包括但不限于互联 网、企业内部网、局域网、移动通信网及其组合。The memory 72 may include a high-speed random access memory, and may further include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory 72 may optionally include a memory remotely set relative to the processor 71, and these remote memories may be connected to the processor 71 through a network. Examples of the above networks include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
所述程序指令/模块存储在所述存储器72中,当被所述一个或者多个处理器71执行时,执行上述任意方法实施例中的分布式***数据共享方法,例如,执行以上描述的图2与图4所示的各个步骤;也可实现附图5至图6所述的各个模块和单元的功能。The program instructions / modules are stored in the memory 72, and when executed by the one or more processors 71, perform the distributed system data sharing method in any of the foregoing method embodiments, for example, execute the diagram described above 2 and each step shown in FIG. 4; the functions of each module and unit described in FIG. 5 to FIG. 6 can also be realized.
本发明实施例还提供了一种非易失性计算机存储介质,所述计算机存储介质存储有计算机可执行指令,该计算机可执行指令被一个或多个处理器执行,例如图7中的一个处理器71,可使得上述一个或多个处理器可执行上述任意方法实施例中的分布式***数据共享方法,例如,执行上述任意方法实施例中的分布式***数据共享方法,例如,执行以上描述的执行以上描述的执行以上描述的图2与图4所示的各个步骤;也可实现附图5至图6所述的各个模块和单元的功能。An embodiment of the present invention also provides a non-volatile computer storage medium. The computer storage medium stores computer-executable instructions, and the computer-executable instructions are executed by one or more processors, such as a process in FIG. 7. The processor 71 may enable the one or more processors to execute the distributed system data sharing method in any of the foregoing method embodiments, for example, to execute the distributed system data sharing method in any of the foregoing method embodiments, for example, to execute the foregoing description. The above steps are performed to perform the steps shown in FIG. 2 and FIG. 4 described above; the functions of each module and unit described in FIG. 5 to FIG. 6 may also be implemented.
以上所描述的装置或设备实施例仅仅是示意性的,其中所述作为分离部件说明的单元模块可以是或者也可以不是物理上分开的,作为模块单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络模块单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。The embodiments of the device or device described above are only schematic, and the unit modules described as separate components may or may not be physically separated, and the components displayed as module units may or may not be physical units. , Can be located in one place, or can be distributed to multiple network module units. Some or all of the modules may be selected according to actual needs to achieve the objective of the solution of this embodiment.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用直至得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the embodiments can be implemented by means of software plus a general hardware platform, and of course, also by hardware. Based on such an understanding, the above-mentioned technical solutions that are essentially or contribute to related technologies can be embodied in the form of software products, which can be stored in computer-readable storage media, such as ROM / RAM, magnetic disks , Optical discs, etc., including several instructions until a computer device (which may be a personal computer, a server, or a network device, etc.) executes the methods described in various embodiments or certain parts of the embodiments.
最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;在本发明的思路下,以上实施例或者不同实施例中的技术特征之间也可以进行组合,步骤可以以任意顺序实现,并存在如上所述的本发明的不同方面的许多其它变化,为了简明,它们没有在细节中提供;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述 各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的范围。Finally, it should be noted that the above embodiments are only used to describe the technical solution of the present invention, but not limited thereto. Under the idea of the present invention, the technical features in the above embodiments or different embodiments can also be combined. The steps can be implemented in any order and there are many other variations of the different aspects of the invention as described above, for the sake of brevity they are not provided in the details; although the invention has been described in detail with reference to the foregoing embodiments, it is common in the art The skilled person should understand that they can still modify the technical solutions described in the foregoing embodiments, or equivalently replace some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions separate from the implementation of this application. Examples of technical solutions.

Claims (10)

  1. 一种分布式***数据共享方法,应用于节点服务器,其特征在于,所述方法包括:A distributed system data sharing method applied to a node server is characterized in that the method includes:
    接收第一设备发送的第一数据共享请求,所述第一数据共享请求携带有第二设备的身份信息;Receiving a first data sharing request sent by a first device, where the first data sharing request carries identity information of a second device;
    根据所述第二设备的身份信息,获取显示于所述第二设备的屏幕内容的文件格式以及播放起始点;Obtaining a file format and a playback starting point of the screen content displayed on the second device according to the identity information of the second device;
    向所述第一设备返回所述第二设备的屏幕内容的文件格式以及播放起始点,以使所述第一设备根据所述屏幕内容的文件格式返回文件播放请求;Returning the file format of the screen content of the second device and the playback start point to the first device, so that the first device returns a file playback request according to the file format of the screen content;
    根据所述文件播放请求,向所述第一设备发送所述屏幕内容,以使所述第一设备根据所述播放起始点播放所述屏幕内容。Sending the screen content to the first device according to the file playback request, so that the first device plays the screen content according to the playback starting point.
  2. 根据权利要求1所述的方法,其特征在于,所述文件播放请求包括播放成功请求与播放失败请求;The method according to claim 1, wherein the file playback request comprises a playback success request and a playback failure request;
    所述根据所述文件播放请求,向所述第一设备发送所述屏幕内容,包括:The sending the screen content to the first device according to the file playback request includes:
    确定所述文件播放请求的类型;Determining the type of the file playback request;
    若是播放成功请求,向所述第二设备发送第二数据共享请求,以使所述第二设备根据所述第二数据共享请求返回所述屏幕内容的地址;If it is a successful playback request, sending a second data sharing request to the second device, so that the second device returns an address of the screen content according to the second data sharing request;
    向所述第一设备发送所述屏幕内容的地址,以使所述第一设备根据所述屏幕内容的地址获取所述屏幕内容;Sending the address of the screen content to the first device, so that the first device obtains the screen content according to the address of the screen content;
    若是播放失败请求,根据所述播放失败请求,将所述屏幕内容转换成可由所述第一设备播放的目标文件,并向所述第一设备发送所述目标文件。If it is a playback failure request, according to the playback failure request, the screen content is converted into a target file that can be played by the first device, and the target file is sent to the first device.
  3. 根据权利要求2所述的方法,其特征在于,所述播放失败请求携带有所述第一设备的文件格式;The method according to claim 2, wherein the playback failure request carries a file format of the first device;
    所述根据所述播放失败请求,将所述屏幕内容转换成可由所述第一设备播放的目标文件,包括:The converting the screen content into a target file playable by the first device according to the playback failure request includes:
    根据所述播放失败请求,向所述第二设备发送第二数据共享请求,以使所述第二设备根据所述第二数据共享请求返回所述屏幕内容的地址;Sending a second data sharing request to the second device according to the playback failure request, so that the second device returns an address of the screen content according to the second data sharing request;
    根据所述屏幕内容的地址,下载所述屏幕内容;Downloading the screen content according to the address of the screen content;
    将所述屏幕内容转换成匹配所述第一设备的文件格式的目标文件。Converting the screen content into an object file that matches the file format of the first device.
  4. 根据权利要求3所述的方法,其特征在于,所述方法还包括:The method according to claim 3, further comprising:
    在检测到所述第二设备的屏幕内容为在线视频时,向所述第二设备发送连接断开请求,以使所述第二设备断开在线连接,并与所述节点服务器建立新连接;When detecting that the screen content of the second device is an online video, sending a connection disconnection request to the second device, so that the second device disconnects the online connection and establishes a new connection with the node server;
    以所述播放起始点为起始点,向所述第二设备推送所述目标文件的后续内容。And using the playback start point as a starting point to push subsequent content of the target file to the second device.
  5. 根据权利要求1至4任一项所述的方法,其特征在于,所述根据所述第二设备的身份信息,获取显示于所述第二设备的屏幕内容的文件格式,包括:The method according to any one of claims 1 to 4, wherein the acquiring a file format of screen content displayed on the second device according to the identity information of the second device comprises:
    获取设备权限列表,所述设备权限列表预存有若干设备的身份信息;Obtaining a device permission list, the device permission list pre-stores identity information of several devices;
    判断所述设备权限列表是否存在与所述第二设备的身份信息匹配的身份信息;Determining whether there is identity information matching the identity information of the second device in the device permission list;
    若存在,根据所述第二设备的身份信息,获取显示于所述第二设备的屏幕内容的文件格式以及播放起始点;If it exists, obtaining the file format and the playback starting point of the screen content displayed on the second device according to the identity information of the second device;
    若不存在,不响应所述第一数据共享请求。If it does not exist, the first data sharing request is not responded.
  6. 一种分布式***数据共享装置,应用于节点服务器,其特征在于,所述装置包括:A distributed system data sharing device applied to a node server is characterized in that the device includes:
    接收模块,用于接收第一设备发送的第一数据共享请求,所述第一数据共享请求携带有第二设备的身份信息;A receiving module, configured to receive a first data sharing request sent by a first device, where the first data sharing request carries identity information of a second device;
    获取模块,用于根据所述第二设备的身份信息,获取显示于所述第二设备的屏幕内容的文件格式以及播放起始点;An obtaining module, configured to obtain a file format and a playback starting point of screen content displayed on the second device according to the identity information of the second device;
    返回模块,用于向所述第一设备返回所述第二设备的屏幕内容的文件格式以及播放起始点,以使所述第一设备根据所述屏幕内容的文件格式返回文件播放请求;A returning module, configured to return the file format of the screen content of the second device and the playback start point to the first device, so that the first device returns a file playback request according to the file format of the screen content;
    发送模块,用于根据所述文件播放请求,向所述第一设备发送所述屏幕内容,以使所述第一设备根据所述播放起始点播放所述屏幕内容。A sending module is configured to send the screen content to the first device according to the file playback request, so that the first device plays the screen content according to the playback starting point.
  7. 根据权利要求6所述的装置,其特征在于,所述文件播放请求包括播放成功请求与播放失败请求;The apparatus according to claim 6, wherein the file playback request comprises a playback success request and a playback failure request;
    所述发送模块,包括:The sending module includes:
    确定单元,用于确定所述文件播放请求的类型;A determining unit, configured to determine a type of the file playback request;
    第一发送单元,用于若是播放成功请求,向所述第二设备发送第二数据共享请求,以使所述第二设备根据所述第二数据共享请求返回所述屏幕内容的地址;A first sending unit, configured to send a second data sharing request to the second device if the playback is successful, so that the second device returns an address of the screen content according to the second data sharing request;
    第二发送单元,用于向所述第一设备发送所述屏幕内容的地址,以使所述第一设备根据所述屏幕内容的地址获取所述屏幕内容;A second sending unit, configured to send the address of the screen content to the first device, so that the first device obtains the screen content according to the address of the screen content;
    转换单元,用于若是播放失败请求,根据所述播放失败请求,将所述屏幕内容转换成可由所述第一设备播放的目标文件,并向所述第一设备发送所述目标文件。A conversion unit, configured to convert the screen content into a target file that can be played by the first device according to the playback failure request, and send the target file to the first device according to the playback failure request.
  8. 一种节点服务器,其特征在于,包括:A node server, comprising:
    至少一个处理器;以及At least one processor; and
    与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够用于执行如权利要求1至5任一项所述的分布式***数据共享方法。A memory connected in communication with the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processing The processor can be used to execute the distributed system data sharing method according to any one of claims 1 to 5.
  9. 一种数据共享分布式***,其特征在于,包括:A data sharing distributed system includes:
    若干第一设备;Several first devices;
    若干第二设备;以及A number of second devices; and
    如权利要求8所述的节点服务器,所述节点服务器分别与所述若干第一设备和所述若干第二设备连接。The node server according to claim 8, wherein the node server is respectively connected to the plurality of first devices and the plurality of second devices.
  10. 一种非暂态计算机可读存储介质,其特征在于,所述非暂态计算机可读存储介质存储有计算机可执行指令,所述计算机可执行指令用于使节点服务器执行如权利要求1至5任一项所述的分布式***数据共享方法。A non-transitory computer-readable storage medium, characterized in that the non-transitory computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used for causing a node server to execute the method as claimed in claims 1 to 5. The data sharing method of any one of the distributed systems.
PCT/CN2019/103774 2018-09-21 2019-08-30 Distributed system data sharing method and device, distributed data sharing system WO2020057352A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811109512.6A CN109299047A (en) 2018-09-21 2018-09-21 Distributed system data sharing method and device, data sharing distributed system
CN201811109512.6 2018-09-21

Publications (1)

Publication Number Publication Date
WO2020057352A1 true WO2020057352A1 (en) 2020-03-26

Family

ID=65163872

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/103774 WO2020057352A1 (en) 2018-09-21 2019-08-30 Distributed system data sharing method and device, distributed data sharing system

Country Status (2)

Country Link
CN (1) CN109299047A (en)
WO (1) WO2020057352A1 (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109299047A (en) * 2018-09-21 2019-02-01 深圳市九洲电器有限公司 Distributed system data sharing method and device, data sharing distributed system
CN110515526A (en) * 2019-09-03 2019-11-29 王庆军 A kind of multi-screen interaction method and device
CN112839238B (en) * 2019-11-22 2023-03-24 腾讯科技(深圳)有限公司 Screen projection playing method and device and storage medium
CN112261611B (en) * 2020-01-21 2022-01-14 华为技术有限公司 Service processing method, device and storage medium
CN111339513B (en) * 2020-01-23 2023-05-09 华为技术有限公司 Data sharing method and device
US20230195695A1 (en) * 2020-05-15 2023-06-22 Huawei Technologies Co., Ltd. File Sharing Method and Terminal Device
CN114095511B (en) * 2020-07-31 2023-03-10 华为技术有限公司 Method and equipment for data synchronization of mobile distributed system
CN112770159A (en) * 2020-12-30 2021-05-07 北京字节跳动网络技术有限公司 Multi-screen interaction system, method, device, equipment and storage medium
CN116886849A (en) * 2023-09-06 2023-10-13 中移(杭州)信息技术有限公司 Bidirectional audio/video call method and device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102571726A (en) * 2010-12-23 2012-07-11 ***通信集团广东有限公司 Multimedia data sharing method, system and state judgment server
WO2013170584A1 (en) * 2012-05-17 2013-11-21 华为技术有限公司 Method and device for multi-screen interaction
CN103546453A (en) * 2013-08-22 2014-01-29 合一网络技术(北京)有限公司 Cross-device multimedia playing method and device
CN106998490A (en) * 2017-04-18 2017-08-01 腾讯科技(深圳)有限公司 A kind of multi-medium data synchronous method and device
CN109299047A (en) * 2018-09-21 2019-02-01 深圳市九洲电器有限公司 Distributed system data sharing method and device, data sharing distributed system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102045296B (en) * 2009-10-21 2013-07-31 Tcl集团股份有限公司 System for realizing network media caption-playing based on network protocol and method thereof
CN104317898B (en) * 2014-10-24 2018-08-10 联想(北京)有限公司 A kind of information processing method and server
CN104837048A (en) * 2015-05-08 2015-08-12 深圳市飞图视讯有限公司 Screen mirror implementation method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102571726A (en) * 2010-12-23 2012-07-11 ***通信集团广东有限公司 Multimedia data sharing method, system and state judgment server
WO2013170584A1 (en) * 2012-05-17 2013-11-21 华为技术有限公司 Method and device for multi-screen interaction
CN103546453A (en) * 2013-08-22 2014-01-29 合一网络技术(北京)有限公司 Cross-device multimedia playing method and device
CN106998490A (en) * 2017-04-18 2017-08-01 腾讯科技(深圳)有限公司 A kind of multi-medium data synchronous method and device
CN109299047A (en) * 2018-09-21 2019-02-01 深圳市九洲电器有限公司 Distributed system data sharing method and device, data sharing distributed system

Also Published As

Publication number Publication date
CN109299047A (en) 2019-02-01

Similar Documents

Publication Publication Date Title
WO2020057352A1 (en) Distributed system data sharing method and device, distributed data sharing system
US20210225343A1 (en) System and method for association of a song, music, or other media content with a user's video content
US11297017B2 (en) System and method for providing digital media content with a conversational messaging environment
US11514117B2 (en) System and method for use of a media content bot in a social messaging environment
WO2018205925A1 (en) Promoted content processing method, apparatus and system, and storage medium
US10452250B2 (en) Method for associating media files with additional content
US20140298395A1 (en) Methods and systems for playing video on multiple terminals
US10999610B2 (en) Service method and system for providing multi-track video contents
JP6947919B2 (en) Video information processing methods, computer devices and storage media
US9092289B2 (en) System and method to create and control a software appliance
CN102594915B (en) Browser-based media play system and method
EP3343484A1 (en) System and method for association of a song, music, or other media content with a user's video content
US20160247189A1 (en) System and method for use of dynamic banners for promotion of events or information
CN107786631B (en) Content publishing method and device and electronic equipment
WO2015180688A1 (en) Media processing method and device
US9411809B1 (en) Remote content presentation queues
WO2014153963A1 (en) Methods and systems for playing video on multiple terminals
CN112584200A (en) Screen projection method and system, electronic equipment and storage medium
US9912746B2 (en) Content distribution system
CN112565877B (en) Screen projection method and system, electronic equipment and storage medium
US20140237019A1 (en) Server-side transcoding of media files
WO2022242461A1 (en) Method and apparatus for processing livestream audio/video, client, and server
US11089352B1 (en) Techniques for synchronizing content playback across devices
US20120131085A1 (en) System and method for providing access to a work

Legal Events

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

Ref document number: 19862046

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 11/08/2021)

122 Ep: pct application non-entry in european phase

Ref document number: 19862046

Country of ref document: EP

Kind code of ref document: A1