CN105872648A - Video data sharing method and device - Google Patents

Video data sharing method and device Download PDF

Info

Publication number
CN105872648A
CN105872648A CN201510924810.0A CN201510924810A CN105872648A CN 105872648 A CN105872648 A CN 105872648A CN 201510924810 A CN201510924810 A CN 201510924810A CN 105872648 A CN105872648 A CN 105872648A
Authority
CN
China
Prior art keywords
video
terminal
preset
terminal equipment
unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510924810.0A
Other languages
Chinese (zh)
Inventor
祝晓光
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
LeTV Cloud Computing Co Ltd
Original Assignee
LeTV Cloud Computing 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 LeTV Cloud Computing Co Ltd filed Critical LeTV Cloud Computing Co Ltd
Priority to CN201510924810.0A priority Critical patent/CN105872648A/en
Publication of CN105872648A publication Critical patent/CN105872648A/en
Pending legal-status Critical Current

Links

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/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network
    • H04N21/43637Adapting the video or multiplex stream to a specific local network, e.g. a IEEE 1394 or Bluetooth® network involving a wireless protocol, e.g. Bluetooth, RF or wireless LAN [IEEE 802.11]
    • 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/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4126The peripheral being portable, e.g. PDAs or mobile phones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/647Control signaling between network components and server or clients; Network processes for video distribution between server and clients, e.g. controlling the quality of the video stream, by dropping packets, protecting content from unauthorised alteration within the network, monitoring of network load, bridging between two different networks, e.g. between IP and wireless
    • H04N21/64723Monitoring of network processes or resources, e.g. monitoring of network load

Abstract

The invention provides a video data sharing method and device. The technical scheme provided by the invention comprises that a router obtains a preset video according to request information which is sent by a first terminal device and is used for obtaining the preset video; the preset video is stored in a preset memory; if the request information which is sent by a second terminal device and is used for obtaining the preset video is received, whether the first terminal device and the second terminal device are connected with the same router or not is determined according to a first terminal device identifier and a second terminal device identifier; and if it is determined that the first terminal device and the second terminal device are connected with the same router, the preset video is sent to the second terminal device. If the second terminal device and the first terminal device are connected with the same router, the router will share the stored preset video to the second terminal device, the second terminal device does not need to send the request information for obtaining the preset video to a network server, therefore, the time consumed for downloading or playing the preset video is greatly reduced, and the consumed network resources are relatively few.

Description

