CN103442286A - Set top box file sharing method and system - Google Patents

Set top box file sharing method and system Download PDF

Info

Publication number
CN103442286A
CN103442286A CN2013103705052A CN201310370505A CN103442286A CN 103442286 A CN103442286 A CN 103442286A CN 2013103705052 A CN2013103705052 A CN 2013103705052A CN 201310370505 A CN201310370505 A CN 201310370505A CN 103442286 A CN103442286 A CN 103442286A
Authority
CN
China
Prior art keywords
top box
set top
file
server
sign
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2013103705052A
Other languages
Chinese (zh)
Other versions
CN103442286B (en
Inventor
邓鹏�
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Jiuzhou Electric Appliance Co Ltd
Original Assignee
Shenzhen Jiuzhou Electric Appliance Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Jiuzhou Electric Appliance Co Ltd filed Critical Shenzhen Jiuzhou Electric Appliance Co Ltd
Priority to CN201310370505.2A priority Critical patent/CN103442286B/en
Publication of CN103442286A publication Critical patent/CN103442286A/en
Priority to PCT/CN2014/079273 priority patent/WO2015024404A1/en
Application granted granted Critical
Publication of CN103442286B publication Critical patent/CN103442286B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4786Supplemental services, e.g. displaying phone caller identification, shopping application e-mailing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/237Communication with additional data server
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/27Server based end-user applications
    • H04N21/274Storing end-user multimedia data in response to end-user request, e.g. network recorder
    • H04N21/2743Video hosting of uploaded data from client
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4788Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides a set top box file sharing method and system which are suitable for the technical field of set top boxes. The set top box file sharing method comprises the steps of enabling a first set top box to upload a file identification of a shared file and a first set top box identification to a server, enabling the server to store the corresponding relation between the file identification and the first set top box identification which are uploaded by the first set top box, when the server receives a file obtaining request which contains a second set top box identification and a file identification and is sent by a second set top box, enabling the server to obtain the first set top box identification corresponding to the file obtaining request according to the corresponding relation between the file identification and the first set top box identification, enabling the server to send the file obtaining request to the first set top box corresponding to the first set top box identification, and enabling the first set top box to transmit a file corresponding to the file identification in the file obtaining request to the second set top box according to the file obtaining request. According to the set top box file sharing method and system, the file is not required to be uploaded to and stored in the server, the file is directly obtained from the set top box terminal, and therefore the data pressure of the server is relieved.

Description

A kind of set-top box file is shared method and system
Technical field
The invention belongs to the set-top box technique field, relate in particular to a kind of set-top box file and share method and system.
Background technology
Current, top box of digital machine and television set are all the indispensable household electrical appliances of life.Now the shared mode of set-top box file is substantially all to carry out file-sharing by Set Top Box WIFI and other-end in the family, such as mobile phone, and PAD etc.Be subject to the restriction of WIFI transmitting range, such file-sharing mode scope only limits to single family, between family, can not carry out file-sharing.
And, for file-sharing between family, the part television operator has also been made effort.It allows certain customers' upload file to server, thereby realizes file-sharing by server again.This mode has very large restriction: on the one hand, the memory space of server is limited, and for huge domestic consumer like this, each household is uploaded a certain amount of data and will the space of server be posed a big pressure; On the other hand, when a large amount of domestic consumers being arranged the access services device is realized file-sharing simultaneously, can cause the data that server is very large to process and Internet Transmission pressure, be easy to run quickly and burst.For maintenance server is stablized, therefore just realized that at present partial document is shared for certain customers.
Summary of the invention
The purpose of the embodiment of the present invention is to provide a kind of set-top box file to share method and system, being intended to solve file-sharing between existing domestic set-top box user must first upload onto the server file, cause file-sharing limited, and the server data data are processed and transmission pressure is large, the problem of easily collapsing.
The present invention is achieved in that a kind of set-top box file shares method, comprises the following steps:
The first Set Top Box uploads onto the server file identification and the first Set Top Box sign, the sign that described file identification is the shared file of the first Set Top Box;
The corresponding relation of the file identification that server stores the first Set Top Box is uploaded and the first Set Top Box sign;
Server is when receiving the file acquisition request of the second Set Top Box transmission, corresponding relation according to file identification and the first Set Top Box sign, obtain the first Set Top Box sign corresponding with described file acquisition request, and described file acquisition request is sent to the first Set Top Box corresponding to described the first Set Top Box sign, described file acquisition request comprises the file identification that the second Set Top Box identifies and the first Set Top Box is uploaded;
The first Set Top Box is determined the second Set Top Box according to described the second Set Top Box sign, and file transfer to the second Set Top Box that will be corresponding with the file identification in described file acquisition request.
Of the present inventionly also provide a kind of set-top box file shared system, described system comprises:
The first Set Top Box, the second Set Top Box, server;
Described the first Set Top Box, for file identification and the first Set Top Box sign are uploaded onto the server, the sign that described file identification is the shared file of the first Set Top Box;
Described server, for storing file identification that the first Set Top Box uploads and the corresponding relation of the first Set Top Box sign;
Described the second Set Top Box, obtain and ask to described server for Transmit message;
Described server, also for when receiving the file acquisition request of the second Set Top Box transmission, corresponding relation according to file identification and the first Set Top Box sign, obtain the first Set Top Box sign corresponding with described file acquisition request, and described file acquisition request is sent to the first Set Top Box corresponding to described the first Set Top Box sign, described file acquisition request comprises the file identification that the second Set Top Box identifies and the first Set Top Box is uploaded;
Described the first Set Top Box, also for receiving described file acquisition request, and determine the second Set Top Box, file transfer to the second Set Top Box that will be corresponding with the file identification in described file acquisition request according to described the second Set Top Box sign;
Described the second Set Top Box, also for receiving the file corresponding to the file identification with described file acquisition request of described the first Set Top Box transmission.
In the present invention, the first Set Top Box uploads onto the server the file identification of shared file and the first Set Top Box sign, the corresponding relation of the file identification that server stores the first Set Top Box is uploaded and the first Set Top Box sign; Server is when the file acquisition request that comprises the second Set Top Box sign and file identification that receives the second Set Top Box transmission, corresponding relation according to file identification and the first Set Top Box sign, obtain the first Set Top Box sign corresponding with described file acquisition request, and described file acquisition request is sent to the first Set Top Box corresponding to described the first Set Top Box sign, file transfer to the second Set Top Box that the first Set Top Box will be corresponding with the file identification in described file acquisition request according to described file acquisition request.The present invention does not need file is uploaded onto the server, and file directly obtains from the Set Top Box end, thereby has alleviated the pressure of server.The Set Top Box that file transfer pressure during file-sharing and data processing pressure all are distributed in each family is born, and has solved a large amount of domestic consumers while realizing file-sharing simultaneously, and server is born all pressure and caused the server routed problem of running quickly.
The accompanying drawing explanation
Fig. 1 is the realization flow figure that the set-top box file that provides of the embodiment of the present invention is shared method;
Fig. 2 is the realization flow figure that the set-top box file that provides of the embodiment of the present invention is shared method;
Fig. 3 is the mutual schematic diagram that set-top box file is shared method in the local area network (LAN) that provides of the embodiment of the present invention and between local area network (LAN);
Fig. 4 is the structured flowchart of the set-top box file shared system that provides of the embodiment of the present invention.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
A kind of set-top box file that Fig. 1 shows the embodiment of the present invention to be provided is shared the realization flow of method, and details are as follows:
Step 101, the first Set Top Box upload onto the server file identification and the first Set Top Box sign, the sign that above-mentioned file identification is the shared file of the first Set Top Box.
Concrete, file identification can be the file name of identification document etc.Set Top Box sign can be domestic consumer corresponding to Set Top Box unique identification, can be the unique identifications such as user identity card number, telephone number.
The corresponding relation of the file identification that step 102, server stores the first Set Top Box are uploaded and the first Set Top Box sign.
Preferably, server through database is stored file identification that the first Set Top Box uploads and the corresponding relation of the first Set Top Box sign.Database comprises: subscriber's meter and tables of data.The storage of the shared file name that the database of server end is mainly used in uploading, corresponding storage of uploading set-top box addresses.Comprise a subscriber's meter and a plurality of tables of data in database.Server is stored to file identification and the first Set Top Box sign in the tables of data in server database, and by the first Set Top Box sign, the address information of the first corresponding Set Top Box and the first Set Top Box sign are stored in the subscriber's meter in server database simultaneously.The address of the first Set Top Box refers to the lan address of the first Set Top Box, public network gateway address and the first Set Top Box LAN server address of the first Set Top Box.
As shown in table 1, subscriber's meter includes set-top box users end field information, and main field information includes but not limited to: user ID ID, LAN server address under the user, user's lan address, User Status, user's shared file number.In table, user ID is the major key of table.Be that the user ID content is unique, can not repeat.User ID (ID, Identity) means this domestic consumer's unique identification, can be that user identity card number waits unique information.Under the user, the LAN server address means the server address of the local area network (LAN) that the domestic consumer is affiliated, and generally IP(Internet Protocol, interconnection agreement between network are used in this address) the agreement division.User's lan address means the address that this domestic consumer distributes at affiliated local area network (LAN), and the lan address herein distributed is also used the IP agreement to divide, and this address is static address, with the domestic consumer, binds.User Status refers to whether current domestic consumer, whether in the Set Top Box of using, connects server, if connecting, User Status is on line, if do not connect under line.User's shared file number means the total quantity of domestic consumer's shared file.The public network gateway address means the address of this domestic consumer public network gateway in Television Broadcasting Network, and generally this address is used the IP agreement to divide.
Table 1 subscriber's meter
Figure BDA0000370681340000051
Tables of data is for storing the relevant information of user's upload file.Tables of data is as shown in table 2.Include file field information in tables of data, the master file field information includes but not limited to: user ID ID, file name, file type, file size, file description etc.User ID (ID, Identity) means this domestic consumer's unique identification, can be that user identity card number waits unique information.The user ID of file field is identical with the user ID of set-top box users end field.File name means the name of the file that the domestic consumer is shared.File type means type corresponding to file that the domestic consumer is shared, such as video, audio frequency, picture, document etc.File size means size corresponding to file that the domestic consumer is shared.File description table shows the associated description of the file that the domestic consumer is shared, such as the file content brief introduction, and picture brief introduction etc.
In tables of data, user ID with file name for combining major key.Can not there be two simultaneously identical row data in the content that is two fields of user ID and file name.
Table 2 tables of data
User ID File name File type File size File is described ...
... ... ... ... ... ...
Step 103, server are when receiving the file acquisition request of the second Set Top Box transmission, corresponding relation according to file identification and the first Set Top Box sign, obtain the first Set Top Box sign corresponding with the file acquisition request, and the file acquisition request is sent to the first Set Top Box corresponding to the first Set Top Box sign, above-mentioned file acquisition request comprises the file identification that the second Set Top Box identifies and the first Set Top Box is uploaded.
The file that need to share the first Set Top Box when the second Set Top Box is, the second Set Top Box is obtained request to the server Transmit message, this document request of obtaining comprises the file identification that the second Set Top Box identifies and the first Set Top Box is uploaded, server receives the second Set Top Box Transmit message and obtains while asking, corresponding relation according to file identification and the first Set Top Box sign, obtain the first Set Top Box sign corresponding with the file acquisition request, and the file acquisition request is sent to the first Set Top Box corresponding to the first Set Top Box sign.
Preferably, server is when receiving the file acquisition request of the second Set Top Box transmission, corresponding relation according to file identification and the first Set Top Box sign, obtain the first Set Top Box sign corresponding with the file acquisition request, and judge that whether the first Set Top Box corresponding to the first Set Top Box sign be online, if online the file acquisition request is sent to the first Set Top Box corresponding to the first Set Top Box sign, if not online server send and obtain unsuccessfully indication information to the second Set Top Box.Above-mentioned first Set Top Box corresponding with the file acquisition request is designated the first Set Top Box sign of the file that the file identification that stores in the file acquisition request is corresponding.Concrete, the request of obtaining of the second Set Top Box Transmit message is to LAN server under the second Set Top Box, under the second Set Top Box, LAN server is when receiving the file acquisition request of the second Set Top Box transmission, corresponding relation according to file identification and the first Set Top Box sign, obtain the first Set Top Box sign corresponding with the file acquisition request, when the first Set Top Box corresponding to the first Set Top Box sign and the second Set Top Box belong to same local area network (LAN), under the second Set Top Box, LAN server judges that whether the first Set Top Box is online, if under online the second Set Top Box, LAN server is sent to the first Set Top Box corresponding to the first Set Top Box sign by the file acquisition request, if it is not online, under the second Set Top Box, LAN server sends and obtains unsuccessfully indication information to the second Set Top Box, the second Set Top Box receives that obtaining unsuccessfully indication information stops waiting for the reception data.When corresponding the first Set Top Box and the second Set Top Box of the first Set Top Box sign do not belong to same local area network (LAN), LAN server forwards the file acquisition request according to network topology structure and delivers to LAN server under the first Set Top Box after receiving the file acquisition request that the second Set Top Box sends under the second Set Top Box, under the first Set Top Box, LAN server judges that whether the first Set Top Box is online, if under online the first Set Top Box, LAN server is sent to the file acquisition request the first Set Top Box corresponding to the first Set Top Box sign again, if it is not online, LAN server sends and obtains unsuccessfully indication information to LAN server under the second Set Top Box according to network topology structure under the first Set Top Box, the second Set Top Box stops waiting for the reception data after receiving and obtaining unsuccessfully indication information.
Step 104, the first Set Top Box are determined the second Set Top Box according to above-mentioned the second Set Top Box sign, and file transfer to the second Set Top Box that will be corresponding with the file identification in the file acquisition request.
After the first Set Top Box receives the file acquisition request of its affiliated LAN server transmission, determine the second Set Top Box according to the second Set Top Box sign in the file acquisition request, obtain the second set-top box addresses, and file transfer to the second Set Top Box that will be corresponding with the file identification in the file acquisition request.
Preferably, after the first Set Top Box receives the file acquisition request, determine whether to realize the transmission of file according to the load condition of the first Set Top Box.When load is less than first threshold, file transfer to the second Set Top Box that the first Set Top Box will be corresponding with the file identification in the file acquisition request, simultaneously to LAN server under the first Set Top Box send can transfer files indication information.When load is more than or equal to first threshold, the first Set Top Box sends indication information at full capacity to server, server is incited somebody to action indication information forwarding at full capacity again and is given the second Set Top Box, concrete, if corresponding the first Set Top Box and the second Set Top Box of the first Set Top Box sign belongs to same local area network (LAN), the first Set Top Box sends indication information at full capacity to LAN server under it, under the first Set Top Box, LAN server is incited somebody to action indication information at full capacity again and is sent to the second Set Top Box, if corresponding the first Set Top Box and the second Set Top Box of the first Set Top Box sign do not belong to same local area network (LAN), the first Set Top Box sends indication information at full capacity to LAN server under it, under the first Set Top Box LAN server receive at full capacity after indication information according to network topology structure at full capacity indication information forward and deliver to LAN server under the second Set Top Box, under the second Set Top Box, LAN server is incited somebody to action indication information at full capacity again and is sent to the second Set Top Box, the second Set Top Box receives at full capacity and stops waiting for the reception data after indication information.Because single Set Top Box load-bearing capacity is limited, the ability of simultaneously sharing data such as single Set Top Box is limited, and different top-set hardware configurations have determined sharing capability, for example its data-handling capacity of the second Set Top Box is exactly to realize sharing of 10 files simultaneously, when asking more than 10 files, surpassed sharing capability, can not realize sharing, the first Set Top Box just can not realize file transfer to the second Set Top Box so.
Further, set-top box file is shared method and is also comprised timeout treatment, due in network transmission process, in view of the different situations of network, the situation of packet loss may occur, and server end or Set Top Box end there will be situation about waiting for less than related data.Obtain file request information in the second Set Top Box transmission and wait for the timing of reception data to server, if timing surpasses the information that Second Threshold does not also receive the first Set Top Box or server transmission, stop waiting for the reception data, while such as the stand-by period, surpassing 120 seconds, stop waiting for receiving data, overcome like this second Set Top Box caused due to network failure and caused traffic congestion, the wasting of resources in wait state always.Perhaps when receiving data, the second Set Top Box interrupts suddenly, break period is while surpassing 120 seconds, the data that preservation has received are to buffer area, stop waiting for, if while again asking identical file, carry out file and resume, avoided equally Set Top Box to cause traffic congestion in empty wait state always, carry out buffer memory simultaneously and can improve data transmission efficiency, saving resource.Simultaneously, server is waited for timing after the file acquisition request is sent to the first Set Top Box corresponding to the first Set Top Box sign, when if timing surpasses the 3rd threshold value, what server did not also receive that the first Set Top Box sends can the transfer files indication information, resend the file acquisition request to the first Set Top Box, improve the stability of transfer of data.The 3rd threshold value can be set as 30 seconds.
Preferably, for the shared process of more detailed description document, the embodiment of the present invention implementation method of 2 pairs of file-sharings by reference to the accompanying drawings is further described, and shared implementation method comprises the following steps:
Step 201, the first Set Top Box are uploaded to first server, the sign that above-mentioned file identification is the shared file of the first Set Top Box by file identification and the first Set Top Box sign.Step 201 is identical with previous embodiment step 101.
Step 202, first server are stored file identification that the first Set Top Box uploads and the corresponding relation of the first Set Top Box sign.Concrete storage mode is identical with previous embodiment step 102.
Under step 203, the second Set Top Box, LAN server is when receiving the file acquisition request of the second Set Top Box transmission, corresponding relation according to file identification and the first Set Top Box sign, obtain the first Set Top Box sign corresponding with the file acquisition request, above-mentioned file acquisition request comprises the second Set Top Box sign and file identification.Wherein, first Set Top Box corresponding with the file acquisition request is designated the first Set Top Box sign of the file that the file identification that stores in the file acquisition request is corresponding.
Under step 204, the second Set Top Box, LAN server judges whether the first Set Top Box and the affiliated LAN server of the second Set Top Box that the first Set Top Box sign is corresponding belong to same local area network (LAN), perform step 206 if belong to same local area network (LAN), otherwise perform step 205 rear execution steps 206.
Concrete, after under the second Set Top Box, LAN server is obtained the first Set Top Box sign corresponding with the file acquisition request, obtain corresponding the first Set Top Box subordinate server address according to the first Set Top Box sign, if under the first Set Top Box, the server address of local area network (LAN) is identical with the address of the affiliated LAN server of the second Set Top Box, show that it is that under the second Set Top Box, LAN server is exactly first server that the first Set Top Box and the second Set Top Box belong to same local area network (LAN), if under the first Set Top Box, the server address of local area network (LAN) is not identical with the address of the affiliated LAN server of the second Set Top Box, show that the first Set Top Box and the second Set Top Box do not belong to same local area network (LAN), under the second Set Top Box, LAN server is second server so.
Step 205, second server send to first server by the file acquisition request.
Step 206, by first server, judge that whether the first Set Top Box is online, if the first Set Top Box performs step 207 rear execution steps 208 online, otherwise perform step 209.
Step 207, first server send to the first Set Top Box by the file acquisition request.
Step 208, the first Set Top Box determine whether according to load condition file transfer to the second Set Top Box that the file identification with in the file acquisition request is corresponding.When load is less than first threshold, file transfer to the second Set Top Box that the first Set Top Box will be corresponding with the file identification in the file acquisition request, simultaneously to first server send can transfer files indication information.When load is more than or equal to first threshold, if institute's the first Set Top Box and the second Set Top Box belong to same local area network (LAN), the first Set Top Box sends indication information at full capacity to first server, first server is incited somebody to action indication information at full capacity again and is sent to the second Set Top Box, if the first Set Top Box and the second Set Top Box do not belong to same local area network (LAN), the first Set Top Box sends indication information at full capacity to first server, first server receives at full capacity after indication information indication information at full capacity and is forwarded to second server, second server is incited somebody to action indication information at full capacity again and is sent to the second Set Top Box, the second Set Top Box receives at full capacity and stops waiting for the reception data after indication information.
Step 209, notify the second Set Top Box to stop wait for receiving data.
Concrete, when the first Set Top Box, not during line, if the first Set Top Box and first server belong to same local area network (LAN), first server sends and obtains unsuccessfully indication information to the second Set Top Box, notifies the second Set Top Box to stop waiting for the reception data.If the first Set Top Box and first server do not belong to same local area network (LAN), server sends and obtains unsuccessfully indication information to first server, first server will be obtained unsuccessfully indication information again and send to the second Set Top Box, notify the second Set Top Box to stop waiting for and receive data.While so just having avoided the first Set Top Box online, the first Set Top Box receives data mode in waiting for always, causes that data communication is congested, the wasting of resources.
For example, Fig. 3 shows in local area network (LAN) and the mutual schematic diagram of file-sharing between local area network (LAN), server 1 is the corresponding server of the first local area network (LAN), server 2 is the corresponding server of the second local area network (LAN), Set Top Box A, Set Top Box B are the Set Top Box in the first local area network (LAN), and Set Top Box C, Set Top Box D are the Set Top Box in the second local area network (LAN).In local area network (LAN), server and corresponding the interior Set Top Box of local area network (LAN) communicate, communication objective: the one, and Set Top Box is uploaded the name that needs shared file, and then server record is in associated databases.The 2nd, server is communicated by letter with Set Top Box, and the relevant Set Top Box of notice transfers data to the STB terminal needed.As shown in fig. 1, in server 1 local area network (LAN), Set Top Box A and Set Top Box B will need shared file name to upload onto the server 1, and server 1 is processed and stored in corresponding database.If it is to derive from Set Top Box A that Set Top Box B needs the file obtained in server 1, Set Top Box B first carries out to the request of obtaining of Set Top Box Transmit message the preparation of accepting data simultaneously, after server 1 receives the request of Set Top Box B, server 1 will send to Set Top Box A by the file identification of the mailing address of Set Top Box B and Set Top Box B needs, then Set Top Box A directly sends data to Set Top Box B, and the ending sign of these data is unified, when Set Top Box, B receives end of data mark, and Set Top Box B finishes receiving.
Between local area network (LAN), between server and server, communicate, in server and this local area network (LAN), Set Top Box communicates.Communication objective: the one, Set Top Box is uploaded needs shared file identification and Set Top Box sign, and then the respective local area network server is recorded in corresponding data in associated databases.The 2nd, between server, communicate by letter, the mailing address of association requests Set Top Box is delivered in the Set Top Box across local area network (LAN).The 3rd, carry out transfer of data between two Set Top Box across local area network (LAN).As shown in fig. 1, the file of postulated mechanism top box C request is stored in Set Top Box A.At first the Set Top Box C server 2 of the file of request can being communicated by letter, Set Top Box C can start the wait data receiver simultaneously, it is to derive from which local area network (LAN) that the file identification that server 2 provides according to Set Top Box C can get this document, then server 2 communicates with server 1, server 1 again by the address information of Set Top Box C with need fileinfo to send to Set Top Box A, Set Top Box A sends data to Set Top Box C, and the ending sign of these data is unified, when Set Top Box, C receives end of data mark, and Set Top Box C finishes receiving.For convenience of description, Fig. 3 only shows 2 file-sharings between local area network (LAN), it should be noted that file sharing method of the present invention is not limited to two local area network (LAN)s, can be a plurality of local area network (LAN)s.
Fig. 4 shows a kind of set-top box file shared system that the embodiment of the present invention provides, and this set-top box file shared system can realize the file sharing method of previous embodiment.A kind of set-top box file shared system comprises: the first Set Top Box 41, the second Set Top Box 42, server 43.
The first Set Top Box 41, for uploading onto the server 43, the sign that file identification is the shared file of the first Set Top Box by file identification and the first Set Top Box sign.
Server 43, for storing file identification that the first Set Top Box uploads and the corresponding relation of the first Set Top Box sign.Preferably, server 43 is stored file identification that the first Set Top Box uploads and the corresponding relation of the first Set Top Box sign by database.Database comprises: subscriber's meter and containing tables of data.The storage of the shared file name that the database of server end is mainly used in uploading, corresponding storage of uploading set-top box addresses.Comprise a subscriber's meter and a plurality of tables of data in database.Server is stored to file identification and the first Set Top Box sign in the tables of data in server database, and by the first Set Top Box sign, the address information of the first corresponding Set Top Box is stored in the subscriber's meter in server database simultaneously.The address of the first Set Top Box refers to the lan address of the first Set Top Box, public network gateway address and the first Set Top Box LAN server address of the first Set Top Box.This subscriber's meter is identical with tables of data and previous embodiment.
The second Set Top Box 42, obtain and ask to server for Transmit message;
Server 43, also for when receiving the file acquisition request of the second Set Top Box transmission, corresponding relation according to file identification and the first Set Top Box sign, obtain the first Set Top Box sign corresponding with the file acquisition request, and the file acquisition request is sent to the first Set Top Box corresponding to the first Set Top Box sign, the file acquisition request comprises the file identification that the second Set Top Box identifies and the first Set Top Box is uploaded.Above-mentioned first Set Top Box corresponding with the file acquisition request is designated the first Set Top Box sign of the file that the file identification that stores in the file acquisition request is corresponding.
The first Set Top Box 41, the also file acquisition request for receiving, and determine the second Set Top Box, file transfer to the second Set Top Box that will be corresponding with the file identification in the file acquisition request according to above-mentioned the second Set Top Box sign.
The second Set Top Box 42, also for receiving file corresponding to file identification with file acquisition request of the first Set Top Box according to file acquisition request transmission.
Further, the first Set Top Box 41 will be corresponding with the file identification in the file acquisition request according to the file acquisition request file transfer to the second Set Top Box 42, specifically comprise: when the load of the first Set Top Box is less than first threshold, the first Set Top Box will be corresponding with the file identification in the file acquisition request file transfer to the second Set Top Box, and to server send can transfer files indication information; When the load of the first Set Top Box is more than or equal to first threshold, the first Set Top Box sends indication information at full capacity to server, and server is incited somebody to action indication information forwarding at full capacity again and given the second Set Top Box.
Further, system also comprises: timer 44; Timer 44, obtain and ask to be waited for timing to server for the second Set Top Box Transmit message; Or/and, for interrupting suddenly when the second Set Top Box receives data, interrupted timing; Or/and waited for timing after for server, the file acquisition request being sent to the first Set Top Box corresponding to the first Set Top Box sign.
Further, above-mentioned server, also for when receiving the file acquisition request of the second Set Top Box transmission, corresponding relation according to file identification and the first Set Top Box sign, obtain the first Set Top Box sign corresponding with the file acquisition request, and the file acquisition request is sent to the first Set Top Box corresponding to the first Set Top Box sign, specifically comprise: server is when receiving the file acquisition request of the second Set Top Box transmission, corresponding relation according to file identification and the first Set Top Box sign, obtain the first Set Top Box sign corresponding with the file acquisition request, and judge that whether the first Set Top Box corresponding to the first Set Top Box sign be online, if online the file acquisition request is sent to the first Set Top Box corresponding to the first Set Top Box sign, if not online server send and to obtain unsuccessfully indication information to the second Set Top Box.
Further, server 43 comprises first server 431 and second server 432, and first server is positioned at different local area network (LAN)s from second server.First server, when receiving the file acquisition request of the second Set Top Box transmission, according to the corresponding relation of file identification and the first Set Top Box sign, is obtained the first Set Top Box sign corresponding with the file acquisition request; When the first Set Top Box corresponding to the first Set Top Box sign, with first server during at same local area network (LAN), first server is sent to the file acquisition request the first Set Top Box of the first Set Top Box sign correspondence; When the first Set Top Box corresponding to the first Set Top Box sign and first server during at LAN, first server is sent to second server by the file acquisition request, by second server, the file acquisition request is sent to the first Set Top Box corresponding to the first Set Top Box sign, second server is the server in the first Set Top Box place local area network (LAN) corresponding to the first Set Top Box sign.It should be noted that, for convenience of description, only enumerated two servers, but those skilled in the art should know, the server of said system is not limited to first server and second server, can comprise a plurality of servers, and a plurality of servers belong to respectively different local area network (LAN)s.
It should be noted that, for aforesaid each embodiment of the method, for simple description, therefore it all is expressed as to a series of combination of actions, but those skilled in the art should know, the present invention is not subject to the restriction of described sequence of movement, because according to the present invention, some step can adopt other orders or carry out simultaneously.
These are only preferred embodiment of the present invention, not in order to limit the present invention, all any modifications of doing within the spirit and principles in the present invention, be equal to and replace and improvement etc., within all should being included in protection scope of the present invention.

Claims (10)

1. a set-top box file is shared method, it is characterized in that, comprises the following steps:
The first Set Top Box uploads onto the server file identification and the first Set Top Box sign, the sign that described file identification is the shared file of the first Set Top Box;
The corresponding relation of the file identification that server stores the first Set Top Box is uploaded and the first Set Top Box sign;
Server is when receiving the file acquisition request of the second Set Top Box transmission, corresponding relation according to file identification and the first Set Top Box sign, obtain the first Set Top Box sign corresponding with described file acquisition request, and described file acquisition request is sent to the first Set Top Box corresponding to described the first Set Top Box sign, described file acquisition request comprises the file identification that the second Set Top Box identifies and the first Set Top Box is uploaded;
The first Set Top Box is determined the second Set Top Box according to described the second Set Top Box sign, and file transfer to the second Set Top Box that will be corresponding with the file identification in described file acquisition request.
2. the method for claim 1, is characterized in that, described server comprises first server and second server, and described first server is positioned at different local area network (LAN)s from described second server.
3. method as claimed in claim 2, it is characterized in that, described server is when receiving the file acquisition request of the second Set Top Box transmission, corresponding relation according to file identification and the first Set Top Box sign, obtain the first Set Top Box sign corresponding with described file acquisition request, and described file acquisition request is sent to the first Set Top Box corresponding to described the first Set Top Box sign, specifically comprise:
First server, when receiving the file acquisition request of the second Set Top Box transmission, according to the corresponding relation of file identification and the first Set Top Box sign, is obtained the first Set Top Box sign corresponding with described file acquisition request;
When the first Set Top Box corresponding to described the first Set Top Box sign, with described first server during at same local area network (LAN), first server is sent to described file acquisition request the first Set Top Box of described the first Set Top Box sign correspondence;
When the first Set Top Box corresponding to described the first Set Top Box sign and described first server during at LAN, first server is sent to second server by described file acquisition request, by described second server, described file acquisition request is sent to the first Set Top Box corresponding to described the first Set Top Box sign, described second server is the server in the first Set Top Box place local area network (LAN) corresponding to described the first Set Top Box sign.
4. method as claimed in claim 1, is characterized in that, file transfer to the second Set Top Box that described the first Set Top Box will be corresponding with the file identification in described file acquisition request according to described file acquisition request specifically comprises:
When the load of the first Set Top Box is less than first threshold, described the first Set Top Box to described server send can transfer files indication information, and file transfer to the second Set Top Box that will be corresponding with the file identification in described file acquisition request;
When the load of the first Set Top Box is more than or equal to first threshold, described the first Set Top Box sends indication information at full capacity to described server, and described server forwards described indication information at full capacity to give described the second Set Top Box again.
5. method as claimed in claim 4, is characterized in that, described method also comprises:
Described the second Set Top Box Transmit message obtains asks to be waited for timing to server, if timing surpasses Second Threshold, does not also receive the file of the first Set Top Box transmission or the information that server sends, and stops waiting for receiving; Or/and
When described the second Set Top Box receives the file of the first Set Top Box transmission, if the file data of transmission interrupts suddenly, surpass Second Threshold break period, the data that preservation has received are to buffer area, stop wait for receiving data, if again during the acquisition request identical file, carry out file and resume; Or/and
Described server is waited for timing after the file acquisition request is sent to the first Set Top Box corresponding to described the first Set Top Box sign, when if timing surpasses the 3rd threshold value, what described server did not also receive that the first Set Top Box sends can the transfer files indication information, resends the file acquisition request to described the first Set Top Box.
6. method as claimed in claim 1, it is characterized in that, described server is when receiving the file acquisition request of the second Set Top Box transmission, corresponding relation according to file identification and the first Set Top Box sign, obtain the first Set Top Box sign corresponding with described file acquisition request, and described file acquisition request is sent to the first Set Top Box corresponding to described the first Set Top Box sign, specifically comprise:
Described server is when receiving the file acquisition request of the second Set Top Box transmission, corresponding relation according to file identification and the first Set Top Box sign, obtain the first Set Top Box sign corresponding with described file acquisition request, and judge that whether the first Set Top Box corresponding to described the first Set Top Box sign be online, if online described file acquisition request is sent to the first Set Top Box corresponding to described the first Set Top Box sign, if not online described server send and obtain unsuccessfully indication information to described the second Set Top Box.
7. the method for claim 1, is characterized in that, the corresponding relation of the file identification that described server stores the first Set Top Box is uploaded and the first Set Top Box sign specifically comprises:
Described file identification and the first Set Top Box sign are stored in the tables of data in server database, and by described the first Set Top Box sign, address information and the first Set Top Box sign of the first corresponding Set Top Box are stored in the subscriber's meter in server database simultaneously.
8. method as claimed in claim 7, is characterized in that, described subscriber's meter comprises: LAN server address, user's lan address, user's shared file number, public network gateway address under user ID, user.
9. method as claimed in claim 7, is characterized in that, described tables of data comprises: user ID, file name, file type, file size, file are described.
10. a set-top box file shared system, is characterized in that, described system comprises: the first Set Top Box, the second Set Top Box, server;
Described the first Set Top Box, for file identification and the first Set Top Box sign are uploaded onto the server, the sign that described file identification is the shared file of the first Set Top Box;
Described server, for storing file identification that the first Set Top Box uploads and the corresponding relation of the first Set Top Box sign;
Described the second Set Top Box, obtain and ask to described server for Transmit message;
Described server, also for when receiving the file acquisition request of the second Set Top Box transmission, corresponding relation according to file identification and the first Set Top Box sign, obtain the first Set Top Box sign corresponding with described file acquisition request, and described file acquisition request is sent to the first Set Top Box corresponding to described the first Set Top Box sign, described file acquisition request comprises the file identification that the second Set Top Box identifies and the first Set Top Box is uploaded;
Described the first Set Top Box, also for receiving described file acquisition request, and determine the second Set Top Box, file transfer to the second Set Top Box that will be corresponding with the file identification in described file acquisition request according to described the second Set Top Box sign;
Described the second Set Top Box, also for receiving the file corresponding to the file identification with described file acquisition request of described the first Set Top Box transmission.
CN201310370505.2A 2013-08-22 2013-08-22 Set top box file sharing method and system Expired - Fee Related CN103442286B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201310370505.2A CN103442286B (en) 2013-08-22 2013-08-22 Set top box file sharing method and system
PCT/CN2014/079273 WO2015024404A1 (en) 2013-08-22 2014-06-05 Method and system for sharing set top box file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310370505.2A CN103442286B (en) 2013-08-22 2013-08-22 Set top box file sharing method and system

Publications (2)

Publication Number Publication Date
CN103442286A true CN103442286A (en) 2013-12-11
CN103442286B CN103442286B (en) 2017-04-12

Family

ID=49695944

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310370505.2A Expired - Fee Related CN103442286B (en) 2013-08-22 2013-08-22 Set top box file sharing method and system

Country Status (2)

Country Link
CN (1) CN103442286B (en)
WO (1) WO2015024404A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015024404A1 (en) * 2013-08-22 2015-02-26 深圳市九洲电器有限公司 Method and system for sharing set top box file
CN110856029A (en) * 2019-10-17 2020-02-28 北京雷石天地电子技术有限公司 Method and system for synchronizing local area network set top box resources

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101399966A (en) * 2008-09-05 2009-04-01 深圳创维数字技术股份有限公司 IP set-top box and method for realizing cross frequency service in IP set-top box
US20100033313A1 (en) * 2008-06-19 2010-02-11 Personics Holdings Inc. Ambient situation awareness system and method for vehicles
CN102685563A (en) * 2011-03-15 2012-09-19 华为终端有限公司 Internet protocol television (IPTV) content sharing method, device and terminal equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103237009A (en) * 2013-03-26 2013-08-07 四川长虹电器股份有限公司 Resource sharing system of intelligent set-top box and method for achieving resource sharing
CN103442286B (en) * 2013-08-22 2017-04-12 深圳市九洲电器有限公司 Set top box file sharing method and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100033313A1 (en) * 2008-06-19 2010-02-11 Personics Holdings Inc. Ambient situation awareness system and method for vehicles
CN101399966A (en) * 2008-09-05 2009-04-01 深圳创维数字技术股份有限公司 IP set-top box and method for realizing cross frequency service in IP set-top box
CN102685563A (en) * 2011-03-15 2012-09-19 华为终端有限公司 Internet protocol television (IPTV) content sharing method, device and terminal equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015024404A1 (en) * 2013-08-22 2015-02-26 深圳市九洲电器有限公司 Method and system for sharing set top box file
CN110856029A (en) * 2019-10-17 2020-02-28 北京雷石天地电子技术有限公司 Method and system for synchronizing local area network set top box resources
CN110856029B (en) * 2019-10-17 2022-04-01 北京雷石天地电子技术有限公司 Method and system for synchronizing local area network set top box resources

Also Published As

Publication number Publication date
CN103442286B (en) 2017-04-12
WO2015024404A1 (en) 2015-02-26

Similar Documents

Publication Publication Date Title
CN103166959B (en) A kind of multipath real-time Transmission control system and method
US8774212B2 (en) System and method for managing network traffic
US9853718B2 (en) Dynamically adjusting the transmission mode in a satellite communication system
EP3595325B1 (en) Method for realizing multicast and relevant network device
CN104243609B (en) A kind of information service method for pushing and device
WO2011017982A1 (en) System, method and terminal for processing media services
CN109862437B (en) Forwarding table item creating method and BRAS
CN105262836A (en) Information push method of server and push information reception method of client
CN103916421A (en) Cloud storage data service device, data transmission system, server and method
CN104580016A (en) Node distribution method, device and system
JP2011130283A (en) Internetwork data distribution system, information communication terminal, and content distribution server
CN103442286A (en) Set top box file sharing method and system
US20200099652A1 (en) Network assistance in dash using dns
CN107800666B (en) Page content processing method and device, master node and slave node
CN105591866A (en) Method and system for sharing WIFI, household gateway, and local area network gateway
CN101621545B (en) Device and method for pulling down media resource towards terminal device
US20170085623A1 (en) Content downloading and network provisioning
CN115550973B (en) 4G/5G multi-terminal video communication network topology structure determination method and device
WO2022206391A1 (en) Path subscription method, apparatus and system, and storage medium
WO2012155646A1 (en) Method, system and device for providing multimedia service
KR101519633B1 (en) Mobile voip server system and method of servicing mobile voip
CN104104562B (en) Method, client, server and the system of signaling are transmitted in home network
US20230026376A1 (en) Method for delivering audio and/or video contents to a player
CN102006313B (en) Business content distributing method and device based on personal network
KR101340440B1 (en) wireless network system and method of delivering contents using the same

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170412

Termination date: 20170822