WO2015043120A1 - Cloud file sharing method and system - Google Patents

Cloud file sharing method and system Download PDF

Info

Publication number
WO2015043120A1
WO2015043120A1 PCT/CN2014/070280 CN2014070280W WO2015043120A1 WO 2015043120 A1 WO2015043120 A1 WO 2015043120A1 CN 2014070280 W CN2014070280 W CN 2014070280W WO 2015043120 A1 WO2015043120 A1 WO 2015043120A1
Authority
WO
WIPO (PCT)
Prior art keywords
file
cloud
television
file data
server
Prior art date
Application number
PCT/CN2014/070280
Other languages
French (fr)
Chinese (zh)
Inventor
赵侠
Original Assignee
深圳Tcl新技术有限公司
赵侠
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 深圳Tcl新技术有限公司, 赵侠 filed Critical 深圳Tcl新技术有限公司
Publication of WO2015043120A1 publication Critical patent/WO2015043120A1/en

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/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • 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/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]

Definitions

  • the present invention relates to the field of mobile terminal technologies, and in particular, to a cloud-based cloud file sharing method and system.
  • the TV display function is more flexible and versatile, and more access management and more message display modes are gradually set for the TV.
  • the main object of the present invention is to provide a cloud file sharing method and system, which aims to expand the television display function and improve the convenience of file data sharing such as pictures in the home.
  • the present invention provides a cloud file sharing method, including:
  • the cloud storage server acquires the file data uploaded by the user terminal and the TV ID bound to the cloud disk account of the user terminal in the cloud; and the file storage path of the cloud disk account and its corresponding password, the TV ID, and the file data. Sent to the message box server;
  • the message box server sends the cloud disk account, the corresponding password, and the file storage path of the file data to the corresponding television through the TV ID;
  • the television shares the file data with at least one other smart device in a local area network where the television is located.
  • the step of sharing the file data with the at least one other smart device in the local area network of the television is specifically:
  • the television and the at least one other smart device in the local area network where the television is located acquire the IP and port information of the smart device through UDP data packet interaction;
  • the step of the cloud storage server sending the cloud disk account and its corresponding password, the TV ID, and the file storage path of the file data to the message box server includes:
  • the cloud storage server establishes a Sokcet-based TCP connection with the message box server;
  • the XML file is sent to the message box server via FTP or HTTP based on the TCP connection.
  • the step of the message box server sending the cloud disk account, the password, and the file storage path of the file data to the corresponding television by using the TV ID includes:
  • the message box server parses the cloud disk account and its corresponding password, the TV ID, and the file storage path of the file data from the XML file;
  • the UDP data packet is sent to the television corresponding to the TV ID by means of a TV ID.
  • the method further comprises:
  • the heartbeat check between the message box server and the television determines whether the link between the two is normal.
  • the invention provides a cloud file sharing method, which comprises:
  • the cloud storage server acquires the file data uploaded by the user terminal and the TV ID bound to the cloud disk account of the user terminal in the cloud; and the file storage path of the cloud disk account and its corresponding password, the TV ID, and the file data. Sent to the message box server;
  • the message box server sends the cloud disk account, the corresponding password, and the file storage path of the file data to the corresponding television through the TV ID;
  • the television obtains the file data from the cloud disk account corresponding to the cloud storage server according to the cloud disk account, the password, and the file storage path of the file data.
  • the step of the cloud storage server sending the cloud disk account and its corresponding password, the TV ID, and the file storage path of the file data to the message box server includes:
  • the cloud storage server establishes a Sokcet-based TCP connection with the message box server;
  • the XML file is sent to the message box server via FTP or HTTP based on the TCP connection.
  • the step of the message box server sending the cloud disk account, the password, and the file storage path of the file data to the corresponding television by using the TV ID includes:
  • the message box server parses the cloud disk account and its corresponding password, the TV ID, and the file storage path of the file data from the XML file;
  • the UDP data packet is sent to the television corresponding to the TV ID by means of a TV ID.
  • the method further comprises:
  • the heartbeat check between the message box server and the television determines whether the link between the two is normal.
  • the method further comprises:
  • the television displays the file data acquired from the cloud storage server; or the television prompts the user to view the file data acquired from the cloud storage server, and displays the file data according to a user viewing instruction.
  • the method further comprises:
  • the cloud storage server before the step of the cloud storage server acquiring the file data uploaded by the user terminal and the TV ID bound to the cloud disk account of the user terminal, the cloud storage server further includes:
  • the cloud storage server receives the user terminal request, and registers a cloud disk account for storing the file data file for the user terminal according to the user terminal request.
  • the method further comprises:
  • the television releases the binding of the cloud account and the TV ID.
  • the present invention also provides a cloud file sharing system, comprising: a cloud storage server, a message box server, and at least one television;
  • the cloud storage server is configured to acquire file data uploaded by the user terminal and a TV ID bound to the cloud disk account of the user terminal in the cloud; and the cloud disk account and its corresponding password, TV ID, and the file a file storage path of the data is sent to the message box server;
  • the message box server is configured to send, by using a TV ID, the cloud disk account, a corresponding password, and a file storage path of the file data to a corresponding television;
  • the television is configured to acquire the file data from the cloud disk account corresponding to the cloud storage server according to the cloud disk account, the password, and the file storage path of the file data, and display the file data.
  • the cloud storage server is further configured to establish a Sokcet-based TCP connection with the message box server; generate an XML file by using the cloud disk account and its corresponding password, the TV ID, and the file storage path of the file data;
  • the XML file is sent to the message box server via FTP or HTTP based on the TCP connection.
  • the message box server is further configured to parse out the cloud disk account and its corresponding password, television ID, and file storage path of the file data from the XML file;
  • the corresponding password and the file storage path of the file data are packaged into a UDP data packet; the UDP data packet is sent to the television corresponding to the TV ID by means of a TV ID.
  • the message box server is further configured to determine, by a heartbeat check with the television, whether the link between the two is normal.
  • the television is further configured to display the file data acquired from the cloud storage server; or prompt the user to view the file data acquired from the cloud storage server, and display the file according to a user viewing instruction.
  • File data is further configured to display the file data acquired from the cloud storage server; or prompt the user to view the file data acquired from the cloud storage server, and display the file according to a user viewing instruction.
  • the television is further configured to share the file data with at least one other smart device in a local area network where the television is located; specifically, interacting with at least one other smart device in a local area network where the television is located through a UDP data packet
  • Obtaining IP and port information of the smart device establishing a Socket communication connection with the smart device according to the IP and port information; receiving an Http-based data request sent by the smart device; and requesting the cloud disk according to the data request
  • the account and its corresponding password, and the file storage path of the file data are sent to the smart device, and the smart device receives the file according to the cloud disk account and its corresponding password, and the file data of the file data.
  • the path acquires the file data from the cloud storage server and displays it.
  • the cloud storage server is further configured to receive a user terminal request, and register, according to the user terminal, a cloud disk account for storing a file data file for the user terminal.
  • the television is further configured to release the binding of the cloud account and the TV ID when the user does not need to share the file data through the television.
  • the cloud file sharing method and system provided by the invention can share file data such as pictures through a cloud storage server and can set a function of reminding the user to view on the television end, so that family members can view files uploaded by other terminal devices to the cloud storage server through the television.
  • the data ensures the real-time sharing of file data sharing and the convenience of family sharing, and expands the display function of the TV.
  • FIG. 1 is a schematic structural diagram of a system involved in an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of a first embodiment of a cloud file sharing method according to the present invention
  • FIG. 3 is a schematic flowchart of a second embodiment of a cloud file sharing method according to the present invention.
  • FIG. 4 is a schematic structural diagram of a preferred embodiment of a cloud file sharing system of the present invention.
  • FIG. 1 is a schematic structural diagram of a system according to an embodiment of the present invention.
  • the system architecture includes a television and other devices located in the same local area network as the television, such as an iPhone, a PC, an iPad, and the like. It also relates to a cloud storage server, a message box server, and a user terminal such as a mobile phone that uploads file data such as pictures to the cloud storage server.
  • a user terminal such as a mobile phone needs to apply for a network cloud disk account to the cloud storage server for storing a network file, where the network file is used to store file data such as pictures uploaded by the user terminal.
  • the cloud terminal of the cloud storage server of the user terminal is bound to a television set, and when the user terminal uploads file data such as a picture to the cloud storage server, the cloud storage server sends the data and other related information to the message box server, and then the message box.
  • the server pushes the information to the bound TV, and then the TV side opens the relevant application to obtain the information from the cloud storage server and display it.
  • other devices in the same local area network as the TV such as iphone, PC, iPad, etc., can also share file data such as pictures through television.
  • a first embodiment of the present invention provides a cloud file sharing method, including:
  • Step S101 The cloud storage server acquires file data uploaded by the user terminal and a TV ID bound to the cloud disk account of the user terminal in the cloud; and the cloud disk account and its corresponding password, the TV ID, and the file data.
  • the file storage path is sent to the message box server;
  • the cloud storage server may be a TCloud cloud disk, a Baidu cloud disk, a 360 cloud disk, or the like.
  • the user terminal can be a mobile phone, a tablet computer, or the like.
  • the user terminal is used to upload various file data that the user wants to upload to the cloud storage server, and the file data may be a picture, such as a photo taken by the user outdoors, or may be edited. Documentation and other information.
  • the cloud storage server For each user terminal, the cloud storage server registers a cloud disk account for storing the file data file for the user terminal according to the user terminal request.
  • the cloud disk account can be bound to a TV set according to user selection.
  • Each TV is set with a fixed DeviceID.
  • the user selects a TV according to the needs and binds the TV ID to the cloud account of the user on the cloud storage server.
  • the user-bound TV ID information is simultaneously transmitted to the cloud storage server, so that the message is pushed to the corresponding television end.
  • the cloud storage server After the cloud storage server obtains the file data uploaded by the user terminal and the TV ID bound to the cloud disk account of the user terminal, the cloud disk account and the corresponding password, the TV ID, and the file data file are obtained.
  • the storage path is sent to the message box server.
  • the specific communication process is: the cloud storage server packages the cloud account, password, file path of the file data and TV ID into XML (eXtensible). Markup Language, Extensible Markup Language), then FTP (File Transfer Protocol) or HTTP (Transfer) Protocol, Hypertext Transfer Protocol) protocol method, which sends the packaged XML data packet to the message box server.
  • XML eXtensible Markup Language
  • FTP File Transfer Protocol
  • HTTP Transfer Protocol
  • Hypertext Transfer Protocol Hypertext Transfer Protocol
  • the message box server is equivalent to a client, and the cloud storage server sends data to the message box server.
  • the communication parties first need a common port number and their respective IP addresses. And then build a TCP based on Sokcet (Transmission Control Protocol (Transmission Control Protocol) connection to ensure that the transmitted data is not lost.
  • Sokcet Transmission Control Protocol (Transmission Control Protocol) connection to ensure that the transmitted data is not lost.
  • Step S102 the message box server sends the cloud disk account, the corresponding password, and the file storage path of the file data to the corresponding television through the TV ID;
  • the message box server receives the XML file sent by the cloud storage server, parses it, and obtains the corresponding data, and then notifies the corresponding TV according to the TV DeviceID, wherein the content of the notification is the file link and cloud parsed by the message box server.
  • the account and password are packaged together into a UDP packet.
  • the TV obtains information such as the corresponding cloud disk account number, password, storage path of the uploaded file, and the like according to the information sent by the message box server, and gives a prompt to indicate that the television receives the file or other information sent from the remote, and displays the information details.
  • the message box server is equivalent to a web server, and the TV end is equivalent to the client.
  • the client wants to listen to the message box server information, that is, it needs to send the heartbeat packet periodically to the message box server.
  • the heartbeat packet described here is used to determine whether the other party (device, process, or other network element) is operating normally.
  • the communication packet with regular timing is sent. If the response of the other party is not received within the specified time period, the other party is determined to be offline.
  • the TV application runs, it will periodically send an online message to the message box server, thereby determining whether the link between the two is normal through a heartbeat check.
  • Step S103 The television acquires the file data from the cloud disk account corresponding to the cloud storage server according to the cloud disk account, the password, and the file storage path of the file data.
  • the television end obtains the file data directly from the cloud disk account corresponding to the cloud disk server according to the information obtained from the message box server.
  • the television may directly display the file data obtained from the cloud storage server; in addition, the television may prompt the user to view the file data acquired from the cloud storage server, and display the file data according to the user viewing instruction.
  • the file storage data such as a picture is shared by the cloud storage server, and the user can be prompted to view the function on the television end, so that the family member can view various file data uploaded by the other terminal device to the cloud storage server through the television.
  • This can facilitate the sharing of file data such as photos in the home in time, not only to meet the needs of users, but also to expand the display function of the TV.
  • the second embodiment of the present invention provides a cloud file sharing method.
  • the method further includes:
  • Step S104 the television shares the file data with at least one other smart device in a local area network where the television is located;
  • the file data shared by the cloud storage server can be shared between the television and other smart devices in the local area network where the television is located.
  • the television and other smart devices in the local area network where the television is located acquire the IP and port information of the smart device through UDP data packet interaction; and establish a Socket communication connection with the smart device according to the IP and port information.
  • the UDP-based connection and discovery protocol is adopted between the local area network devices.
  • the smart device Whenever the smart device joins the local area network, the smart device sends the online line, and the television can receive the smart device after receiving the online connection.
  • the UDP packet reads the IP address and port information of the device, and the TV terminal also sends a response confirmation packet to the smart device, and the corresponding smart device can also obtain the corresponding TV by responding to the confirmed data packet.
  • the IP address and other related information the TV will establish a Socket communication connection with the corresponding smart device through this IP.
  • the TV terminal will send the cloud disk account, password and file url to other smart devices.
  • the smart device can directly access the cloud storage server. Get the uploaded file and display it.
  • the television can unbind the cloud account from the TV ID.
  • the embodiment combines the characteristics of the interaction between the TV, the cloud storage server, and the message box server by the above solution, and binds the user cloud disk account to the TV ID, and the cloud storage server communicates with the message box server in real time.
  • the message box server and the television end also maintain a heartbeat packet communication, and the cloud storage server sends the relevant message to the message box server after the file data is updated, and the message box server pushes the information to the TV in real time, and real-time reminds the family picture on the television end.
  • the sharing of file data ensures the real-time sharing of file data sharing and the convenience of family sharing.
  • other smart devices in the home LAN can obtain the cloud disk account information and the url of the file data through the television by establishing a connection through the local area network, thereby obtaining the shared file data. It further ensures the real-time sharing of file data sharing and the convenience of family sharing, and meets the needs of users.
  • a preferred embodiment of the present invention provides a cloud file sharing system, which is implemented based on the system architecture shown in FIG. 1, and specifically includes: a cloud storage server 201, a message box server 202, and at least one television 203. (An example of a television in this embodiment); wherein:
  • the cloud storage server 201 is further connected to the external user terminal 204 for acquiring the file data uploaded by the user terminal 204 and the TV ID bound to the cloud disk account of the user terminal 204; Corresponding password, TV ID and file storage path of the file data are sent to the message box server 202;
  • the message box server 202 is configured to send, by using a TV ID, the cloud disk account, the corresponding password, and the file storage path of the file data to the corresponding television 203;
  • the television 203 is configured to acquire and display the file data from the cloud disk account corresponding to the cloud storage server 201 according to the cloud disk account, the password, and the file storage path of the file data.
  • the cloud storage server 201 can be a TCloud cloud disk, a Baiyun cloud disk, a 360 cloud disk, and the like.
  • the user terminal 204 can be a mobile phone, a tablet computer, or the like.
  • the user terminal 204 is used to upload various file data that the user wants to upload to the cloud storage server 201, and the file data may be a picture, such as a photo taken by the user outdoors, or It can be an edited document and other materials.
  • the cloud storage server 201 For each user terminal 204, the cloud storage server 201 registers a cloud disk account for storing the file data file for the user terminal 204 according to the user terminal 204 request.
  • the cloud disk account can be bound to a TV 203 machine according to user selection.
  • Each TV 203 is configured with a fixed Device ID. The user selects a TV 203 as needed, and binds the TV ID to the cloud account of the user on the cloud storage server 201.
  • the user-bound TV ID information is simultaneously transmitted to the cloud storage server 201, so as to push the message to the corresponding TV 203 end.
  • the cloud storage server 201 obtains the file data uploaded by the user terminal 204 and the TV ID bound to the cloud disk account of the user terminal 204, the cloud disk account and the corresponding password, the TV ID, and the file are obtained.
  • the file storage path of the data is sent to the message box server 202.
  • the specific communication process is: the cloud storage server 201 packages the cloud account, the password, the file path of the file data, and the TV ID into an XML packet, and then uses FTP (File Transfer Protocol) or HTTP protocol.
  • FTP File Transfer Protocol
  • HTTP HyperText Transfer Protocol
  • the message box server is equivalent to one client, and the cloud storage server 201 sends data to the message box server 202.
  • the communication parties first need a common port number and respective The IP address is then established based on the Sokcet TCP connection to ensure that the transmitted data is not lost.
  • the message box server 202 receives the XML file sent by the cloud storage server 201 and parses it to obtain the corresponding data, and then notifies the corresponding TV 203 according to the TV 203DeviceID, wherein the content of the notification is parsed by the message box server 202.
  • the file link and the cloud account and password are packaged into a UDP packet.
  • the television 203 obtains information about the corresponding cloud disk account, password, storage path of the uploaded file, and the like according to the information sent by the message box server 202, and gives a prompt to indicate that the television 203 receives the file or other information sent from the remote, and simultaneously displays the information. Details.
  • the specific process of interactive communication between the message box server 202 and the television 203 is:
  • the message box server 202 is equivalent to a web server, and the TV 203 end is equivalent to the client.
  • the client wants to listen to the information of the message box server 202, that is, it needs to periodically send the heartbeat packet to the message box server 202.
  • the heartbeat packet described here is used to determine whether the other party (device, process, or other network element) is operating normally.
  • the communication packet with regular timing is sent. If the response of the other party is not received within the specified time period, the other party is determined to be offline.
  • the application of the TV 203 is running, the online message is sent to the message box server 202 periodically, thereby determining whether the link between the two is normal through the heartbeat check.
  • the television 203 obtains the file data directly from the cloud disk account corresponding to the cloud disk server according to the information obtained from the message box server 202.
  • the television 203 can directly display the file data acquired from the cloud storage server 201; in addition, the television 203 can also prompt the user to view the file data acquired from the cloud storage server 201, and display the file data according to the user viewing instruction.
  • the cloud storage server 201 can share the file data such as a picture, and the user can be prompted to view the function on the TV 203, so that the family member can view the various other terminal devices uploading to the cloud storage server 201 through the television 203.
  • the file data can facilitate the sharing of file data such as photos in the home in time, not only satisfying the user's needs, but also expanding the display function of the television 203.
  • the file data acquired from the cloud storage server 201 can be shared between the television 203 and other smart devices in the local area network where the television 203 is located.
  • the television 203 and other smart devices in the local area network where the television 203 is located acquire the IP and port information of the smart device through UDP data packet interaction; and establish a Socket communication connection with the smart device according to the IP and port information.
  • the UDP-based connection and discovery protocol is adopted between the local area network devices, and whenever the smart device joins the local area network, the smart device sends the online line, and after receiving the smart device, the television 203 can
  • the received UDP data packet reads the IP address and port information of the device, and the TV 203 side also sends a response confirmation data packet to the smart device, and the corresponding smart device can also obtain the corresponding response by confirming the data packet.
  • the IP address of the TV 203 and other related information, the TV 203 will establish a Socket communication connection with the corresponding smart device through this IP.
  • the storage server 201 acquires an uploaded file and displays it.
  • the television 203 can unbind the cloud account from the TV ID.
  • the embodiment combines the user cloud disk account with the TV ID by the interaction between the TV 203, the cloud storage server 201 and the message box server 202, and the cloud storage server 201 and the message box.
  • the server 202 communicates in real time, and the message box server 202 and the TV 203 end also maintain a heartbeat packet communication.
  • the cloud message server 201 actively sends the related message to the message box server 202, and the message box server 202 pushes the message to the television 203 in real time.
  • Information, real-time reminder on the TV 203 side to achieve the sharing of file data such as family pictures, thus ensuring the real-time sharing of file data sharing and the convenience of family sharing.
  • other smart devices in the home local area network can obtain the cloud disk account information and the picture url through the television 203 by establishing a connection by adding the local area network, thereby obtaining the file data such as the shared picture. It further ensures the real-time sharing of file data sharing and the convenience of family sharing, and meets the needs of users.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • Storage Device Security (AREA)

Abstract

Disclosed are a cloud file sharing method and system. The method comprises: acquiring, by a cloud storage server, file data uploaded by a user terminal and a television ID bound to a cloud disk account number of the user terminal at a cloud, and sending the cloud disk account number and a password corresponding thereto, the television ID and a file storage path of the file data to a message box server; sending, by the message box server, the cloud disk account number, the corresponding password and the file storage path of the file data to a corresponding television through the television ID; and acquiring, by the television, the file data from the cloud disk account number corresponding to the cloud storage server according to the cloud disk account number, the password and the file storage path of the file data. The present invention shares the file data through the cloud storage server, and can set a function for reminding a user to view at a television end, so that family members can view file data uploaded to the cloud storage server by other terminal devices through the television, thereby ensuring the timeliness of sharing of the file data and the convenience of family sharing, and expanding the display function of the television at the same time.

Description

云文件分享方法及系统  Cloud file sharing method and system
技术领域 Technical field
   本发明涉及移动终端技术领域,尤其涉及一种基于云端的云文件分享方法及系统。   The present invention relates to the field of mobile terminal technologies, and in particular, to a cloud-based cloud file sharing method and system.
背景技术Background technique
   随着网络技术的发展,移动设备、PC与电视之间的交互越来越多,电视也变得越来越智能化。为了充分利用电视的显示功能,使电视显示功能更加灵活多用,目前逐渐为电视设置更多的接入管理,更多的消息显示模式等。With the development of network technology, more and more interactions between mobile devices, PCs and TVs have become more and more intelligent. In order to make full use of the display function of the TV, the TV display function is more flexible and versatile, and more access management and more message display modes are gradually set for the TV.
   此外,现在电视也越来越强调家庭共享的概念,因此有必要提供一种方案,可以实现在家庭中通过电视共享文件,例如图片,以使用户更方便的查看文件,例如照片,并发挥电视大屏显示的优点。   In addition, TV is now increasingly emphasizing the concept of home sharing, so it is necessary to provide a solution for sharing files, such as pictures, in the home through television to make it easier for users to view files, such as photos, and play TV. The advantages of large screen display.
发明内容Summary of the invention
   本发明的主要目的在于提供一种云文件分享方法及系统,旨在扩展电视显示功能,提高家庭中图片等文件数据共享的方便性。The main object of the present invention is to provide a cloud file sharing method and system, which aims to expand the television display function and improve the convenience of file data sharing such as pictures in the home.
   为了达到上述目的,本发明提出一种云文件分享方法,包括:In order to achieve the above object, the present invention provides a cloud file sharing method, including:
   云端存储服务器获取用户终端上传的文件数据以及与该用户终端在云端的云盘账号绑定的电视ID;将所述云盘账号及其对应的密码、电视ID以及所述文件数据的文件存储路径发送至消息盒服务器;The cloud storage server acquires the file data uploaded by the user terminal and the TV ID bound to the cloud disk account of the user terminal in the cloud; and the file storage path of the cloud disk account and its corresponding password, the TV ID, and the file data. Sent to the message box server;
   所述消息盒服务器通过电视ID将所述云盘账号、对应的密码以及所述文件数据的文件存储路径发送给对应的电视;The message box server sends the cloud disk account, the corresponding password, and the file storage path of the file data to the corresponding television through the TV ID;
   所述电视根据所述云盘账号、密码以及所述文件数据的文件存储路径,从所述云端存储服务器对应的云盘账号获取所述文件数据;Obtaining, by the television, the file data from a cloud disk account corresponding to the cloud storage server according to the cloud disk account, a password, and a file storage path of the file data;
   所述电视与该电视所在的局域网中的至少一其他智能设备分享所述文件数据。The television shares the file data with at least one other smart device in a local area network where the television is located.
   优选地,所述电视与该电视所在的局域网中的至少一其他智能设备分享所述文件数据的步骤具体包括:Preferably, the step of sharing the file data with the at least one other smart device in the local area network of the television is specifically:
   所述电视与该电视所在的局域网中的至少一其他智能设备通过UDP数据包交互获取该智能设备的IP及端口信息;The television and the at least one other smart device in the local area network where the television is located acquire the IP and port information of the smart device through UDP data packet interaction;
   根据所述IP及端口信息与所述智能设备建立Socket通信连接;Establishing a Socket communication connection with the smart device according to the IP and port information;
   接收所述智能设备发送的基于Http的数据请求;Receiving an Http-based data request sent by the smart device;
   根据所述数据请求将所述云盘账号及其对应的密码,以及所述文件数据的文件存储路径发送到所述智能设备,由所述智能设备根据接收的所述云盘账号及其对应的密码,以及所述文件数据的文件存储路径从所述云端存储服务器获取所述文件数据并显示。Sending, according to the data request, the cloud disk account and its corresponding password, and the file storage path of the file data to the smart device, according to the received cloud disk account and the corresponding The password, and a file storage path of the file data, are acquired from the cloud storage server and displayed.
   优选地,所述云端存储服务器将所述云盘账号及其对应的密码、电视ID以及所述文件数据的文件存储路径发送至消息盒服务器的步骤包括:Preferably, the step of the cloud storage server sending the cloud disk account and its corresponding password, the TV ID, and the file storage path of the file data to the message box server includes:
   所述云端存储服务器与所述消息盒服务器建立基于Sokcet的TCP连接;The cloud storage server establishes a Sokcet-based TCP connection with the message box server;
   将云盘账号及其对应的密码、电视ID以及所述文件数据的文件存储路径生成XML文件;Generating an XML file by the cloud disk account and its corresponding password, TV ID, and file storage path of the file data;
   基于所述TCP连接将所述XML文件通过FTP或HTTP发送至所述消息盒服务器。The XML file is sent to the message box server via FTP or HTTP based on the TCP connection.
   优选地,所述消息盒服务器通过电视ID将所述云盘账号、密码以及所述文件数据的文件存储路径发送给对应的电视的步骤包括:Preferably, the step of the message box server sending the cloud disk account, the password, and the file storage path of the file data to the corresponding television by using the TV ID includes:
   所述消息盒服务器从所述XML文件中解析出所述云盘账号及其对应的密码、电视ID以及所述文件数据的文件存储路径;The message box server parses the cloud disk account and its corresponding password, the TV ID, and the file storage path of the file data from the XML file;
   将所述云盘账号及其对应的密码,以及所述文件数据的文件存储路径打包成UDP数据包;Packing the cloud disk account and its corresponding password, and the file storage path of the file data into a UDP data packet;
   将所述UDP数据包通过电视ID的方式发送给所述电视ID对应的电视。The UDP data packet is sent to the television corresponding to the TV ID by means of a TV ID.
   优选地,该方法还包括:Preferably, the method further comprises:
   所述消息盒服务器与电视之间通过心跳检查判断两者之间的链路是否正常。   The heartbeat check between the message box server and the television determines whether the link between the two is normal.
   本发明提出一种云文件分享方法,包括:The invention provides a cloud file sharing method, which comprises:
   云端存储服务器获取用户终端上传的文件数据以及与该用户终端在云端的云盘账号绑定的电视ID;将所述云盘账号及其对应的密码、电视ID以及所述文件数据的文件存储路径发送至消息盒服务器;The cloud storage server acquires the file data uploaded by the user terminal and the TV ID bound to the cloud disk account of the user terminal in the cloud; and the file storage path of the cloud disk account and its corresponding password, the TV ID, and the file data. Sent to the message box server;
   所述消息盒服务器通过电视ID将所述云盘账号、对应的密码以及所述文件数据的文件存储路径发送给对应的电视;The message box server sends the cloud disk account, the corresponding password, and the file storage path of the file data to the corresponding television through the TV ID;
   所述电视根据所述云盘账号、密码以及所述文件数据的文件存储路径,从所述云端存储服务器对应的云盘账号获取所述文件数据。The television obtains the file data from the cloud disk account corresponding to the cloud storage server according to the cloud disk account, the password, and the file storage path of the file data.
   优选地,所述云端存储服务器将所述云盘账号及其对应的密码、电视ID以及所述文件数据的文件存储路径发送至消息盒服务器的步骤包括:Preferably, the step of the cloud storage server sending the cloud disk account and its corresponding password, the TV ID, and the file storage path of the file data to the message box server includes:
   所述云端存储服务器与所述消息盒服务器建立基于Sokcet的TCP连接;The cloud storage server establishes a Sokcet-based TCP connection with the message box server;
   将云盘账号及其对应的密码、电视ID以及所述文件数据的文件存储路径生成XML文件;Generating an XML file by the cloud disk account and its corresponding password, TV ID, and file storage path of the file data;
   基于所述TCP连接将所述XML文件通过FTP或HTTP发送至所述消息盒服务器。The XML file is sent to the message box server via FTP or HTTP based on the TCP connection.
   优选地,所述消息盒服务器通过电视ID将所述云盘账号、密码以及所述文件数据的文件存储路径发送给对应的电视的步骤包括:Preferably, the step of the message box server sending the cloud disk account, the password, and the file storage path of the file data to the corresponding television by using the TV ID includes:
   所述消息盒服务器从所述XML文件中解析出所述云盘账号及其对应的密码、电视ID以及所述文件数据的文件存储路径;The message box server parses the cloud disk account and its corresponding password, the TV ID, and the file storage path of the file data from the XML file;
   将所述云盘账号及其对应的密码,以及所述文件数据的文件存储路径打包成UDP数据包;Packing the cloud disk account and its corresponding password, and the file storage path of the file data into a UDP data packet;
   将所述UDP数据包通过电视ID的方式发送给所述电视ID对应的电视。The UDP data packet is sent to the television corresponding to the TV ID by means of a TV ID.
   优选地,该方法还包括:Preferably, the method further comprises:
   所述消息盒服务器与电视之间通过心跳检查判断两者之间的链路是否正常。The heartbeat check between the message box server and the television determines whether the link between the two is normal.
   优选地,该方法还包括:Preferably, the method further comprises:
   所述电视将从所述云端存储服务器获取的所述文件数据显示;或者,所述电视提示用户查看从所述云端存储服务器获取的所述文件数据,并根据用户查看指令显示所述文件数据。The television displays the file data acquired from the cloud storage server; or the television prompts the user to view the file data acquired from the cloud storage server, and displays the file data according to a user viewing instruction.
   优选地,该方法还包括:Preferably, the method further comprises:
   优选地,所述云端存储服务器获取用户终端上传的文件数据以及与该用户终端在云端的云盘账号绑定的电视ID的步骤之前还包括:Preferably, before the step of the cloud storage server acquiring the file data uploaded by the user terminal and the TV ID bound to the cloud disk account of the user terminal, the cloud storage server further includes:
   所述云端存储服务器接收用户终端请求,根据所述用户终端请求为用户终端注册用于存储文件数据文件的云盘账号。The cloud storage server receives the user terminal request, and registers a cloud disk account for storing the file data file for the user terminal according to the user terminal request.
   优选地,该方法还包括:Preferably, the method further comprises:
   当用户不需要通过电视分享所述文件数据时,所述电视解除云端账号与电视ID的绑定。   When the user does not need to share the file data through the television, the television releases the binding of the cloud account and the TV ID.
   本发明还提出一种云文件分享系统,包括:云端存储服务器、消息盒服务器以及至少一电视;The present invention also provides a cloud file sharing system, comprising: a cloud storage server, a message box server, and at least one television;
   所述云端存储服务器,用于获取用户终端上传的文件数据以及与该用户终端在云端的云盘账号绑定的电视ID;将所述云盘账号及其对应的密码、电视ID以及所述文件数据的文件存储路径发送至所述消息盒服务器;The cloud storage server is configured to acquire file data uploaded by the user terminal and a TV ID bound to the cloud disk account of the user terminal in the cloud; and the cloud disk account and its corresponding password, TV ID, and the file a file storage path of the data is sent to the message box server;
   所述消息盒服务器,用于通过电视ID将所述云盘账号、对应的密码以及所述文件数据的文件存储路径发送给对应的电视;The message box server is configured to send, by using a TV ID, the cloud disk account, a corresponding password, and a file storage path of the file data to a corresponding television;
   所述电视,用于根据所述云盘账号、密码以及所述文件数据的文件存储路径,从所述云端存储服务器对应的云盘账号获取所述文件数据并显示。The television is configured to acquire the file data from the cloud disk account corresponding to the cloud storage server according to the cloud disk account, the password, and the file storage path of the file data, and display the file data.
   优选地,所述云端存储服务器,还用于与所述消息盒服务器建立基于Sokcet的TCP连接;将云盘账号及其对应的密码、电视ID以及所述文件数据的文件存储路径生成XML文件;基于所述TCP连接将所述XML文件通过FTP或HTTP发送至所述消息盒服务器。Preferably, the cloud storage server is further configured to establish a Sokcet-based TCP connection with the message box server; generate an XML file by using the cloud disk account and its corresponding password, the TV ID, and the file storage path of the file data; The XML file is sent to the message box server via FTP or HTTP based on the TCP connection.
   优选地,所述消息盒服务器,还用于从所述XML文件中解析出所述云盘账号及其对应的密码、电视ID以及所述文件数据的文件存储路径;将所述云盘账号及其对应的密码,以及所述文件数据的文件存储路径打包成UDP数据包;将所述UDP数据包通过电视ID的方式发送给所述电视ID对应的电视。Preferably, the message box server is further configured to parse out the cloud disk account and its corresponding password, television ID, and file storage path of the file data from the XML file; The corresponding password and the file storage path of the file data are packaged into a UDP data packet; the UDP data packet is sent to the television corresponding to the TV ID by means of a TV ID.
   优选地,所述消息盒服务器还用于与电视之间通过心跳检查判断两者之间的链路是否正常。Preferably, the message box server is further configured to determine, by a heartbeat check with the television, whether the link between the two is normal.
   优选地,所述电视,还用于将从所述云端存储服务器获取的所述文件数据显示;或者,提示用户查看从所述云端存储服务器获取的所述文件数据,并根据用户查看指令显示所述文件数据。Preferably, the television is further configured to display the file data acquired from the cloud storage server; or prompt the user to view the file data acquired from the cloud storage server, and display the file according to a user viewing instruction. File data.
   优选地,所述电视,还用于与该电视所在的局域网中的至少一其他智能设备分享所述文件数据;具体用于与该电视所在的局域网中的至少一其他智能设备通过UDP数据包交互获取该智能设备的IP及端口信息;根据所述IP及端口信息与所述智能设备建立Socket通信连接;接收所述智能设备发送的基于Http的数据请求;根据所述数据请求将所述云盘账号及其对应的密码,以及所述文件数据的文件存储路径发送到所述智能设备,由所述智能设备根据接收的所述云盘账号及其对应的密码,以及所述文件数据的文件存储路径从所述云端存储服务器获取所述文件数据并显示。Preferably, the television is further configured to share the file data with at least one other smart device in a local area network where the television is located; specifically, interacting with at least one other smart device in a local area network where the television is located through a UDP data packet Obtaining IP and port information of the smart device; establishing a Socket communication connection with the smart device according to the IP and port information; receiving an Http-based data request sent by the smart device; and requesting the cloud disk according to the data request The account and its corresponding password, and the file storage path of the file data are sent to the smart device, and the smart device receives the file according to the cloud disk account and its corresponding password, and the file data of the file data. The path acquires the file data from the cloud storage server and displays it.
   优选地,所述云端存储服务器,还用于接收用户终端请求,根据所述用户终端请求为用户终端注册用于存储文件数据文件的云盘账号。Preferably, the cloud storage server is further configured to receive a user terminal request, and register, according to the user terminal, a cloud disk account for storing a file data file for the user terminal.
   优选地,所述电视,还用于当用户不需要通过电视分享所述文件数据时,解除云端账号与电视ID的绑定。   Preferably, the television is further configured to release the binding of the cloud account and the TV ID when the user does not need to share the file data through the television.
   本发明提出的一种云文件分享方法及系统,通过云端存储服务器分享图片等文件数据并可在电视端设置提醒用户查看功能,使家庭成员可以通过电视查看其他终端设备上传至云端存储服务器的文件数据,保证了文件数据分享的实时性与家庭分享的便捷性,同时扩展了电视的显示功能。   The cloud file sharing method and system provided by the invention can share file data such as pictures through a cloud storage server and can set a function of reminding the user to view on the television end, so that family members can view files uploaded by other terminal devices to the cloud storage server through the television. The data ensures the real-time sharing of file data sharing and the convenience of family sharing, and expands the display function of the TV.
附图说明DRAWINGS
   图1是本发明实施例所涉及的系统架构示意图;1 is a schematic structural diagram of a system involved in an embodiment of the present invention;
   图2是本发明云文件分享方法第一实施例的流程示意图;2 is a schematic flowchart of a first embodiment of a cloud file sharing method according to the present invention;
   图3是本发明云文件分享方法第二实施例的流程示意图;3 is a schematic flowchart of a second embodiment of a cloud file sharing method according to the present invention;
   图4是本发明云文件分享系统较佳实施例的结构示意图。   4 is a schematic structural diagram of a preferred embodiment of a cloud file sharing system of the present invention.
   为了使本发明的技术方案更加清楚、明了,下面将结合附图作进一步详述。   In order to make the technical solutions of the present invention clearer and clearer, the following will be further described in detail with reference to the accompanying drawings.
具体实施方式detailed description
   应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
   图1为本发明实施例所涉及的系统架构示意图,如图1所示,该系统架构包括电视以及与电视位于同一局域网内的其他设备,比如iphone、PC、iPad等,此外,该系统架构中还涉及云端存储服务器、消息盒服务器以及向云端存储服务器上传图片等文件数据的手机等用户终端。FIG. 1 is a schematic structural diagram of a system according to an embodiment of the present invention. As shown in FIG. 1 , the system architecture includes a television and other devices located in the same local area network as the television, such as an iPhone, a PC, an iPad, and the like. It also relates to a cloud storage server, a message box server, and a user terminal such as a mobile phone that uploads file data such as pictures to the cloud storage server.
   本发明实施例方案的主要思路为:首先手机等用户终端需要向云端存储服务器申请一个网络云盘账号用于存储网络文件,该网络文件用来存储用户终端上传的图片等文件数据。然后将用户终端在云端存储服务器的云盘账号绑定一台电视机,用户终端上传图片等文件数据到云端存储服务器时,云端存储服务器将这些数据等相关信息发送给消息盒服务器,然后消息盒服务器将信息推送给绑定的电视,然后电视端打开相关应用就可以从云端存储服务器获取这些信息并显示。此外,与电视位于同一局域网内的其他设备,比如iphone、PC、iPad等还可以通过电视来实现图片等文件数据的分享。   The main idea of the solution in the embodiment of the present invention is as follows: First, a user terminal such as a mobile phone needs to apply for a network cloud disk account to the cloud storage server for storing a network file, where the network file is used to store file data such as pictures uploaded by the user terminal. Then, the cloud terminal of the cloud storage server of the user terminal is bound to a television set, and when the user terminal uploads file data such as a picture to the cloud storage server, the cloud storage server sends the data and other related information to the message box server, and then the message box. The server pushes the information to the bound TV, and then the TV side opens the relevant application to obtain the information from the cloud storage server and display it. In addition, other devices in the same local area network as the TV, such as iphone, PC, iPad, etc., can also share file data such as pictures through television.
   如图2所示,基于上述系统架构,本发明第一实施例提出一种云文件分享方法,包括:As shown in FIG. 2, based on the foregoing system architecture, a first embodiment of the present invention provides a cloud file sharing method, including:
   步骤S101,云端存储服务器获取用户终端上传的文件数据以及与该用户终端在云端的云盘账号绑定的电视ID;将所述云盘账号及其对应的密码、电视ID以及所述文件数据的文件存储路径发送至消息盒服务器;Step S101: The cloud storage server acquires file data uploaded by the user terminal and a TV ID bound to the cloud disk account of the user terminal in the cloud; and the cloud disk account and its corresponding password, the TV ID, and the file data. The file storage path is sent to the message box server;
   其中,云端存储服务器可以为TCloud云盘、百度云盘、360云盘等。The cloud storage server may be a TCloud cloud disk, a Baidu cloud disk, a 360 cloud disk, or the like.
   用户终端可以为手机、平板电脑等,该用户终端用来上传用户想要上传至云端存储服务器的各种文件数据,该文件数据可是图片,比如用户在户外拍摄的照片等,或者还可以是编辑的文档等资料。The user terminal can be a mobile phone, a tablet computer, or the like. The user terminal is used to upload various file data that the user wants to upload to the cloud storage server, and the file data may be a picture, such as a photo taken by the user outdoors, or may be edited. Documentation and other information.
   针对每一用户终端,云端存储服务器根据用户终端请求为用户终端注册有用于存储文件数据文件的云盘账号。该云盘账号可以根据用户选择,与一电视机绑定。For each user terminal, the cloud storage server registers a cloud disk account for storing the file data file for the user terminal according to the user terminal request. The cloud disk account can be bound to a TV set according to user selection.
   每个电视都设定有一个固定的DeviceID(设备标识),用户根据需要,选择一个电视,将该电视ID与用户在云端存储服务器上的云盘账号进行绑定。Each TV is set with a fixed DeviceID. The user selects a TV according to the needs and binds the TV ID to the cloud account of the user on the cloud storage server.
   用户实时上传文件数据或者其他图形文件数据到用户的云盘账号时,同时把用户绑定的电视ID信息传递到云端存储服务器,以便后面推送消息到对应的电视端。When the user uploads file data or other graphic file data to the user's cloud disk account in real time, the user-bound TV ID information is simultaneously transmitted to the cloud storage server, so that the message is pushed to the corresponding television end.
云端存储服务器获取到用户终端上传的文件数据以及与该用户终端在云端的云盘账号绑定的电视ID后,将所述云盘账号及其对应的密码、电视ID以及所述文件数据的文件存储路径发送至消息盒服务器。After the cloud storage server obtains the file data uploaded by the user terminal and the TV ID bound to the cloud disk account of the user terminal, the cloud disk account and the corresponding password, the TV ID, and the file data file are obtained. The storage path is sent to the message box server.
   其具体的通信过程为:云端存储服务器将云端账号、密码、文件数据的文件路径及电视ID等信息,一起打包成XML(eXtensible Markup Language,可扩展标记语言)的数据包,然后通过FTP(文件传输协议)或HTTP(Transfer Protocol,超文本传输协议)协议方式,将打包的XML数据包发送至消息盒服务器。The specific communication process is: the cloud storage server packages the cloud account, password, file path of the file data and TV ID into XML (eXtensible). Markup Language, Extensible Markup Language), then FTP (File Transfer Protocol) or HTTP (Transfer) Protocol, Hypertext Transfer Protocol) protocol method, which sends the packaged XML data packet to the message box server.
   对云端存储服务器来说,此时消息盒子服务器相当于一个客户端,云端存储服务器向消息盒服务器发送数据,无论是采用FTP还是HTTP协议,首先通信双方需要一个共同的端口号及各自的IP地址,然后建立基于Sokcet的TCP(Transmission Control Protocol,传输控制协议)连接,以确保传输的数据不丢失。 For the cloud storage server, the message box server is equivalent to a client, and the cloud storage server sends data to the message box server. Whether using FTP or HTTP protocol, the communication parties first need a common port number and their respective IP addresses. And then build a TCP based on Sokcet (Transmission Control Protocol (Transmission Control Protocol) connection to ensure that the transmitted data is not lost.
   步骤S102,所述消息盒服务器通过电视ID将所述云盘账号、对应的密码以及所述文件数据的文件存储路径发送给对应的电视;Step S102, the message box server sends the cloud disk account, the corresponding password, and the file storage path of the file data to the corresponding television through the TV ID;
   消息盒服务器接收到云端存储服务器发送过来的XML文件,并将其解析出来,获得对应的数据之后,会根据电视DeviceID通知对应的电视,其中通知的内容为消息盒服务器解析出来的文件链接及云端的账号及密码一起打包成的UDP数据包。电视根据消息盒服务器发送的信息获取相应的云盘账号、密码、上传文件的存储路径等信息,并给出提示,说明电视接收到从远程发送过来的文件或其他信息,同时显示信息详情。The message box server receives the XML file sent by the cloud storage server, parses it, and obtains the corresponding data, and then notifies the corresponding TV according to the TV DeviceID, wherein the content of the notification is the file link and cloud parsed by the message box server. The account and password are packaged together into a UDP packet. The TV obtains information such as the corresponding cloud disk account number, password, storage path of the uploaded file, and the like according to the information sent by the message box server, and gives a prompt to indicate that the television receives the file or other information sent from the remote, and displays the information details.
   消息盒服务器与电视之间的交互通信具体过程为:The specific process of interactive communication between the message box server and the TV is:
   消息盒服务器相当于一个网络服务器,而电视端即相当于客户端,客户端要监听消息盒服务器的信息,即需要通过向消息盒服务器定期发送心跳包。这里所述的心跳包用来判断对方(设备、进程或其它网元)是否正常运行,采用定时发送规律的通讯信息包,如果在指定时间段内未收到对方响应,则判断对方已经离线。电视端应用运行的时候会定时发送在线消息给消息盒服务器,由此通过心跳检查判断两者之间的链路是否正常。The message box server is equivalent to a web server, and the TV end is equivalent to the client. The client wants to listen to the message box server information, that is, it needs to send the heartbeat packet periodically to the message box server. The heartbeat packet described here is used to determine whether the other party (device, process, or other network element) is operating normally. The communication packet with regular timing is sent. If the response of the other party is not received within the specified time period, the other party is determined to be offline. When the TV application runs, it will periodically send an online message to the message box server, thereby determining whether the link between the two is normal through a heartbeat check.
   步骤S103,所述电视根据所述云盘账号、密码以及所述文件数据的文件存储路径,从所述云端存储服务器对应的云盘账号获取所述文件数据。Step S103: The television acquires the file data from the cloud disk account corresponding to the cloud storage server according to the cloud disk account, the password, and the file storage path of the file data.
   电视端根据从消息盒服务器得到的信息直接从云盘服务器对应的云盘账号获取文件数据。The television end obtains the file data directly from the cloud disk account corresponding to the cloud disk server according to the information obtained from the message box server.
   后续,电视可以直接将从所述云端存储服务器获取的文件数据显示;此外,电视还可以提示用户查看从云端存储服务器获取的文件数据,并根据用户查看指令显示所述文件数据。Subsequently, the television may directly display the file data obtained from the cloud storage server; in addition, the television may prompt the user to view the file data acquired from the cloud storage server, and display the file data according to the user viewing instruction.
   本实施例通过上述方案,具体通过云端存储服务器分享图片等文件数据并可在电视端设置提醒用户查看功能,使家庭成员可以通过电视查看其他终端设备上传至云端存储服务器的各种文件数据,由此可及时方便家庭中照片等文件数据的共享,不仅满足用户需求,同时扩展了电视的显示功能。   In this embodiment, the file storage data such as a picture is shared by the cloud storage server, and the user can be prompted to view the function on the television end, so that the family member can view various file data uploaded by the other terminal device to the cloud storage server through the television. This can facilitate the sharing of file data such as photos in the home in time, not only to meet the needs of users, but also to expand the display function of the TV.
   如图3所示,本发明第二实施例提出一种云文件分享方法,在上述第一实施例的基础上,在上述步骤S103之后还包括:As shown in FIG. 3, the second embodiment of the present invention provides a cloud file sharing method. After the foregoing step S103, the method further includes:
   步骤S104,所述电视与该电视所在的局域网中的至少一其他智能设备分享所述文件数据;Step S104, the television shares the file data with at least one other smart device in a local area network where the television is located;
   本实施例与上述第一实施例的区别在于,本实施例还可以在电视与该电视所在的局域网中的其他智能设备之间分享从云端存储服务器上获取的文件数据。The difference between this embodiment and the foregoing first embodiment is that the file data shared by the cloud storage server can be shared between the television and other smart devices in the local area network where the television is located.
   首先,电视与该电视所在的局域网中的其他智能设备通过UDP数据包交互获取该智能设备的IP及端口信息;根据IP及端口信息与所述智能设备建立Socket通信连接。First, the television and other smart devices in the local area network where the television is located acquire the IP and port information of the smart device through UDP data packet interaction; and establish a Socket communication connection with the smart device according to the IP and port information.
   具体地,在电视所在的局域网中,局域网设备间通过采用基于UDP的连接与发现协议,每当有智能设备加入局域网,智能设备都会发送上线,电视接收到智能设备的上线之后,可从其接收的UDP数据包中读取设备的IP及端口的信息等,同时电视端也会给智能设备发送一个应答确认数据包,而相应的智能设备也可通过应答确认的数据包,取得对应的电视的IP地址及其他相关信息,电视会通过此IP与对应的智能设备建立Socket通信连接。Specifically, in the local area network where the television is located, the UDP-based connection and discovery protocol is adopted between the local area network devices. Whenever the smart device joins the local area network, the smart device sends the online line, and the television can receive the smart device after receiving the online connection. The UDP packet reads the IP address and port information of the device, and the TV terminal also sends a response confirmation packet to the smart device, and the corresponding smart device can also obtain the corresponding TV by responding to the confirmed data packet. The IP address and other related information, the TV will establish a Socket communication connection with the corresponding smart device through this IP.
   然后,其他智能设备会向电视端发送基于Http协议的数据请求,电视端收到请求后会将云盘账号、密码及文件url发送到其他智能设备,智能设备收到后可以直接从云端存储服务器获取上传文件并显示。Then, other smart devices will send data requests based on the Http protocol to the TV terminal. After receiving the request, the TV terminal will send the cloud disk account, password and file url to other smart devices. After receiving the smart device, the smart device can directly access the cloud storage server. Get the uploaded file and display it.
   此外,当用户不需要通过电视分享所述文件数据时,电视可以解除云端账号与电视ID的绑定。In addition, when the user does not need to share the file data through the television, the television can unbind the cloud account from the TV ID.
   相比现有技术,本实施例通过上述方案,结合电视、云端存储服务器及消息盒服务器之间交互的特点,将用户云盘账号与电视ID绑定,云端存储服务器与消息盒服务器实时通信,而且消息盒服务器与电视端也维持一个心跳包通信,云端存储服务器有文件数据更新后主动将相关消息发送给消息盒服务器,消息盒服务器实时向电视推送信息,在电视端实时提醒实现家庭图片等文件数据的共享,从而保证了文件数据分享的实时性与家庭分享的便捷性。Compared with the prior art, the embodiment combines the characteristics of the interaction between the TV, the cloud storage server, and the message box server by the above solution, and binds the user cloud disk account to the TV ID, and the cloud storage server communicates with the message box server in real time. Moreover, the message box server and the television end also maintain a heartbeat packet communication, and the cloud storage server sends the relevant message to the message box server after the file data is updated, and the message box server pushes the information to the TV in real time, and real-time reminds the family picture on the television end. The sharing of file data ensures the real-time sharing of file data sharing and the convenience of family sharing.
   此外,家庭局域网中的其他智能设备通过加入局域网建立连接即可通过电视获取到云盘账户信息及文件数据的url等,进而可以获取到分享的文件数据。进一步保证了文件数据分享的实时性与家庭分享的便捷性,满足了用户需求。   In addition, other smart devices in the home LAN can obtain the cloud disk account information and the url of the file data through the television by establishing a connection through the local area network, thereby obtaining the shared file data. It further ensures the real-time sharing of file data sharing and the convenience of family sharing, and meets the needs of users.
   如图4所示,本发明较佳实施例提出一种云文件分享系统,该系统基于图1所示的系统架构来实现,具体包括:云端存储服务器201、消息盒服务器202以及至少一电视203(本实施例一个电视举例说明);其中:As shown in FIG. 4, a preferred embodiment of the present invention provides a cloud file sharing system, which is implemented based on the system architecture shown in FIG. 1, and specifically includes: a cloud storage server 201, a message box server 202, and at least one television 203. (An example of a television in this embodiment); wherein:
   云端存储服务器201还与外部的用户终端204通信连接,用于获取用户终端204上传的文件数据以及与该用户终端204在云端的云盘账号绑定的电视ID;将所述云盘账号及其对应的密码、电视ID以及所述文件数据的文件存储路径发送至所述消息盒服务器202;The cloud storage server 201 is further connected to the external user terminal 204 for acquiring the file data uploaded by the user terminal 204 and the TV ID bound to the cloud disk account of the user terminal 204; Corresponding password, TV ID and file storage path of the file data are sent to the message box server 202;
   所述消息盒服务器202,用于通过电视ID将所述云盘账号、对应的密码以及所述文件数据的文件存储路径发送给对应的电视203;The message box server 202 is configured to send, by using a TV ID, the cloud disk account, the corresponding password, and the file storage path of the file data to the corresponding television 203;
   所述电视203,用于根据所述云盘账号、密码以及所述文件数据的文件存储路径,从所述云端存储服务器201对应的云盘账号获取所述文件数据并显示。The television 203 is configured to acquire and display the file data from the cloud disk account corresponding to the cloud storage server 201 according to the cloud disk account, the password, and the file storage path of the file data.
   具体地,云端存储服务器201可以为TCloud云盘、百度云盘、360云盘等。Specifically, the cloud storage server 201 can be a TCloud cloud disk, a Baiyun cloud disk, a 360 cloud disk, and the like.
   用户终端204可以为手机、平板电脑等,该用户终端204用来上传用户想要上传至云端存储服务器201的各种文件数据,该文件数据可是图片,比如用户在户外拍摄的照片等,或者还可以是编辑的文档等资料。The user terminal 204 can be a mobile phone, a tablet computer, or the like. The user terminal 204 is used to upload various file data that the user wants to upload to the cloud storage server 201, and the file data may be a picture, such as a photo taken by the user outdoors, or It can be an edited document and other materials.
   针对每一用户终端204,云端存储服务器201根据用户终端204请求为用户终端204注册有用于存储文件数据文件的云盘账号。该云盘账号可以根据用户选择,与一电视203机绑定。For each user terminal 204, the cloud storage server 201 registers a cloud disk account for storing the file data file for the user terminal 204 according to the user terminal 204 request. The cloud disk account can be bound to a TV 203 machine according to user selection.
   每个电视203都设定有一个固定的DeviceID,用户根据需要,选择一个电视203,将该电视ID与用户在云端存储服务器201上的云盘账号进行绑定。Each TV 203 is configured with a fixed Device ID. The user selects a TV 203 as needed, and binds the TV ID to the cloud account of the user on the cloud storage server 201.
   用户实时上传文件数据或者其他图形文件数据到用户的云盘账号时,同时把用户绑定的电视ID信息传递到云端存储服务器201,以便后面推送消息到对应的电视203端。When the user uploads file data or other graphic file data to the user's cloud disk account in real time, the user-bound TV ID information is simultaneously transmitted to the cloud storage server 201, so as to push the message to the corresponding TV 203 end.
   云端存储服务器201获取到用户终端204上传的文件数据以及与该用户终端204在云端的云盘账号绑定的电视ID后,将所述云盘账号及其对应的密码、电视ID以及所述文件数据的文件存储路径发送至消息盒服务器202。After the cloud storage server 201 obtains the file data uploaded by the user terminal 204 and the TV ID bound to the cloud disk account of the user terminal 204, the cloud disk account and the corresponding password, the TV ID, and the file are obtained. The file storage path of the data is sent to the message box server 202.
   其具体的通信过程为:云端存储服务器201将云端账号、密码、文件数据的文件路径及电视ID等信息,一起打包成XML的数据包,然后通过FTP(文件传输协议)或HTTP协议方式,将打包的XML数据包发送至消息盒服务器202。The specific communication process is: the cloud storage server 201 packages the cloud account, the password, the file path of the file data, and the TV ID into an XML packet, and then uses FTP (File Transfer Protocol) or HTTP protocol. The packaged XML data packet is sent to the message box server 202.
   对云端存储服务器201来说,此时消息盒子服务器相当于一个客户端,云端存储服务器201向消息盒服务器202发送数据,无论是采用FTP还是HTTP协议,首先通信双方需要一个共同的端口号及各自的IP地址,然后建立基于Sokcet的TCP连接,以确保传输的数据不丢失。 For the cloud storage server 201, at this time, the message box server is equivalent to one client, and the cloud storage server 201 sends data to the message box server 202. Whether using FTP or HTTP protocol, the communication parties first need a common port number and respective The IP address is then established based on the Sokcet TCP connection to ensure that the transmitted data is not lost.
   消息盒服务器202接收到云端存储服务器201发送过来的XML文件,并将其解析出来,获得对应的数据之后,会根据电视203DeviceID通知对应的电视203,其中通知的内容为消息盒服务器202解析出来的文件链接及云端的账号及密码一起打包成的UDP数据包。电视203根据消息盒服务器202发送的信息获取相应的云盘账号、密码、上传文件的存储路径等信息,并给出提示,说明电视203接收到从远程发送过来的文件或其他信息,同时显示信息详情。The message box server 202 receives the XML file sent by the cloud storage server 201 and parses it to obtain the corresponding data, and then notifies the corresponding TV 203 according to the TV 203DeviceID, wherein the content of the notification is parsed by the message box server 202. The file link and the cloud account and password are packaged into a UDP packet. The television 203 obtains information about the corresponding cloud disk account, password, storage path of the uploaded file, and the like according to the information sent by the message box server 202, and gives a prompt to indicate that the television 203 receives the file or other information sent from the remote, and simultaneously displays the information. Details.
   消息盒服务器202与电视203之间的交互通信具体过程为:The specific process of interactive communication between the message box server 202 and the television 203 is:
   消息盒服务器202相当于一个网络服务器,而电视203端即相当于客户端,客户端要监听消息盒服务器202的信息,即需要通过向消息盒服务器202定期发送心跳包。这里所述的心跳包用来判断对方(设备、进程或其它网元)是否正常运行,采用定时发送规律的通讯信息包,如果在指定时间段内未收到对方响应,则判断对方已经离线。电视203端应用运行的时候会定时发送在线消息给消息盒服务器202,由此,通过心跳检查判断两者之间的链路是否正常。The message box server 202 is equivalent to a web server, and the TV 203 end is equivalent to the client. The client wants to listen to the information of the message box server 202, that is, it needs to periodically send the heartbeat packet to the message box server 202. The heartbeat packet described here is used to determine whether the other party (device, process, or other network element) is operating normally. The communication packet with regular timing is sent. If the response of the other party is not received within the specified time period, the other party is determined to be offline. When the application of the TV 203 is running, the online message is sent to the message box server 202 periodically, thereby determining whether the link between the two is normal through the heartbeat check.
   电视203端根据从消息盒服务器202得到的信息直接从云盘服务器对应的云盘账号获取文件数据。The television 203 obtains the file data directly from the cloud disk account corresponding to the cloud disk server according to the information obtained from the message box server 202.
   后续,电视203可以直接将从所述云端存储服务器201获取的文件数据显示;此外,电视203还可以提示用户查看从云端存储服务器201获取的文件数据,并根据用户查看指令显示所述文件数据。Subsequently, the television 203 can directly display the file data acquired from the cloud storage server 201; in addition, the television 203 can also prompt the user to view the file data acquired from the cloud storage server 201, and display the file data according to the user viewing instruction.
   本实施例通过上述方案,具体通过云端存储服务器201分享图片等文件数据并可在电视203端设置提醒用户查看功能,使家庭成员可以通过电视203查看其他终端设备上传至云端存储服务器201的各种文件数据,由此可及时方便家庭中照片等文件数据的共享,不仅满足用户需求,同时扩展了电视203的显示功能。   Through the foregoing solution, the cloud storage server 201 can share the file data such as a picture, and the user can be prompted to view the function on the TV 203, so that the family member can view the various other terminal devices uploading to the cloud storage server 201 through the television 203. The file data can facilitate the sharing of file data such as photos in the home in time, not only satisfying the user's needs, but also expanding the display function of the television 203.
   进一步地,本实施例还可以在电视203与该电视203所在的局域网中的其他智能设备之间分享从云端存储服务器201上获取的文件数据。Further, in this embodiment, the file data acquired from the cloud storage server 201 can be shared between the television 203 and other smart devices in the local area network where the television 203 is located.
   首先,电视203与该电视203所在的局域网中的其他智能设备通过UDP数据包交互获取该智能设备的IP及端口信息;根据IP及端口信息与所述智能设备建立Socket通信连接。First, the television 203 and other smart devices in the local area network where the television 203 is located acquire the IP and port information of the smart device through UDP data packet interaction; and establish a Socket communication connection with the smart device according to the IP and port information.
   具体地,在电视203所在的局域网中,局域网设备间通过采用基于UDP的连接与发现协议,每当有智能设备加入局域网,智能设备都会发送上线,电视203接收到智能设备的上线之后,可从其接收的UDP数据包中读取设备的IP及端口的信息等,同时电视203端也会给智能设备发送一个应答确认数据包,而相应的智能设备也可通过应答确认的数据包,取得对应的电视203的IP地址及其他相关信息,电视203会通过此IP与对应的智能设备建立Socket通信连接。Specifically, in the local area network where the television 203 is located, the UDP-based connection and discovery protocol is adopted between the local area network devices, and whenever the smart device joins the local area network, the smart device sends the online line, and after receiving the smart device, the television 203 can The received UDP data packet reads the IP address and port information of the device, and the TV 203 side also sends a response confirmation data packet to the smart device, and the corresponding smart device can also obtain the corresponding response by confirming the data packet. The IP address of the TV 203 and other related information, the TV 203 will establish a Socket communication connection with the corresponding smart device through this IP.
   然后,其他智能设备会向电视203端发送基于Http协议的数据请求,电视203端收到请求后会将云盘账号、密码及文件url发送到其他智能设备,智能设备收到后可以直接从云端存储服务器201获取上传文件并显示。Then, other smart devices will send a data request based on the Http protocol to the TV 203. After receiving the request, the TV 203 will send the cloud disk account, password and file url to other smart devices. After receiving the smart device, the smart device can directly receive the cloud device. The storage server 201 acquires an uploaded file and displays it.
   此外,当用户不需要通过电视203分享所述文件数据时,电视203可以解除云端账号与电视ID的绑定。In addition, when the user does not need to share the file data through the television 203, the television 203 can unbind the cloud account from the TV ID.
   相比现有技术,本实施例通过上述方案,结合电视203、云端存储服务器201及消息盒服务器202之间交互的特点,将用户云盘账号与电视ID绑定,云端存储服务器201与消息盒服务器202实时通信,而且消息盒服务器202与电视203端也维持一个心跳包通信,云端存储服务器201有文件数据更新后主动将相关消息发送给消息盒服务器202,消息盒服务器202实时向电视203推送信息,在电视203端实时提醒实现家庭图片等文件数据的共享,从而保证了文件数据分享的实时性与家庭分享的便捷性。Compared with the prior art, the embodiment combines the user cloud disk account with the TV ID by the interaction between the TV 203, the cloud storage server 201 and the message box server 202, and the cloud storage server 201 and the message box. The server 202 communicates in real time, and the message box server 202 and the TV 203 end also maintain a heartbeat packet communication. After the cloud storage server 201 has the file data update, the cloud message server 201 actively sends the related message to the message box server 202, and the message box server 202 pushes the message to the television 203 in real time. Information, real-time reminder on the TV 203 side to achieve the sharing of file data such as family pictures, thus ensuring the real-time sharing of file data sharing and the convenience of family sharing.
   此外,家庭局域网中的其他智能设备通过加入局域网建立连接即可通过电视203获取到云盘账户信息及图片url等,进而可以获取到分享的图片等文件数据。进一步保证了文件数据分享的实时性与家庭分享的便捷性,满足了用户需求。   In addition, other smart devices in the home local area network can obtain the cloud disk account information and the picture url through the television 203 by establishing a connection by adding the local area network, thereby obtaining the file data such as the shared picture. It further ensures the real-time sharing of file data sharing and the convenience of family sharing, and meets the needs of users.
   上述仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或流程变换,或直接或间接运用在其它相关的技术领域,均同理包括在本发明的专利保护范围内。The above are only the preferred embodiments of the present invention, and are not intended to limit the scope of the invention, and the equivalent structure or process changes made by the present specification and the drawings are directly or indirectly applied to other related technical fields. The same is included in the scope of patent protection of the present invention.

Claims (20)

  1. 一种云文件分享方法,其特征在于,包括: A cloud file sharing method, comprising:
       云端存储服务器获取用户终端上传的文件数据以及与该用户终端在云端的云盘账号绑定的电视ID;将所述云盘账号及其对应的密码、电视ID以及所述文件数据的文件存储路径发送至消息盒服务器;The cloud storage server acquires the file data uploaded by the user terminal and the TV ID bound to the cloud disk account of the user terminal in the cloud; and the file storage path of the cloud disk account and its corresponding password, the TV ID, and the file data. Sent to the message box server;
       所述消息盒服务器通过电视ID将所述云盘账号、对应的密码以及所述文件数据的文件存储路径发送给对应的电视;The message box server sends the cloud disk account, the corresponding password, and the file storage path of the file data to the corresponding television through the TV ID;
       所述电视根据所述云盘账号、密码以及所述文件数据的文件存储路径,从所述云端存储服务器对应的云盘账号获取所述文件数据;Obtaining, by the television, the file data from a cloud disk account corresponding to the cloud storage server according to the cloud disk account, a password, and a file storage path of the file data;
       所述电视与该电视所在的局域网中的至少一其他智能设备分享所述文件数据。 The television shares the file data with at least one other smart device in a local area network where the television is located.
  2. 根据权利要求1所述的方法,其特征在于,所述电视与该电视所在的局域网中的至少一其他智能设备分享所述文件数据的步骤具体包括:The method according to claim 1, wherein the step of sharing the file data with the at least one other smart device in the local area network of the television comprises:
       所述电视与该电视所在的局域网中的至少一其他智能设备通过UDP数据包交互获取该智能设备的IP及端口信息;The television and the at least one other smart device in the local area network where the television is located acquire the IP and port information of the smart device through UDP data packet interaction;
       根据所述IP及端口信息与所述智能设备建立Socket通信连接;Establishing a Socket communication connection with the smart device according to the IP and port information;
       接收所述智能设备发送的基于Http的数据请求;Receiving an Http-based data request sent by the smart device;
       根据所述数据请求将所述云盘账号及其对应的密码,以及所述文件数据的文件存储路径发送到所述智能设备,由所述智能设备根据接收的所述云盘账号及其对应的密码,以及所述文件数据的文件存储路径从所述云端存储服务器获取所述文件数据并显示。Sending, according to the data request, the cloud disk account and its corresponding password, and the file storage path of the file data to the smart device, according to the received cloud disk account and the corresponding The password, and a file storage path of the file data, are acquired from the cloud storage server and displayed.
  3. 根据权利要求1所述的方法,其特征在于,所述云端存储服务器将所述云盘账号及其对应的密码、电视ID以及所述文件数据的文件存储路径发送至消息盒服务器的步骤包括:The method according to claim 1, wherein the step of the cloud storage server sending the cloud disk account and its corresponding password, television ID, and file storage path of the file data to the message box server comprises:
    所述云端存储服务器与所述消息盒服务器建立基于Sokcet的TCP连接;The cloud storage server establishes a Sokcet-based TCP connection with the message box server;
    将云盘账号及其对应的密码、电视ID以及所述文件数据的文件存储路径生成XML文件;Generating an XML file by the cloud disk account and its corresponding password, TV ID, and file storage path of the file data;
    基于所述TCP连接将所述XML文件通过FTP或HTTP发送至所述消息盒服务器。The XML file is sent to the message box server via FTP or HTTP based on the TCP connection.
  4. 根据权利要求3所述的方法,其特征在于,所述消息盒服务器通过电视ID将所述云盘账号、密码以及所述文件数据的文件存储路径发送给对应的电视的步骤包括:The method according to claim 3, wherein the step of the message box server transmitting the cloud disk account number, the password, and the file storage path of the file data to the corresponding television by using the TV ID comprises:
    所述消息盒服务器从所述XML文件中解析出所述云盘账号及其对应的密码、电视ID以及所述文件数据的文件存储路径;The message box server parses the cloud disk account and its corresponding password, the TV ID, and the file storage path of the file data from the XML file;
       将所述云盘账号及其对应的密码,以及所述文件数据的文件存储路径打包成UDP数据包;Packing the cloud disk account and its corresponding password, and the file storage path of the file data into a UDP data packet;
       将所述UDP数据包通过电视ID的方式发送给所述电视ID对应的电视。 The UDP data packet is sent to the television corresponding to the TV ID by means of a TV ID.
  5. 根据权利要求3所述的方法,其特征在于,还包括:The method of claim 3, further comprising:
       所述消息盒服务器与电视之间通过心跳检查判断两者之间的链路是否正常。The heartbeat check between the message box server and the television determines whether the link between the two is normal.
  6. 一种云文件分享方法,其特征在于,包括:A cloud file sharing method, comprising:
       云端存储服务器获取用户终端上传的文件数据以及与该用户终端在云端的云盘账号绑定的电视ID;将所述云盘账号及其对应的密码、电视ID以及所述文件数据的文件存储路径发送至消息盒服务器;The cloud storage server acquires the file data uploaded by the user terminal and the TV ID bound to the cloud disk account of the user terminal in the cloud; and the file storage path of the cloud disk account and its corresponding password, the TV ID, and the file data. Sent to the message box server;
       所述消息盒服务器通过电视ID将所述云盘账号、对应的密码以及所述文件数据的文件存储路径发送给对应的电视;The message box server sends the cloud disk account, the corresponding password, and the file storage path of the file data to the corresponding television through the TV ID;
       所述电视根据所述云盘账号、密码以及所述文件数据的文件存储路径,从所述云端存储服务器对应的云盘账号获取所述文件数据。The television obtains the file data from the cloud disk account corresponding to the cloud storage server according to the cloud disk account, the password, and the file storage path of the file data.
  7. 根据权利要求6所述的方法,其特征在于,所述云端存储服务器将所述云盘账号及其对应的密码、电视ID以及所述文件数据的文件存储路径发送至消息盒服务器的步骤包括:The method according to claim 6, wherein the step of the cloud storage server sending the cloud disk account and its corresponding password, television ID and file storage path of the file data to the message box server comprises:
       所述云端存储服务器与所述消息盒服务器建立基于Sokcet的TCP连接;The cloud storage server establishes a Sokcet-based TCP connection with the message box server;
       将云盘账号及其对应的密码、电视ID以及所述文件数据的文件存储路径生成XML文件;Generating an XML file by the cloud disk account and its corresponding password, TV ID, and file storage path of the file data;
       基于所述TCP连接将所述XML文件通过FTP或HTTP发送至所述消息盒服务器。The XML file is sent to the message box server via FTP or HTTP based on the TCP connection.
  8. 根据权利要求7所述的方法,其特征在于,所述消息盒服务器通过电视ID将所述云盘账号、密码以及所述文件数据的文件存储路径发送给对应的电视的步骤包括:The method according to claim 7, wherein the step of the message box server transmitting the cloud disk account number, the password, and the file storage path of the file data to the corresponding television by using the TV ID comprises:
       所述消息盒服务器从所述XML文件中解析出所述云盘账号及其对应的密码、电视ID以及所述文件数据的文件存储路径;The message box server parses the cloud disk account and its corresponding password, the TV ID, and the file storage path of the file data from the XML file;
       将所述云盘账号及其对应的密码,以及所述文件数据的文件存储路径打包成UDP数据包;Packing the cloud disk account and its corresponding password, and the file storage path of the file data into a UDP data packet;
       将所述UDP数据包通过电视ID的方式发送给所述电视ID对应的电视。The UDP data packet is sent to the television corresponding to the TV ID by means of a TV ID.
  9. 根据权利要求8所述的方法,其特征在于,还包括:The method of claim 8 further comprising:
       所述消息盒服务器与电视之间通过心跳检查判断两者之间的链路是否正常。The heartbeat check between the message box server and the television determines whether the link between the two is normal.
  10. 根据权利要求8所述的方法,其特征在于,还包括:The method of claim 8 further comprising:
       所述电视将从所述云端存储服务器获取的所述文件数据显示;或者,所述电视提示用户查看从所述云端存储服务器获取的所述文件数据,并根据用户查看指令显示所述文件数据。The television displays the file data acquired from the cloud storage server; or the television prompts the user to view the file data acquired from the cloud storage server, and displays the file data according to a user viewing instruction.
  11. 根据权利要求6所述的方法,其特征在于,所述云端存储服务器获取用户终端上传的文件数据以及与该用户终端在云端的云盘账号绑定的电视ID的步骤之前还包括:The method according to claim 6, wherein the step of the cloud storage server acquiring the file data uploaded by the user terminal and the TV ID bound to the cloud disk account of the user terminal in the cloud further comprises:
       所述云端存储服务器接收用户终端请求,根据所述用户终端请求为用户终端注册用于存储文件数据文件的云盘账号。The cloud storage server receives the user terminal request, and registers a cloud disk account for storing the file data file for the user terminal according to the user terminal request.
  12. 根据权利要求6所述的方法,其特征在于,还包括:The method of claim 6 further comprising:
       当用户不需要通过电视分享所述文件数据时,所述电视解除云端账号与电视ID的绑定。When the user does not need to share the file data through the television, the television releases the binding of the cloud account and the TV ID.
  13. 一种云文件分享系统,其特征在于,包括:云端存储服务器、消息盒服务器以及至少一电视;A cloud file sharing system, comprising: a cloud storage server, a message box server, and at least one television;
       所述云端存储服务器,用于获取用户终端上传的文件数据以及与该用户终端在云端的云盘账号绑定的电视ID;将所述云盘账号及其对应的密码、电视ID以及所述文件数据的文件存储路径发送至所述消息盒服务器;The cloud storage server is configured to acquire file data uploaded by the user terminal and a TV ID bound to the cloud disk account of the user terminal in the cloud; and the cloud disk account and its corresponding password, TV ID, and the file a file storage path of the data is sent to the message box server;
       所述消息盒服务器,用于通过电视ID将所述云盘账号、对应的密码以及所述文件数据的文件存储路径发送给对应的电视;The message box server is configured to send, by using a TV ID, the cloud disk account, a corresponding password, and a file storage path of the file data to a corresponding television;
       所述电视,用于根据所述云盘账号、密码以及所述文件数据的文件存储路径,从所述云端存储服务器对应的云盘账号获取所述文件数据并显示。The television is configured to acquire the file data from the cloud disk account corresponding to the cloud storage server according to the cloud disk account, the password, and the file storage path of the file data, and display the file data.
  14. 根据权利要求13所述的系统,其特征在于,所述云端存储服务器,还用于与所述消息盒服务器建立基于Sokcet的TCP连接;将云盘账号及其对应的密码、电视ID以及所述文件数据的文件存储路径生成XML文件;基于所述TCP连接将所述XML文件通过FTP或HTTP发送至所述消息盒服务器。The system according to claim 13, wherein the cloud storage server is further configured to establish a Sokcet-based TCP connection with the message box server; and the cloud disk account and its corresponding password, TV ID, and the A file storage path of the file data generates an XML file; the XML file is sent to the message box server via FTP or HTTP based on the TCP connection.
  15. 根据权利要求14所述的系统,其特征在于,所述消息盒服务器,还用于从所述XML文件中解析出所述云盘账号及其对应的密码、电视ID以及所述文件数据的文件存储路径;将所述云盘账号及其对应的密码,以及所述文件数据的文件存储路径打包成UDP数据包;将所述UDP数据包通过电视ID的方式发送给所述电视ID对应的电视。The system according to claim 14, wherein the message box server is further configured to parse the cloud disk account and its corresponding password, television ID, and file data from the XML file. a storage path; packaging the cloud disk account and its corresponding password, and a file storage path of the file data into a UDP data packet; and transmitting the UDP data packet to a TV corresponding to the TV ID by using a TV ID .
  16. 根据权利要求15所述的系统,其特征在于,所述消息盒服务器还用于与电视之间通过心跳检查判断两者之间的链路是否正常。The system according to claim 15, wherein the message box server is further configured to determine, by a heartbeat check with the television, whether the link between the two is normal.
  17. 根据权利要求15所述的系统,其特征在于,所述电视,还用于将从所述云端存储服务器获取的所述文件数据显示;或者,提示用户查看从所述云端存储服务器获取的所述文件数据,并根据用户查看指令显示所述文件数据。The system according to claim 15, wherein the television is further configured to display the file data acquired from the cloud storage server; or prompt the user to view the obtained from the cloud storage server. File data, and the file data is displayed according to a user viewing instruction.
  18. 根据权利要求13-17中任一项所述的系统,其特征在于,所述电视,还用于与该电视所在的局域网中的至少一其他智能设备分享所述文件数据;具体用于与该电视所在的局域网中的至少一其他智能设备通过UDP数据包交互获取该智能设备的IP及端口信息;根据所述IP及端口信息与所述智能设备建立Socket通信连接;接收所述智能设备发送的基于Http的数据请求;根据所述数据请求将所述云盘账号及其对应的密码,以及所述文件数据的文件存储路径发送到所述智能设备,由所述智能设备根据接收的所述云盘账号及其对应的密码,以及所述文件数据的文件存储路径从所述云端存储服务器获取所述文件数据并显示。The system according to any one of claims 13-17, wherein the television is further configured to share the file data with at least one other smart device in a local area network where the television is located; At least one other smart device in the local area network of the television obtains IP and port information of the smart device through UDP data packet interaction; establishes a Socket communication connection with the smart device according to the IP and port information; and receives the smart device sending And sending, according to the data request, the cloud disk account and its corresponding password, and the file storage path of the file data to the smart device, according to the received cloud by the smart device The disk account and its corresponding password, and the file storage path of the file data are obtained from the cloud storage server and displayed.
  19. 根据权利要求13所述的系统,其特征在于,所述云端存储服务器,还用于接收用户终端请求,根据所述用户终端请求为用户终端注册用于存储文件数据文件的云盘账号。The system according to claim 13, wherein the cloud storage server is further configured to receive a user terminal request, and register, according to the user terminal, a cloud disk account for storing a file data file for the user terminal.
  20. 根据权利要求13所述的系统,其特征在于,所述电视,还用于当用户不需要通过电视分享所述文件数据时,解除云端账号与电视ID的绑定。The system according to claim 13, wherein the television is further configured to release the binding of the cloud account and the TV ID when the user does not need to share the file data through the television.
PCT/CN2014/070280 2013-09-25 2014-01-08 Cloud file sharing method and system WO2015043120A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310443354.9 2013-09-25
CN201310443354.9A CN103491172B (en) 2013-09-25 2013-09-25 Cloud sharing files method and system

Publications (1)

Publication Number Publication Date
WO2015043120A1 true WO2015043120A1 (en) 2015-04-02

Family

ID=49831125

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/070280 WO2015043120A1 (en) 2013-09-25 2014-01-08 Cloud file sharing method and system

Country Status (2)

Country Link
CN (1) CN103491172B (en)
WO (1) WO2015043120A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103491172A (en) * 2013-09-25 2014-01-01 深圳Tcl新技术有限公司 Method and system for sharing cloud file
CN105898601A (en) * 2015-12-11 2016-08-24 乐视网信息技术(北京)股份有限公司 File play method and device
CN107423388A (en) * 2017-07-20 2017-12-01 清远唯信信息技术有限公司 Content delivery method, device, computer equipment and readable storage medium storing program for executing
CN110809031A (en) * 2019-10-22 2020-02-18 合肥名阳信息技术有限公司 Method for transmitting file to mobile phone by computer

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104917799B (en) * 2014-03-13 2018-12-07 中国移动通信集团广西有限公司 A kind of resource sharing method, resource gateway, first node and second node
CN104202626A (en) * 2014-08-29 2014-12-10 青岛海信宽带多媒体技术有限公司 Television photo album system and managing and addressing method thereof
CN104378647B (en) * 2014-11-04 2018-04-27 深圳市天威视讯股份有限公司 A kind of intelligent space storage system and method based on DTV
CN104410679B (en) * 2014-11-20 2018-05-25 北京奇虎科技有限公司 Share extracting method, client, server and the system of file/folder
CN105828094B (en) * 2015-01-05 2019-10-11 Tcl集团股份有限公司 A kind of privately owned cloud system and its implementation method based on smart television
CN104753938B (en) * 2015-03-25 2019-01-15 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN104902025A (en) * 2015-05-29 2015-09-09 四川长虹电器股份有限公司 Cloud platform system based on intelligent household equipment and intelligent household equipment control system
CN105450894A (en) * 2015-11-11 2016-03-30 四川长虹电器股份有限公司 Method for transmitting picture from handset to television in cross-network manner
CN106453596A (en) * 2016-10-25 2017-02-22 Tcl集团股份有限公司 Method, apparatus and system for sharing pictures
CN109308172A (en) * 2018-09-30 2019-02-05 苏州友教习亦教育科技有限公司 Cloud print system
CN111447277B (en) * 2020-03-27 2023-04-07 佛山市顺德区美的洗涤电器制造有限公司 Control method, household appliance system, server and household appliance
CN112367394A (en) * 2020-11-05 2021-02-12 深圳Tcl新技术有限公司 Large-screen cloud disk data request method, intelligent large-screen terminal and readable storage medium
CN113420001B (en) * 2021-06-04 2024-02-09 中国联合网络通信集团有限公司 Data sharing method and edge computing device
CN114168241B (en) * 2021-11-01 2024-02-23 深圳市酷开网络科技股份有限公司 File screen-throwing sharing method, device, system and storage medium
CN114363337B (en) * 2022-01-05 2024-02-09 广东悦伍纪网络技术有限公司 Unidirectional data transmission method and system based on local and cloud virtualization application
CN115208873A (en) * 2022-06-14 2022-10-18 北京快乐茄信息技术有限公司 File transmission method, device and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102665114A (en) * 2012-03-30 2012-09-12 Tcl集团股份有限公司 Method, apparatus and system for intelligent device interaction
US20120281748A1 (en) * 2011-05-02 2012-11-08 Futurewei Technologies, Inc. Rate Control for Cloud Transcoding
CN102891886A (en) * 2012-09-14 2013-01-23 吉视传媒股份有限公司 Multi-screen interacting method and system based on cloud computing
CN103491172A (en) * 2013-09-25 2014-01-01 深圳Tcl新技术有限公司 Method and system for sharing cloud file

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102064985B (en) * 2010-11-24 2013-04-24 深圳市同洲电子股份有限公司 Digital and intelligent remote control system and method for household electrical appliances on basis of interactive TV application
CN102281473A (en) * 2011-09-09 2011-12-14 青岛海信电器股份有限公司 Information processing method for television terminal and television terminal
CN102404616B (en) * 2011-11-30 2014-07-30 深圳市同洲电子股份有限公司 Method and system for pushing data cloud based on digital television network
CN102857495B (en) * 2012-07-13 2015-09-23 深圳市同洲电子股份有限公司 A kind of document player method and equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120281748A1 (en) * 2011-05-02 2012-11-08 Futurewei Technologies, Inc. Rate Control for Cloud Transcoding
CN102665114A (en) * 2012-03-30 2012-09-12 Tcl集团股份有限公司 Method, apparatus and system for intelligent device interaction
CN102891886A (en) * 2012-09-14 2013-01-23 吉视传媒股份有限公司 Multi-screen interacting method and system based on cloud computing
CN103491172A (en) * 2013-09-25 2014-01-01 深圳Tcl新技术有限公司 Method and system for sharing cloud file

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103491172A (en) * 2013-09-25 2014-01-01 深圳Tcl新技术有限公司 Method and system for sharing cloud file
CN103491172B (en) * 2013-09-25 2017-11-03 深圳Tcl新技术有限公司 Cloud sharing files method and system
CN105898601A (en) * 2015-12-11 2016-08-24 乐视网信息技术(北京)股份有限公司 File play method and device
CN107423388A (en) * 2017-07-20 2017-12-01 清远唯信信息技术有限公司 Content delivery method, device, computer equipment and readable storage medium storing program for executing
CN110809031A (en) * 2019-10-22 2020-02-18 合肥名阳信息技术有限公司 Method for transmitting file to mobile phone by computer

Also Published As

Publication number Publication date
CN103491172A (en) 2014-01-01
CN103491172B (en) 2017-11-03

Similar Documents

Publication Publication Date Title
WO2015043120A1 (en) Cloud file sharing method and system
WO2016101698A1 (en) Dlna technology-based screen push method and system
WO2013097623A1 (en) Method and system for obtaining peripheral information, and location proxy server
WO2019205280A1 (en) Server testing method, apparatus, and device, and computer readable storage medium
WO2015172684A1 (en) Ap connection method, terminal, and server
WO2019128174A1 (en) Method for playing audio, smart television and computer-readable storage medium
WO2012112011A2 (en) Method and apparatus for the seamless playback of content
WO2017206377A1 (en) Method and device for synchronous playback of program
WO2016165556A1 (en) Data processing method, device and system for video stream
WO2009134032A2 (en) Apparatus and method for providing broadcast contents in internet broadcast system
WO2018166091A1 (en) Method, system, and terminal for face-to-face loan signing, and computer-readable storage medium
WO2014187158A1 (en) Method, server, and terminal for controlling cloud sharing of terminal data
WO2018068411A1 (en) Remote debugging method for smart television and remote debugging system for smart television
WO2018023926A1 (en) Interaction method and system for television and mobile terminal
WO2019010926A1 (en) Advertisement push method and apparatus, and computer readable storage medium
WO2019161597A1 (en) Information sending method, apparatus and device based on instant messaging, and storage medium
WO2019100531A1 (en) Digital signature generation method and device thereof, verification method and device thereof, and storage medium
WO2017190451A1 (en) Picture pushing method and apparatus
WO2017185480A1 (en) Multi-screen interaction connection method, device and system
WO2016183973A1 (en) Page processing method and system
WO2018006581A1 (en) Smart-television playback method and apparatus
WO2017024876A1 (en) Television program broadcast method and device
WO2019051901A1 (en) Terminal control method and device, and computer readable storage medium
WO2019210574A1 (en) Message processing method, apparatus, device, and readable storage medium
WO2017084297A1 (en) Method and system for playing back multimedia files

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: 14847889

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 23/08/2016)

122 Ep: pct application non-entry in european phase

Ref document number: 14847889

Country of ref document: EP

Kind code of ref document: A1