The method and device that video data is shared
Technical field
The present embodiments relate to Internet technical field, particularly relate to a kind of method that video data is shared And device.
Background technology
Along with the development of Internet telephony, the user of application network also gets more and more, and user can pass through net Network obtains various required resource, such as, plays Internet video program etc..But, user plays net The fluency of network video frequency program and play the quality of Internet video program by the network bandwidth, network speed, The restriction of the network environments such as network traffics.
At present, the video playback platform providing the user video playback on the market is more, when user is by regarding Frequently, when playing platform plays video, its specific operation process is as follows: user inputs broadcasting in the client and regards The video name of frequency, and this video name is sent to video playback platform, video playback platform is receiving After the solicited message playing video that client user sends, according to the video name in solicited message, Obtain, from the webserver of its correspondence, the video that video name is corresponding, and this video sent to client, So that client user downloads or plays this video.
Owing to video playback platform is when obtaining video, connects based on network and lead to the webserver Letter is mutual, and it is limited to the network environments such as the network bandwidth, network speed, network traffics.If same use Family uses different terminal units, and those terminal units are provided with client, and user uses different When terminal unit plays video, same operation need to be performed every time, cause elapsed time longer, consumption Internet resources can be more.Therefore, how elapsed time and the fall downloading or playing video is being reduced The network resource consumption of low download or broadcasting video becomes current problem demanding prompt solution.
Summary of the invention
The embodiment of the present invention provides the method and device that a kind of video data is shared, in order to solve prior art Time-consuming the longest when downloading or play video between middle different terminal equipment, and the Internet resources consumed are more Problem.
The embodiment of the present invention provides a kind of method that video data is shared, including:
The solicited message obtaining preset video that router sends according to first terminal equipment, obtains preset regarding Frequently;Described solicited message comprises first terminal device identification;
Described preset video is stored in preset memory;
If receiving the solicited message obtaining described preset video that the second terminal unit sends, then according to institute State first terminal device identification and determine described first terminal equipment and described second with the second Terminal Equipment Identifier Whether terminal unit is connected to same router;Wherein, described solicited message also comprises described second eventually End device identification;
If it is determined that described first terminal equipment and described second terminal unit are connected to same router, then will Described preset video sends to described second terminal unit.
The embodiment of the present invention provides the device that a kind of video data is shared, including:
Acquiring unit, for the solicited message obtaining preset video sent according to first terminal equipment, obtains Take preset video;Described solicited message comprises first terminal device identification;
First memory element, is stored in preset depositing for the described preset video obtained by described acquiring unit In reservoir;
First determines unit, is used for when the described preset video of acquisition receiving the second terminal unit transmission During solicited message, set with the second terminal according to the described first terminal device identification that described acquiring unit obtains Standby mark determines whether described first terminal equipment and described second terminal unit are connected to same router; Wherein, described solicited message also comprises described second Terminal Equipment Identifier;
First transmitting element, is used for when described first determines that unit determines that described first terminal equipment is with described When second terminal unit is connected to same router, described preset video is sent extremely described second terminal and sets Standby.
The method and device that the video data that the embodiment of the present invention provides is shared, router is according to first terminal The solicited message obtaining preset video that equipment sends, carries first terminal equipment in this solicited message First terminal device identification, and the preset video obtained is stored, if receiving the second terminal unit The solicited message obtaining preset video sent, then according to first terminal device identification and the second terminal unit Mark determines whether first terminal equipment and the second terminal unit are connected to same router;Wherein, request Information also comprises the second Terminal Equipment Identifier;If it is determined that first terminal equipment and the second terminal unit connect In same router, then preset video is sent to the second terminal unit;Compared with prior art, this In bright embodiment, the preset video that first terminal equipment is obtained by this router is stored by router, If the second terminal unit and first terminal equipment are connected in same router, then router can be stored Preset video share to the second terminal unit, the second terminal unit without to the webserver send obtain The solicited message of preset video, i.e. can play or downloads preset video, substantially reduces download or broadcasts Put the elapsed time of preset video, and the Internet resources consumed are less.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to reality Execute the required accompanying drawing used in example or description of the prior art to be briefly described, it should be apparent that under, Accompanying drawing during face describes is some embodiments of the present invention, for those of ordinary skill in the art, On the premise of not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 shows the flow chart of the method that a kind of video data that the embodiment of the present invention provides shares;
Fig. 2 shows the flow chart of the method that the another kind of video data that the embodiment of the present invention provides shares;
Fig. 3 shows the composition frame chart of the device that a kind of video data that the embodiment of the present invention provides shares;
Fig. 4 shows the composition frame of the device that the another kind of video data that the embodiment of the present invention provides shares Figure;
Fig. 5 shows the structural representation of a kind of router that the embodiment of the present invention provides.
Detailed description of the invention
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearer, below in conjunction with this Accompanying drawing in bright embodiment, is clearly and completely described the technical scheme in the embodiment of the present invention, Obviously, described embodiment is a part of embodiment of the present invention rather than whole embodiments.Based on Embodiment in the present invention, those of ordinary skill in the art are obtained under not making creative work premise The every other embodiment obtained, broadly falls into the scope of protection of the invention.
The embodiment of the present invention provides a kind of method that video data is shared, and the method is applied in router, As it is shown in figure 1, the method includes:
101, the solicited message obtaining preset video that router sends according to first terminal equipment, obtains pre- Put video.
Terminal unit, when playing or downloading preset video, is handed over the webserver by router Intercommunication, router receive first terminal equipment send obtain preset video solicited message after, Preset video is obtained according to solicited message;Described solicited message comprises first terminal device identification.
It should be noted that terminal unit is when obtaining preset video, by the visitor installed in terminal unit Family end plays out or downloads, the concrete kind of the embodiment of the present invention client to installing in terminal unit Type is not defined, and the emphasis of the embodiment of the present invention is that different terminal equipment connects and same router.
Terminal unit described in the embodiment of the present invention can be the different terminal equipment that same user uses, also It can be the different terminal equipment of different user use.The terminal unit that user uses includes: PC (personal computer, PC), portable computer, panel computer, smart mobile phone, intelligent television etc. Deng, the type of terminal unit is not defined by the concrete embodiment of the present invention.
102, described preset video is stored in preset memory by router.
The preset video that step 101 is obtained by router stores and in preset memory, wherein, described pre- Wish that data base is for saving presets memorizer;It is intended that when the other-end bound with this router When equipment obtains preset video, router obtains preset video from preset memory, and is sent to other Terminal unit, and the solicited message obtaining preset video without being sent by other-end equipment sends to net Network server, reduces other-end equipment and obtains the time loss of preset video, save Internet resources.
Optionally, for the ease of preset memory is managed, when preset video is stored, Obtain the video labeling of preset video, according to video labeling, preset video is stored.Wherein, described Video labeling is the unique identification information of preset video.
If 103, router receives the request letter obtaining described preset video that the second terminal unit sends According to described first terminal device identification and the second Terminal Equipment Identifier, breath, then determine that described first terminal sets For whether being connected to same router with described second terminal unit.
Router receive second terminal unit send obtain described preset video solicited message it After, this solicited message is resolved, obtains the second terminal unit mark carried in solicited message;Obtain After taking the second Terminal Equipment Identifier, determine with the second Terminal Equipment Identifier according to first terminal device identification First terminal equipment and the second terminal unit whether connect with in same router.
104 if it is determined that described first terminal equipment and described second terminal unit are connected to same router, Then described preset video is sent to described second terminal unit.
After step 103 determines that first terminal equipment and the second terminal unit are connected to same router, say Bright router allows the preset video that first terminal equipment obtains, and shares with the second terminal unit, therefore, The preset video that router can be stored sends to the second terminal unit.If step 103 determines first eventually When end equipment and the second terminal are not attached to same router, illustrate router not allow first terminal and set The standby preset video obtained, shares with the second terminal unit, and therefore, the second terminal is set by router The solicited message obtaining preset video that preparation is sent sends to the webserver.
The method that the video data that the embodiment of the present invention provides is shared, router is sent out according to first terminal equipment The solicited message obtaining preset video sent, carries the first end of first terminal equipment in this solicited message End device identification, and the preset video obtained is stored, if receiving what the second terminal unit sent Obtain the solicited message of preset video, then true with the second Terminal Equipment Identifier according to first terminal device identification Determine first terminal equipment and whether the second terminal unit is connected to same router;Wherein, in solicited message Also comprise the second Terminal Equipment Identifier;If it is determined that first terminal equipment and the second terminal unit are connected to same Router, then send preset video to the second terminal unit;Compared with prior art, the present invention implements In example, the preset video that first terminal equipment is obtained by this router is stored by router, if the Two terminal units and first terminal equipment are connected in same router, then router can be stored pre- Putting video and share to the second terminal unit, the second terminal unit is preset without sending acquisition to the webserver The solicited message of video, i.e. can play or downloads preset video, substantially reduces download or plays pre- Put the elapsed time of video, and the Internet resources consumed are less.
Further, as to the refinement of embodiment of the method shown in Fig. 1 and extension, step 101 is being performed When obtaining preset video, first, obtain the video labeling of preset video, obtain the application of preset buffered video Program, wherein, this preset buffered video application program is for caching preset video according to video labeling;Institute State preset buffered video application program its be substantially content distributing network (Content Delivery Network, CDN) a node;Described CDN system can be in real time according to network traffics and the company of each node Connect, load state and the request of user being led again to the integrated information such as the distance of user and response time On the service node nearest from user.Its objective is to make user can obtain required content nearby, solve The situation that Internet network is crowded, improves user and accesses the response speed of website.
After router obtains preset buffered video application program, to this preset buffered video application program Installing, after installing, run this preset buffered video application program, its result run is root Preset video is cached according to video labeling.Regard based on preset buffered video application cache is preset at router Frequently time, its specific operation process is as follows: preset buffered video application program takes to network based on video labeling Business device sends and obtains the preset video that video labeling is corresponding, and preset video cache is local in router.
Further, this first end is determined according to this first terminal device identification and the second Terminal Equipment Identifier Whether end equipment is connected to same router with this second terminal unit includes: obtain preset relationship maps table, This preset relationship maps table is used for storing Terminal Equipment Identifier;Based on this first terminal device identification and second Terminal Equipment Identifier travels through this preset relationship maps table;Determine this preset relationship maps table whether comprise this One Terminal Equipment Identifier and the second Terminal Equipment Identifier.Based on first terminal device identification and the second terminal When upper device identification travels through this preset relationship maps table, any traversal of the prior art can be used Mode, the embodiment of the present invention no longer repeats at this.
Further, the solicited message obtaining preset video sent according to first terminal equipment at router Before, router is bound with first terminal equipment, its object is to, in order to router can determine The preset video that himself is stored, it is allowed to carry out sharing preset video between which terminal unit.Road By device after binding with first terminal equipment, by first terminal equipment corresponding for first terminal equipment Mark is stored in preset relationship maps table.
Further, the second terminal unit can get two essential conditions of preset video from router It is: first that in router, storage has this preset video;Second, first terminal equipment and the second terminal set For must be connected in same router, i.e. the second terminal unit has preset with first terminal collaborative share The authority of video.Because router is the preset video of the solicited message storage according to first terminal equipment. Therefore, described first terminal is being determined according to described first terminal device identification and the second Terminal Equipment Identifier Before whether equipment and described second terminal unit are connected to same router, router to determine himself Whether storage has preset video, if router determines that himself storage has preset video, then further according to described First terminal device identification and the second Terminal Equipment Identifier determine that described first terminal equipment is with described second eventually Whether end equipment is connected to same router;If router determines himself has not stored preset video, will The solicited message obtaining described preset video that described second terminal unit sends sends to the webserver.
Optionally, the second terminal unit to router send obtain preset video solicited message before, The mapping relations between preset video and terminal unit, video playback is obtained to video playback Platform Server Platform Server is for adding up the relation play between preset video and terminal unit.Described mapping relations bag Include: one-to-one relationship between preset video and terminal unit, between preset video and terminal unit One-to-many mapping relations, multi-to-multi mapping relations between preset video and terminal unit.Second terminal sets Standby after determining the terminal unit playing preset video, obtain preset video to this terminal unit.Example Property, video playback Platform Server statistics preset video and terminal unit between mapping relations such as table Shown in 1.In table 1, terminal unit 1 and terminal unit 2 all play video 4;Terminal unit 2 is with whole End equipment 3 all play video 8;If the second terminal unit video to be obtained 8, can be to terminal unit 2 Or terminal unit 3 obtains video 8.The preset video obtained between terminal unit and terminal unit, nothing Need to be through the webserver, therefore so that network resource consumption less.
When transmitting preset video between terminal unit and terminal unit, can be including but not limited to following Mode realize, such as: wireless by between preset video data transmission application program, terminal unit Data transport service, e.g., bluetooth, WiFi etc..The embodiment of the present invention is pre-to transmission between terminal unit The specific implementation putting video is not defined.
Table 1
Further, collecting as to above-described embodiment, the embodiment of the present invention also provides for another kind of video The method of data sharing, as in figure 2 it is shown, the method includes:
201, router is bound with first terminal equipment;And by corresponding for described first terminal equipment One Terminal Equipment Identifier is stored in preset relationship maps table.
202, router receives the solicited message obtaining preset video that first terminal equipment sends.
203, router responds described solicited message, obtains preset video, and is stored by described preset video In preset memory.
204, router receives the solicited message obtaining described preset video that the second terminal unit sends.
205, router determines himself whether to have stored described preset video.
If router determines that himself storage has described preset video, then perform step 206;If router Determine and himself do not stored described preset video, then perform step 208.
206, router determines described the according to described first terminal device identification and the second Terminal Equipment Identifier Whether one terminal unit and described second terminal unit are connected to same router.
If it is determined that described first terminal equipment and described second terminal unit are connected to same router, then hold Row step 207;If it is determined that described first terminal equipment and described second terminal unit are not attached to same road By device, then perform step 208.
207, described preset video is sent to described second terminal unit by router.
208, the solicited message obtaining described preset video that described second terminal unit sends is sent out by router Deliver to the webserver.
It should be noted that about the detailed description of step 201-208, refer to above-described embodiment has Closing and describe, the embodiment of the present invention repeats the most one by one at this.
Further, as to the realization of method shown in above-mentioned Fig. 1, another embodiment of the present invention also provides for The device that a kind of video data is shared.This device embodiment is corresponding with preceding method embodiment, for ease of Reading, the detail content in preceding method embodiment is no longer repeated by this device embodiment one by one, but It will be appreciated that the device in the present embodiment corresponding can realize the full content in preceding method embodiment.
The device that a kind of video data that the embodiment of the present invention provides is shared, is applied in router, such as figure Shown in 3, this device includes:
Acquiring unit 31, for the solicited message obtaining preset video sent according to first terminal equipment, Obtain preset video;Described solicited message comprises first terminal device identification;
First memory element 32, for being stored in the described preset video that described acquiring unit 31 obtains In preset memory;
First determines unit 33, for when receiving the described preset video of acquisition that the second terminal unit sends Solicited message time, the described first terminal device identification obtained according to described acquiring unit 31 is with second eventually End device identification determines whether described first terminal equipment and described second terminal unit are connected to same route Device;Wherein, described solicited message also comprises described second Terminal Equipment Identifier;
First transmitting element 34, is used for when described first determines that unit 33 determines described first terminal equipment When being connected to same router with described second terminal unit, described preset video is sent to described second Terminal unit.
Further, as shown in Figure 4, described device also includes:
Second transmitting element 35, is used for when described first determines that unit 33 determines described first terminal equipment When being not attached to same router with described second terminal unit, by obtaining that described second terminal unit sends The solicited message taking described preset video sends to the webserver.
Further, as shown in Figure 4, described acquiring unit 31 includes:
First acquisition module 311, for obtaining the video labeling of described preset video;Wherein, described regard Frequency is designated unique mark of described preset video;
Second acquisition module 312, is used for obtaining preset buffered video application program, and described preset caching regards Frequently application program is for caching described preset video according to described video labeling;
Running module 313, the described preset caching obtained for running described second acquisition module 312 regards Frequently application program;
3rd acquisition module 314, should for running described preset buffered video in described operation module 313 With in program process, obtain described preset video according to described video labeling.
Further, as shown in Figure 4, described first determines that unit 33 includes:
Acquisition module 331, is used for obtaining preset relationship maps table, and described preset relationship maps table is used for depositing Storage Terminal Equipment Identifier;
Spider module 332, for based on described first terminal device identification and the second Terminal Equipment Identifier time Go through the described preset relationship maps table that described acquisition module 331 obtains;
Determine module 333, for traveling through the mistake of described preset relationship maps table in described spider module 332 Cheng Zhong, determines whether described preset relationship maps table comprises described first terminal device identification and the second terminal Device identification.
Further, as shown in Figure 4, described device also includes:
Binding unit 36, pre-for the acquisition sent according to first terminal equipment at described acquiring unit 31 Before putting the solicited message of video, bind with described first terminal equipment;
Second memory element 37, for tying up with described first terminal equipment in described binding unit 36 After Ding, described first terminal device identification corresponding for described first terminal equipment is stored in described preset In relationship maps table.
Further, as shown in Figure 4, it is characterised in that described device also includes:
Second determines unit 38, for determining that unit 33 is according to described first terminal equipment described first With the second Terminal Equipment Identifier, mark determines whether described first terminal equipment connects with described second terminal unit Before being connected to same router, the device that described video data is shared determine himself whether stored described Preset video;
Described first determines unit 33, is additionally operable to when described second determines that unit 38 determines described video counts According to shared device himself storage have described preset video time, according to described first terminal device identification with It is same that second Terminal Equipment Identifier determines whether described first terminal equipment and described second terminal unit are connected to One router;
Described second transmitting element 35, is additionally operable to when described second determines that unit 38 determines described video counts When himself not stored described preset video according to shared device, described second terminal unit is sent The solicited message obtaining described preset video sends to the webserver.
The device that the video data that the embodiment of the present invention provides is shared, router is sent out according to first terminal equipment The solicited message obtaining preset video sent, carries the first end of first terminal equipment in this solicited message End device identification, and the preset video obtained is stored, if receiving what the second terminal unit sent Obtain the solicited message of preset video, then true with the second Terminal Equipment Identifier according to first terminal device identification Determine first terminal equipment and whether the second terminal unit is connected to same router;Wherein, in solicited message Also comprise the second Terminal Equipment Identifier;If it is determined that first terminal equipment and the second terminal unit are connected to same Router, then send preset video to the second terminal unit;Compared with prior art, the present invention implements In example, the preset video that first terminal equipment is obtained by this router is stored by router, if the Two terminal units and first terminal equipment are connected in same router, then router can be stored pre- Putting video and share to the second terminal unit, the second terminal unit is preset without sending acquisition to the webserver The solicited message of video, i.e. can play or downloads preset video, substantially reduces download or plays pre- Put the elapsed time of video, and the Internet resources consumed are less.
It should be noted that the device shared for above-mentioned video data, every embodiment of the present invention makes The function of the unit module used can pass through hardware processor (hardware processor) Realize.
Exemplary, when the device that described video data is shared is router as it is shown in figure 5, Fig. 5 shows Having gone out the structural representation of a kind of router that the embodiment of the present invention provides, this server may include that place Reason device (processor) 51, communication interface (Communications Interface) 52, memorizer (memory) 53 With bus 54, wherein, processor 51, communication interface 52, memorizer 53 complete phase by bus 54 Communication between Hu.Communication interface 52 may be used for the information transmission between server and client.Processor 51 can call the logical order in memorizer 53, to perform following method: router is according to first eventually The solicited message obtaining preset video that end equipment sends, obtains preset video;Described solicited message is wrapped Containing first terminal device identification;Described preset video is stored in preset memory;If receiving second The solicited message obtaining described preset video that terminal unit sends, then according to described first terminal equipment mark Know and determine whether described first terminal equipment is connected with described second terminal unit with the second Terminal Equipment Identifier In same router;Wherein, described solicited message also comprises described second Terminal Equipment Identifier;If really Fixed described first terminal equipment is connected to same router, then by described preset with described second terminal unit Video sends to described second terminal unit.
Additionally, the logical order in above-mentioned memorizer 53 can be realized by the form of SFU software functional unit And during as independent production marketing or use, can be stored in a computer read/write memory medium. Based on such understanding, the portion that prior art is contributed by technical scheme the most in other words Dividing or the part of this technical scheme can embody with the form of software product, this computer software produces Product are stored in a storage medium, including some instructions with so that a computer equipment (can be Personal computer, server, or the network equipment etc.) perform method described in each embodiment of the present invention All or part of step.And aforesaid storage medium includes: USB flash disk, portable hard drive, read only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), The various medium that can store program code such as magnetic disc or CD.
Device embodiment described above is only schematically, wherein said illustrates as separating component Unit can be or may not be physically separate, the parts shown as unit can be or Person may not be physical location, i.e. may be located at a place, or can also be distributed to multiple network On unit.Some or all of module therein can be selected according to the actual needs to realize the present embodiment The purpose of scheme.Those of ordinary skill in the art are not in the case of paying performing creative labour, the most permissible Understand and implement.
Through the above description of the embodiments, those skilled in the art is it can be understood that arrive each reality The mode of executing can add the mode of required general hardware platform by software and realize, naturally it is also possible to by firmly Part.Based on such understanding, the portion that prior art is contributed by technique scheme the most in other words Dividing and can embody with the form of software product, this computer software product can be stored in computer can Read in storage medium, such as ROM/RAM, magnetic disc, CD etc., including some instructions with so that one Computer equipment (can be personal computer, server, or the network equipment etc.) performs each to be implemented The method described in some part of example or embodiment.
Last it is noted that above example is only in order to illustrate technical scheme, rather than to it Limit;Although the present invention being described in detail with reference to previous embodiment, the ordinary skill of this area Personnel it is understood that the technical scheme described in foregoing embodiments still can be modified by it, or Person carries out equivalent to wherein portion of techniques feature;And these amendments or replacement, do not make corresponding skill The essence of art scheme departs from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (12)

1. the method that a video data is shared, it is characterised in that including:
The solicited message obtaining preset video that router sends according to first terminal equipment, obtains preset regarding Frequently;Described solicited message comprises first terminal device identification;
Described preset video is stored in preset memory;
If receiving the solicited message obtaining described preset video that the second terminal unit sends, then according to institute State first terminal device identification and determine described first terminal equipment and described second with the second Terminal Equipment Identifier Whether terminal unit is connected to same router;Wherein, described solicited message also comprises described second eventually End device identification;
If it is determined that described first terminal equipment and described second terminal unit are connected to same router, then will Described preset video sends to described second terminal unit.
Method the most according to claim 1, it is characterised in that described method also includes:
If it is determined that described first terminal equipment and described second terminal unit are not attached to same router, then The solicited message obtaining described preset video that described second terminal unit sends is sent to network service Device.
Method the most according to claim 2, it is characterised in that obtain preset video and include:
Obtain the video labeling of described preset video;Wherein, described video labeling is described preset video Unique mark;
Obtaining preset buffered video application program, described preset buffered video application program is for according to described Video labeling caches described preset video;
Run described preset buffered video application program, and obtain described preset regard according to described video labeling Frequently.
Method the most according to claim 3, it is characterised in that according to described first terminal equipment mark Know and determine whether described first terminal equipment is connected with described second terminal unit with the second Terminal Equipment Identifier Include in same router:
Obtaining preset relationship maps table, described preset relationship maps table is used for storing Terminal Equipment Identifier;
Described preset relationship maps is traveled through with the second Terminal Equipment Identifier based on described first terminal device identification Table;
Determine whether described preset relationship maps table comprises described first terminal device identification and set with the second terminal Standby mark.
Method the most according to claim 4, it is characterised in that set according to first terminal at router Before the solicited message obtaining preset video that preparation is sent, described method also includes:
Bind with described first terminal equipment;
Described first terminal device identification corresponding for described first terminal equipment is stored in described preset association In mapping table.
6. according to the method according to any one of claim 1-5, it is characterised in that according to described One Terminal Equipment Identifier and the second Terminal Equipment Identifier determine described first terminal equipment and described second terminal Before whether equipment is connected to same router, described method also includes:
Described router determines himself whether to have stored described preset video;
Described first terminal equipment is determined according to described first terminal device identification and the second Terminal Equipment Identifier Whether it is connected to same router with described second terminal unit include:
If described router determines that himself storage has described preset video, then set according to described first terminal Standby mark and the second Terminal Equipment Identifier determine whether are described first terminal equipment and described second terminal unit It is connected to same router;
The solicited message obtaining described preset video that described second terminal unit sends is sent to network clothes Business device includes:
If described router determines himself has not stored described preset video, then described second terminal is set The solicited message obtaining described preset video that preparation is sent sends to the webserver.
7. the device that a video data is shared, it is characterised in that including:
Acquiring unit, for the solicited message obtaining preset video sent according to first terminal equipment, obtains Take preset video;Described solicited message comprises first terminal device identification;
First memory element, is stored in preset depositing for the described preset video obtained by described acquiring unit In reservoir;
First determines unit, is used for when the described preset video of acquisition receiving the second terminal unit transmission During solicited message, set with the second terminal according to the described first terminal device identification that described acquiring unit obtains Standby mark determines whether described first terminal equipment and described second terminal unit are connected to same router; Wherein, described solicited message also comprises described second Terminal Equipment Identifier;
First transmitting element, is used for when described first determines that unit determines that described first terminal equipment is with described When second terminal unit is connected to same router, described preset video is sent extremely described second terminal and sets Standby.
Device the most according to claim 7, it is characterised in that described device also includes:
Second transmitting element, is used for when described first determines that unit determines that described first terminal equipment is with described When second terminal unit is not attached to same router, described in the acquisition that described second terminal unit is sent The solicited message of preset video sends to the webserver.
Device the most according to claim 8, it is characterised in that described acquiring unit includes:
First acquisition module, for obtaining the video labeling of described preset video;Wherein, described video mark Know the unique mark for described preset video;
Second acquisition module, is used for obtaining preset buffered video application program, and described preset buffered video should By program for caching described preset video according to described video labeling;
Run module, for running the described preset buffered video application journey that described second acquisition module obtains Sequence;
3rd acquisition module, for running described preset buffered video application program mistake in described operation module Cheng Zhong, obtains described preset video according to described video labeling.
Device the most according to claim 9, it is characterised in that described first determines that unit includes:
Acquisition module, is used for obtaining preset relationship maps table, and described preset relationship maps table is used for storing end End device identification;
Spider module, for traveling through institute based on described first terminal device identification with the second Terminal Equipment Identifier State the described preset relationship maps table that acquisition module obtains;
Determine module, during traveling through described preset relationship maps table in described spider module, really Whether fixed described preset relationship maps table comprises described first terminal device identification and the second terminal unit mark Know.
11. devices according to claim 10, it is characterised in that described device also includes:
Binding unit, for the preset video of acquisition sent according to first terminal equipment at described acquiring unit Solicited message before, bind with described first terminal equipment;
Second memory element, after binding with described first terminal equipment in described binding unit, Described first terminal device identification corresponding for described first terminal equipment is stored in described preset relationship maps In table.
12. according to the device according to any one of claim 7-11, it is characterised in that described device is also Including:
Second determines unit, for described first determine unit according to described first terminal device identification with It is same that second Terminal Equipment Identifier determines whether described first terminal equipment and described second terminal unit are connected to Before one router, the device that described video data is shared determines himself whether to have stored described preset regard Frequently;
Described first determines unit, is additionally operable to when described second determines that unit determines that described video data is shared Himself storage of device when having described preset video, according to described first terminal device identification with second eventually End device identification determines whether described first terminal equipment and described second terminal unit are connected to same route Device;
Described second transmitting element, is additionally operable to when described second determines that unit determines that described video data is shared Device when himself not stored described preset video, the acquisition institute that described second terminal unit is sent The solicited message stating preset video sends to the webserver.
CN201510924810.0A 2015-12-14 2015-12-14 Video data sharing method and device Pending CN105872648A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510924810.0A CN105872648A (en) 2015-12-14 2015-12-14 Video data sharing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510924810.0A CN105872648A (en) 2015-12-14 2015-12-14 Video data sharing method and device

Publications (1)

Publication Number Publication Date
CN105872648A true CN105872648A (en) 2016-08-17

Family

ID=56623804

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510924810.0A Pending CN105872648A (en) 2015-12-14 2015-12-14 Video data sharing method and device

Country Status (1)

Country Link
CN (1) CN105872648A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107071550A (en) * 2017-04-01 2017-08-18 北京奇艺世纪科技有限公司 A kind of video data sharing method and device
CN110247996A (en) * 2019-06-12 2019-09-17 珠海读书郎网络教育有限公司 The wireless router device of configurable cache system based on wisdom classroom

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2151989A1 (en) * 2008-08-07 2010-02-10 Jow Tong Technology Co., Ltd. Video and audio sharing device
CN101860550A (en) * 2010-06-25 2010-10-13 复旦大学 Streaming media system accelerating method based on router cache
CN102299834A (en) * 2011-09-07 2011-12-28 中国联合网络通信集团有限公司 Data sharing method, equipment and system for local area network
CN103259861A (en) * 2013-05-16 2013-08-21 深圳市共进电子股份有限公司 Method and system for recording and watching network videos
CN103986776A (en) * 2014-05-28 2014-08-13 Tcl集团股份有限公司 Router and downloading method based on router
CN104023055A (en) * 2014-05-30 2014-09-03 北京金山网络科技有限公司 Video sharing method and system, and terminal device
CN104506450A (en) * 2014-11-06 2015-04-08 小米科技有限责任公司 Media resource feedback method and device
CN104767767A (en) * 2014-01-02 2015-07-08 中国移动通信集团公司 Method, device and system for sharing Internet access data and network equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2151989A1 (en) * 2008-08-07 2010-02-10 Jow Tong Technology Co., Ltd. Video and audio sharing device
CN101860550A (en) * 2010-06-25 2010-10-13 复旦大学 Streaming media system accelerating method based on router cache
CN102299834A (en) * 2011-09-07 2011-12-28 中国联合网络通信集团有限公司 Data sharing method, equipment and system for local area network
CN103259861A (en) * 2013-05-16 2013-08-21 深圳市共进电子股份有限公司 Method and system for recording and watching network videos
CN104767767A (en) * 2014-01-02 2015-07-08 中国移动通信集团公司 Method, device and system for sharing Internet access data and network equipment
CN103986776A (en) * 2014-05-28 2014-08-13 Tcl集团股份有限公司 Router and downloading method based on router
CN104023055A (en) * 2014-05-30 2014-09-03 北京金山网络科技有限公司 Video sharing method and system, and terminal device
CN104506450A (en) * 2014-11-06 2015-04-08 小米科技有限责任公司 Media resource feedback method and device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107071550A (en) * 2017-04-01 2017-08-18 北京奇艺世纪科技有限公司 A kind of video data sharing method and device
CN107071550B (en) * 2017-04-01 2020-06-26 北京奇艺世纪科技有限公司 Video data sharing method and device
CN110247996A (en) * 2019-06-12 2019-09-17 珠海读书郎网络教育有限公司 The wireless router device of configurable cache system based on wisdom classroom
CN110247996B (en) * 2019-06-12 2020-03-27 珠海读书郎网络教育有限公司 Wireless router device of configurable cache system based on intelligent classroom

Similar Documents

Publication Publication Date Title
US20190230016A1 (en) On-device attribution of network data usage
CN104380278B (en) Equipment, system and method for client-side management session continuity
KR102513998B1 (en) Communication methods and devices, entities and computer readable storage media
CN107636722B (en) Management method and management server for utilizing multiple SIM cards
CN103475682B (en) File transfer method and file transfer equipment
CN103781055A (en) Data downloading method and associated device
CN104348798B (en) A kind of method, apparatus, dispatch server and system for distributing network
EP2216963A1 (en) Method for transmitting virtualized data in cloud computing environment
CN102387201B (en) The methods, devices and systems of business data processing
CN101951665A (en) Routing method of double-card mobile terminal and double-card mobile terminal
CN108540973A (en) Data service handling method, device and system under roaming scence
US11889133B2 (en) Burst traffic processing method, computer device and readable storage medium
CN106330778A (en) Network flow control method and apparatus
CN109618003B (en) Server planning method, server and storage medium
CN107580011A (en) A kind of data sharing method and desktop cloud server terminal
CN109600818A (en) Wifi sharing method, electronic device and storage medium
CN106339632A (en) Method for allocating M2M device administration authority, user device and system
CN109495461A (en) Data access request processing method, device and vehicle-mounted central control system
CN108781189B (en) Load balancing method and related equipment
CN104582011B (en) A kind of method and apparatus for mobile terminal to be connected to network
CN105872648A (en) Video data sharing method and device
CN103973747A (en) Method and device for acquiring content
CN105721392B (en) A kind of method, apparatus and system for recommending application
CN102831237B (en) A kind of web application access method and device
CN110868762B (en) Data stream processing method, device and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20160817

WD01 Invention patent application deemed withdrawn after publication