CN105812839B - Video stream data acquisition, page data transmission method, system and network server - Google Patents

Video stream data acquisition, page data transmission method, system and network server Download PDF

Info

Publication number
CN105812839B
CN105812839B CN201410856619.2A CN201410856619A CN105812839B CN 105812839 B CN105812839 B CN 105812839B CN 201410856619 A CN201410856619 A CN 201410856619A CN 105812839 B CN105812839 B CN 105812839B
Authority
CN
China
Prior art keywords
data
static
top box
server
routing information
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.)
Active
Application number
CN201410856619.2A
Other languages
Chinese (zh)
Other versions
CN105812839A (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.)
Huawei Cloud Computing Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201410856619.2A priority Critical patent/CN105812839B/en
Publication of CN105812839A publication Critical patent/CN105812839A/en
Application granted granted Critical
Publication of CN105812839B publication Critical patent/CN105812839B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a kind of video stream data acquisition methods, for settlement server when facing high concurrent scene because response speed decline causes to postpone the technical issues of increasing.The described method includes: virtual set-top box client sends video flowing request to virtual set-top box server;Virtual set-top box server sends the page request for requesting acquisition page data to network server;Network server obtains page data, M routing information is added in page data, and the page data for being added to M routing information is sent to virtual set-top box server;The corresponding N number of data of N number of routing information therein are static data, and static data is stored in static data synchronization database by network server;Virtual set-top box server handles page data, obtains video stream data, and video stream data is sent to virtual set-top box client.The invention also discloses corresponding system, page data transmission method and network servers.

Description

Video stream data acquisition, page data transmission method, system and network server
Technical field
The present invention relates to technical field of virtualization, in particular to a kind of video stream data acquisition, page data transmission method, System and network server.
Background technique
Virtual set-top box is the evolution technology that television operator carries out set-top box technique management upgrading, and the technology is by current family The core component in set-top box that front yard uses is transferred on the virtual set-top box server in the computer room that operator is arranged in, multiple Set-top box can connect a virtual set-top box server, reduce the hardware requirement to set-top box, and improve whole management The ability of maintenance.
One virtual set-top box server may serve multiple set-top boxes, and wherein many set-top boxes may be same As soon as the moment initiates to obtain the request of video flowing to virtual set-top box server, then virtual set-top box server is needed these It requests while being sent to UI (User Interface, user interface) Server (server), then UI Server is just faced with The case where handling these requests simultaneously is needed, such case is commonly referred to as high concurrent scene.In general, the place of UI Server Reason ability is limited, and when handling high concurrent request, necessarily be will cause the response speed decline of UI Server, is eventually led to Delay increases, in some instances it may even be possible to lead to server failure, and this can also enable user feel that interactive experience declines.
Summary of the invention
The embodiment of the present invention provides a kind of video flowing acquisition, page data transmission method, system and network server, is used for The technical issues of settlement server causes delay to increase when facing high concurrent scene because of response speed decline.
The first aspect of the present invention provides a kind of video stream data acquisition methods, comprising:
Virtual set-top box client sends video flowing request to virtual set-top box server, and the video flowing request is for asking Seek acquisition video stream data;
The virtual set-top box server is sent to network server for requesting to obtain after receiving the video flowing request Obtain the page request of page data;The page data is corresponding with the video stream data;
The network server obtains the page data, M routing information is added in the page data, and will add The page data of the M routing information has been added to be sent to the virtual set-top box server;Wherein each routing information Corresponding to a data, each routing information shows store path of the corresponding data in the network server, N therein The corresponding N number of data of a routing information are static data, and static data is stored in static data by the network server In sync database;M is positive integer, and N is the positive integer less than or equal to M;
The virtual set-top box server handles the page data, obtains the video stream data, and by institute It states video stream data and is sent to the virtual set-top box client.
With reference to first aspect, in the first possible implementation of the first aspect, it is obtained in the network server The page data, in the page data before M routing information of addition, further includes:
The network server, which determines, has new data to increase;
The network server judges whether increased data are static datas;
If so, the network server stores the increased data into the static data synchronization database, And the increased data and the increased data are sent in the network server to the virtual set-top box server In routing information;
The virtual set-top box server receives the increased data and the increasing that the network server is sent Routing information of the data added in the network server;
The increased data are saved in the static state of the virtual set-top box server by the virtual set-top box server In database.
The possible implementation of with reference to first aspect the first, in second of possible implementation of first aspect In, the network server judges whether increased data are static datas, comprising:
The network server judges whether the increased data are static numbers according to the data type of increased data According to.
With reference to first aspect or the first possible implementation or second of possible implementation of first aspect, exist In the third possible implementation of first aspect, the page data is obtained in the network server, in the page In data before M routing information of addition, further includes:
The network server, which determines, has data to be deleted;
The network server judges whether the data deleted are static datas;
If so, routing information of the network server according to the data of the deletion, in the static data synchronization The data of the deletion are searched and deleted in database, and are existed to the data that the virtual set-top box server sends the deletion Routing information in the network server;
The virtual set-top box server receives the data for the deletion that the network server is sent in the network Routing information in server;
Routing information of the virtual set-top box server according to the data of the deletion in the network server, The data of the deletion are searched in the static database of the virtual set-top box server;
If there is the data of the deletion in the static database, the virtual set-top box server is in the static number According to the data for deleting the deletion in library.
With reference to first aspect or the first possible implementation of first aspect or second of possible implementation or The third possible implementation, in a fourth possible implementation of the first aspect, the virtual set-top box server The page data is handled, the video stream data is obtained, comprising:
The virtual set-top box server determines corresponding to the M routing information respectively according to the M routing information M data be dynamic data or static data;
The virtual set-top box server determines that N number of data corresponding to N number of routing information therein are static number According to;
The virtual set-top box server obtains N corresponding with the N number of routing information according to N number of routing information A static data;
The virtual set-top box server is handled the page data according to N number of static data, obtains institute State video stream data.
The 4th kind of possible implementation with reference to first aspect, in the 5th kind of possible implementation of first aspect In, the virtual set-top box server obtains N number of static state corresponding with the N number of routing information according to N number of routing information Data, comprising:
The virtual set-top box server is inquired and i-th of tunnel in the static database of the virtual set-top box server Corresponding i-th of the static data of diameter information;
If finding i-th of static data in the static database, the virtual set-top box server is obtained I-th of static data;
If not finding i-th of static data in the static database, the virtual set-top box server to The web server requests obtain i-th of static data;I is respectively the integer from 1 to N.
The second aspect of the present invention provides a kind of page data transmission method, comprising:
Network server receives the page request that virtual set-top box server is sent, and the page request is obtained for requesting Page data;
The network server obtains the page data, and M routing information is added in the page data;It is wherein every A routing information corresponds to a data, and each routing information shows storage road of the corresponding data in the network server Diameter, the corresponding N number of data of N number of routing information therein are static data, and the network server stores static data In static data synchronization database;M is positive integer, and N is the positive integer less than or equal to M;
The page data for being added to the M routing information is sent to the virtual machine top by the network server Box server.
In conjunction with second aspect, in the first possible implementation of the second aspect, the method also includes:
The network server, which determines, has new data to increase;
The network server judges whether increased data are static datas;
If so, the network server stores the increased data into the static data synchronization database, And the increased data and the increased data are sent in the network server to the virtual set-top box server In routing information.
In conjunction with the first possible implementation of second aspect, in second of possible implementation of second aspect In, the network server judges whether increased data are static datas, comprising:
The network server judges whether the increased data are static numbers according to the data type of increased data According to.
In conjunction with the possible implementation of the first of second aspect or second aspect or second of possible implementation, In the third possible implementation of second aspect, the method also includes:
The network server, which determines, has data to be deleted;
The network server judges whether the data deleted are static datas;
If so, routing information of the network server according to the data of the deletion, in the static data synchronization The data of the deletion are searched and deleted in database, and are existed to the data that the virtual set-top box server sends the deletion Routing information in the network server.
The third aspect of the present invention provides a kind of video stream data and obtains system, including virtual set-top box client, virtual Set-top-box server and network server, wherein the virtual set-top box client is connect with affiliated virtual set-top box server, The virtual set-top box server is connect with the network server;
The virtual set-top box client, for sending video flowing request, the view to the virtual set-top box server The request of frequency stream obtains video stream data for requesting;
The virtual set-top box server, for being sent to the network server after receiving the video flowing request For requesting the page request of acquisition page data;The page data is corresponding with the video stream data;
The network server adds M routing information for obtaining the page data in the page data, And the page data for being added to the M routing information is sent to the virtual set-top box server;Wherein each road Diameter information corresponds to a data, and each routing information shows store path of the corresponding data in the network server, The corresponding N number of data of N number of routing information therein are static data, and the network server static data is stored in it is quiet In state data sync database;M is positive integer, and N is the positive integer less than or equal to M;
The virtual set-top box server is also used to handle the page data, obtains the video stream data, And the video stream data is sent to the virtual set-top box client.
In conjunction with the third aspect, in the first possible implementation of the third aspect,
The network server is also used to:
The page data is being obtained, before adding M routing information in the page data, determination there are new data Increase;
Judge whether increased data are static datas;
If so, by the increased data storage into the static data synchronization database, and to the virtual machine Top box server sends the routing information of the increased data and the increased data in the network server;
The virtual set-top box server is also used to:
The increased data and the increased data for receiving the network server transmission take in the network The routing information being engaged in device;
The increased data are saved in the static database of the virtual set-top box server.
In conjunction with the first possible implementation of the third aspect, in second of possible implementation of the third aspect In, the network server is also used to judge whether increased data are static datas, specifically: according to the number of increased data Judge whether the increased data are static datas according to type.
In conjunction with the possible implementation of the first of the third aspect or the third aspect or second of possible implementation, In the third possible implementation of the third aspect,
The network server is also used to:
The page data is being obtained, before adding M routing information in the page data, determination there are data to be deleted It removes;
Judge whether the data deleted are static datas;
If so, being searched simultaneously in the static data synchronization database according to the routing information of the data of the deletion The data of the deletion are deleted, and send the data of the deletion in the network server to the virtual set-top box server In routing information;
The virtual set-top box server is also used to:
Receive routing information of the data for the deletion that the network server is sent in the network server;
According to routing information of the data of the deletion in the network server, in the virtual set-top box server Static database in search the data of the deletion;
If there are the data of the deletion in the static database, the deletion is deleted in the static database Data.
In conjunction with the possible implementation of the first of the third aspect or the third aspect or second of possible implementation or The third possible implementation, in the fourth possible implementation of the third aspect, the virtual set-top box server It is also used to handle the page data, obtains the video stream data, specifically:
According to the M routing information, determine that M data corresponding to the M routing information are dynamic datas respectively Or static data;
Determine that N number of data corresponding to N number of routing information therein are static data;
According to N number of routing information, N number of static data corresponding with the N number of routing information is obtained;
The page data is handled according to N number of static data, obtains the video stream data.
In conjunction with the 4th kind of possible implementation of the third aspect, in the 5th kind of possible implementation of the third aspect In, the virtual set-top box server is also used to according to N number of routing information, obtains N corresponding with the N number of routing information A static data, specifically:
The virtual set-top box server is inquired and i-th of tunnel in the static database of the virtual set-top box server Corresponding i-th of the static data of diameter information;
If finding i-th of static data in the static database, the virtual set-top box server is obtained I-th of static data;
If not finding i-th of static data in the static database, the virtual set-top box server to The web server requests obtain i-th of static data;I is respectively the integer from 1 to N.
The fourth aspect of the present invention provides a kind of network server, comprising:
Receiving module, for receiving the page request of virtual set-top box server transmission, the page request is for requesting Obtain page data;
Module is obtained, for obtaining the page data, M routing information is added in the page data;It is wherein every A routing information corresponds to a data, and each routing information shows storage road of the corresponding data in the network server Diameter, the corresponding N number of data of N number of routing information therein are static data, and the network server stores static data In static data synchronization database;M is positive integer, and N is the positive integer less than or equal to M;
Sending module, for the page data for being added to the M routing information to be sent to the virtual machine top Box server.
In conjunction with fourth aspect, in the first possible implementation of the fourth aspect, the network server further include:
Determining module has new data to increase for determining;
Judgment module, for judging whether increased data are static datas;
Operation module is used for if so, by the increased data storage into the static data synchronization database;
The sending module is also used to: sending the increased data and described to the virtual set-top box server Routing information of the increased data in the network server.
In conjunction with the first possible implementation of fourth aspect, in second of possible implementation of fourth aspect In, the judgment module is specifically used for:
Judge whether the increased data are static datas according to the data type of increased data.
In conjunction with the possible implementation of the first of fourth aspect or fourth aspect or second of possible implementation, In the third possible implementation of fourth aspect, the network server further include:
Determining module has data to be deleted for determining;
Judgment module, for judging whether the data deleted are static datas;
Operation module, for if so, according to the routing information of the data of the deletion, in the static data synchronization number According to the data that the deletion is searched and deleted in library;
The sending module is also used to: sending the data of the deletion in the network to the virtual set-top box server Routing information in server.
The fifth aspect of the present invention provides a kind of network server, memory, processing including being connected to same bus Device, receiver and transmitter;Wherein,
The memory, for storing instruction;
The receiver, for receiving the page request of virtual set-top box server transmission, the page request is for asking Seek acquisition page data;
The processor obtains the page data, M is added in the page data for executing described instruction Routing information;Wherein each routing information corresponds to a data, and each routing information shows corresponding data in the network Store path in server, the corresponding N number of data of N number of routing information therein are static data, and the network service Static data is stored in static data synchronization database by device;M is positive integer, and N is the positive integer less than or equal to M;
The transmitter, for the page data for being added to the M routing information to be sent to the virtual machine Top box server.
In conjunction with the 5th aspect, in the first possible implementation of the 5th aspect, the processor is also used to: being executed Described instruction, determining has new data to increase;Judge whether increased data are static datas;If so, passing through the transmission Device stores the increased data into the static data synchronization database, and passes through the transmitter to the virtual machine Top box server sends the routing information of the increased data and the increased data in the network server.
In conjunction with the first possible implementation of the 5th aspect, in second of possible implementation of the 5th aspect In, the processor is also used to judge whether increased data are static datas, specifically:
Judge whether the increased data are static datas according to the data type of increased data.
In conjunction with the 5th aspect or the 5th aspect the first possible implementation or second of possible implementation, In the third possible implementation of 5th aspect, the processor is also used to: executing described instruction, determination has data to be deleted It removes;Judge whether the data deleted are static datas;If so, according to the routing information of the data of the deletion, described quiet The data of the deletion are searched and deleted in state data sync database, and are taken by the transmitter to the virtual set-top box Business device sends routing information of the data of the deletion in the network server.
In the embodiment of the present invention, network server, can will wherein when sending page data to virtual set-top box server The corresponding routing information of static data add in the page data, and network server is in storing data, can will be quiet State data are stored in the position different from dynamic data, such as static data can be stored in a special database (i.e. The static data synchronization database) in, then virtual set-top box server can be known according to the routing information of a data The road data are dynamic data or static data, distinguish fast speed, also improve the speed of response.And virtual set-top box Server can obtain static data according to corresponding routing information, for example, there is static database in virtual set-top box server, Wherein be stored with static data, then virtual set-top box server can directly locally obtain static data, so as to compared with The page data is carried out according to the static data of acquisition fastly the operation such as to render, improves processing speed.
Also, in network server processing high concurrent request, because virtual set-top box server can be from local directly Static data is obtained, without being obtained to web server requests, the burden of network server is alleviated, also improves network service The processing speed of device reduces delay to the greatest extent, improves user experience.
The embodiment of the invention provides the responses improved under with virtual set-top box server scene for user's request The method of speed is there is no in the prior art for the scene for improving the preferable solution of response speed.
Detailed description of the invention
Fig. 1 is the main frame figure that video stream data obtains system in the embodiment of the present invention;
Fig. 2 is the detailed architecture figure that video stream data obtains system in the embodiment of the present invention;
Fig. 3 is the broad flow diagram of video stream data acquisition methods in the embodiment of the present invention;
Fig. 4 is the broad flow diagram of page data transmission method in the embodiment of the present invention;
Fig. 5 is the primary structure block diagram of network server in the embodiment of the present invention;
Fig. 6 is the primary structure schematic diagram of network server in the embodiment of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
In addition, the terms " system " and " network " are often used interchangeably herein.The terms " and/ Or ", only a kind of incidence relation for describing affiliated partner, indicates may exist three kinds of relationships, for example, A and/or B, it can be with table Show: individualism A exists simultaneously A and B, these three situations of individualism B.In addition, character "/" herein, such as without special theory It is bright, typically represent the relationship that forward-backward correlation object is a kind of "or".
The embodiment of the present invention is described in further detail with reference to the accompanying drawings of the specification.
System architecture involved in the embodiment of the present invention is introduced first.
It referring to Figure 1, is virtual set-top box operation system in the embodiment of the present invention, i.e. the video stream data allusion quotation that obtains system Type frame composition.The system comprises virtual set-top box client 101, virtual set-top box server 102 and network server 103, Wherein, virtual set-top box client 101 is connect with virtual set-top box server 102, and connection type can be wired be also possible to Wirelessly, virtual set-top box server 102 is connect with network server 103, and connection type can be wired be also possible to wirelessly.
Fig. 2 is referred to, the system also passes through network server 103 and IPTV (Internet Protocol Television, network protocol television) server 104 and/or the Internet application server 105 be connected.
Virtual set-top box client 101, i.e. STB (Set Top Box, set-top box), such as by network (i.e. in Fig. 1 Cloud form structure) access of virtual set-top-box server 102, it can send and request to virtual set-top box server 102, with from virtual machine The services such as TV programme live streaming or program request are obtained in top box server 102.
Virtual set-top box server 102, i.e. vSTB (virtual Set Top Box, virtual set-top box) server, it can Pass through the request that virtual set-top box client 101 is sent, after being connected to the request, virtual set-top box server to receive user 102 can send to network server 103 and request, to request TV programme browsing the data such as to check.Such as virtual set-top box clothes Being engaged in device 102 can be by HTTP (Hypertext transfer protocol, hypertext transfer protocol) to network server 103 request page data.
Wherein, there is multiple CloudTV Server1021 (cloud electricity in virtual set-top box server 102 shown in Figure 2 Depending on server), wherein each CloudTV Server1021 corresponds to a virtual set-top box client 101.But Fig. 1 and Fig. 2 In all virtual set-top box clients 101 are not shown, and only by taking a virtual set-top box client 101 as an example.
In addition, further including static resource administrative unit 1022 and static data in virtual set-top box server 102 in Fig. 2 Library 1023, static database 1023 is for storing static data, and static resource administrative unit 1022 is for receiving network server 103 static datas sent, and by the storage of received static data into static database 1023.
Network server 103, i.e. UI server, are connected with IPTV server 104 and/or the Internet application server 105 (Fig. 1 is connected to example with network server 103 and IPTV server 104 and the Internet application server 105), for being connected to After the request of virtual set-top box server 102, corresponding number is requested to IPTV server 104 or the Internet application server 105 According to.
Wherein, there is Web Server (Internet Server) 1031, Web in network server 103 shown in Figure 2 Server1031 is to complete to answer with virtual set-top box server 102, IPTV server 104 and internet in network server 103 With the functional module of the interaction between server 105.Specifically, virtual set-top box server 102 is requested to network server 103 Page data is obtained, CloudTV Server1021 is can be and requests to obtain page number to Web Server1031 by HTTP According to.
In addition, further including static resource synchronization unit 1032 and static data synchronization database in network server 103 1033, static data synchronization database 1033 will be quiet for receiving for storing static data, static resource synchronization unit 1032 State data are stored into static data synchronization database 1033, and for sending static resource to static resource administrative unit 1022 Increase message or static resource deletes message.For example, static resource synchronization unit 1032 can pass through TCP (Transmission Control Protocol, transmission control protocol) or UDP (User Datagram Protocol, User Datagram Protocol) etc. Mode is communicated with static resource administrative unit 1022.
IPTV server 104 can also be referred to as EPG (Electronic Program Guide, electronic program guide) Server.
(Over The Top provides a user various applications by internet and takes for the Internet application server 105, i.e. OTT Business).
Next the embodiment of the method in the embodiment of the present invention is introduced.
Fig. 3 is referred to, the embodiment of the present invention provides a kind of video stream data acquisition methods, and the main flow of the method is retouched It states as follows.
Step 301: virtual set-top box client 101 sends video flowing request, the view to virtual set-top box server 102 The request of frequency stream obtains video stream data for requesting.
In general, one family can possess one or several set-top boxes, i.e. virtual set-top box client 101, Yong Huke To be operated for virtual set-top box client 101 to obtain TV programme, certainly, user can be directly in virtual set-top box Operated in client 101, or can also by the external input devices such as remote controler to virtual set-top box client 101 into Row operation, the present invention is with no restriction.
After user operates for virtual set-top box client 101, virtual set-top box client 101 can be for use The operation at family generates corresponding request, the video flowing request is referred to as in the embodiment of the present invention, the video flowing request is just For requesting video stream data needed for obtaining user, the video flowing can be requested to send by virtual set-top box client 101 To virtual set-top box server 102.
Step 302: the virtual set-top box server sends to network server and uses after receiving the video flowing request The page request of page data is obtained in request;The page data is corresponding with the video stream data.
In general, what virtual set-top box server 102 was obtained from network server 103 is all page data, virtually Virtual set-top box can be just obtained after the operations such as set-top-box server 102 is rendered the page data of acquisition, image encodes Video stream data needed for client 101, therefore, virtual set-top box server 102 are page numbers to web server requests According to, and according to the available video stream data of the page data, therefore say the page data and the video fluxion According to correspondence.
Step 303: network server 103 obtains the page data, and M path letter is added in the page data Breath, and the page data for being added to the M routing information is sent to virtual set-top box server 102;It is wherein each Routing information corresponds to a data, and each routing information shows store path of the corresponding data in network server 103, The corresponding N number of data of N number of routing information therein are static data, and network server 103 static data is stored in it is quiet In state data sync database;M is positive integer, and N is the positive integer less than or equal to M.
In the embodiment of the present invention, dynamic data can refer to the data needed to be implemented, such as jsp (Java Server Pages, the java server page), the page scripts such as php (Hypertext Preprocessor, HyperText Preprocessor), and Static data generally refers to the data without executing, for example, picture, html ((HyperText Mark-up Language, it is super literary This markup language), the data such as js (JavaScript, java script language).
It will be noted from fig. 1 that virtual set-top box server 102 to network server 103 send the page request it Afterwards, network server 103 will continue to send request to IPTV server 104 or the Internet application server 105, to request to obtain Page data needed for virtual set-top box server 102.
After network server 103 obtains the page data, the page data can analyze, determine the page There are which data other resources that need to rely on to obtain in data.For example, including some links in the page data, to obtain It obtains these and links corresponding contents, need to rely on other dynamic resources, for another example including in the page data Picture will obtain these pictures, need to obtain from the static data synchronization database 1033 in network server 103.Network After server 103 determines these data that other resources obtain that need to rely on, by the corresponding routing information of these data It is added in the page data.Wherein, for static data, the routing information in the page data is exactly corresponding static Store path of the data in network server 103.
It should be noted that in the embodiment of the present invention there is dedicated for storing static data maintenance in network server 103 Static data synchronization database 1033, and the static resource synchronization unit 1032 for managing static database 1023.
In addition, can safeguard the static database in virtual set-top box server 102 in the embodiment of the present invention 1023, and the static resource administrative unit 1022 for managing the static database 1023.
It can have multiple CloudTV Server1021, each CloudTV in virtual set-top box server 102 Server1021 both corresponds to a virtual set-top box client 101, therefore each CloudTV Server1021 may have The static data for needing to store.It, can be with only one static database in virtual set-top box server 102 in the embodiment of the present invention 1023, which can use for all CloudTV Server1021 in virtual set-top box server 102.
Optionally, in the embodiment of the present invention, the page data is obtained in network server 103, in the page data Before middle M routing information of addition, further includes:
Network server 103, which determines, has new data to increase;
Network server 103 judges whether increased data are static datas;
If so, network server 103 stores the increased data into static data synchronization database 1033, and The increased data and the increased data are sent in network server 103 to virtual set-top box server 102 Routing information;
Virtual set-top box server 102 receives the increased data and the increase that network server 103 is sent Routing information of the data in network server 103;
The increased data are saved in the static number of virtual set-top box server 102 by virtual set-top box server 102 According in library 1023.
Optionally, in the embodiment of the present invention, network server 103 judges whether increased data are static datas, comprising: Network server 103 judges whether the increased data are static datas according to the data type of increased data.
In the embodiment of the present invention, one data of every acquisition of network server 103, so that it may judge that the data are dynamic datas Or static data, can generally judge, such as can be sentenced according to the suffix title of data according to the data type of data Disconnected, a kind of judgment basis, which may is that, judge whether increased data are executable page language data, if it is, determination Increased data are dynamic datas, if it is not, then determining that increased data are static data.If it is determined that increased data are Static data then stores increased data under the correspondence catalogue in network server 103, in the embodiment of the present invention, such as Static data can be stored into the static data synchronization database 1033, such as the static data synchronization database 1033 store path is as follows:
uiserver/static/
Later, network server 103 can send static state to the static resource synchronization unit 1032 in network server 103 Resource increases message, and static resource synchronization unit 1032 can send the static resource to virtual set-top box server 102 and increase Message, and, the increased data and the increased data can also be sent to virtual set-top box server 102 in network Routing information in server 103, specifically, static resource synchronization unit 1032 can transmit these information to static resource Administrative unit 1022.
Wherein, network server 103 can send the static resource increase to virtual set-top box server 102 respectively and disappear Breath, the routing information of the increased data and the increased data in network server 103, alternatively, network server The routing information of the increased data and the increased data in network server 103 can also be added to institute by 103 It states static resource to increase in message, is sent to virtual set-top box server 102 together.
Static resource administrative unit 1022 receives the increased data and the increased data in network server After routing information in 103, the increased data are saved in static database 1023, and can be according to described increased Index information is arranged in routing information of the data in virtual set-top box server 102, which also indicates that the increase Path of the data in virtual set-top box server 102.
Optionally, in the embodiment of the present invention, the page data is obtained in network server 103, in the page data Before middle M routing information of addition, further includes:
Network server 103, which determines, has data to be deleted;
Network server 103 judges whether the data deleted are static datas;
If so, routing information of the network server 103 according to the data of the deletion, in static data synchronization database The data of the deletion are searched and deleted in 1033, and send the data of the deletion in net to virtual set-top box server 102 Routing information in network server 103;
Virtual set-top box server 103 receives the data for the deletion that network server 103 is sent in network server Routing information in 103;
Routing information of the virtual set-top box server 102 according to the data of the deletion in network server 103, in void The data of the deletion are searched in the static database 1023 of quasi- set-top-box server 102;
If there is the data of the deletion in static database 1023, virtual set-top box server is in static database 1023 The middle data for deleting the deletion.
Optionally, in the embodiment of the present invention, network server 103 judges whether the data deleted are static datas, comprising: Network server 103 judges whether the data of the deletion are static datas according to the data type of the data of deletion.
In the embodiment of the present invention, one data of every deletion of network server 103, so that it may judge that the data are dynamic datas Or static data, can generally judge, such as can be sentenced according to the suffix title of data according to the data type of data Disconnected, a kind of judgment basis still may is that judge whether the data of deletion are executable page language data, if it is, Determine that the data deleted are dynamic datas, if it is not, then determining that the data deleted are static data.If judgement determines deletion Data are static datas, then can be according to the corresponding routing information of data of the deletion in static data synchronization database 1033 The middle data for searching the deletion, if the data of the deletion are found in static data synchronization database 1033, quiet The data of the deletion are deleted in state data sync database 1033.
Later, network server 103 sends static resource and deletes message to static resource synchronization unit 1032, static resource Routing information of the synchronization unit 1032 by static resource deletion message and the data of the deletion in network server 103 The static resource administrative unit 1022 being sent in virtual set-top box server 102.
Routing information of the static resource administrative unit 1022 according to the data of the deletion in network server 103, The data of the deletion are searched in static database 1023, if finding the data of the deletion in static database 1023, The data of the deletion are then deleted in static database 1023, while the corresponding index letter of the data for also deleting the deletion Breath, i.e., the corresponding routing information of data of the described deletion.
In this way, either having static data increase still in network server 103 has static data to be deleted, network service Device 103 can realize automatically the synchronous of data with virtual set-top box server 102, reduce virtual set-top box server to the greatest extent 102 remove the number of request acquisition static data in network server 103, when also just saving the response for user's operation as far as possible Between, the response speed of system is improved, system delay is reduced, improves user experience.
Step 304: virtual set-top box server 102 handles the page data, obtains the video stream data, And the video stream data is sent to virtual set-top box client 101.
Optionally, in the embodiment of the present invention, virtual set-top box server 102 handles the page data, obtains The video stream data, comprising:
Virtual set-top box server 102 determines corresponding to the M routing information respectively according to the M routing information M data be dynamic data or static data;
Virtual set-top box server 102 determines that N number of data corresponding to N number of routing information therein are static number According to;
Virtual set-top box server 102 obtains corresponding N number of with N number of routing information according to N number of routing information Static data;
Virtual set-top box server 102 is handled the page data according to N number of static data, described in acquisition Video stream data.
Optionally, in the embodiment of the present invention, virtual set-top box server 102 is according to N number of routing information, acquisition and institute State the corresponding N number of static data of N number of routing information, comprising:
Virtual set-top box server 102 is inquired and i-th in the static database 1023 of virtual set-top box server 102 Corresponding i-th of the static data of routing information;
If finding i-th of static data in static database 1023, virtual set-top box server 102 obtains institute State i-th of static data;
If not finding i-th of static data in static database 1023, virtual set-top box server 102 is to net I-th of static data described in 103 request of network server;I is respectively the integer from 1 to N.
In the embodiment of the present invention, virtual set-top box server 102, can be to the page after obtaining the page data Data are parsed, and the M routing information therein is obtained.Because network server 103 is by dynamic data and static number According to being stored separately, virtual set-top box server 102 can for example know that network server 103 stores the road of static data in advance Diameter, then, virtual set-top box server 102 is according to the M routing information it is known that it is static for wherein having which data Data.
If N < M, also the corresponding data of M-N routing information are dynamic data in the M routing information, for dynamic State data, the processing mode of virtual set-top box server 102 is identical as processing mode in the prior art, here few description, The embodiment of the present invention is primarily upon the processing of static data.
Then virtual set-top box server 102 is available to believe with N number of path after obtaining N number of routing information Cease corresponding N number of static data.
It introduced in front, maintenance has static database 1023 in virtual set-top box server 102, in general, static The static data stored in database 1023 is all synchronous from the static data synchronization database 1033 of network server 103 It arrives, therefore, each static data being stored in static database 1023 can be corresponded to there are two routing information, respectively (i.e. the static data is in static database 1023 in the routing information in virtual set-top box server 102 for the static data Routing information) and routing information of the static data in network server 103 (i.e. the static data is in static data synchronization number According to the routing information in library 1033).
Wherein, each of the N number of routing information for including in the page data, each means corresponding static data Routing information in network server 103.So, virtual set-top box server 102 is after obtaining N number of routing information, Such as i-th of routing information therein, so that it may be looked into static database 1023 according to i-th of routing information It looks for, sees if there is i-th corresponding of static data and exist, if any, so described i-th of static data can also be right There should be a routing information, this routing information is exactly road of i-th of the static data in virtual set-top box server 102 Diameter information.
That is, can pass through when virtual set-top box server 102 searches static data in static database 1023 Three kinds of modes are searched: mode one is searched by static data itself;Mode two, by static data in virtual set-top box service Routing information in device 102 is searched;Mode three is searched by routing information of the static data in network server 103.
In the embodiment of the present invention, for i-th of routing information, if virtual set-top box server 102 is not quiet Corresponding i-th of static data is found in state database 1023, then illustrating that the network server 103 does not have By i-th of static data synchronization to virtual set-top box server 102, then virtual set-top box server 102 can be to net Network server 103 requests to obtain i-th of static data.
After obtaining N number of static data, virtual set-top box server 102 can be according to N number of static data pair The page data carries out the rendering of page-images, and the good image data of final rendering is carried out video streaming coded treatment, then Virtual set-top box client 101, virtual set-top box client are sent by the video stream data obtained after Video coding The video stream data that 101 decoding of end obtains, and shown in the equipment such as the television set of user, thus just complete view The acquisition process of frequency flow data.
Fig. 4 is referred to, based on the same inventive concept, the embodiment of the present invention provides a kind of page data transmission method, described The main flow of method is described as follows:
Step 401: network server 103 receives the page request that virtual set-top box server 102 is sent, and the page is asked It asks for requesting to obtain page data;
Step 402: network server 103 obtains the page data, and M path letter is added in the page data Breath;Wherein each routing information corresponds to a data, and each routing information shows corresponding data in network server 103 Store path, the corresponding N number of data of N number of routing information therein are static data, and network server 103 is by static number According to being stored in static data synchronization database 1033;M is positive integer, and N is the positive integer less than or equal to M;
Step 403: the page data for being added to the M routing information is sent to virtually by network server 103 Set-top-box server 102.
Optionally, in the embodiment of the present invention, the method can also include:
Network server 103, which determines, has new data to increase;
Network server 103 judges whether increased data are static datas;
If so, network server 103 stores the increased data into static data synchronization database 1033, and The increased data and the increased data are sent in network server 103 to virtual set-top box server 102 Routing information.
Optionally, in the embodiment of the present invention, network server 103 judges whether increased data are static datas, specifically Are as follows:
Network server 103 judges whether the increased data are static numbers according to the data type of increased data According to.
Optionally, in the embodiment of the present invention, the method can also include:
Network server 103, which determines, has data to be deleted;
Network server 103 judges whether the data deleted are static datas;
If so, routing information of the network server 103 according to the data of the deletion, in static data synchronization database The data of the deletion are searched and deleted in 1033, and send the data of the deletion in net to virtual set-top box server 102 Routing information in network server 103.
The specific embodiment step of Fig. 4 embodiment all has more detailed description in Fig. 3 embodiment, few superfluous herein It states.
Continuing with referring to Fig. 1 and Fig. 2, the embodiment of the present invention provides the video stream data and obtains system, and the system can To include virtual set-top box client 101, virtual set-top box server 102 and network server 103, wherein virtual set-top box Client 101 is connect with virtual set-top box server 102, and virtual set-top box server 102 is connected in network server 103 again.
Virtual set-top box client 101, it is described for sending video flowing request to the virtual set-top box server 102 Video flowing request obtains video stream data for requesting;
The virtual set-top box server 102 is used for after receiving the video flowing request, to the network server 103 send the page request for requesting acquisition page data;The page data is corresponding with the video stream data;
The network server 103 adds M path letter for obtaining the page data in the page data Breath, and the page data for being added to the M routing information is sent to the virtual set-top box server 102;Wherein Each routing information corresponds to a data, and each routing information shows corresponding data in the network server 103 Store path, the corresponding N number of data of N number of routing information therein are static data, and the network server 103 will be static Data are stored in static data synchronization database 1033;M is positive integer, and N is the positive integer less than or equal to M;
The virtual set-top box server 102 is also used to handle the page data, obtains the video fluxion According to, and the video stream data is sent to the virtual set-top box client 101.
Optionally, in the embodiment of the present invention,
Network server 103 is also used to:
The page data is being obtained, before adding M routing information in the page data, determination there are new data Increase;
Judge whether increased data are static datas;
If so, by the increased data storage into static data synchronization database 1033, and to virtual set-top box Server 102 sends the routing information of the increased data and the increased data in network server 103;
Virtual set-top box server 102 is also used to:
The increased data and the increased data for receiving the transmission of network server 103 are in network server Routing information in 103;
The increased data are saved in the static database of virtual set-top box server 102.
Optionally, in the embodiment of the present invention, network server 103 is also used to judge whether increased data are static numbers According to, specifically: judge whether the increased data are static datas according to the data type of increased data.
Optionally, in the embodiment of the present invention,
Network server 103 is also used to:
The page data is being obtained, before adding M routing information in the page data, determination there are data to be deleted It removes;
Judge whether the data deleted are static datas;
If so, being searched simultaneously in static data synchronization database 1033 according to the routing information of the data of the deletion The data of the deletion are deleted, and send the data of the deletion in network server 103 to virtual set-top box server 102 Routing information;
Virtual set-top box server 102 is also used to:
Receive routing information of the data for the deletion that network server 103 is sent in network server 103;
According to routing information of the data of the deletion in network server 103, in virtual set-top box server 102 The data of the deletion are searched in static database 1023;
If there are the data of the deletion in static database 1023, the deletion is deleted in static database 1023 Data.
Optionally, in the embodiment of the present invention, virtual set-top box server 102 is also used to at the page data Reason, obtains the video stream data, specifically:
According to the M routing information, determine that M data corresponding to the M routing information are dynamic datas respectively Or static data;
Determine that N number of data corresponding to N number of routing information therein are static data;
According to N number of routing information, N number of static data corresponding with the N number of routing information is obtained;
The page data is handled according to N number of static data, obtains the video stream data.
Optionally, in the embodiment of the present invention, virtual set-top box server 102 is also used to be obtained according to N number of routing information N number of static data corresponding with the N number of routing information is taken, specifically:
Virtual set-top box server 102 is inquired and i-th of tunnel in the static database 1023 of virtual set-top box server Corresponding i-th of the static data of diameter information;
If finding i-th of static data in static database 1023, virtual set-top box server 102 obtains institute State i-th of static data;
If not finding i-th of static data in static database 1023, virtual set-top box server 102 is to net I-th of static data described in 103 request of network server;I is respectively the integer from 1 to N.
Fig. 5 is referred to, based on the same inventive concept, the embodiment of the present invention provides a kind of network server 103, network service Device 103 may include receiving module 501, obtain module 502 and sending module 503.
Receiving module 501, for receiving the page request of the transmission of virtual set-top box server 102, the page request is used Page data is obtained in request;
Module 502 is obtained, for obtaining the page data, M routing information is added in the page data;Wherein Each routing information corresponds to a data, and each routing information shows storage of the corresponding data in network server 103 Path, the corresponding N number of data of N number of routing information therein are static data, and static data is stored in by network server In static data synchronization database 1033;M is positive integer, and N is the positive integer less than or equal to M;
Sending module 503, for the page data for being added to the M routing information to be sent to virtual set-top box Server 102.
Optionally, in the embodiment of the present invention, network server 103 further include:
Determining module has new data to increase for determining;
Judgment module, for judging whether increased data are static datas;
Operation module is used for if so, by the increased data storage into static data synchronization database 1033;
Sending module 503 is also used to: sending the increased data, Yi Jisuo to the virtual set-top box server 102 State routing information of the increased data in network server 103.
Optionally, in the embodiment of the present invention, the judgment module is specifically used for:
Judge whether the increased data are static datas according to the data type of increased data.
Optionally, in the embodiment of the present invention, network server 103 further include:
The determining module has data to be deleted for determining;
The judgment module, for judging whether the data deleted are static datas;
The operation module, for if so, according to the routing information of the data of the deletion, in static data synchronization number According to the data for searching and deleting the deletion in library 1033;
Sending module 503 is also used to: sending the data of the deletion in network server to virtual set-top box server 102 Routing information in 103.
Fig. 6 is referred to, based on the same inventive concept, the embodiment of the present invention provides a kind of network server 103, network service Device 103 may include the memory 601 for being connected to same bus 600, processor 602, receiver 603 and transmitter 604.
Memory 601 executes the instruction of required by task for storage processor 602;
Receiver 603, for receiving the page request of the transmission of virtual set-top box server 102, the page request is used for Request obtains page data;
Processor 602 obtains the page data, in the page data for executing the instruction of the storage of memory 601 Middle M routing information of addition;Wherein each routing information corresponds to a data, and each routing information shows that corresponding data exist Store path in network server 103, the corresponding N number of data of N number of routing information therein are static data, and network takes Static data is stored in static data synchronization database 1033 by business device 103;M is positive integer, and N is just whole less than or equal to M Number;
Transmitter 604, for the page data for being added to the M routing information to be sent to virtual set-top box clothes Business device 102.
Optionally, in the embodiment of the present invention, processor 602 is also used to: executing described instruction, determining has new data to increase Add;Judge whether increased data are static datas;If so, the increased data are stored to institute by transmitter 604 State in static data synchronization database 1033, and by transmitter 604 sent to virtual set-top box server 102 it is described increased The routing information of data and the increased data in network server 103.
Optionally, in the embodiment of the present invention, processor 602 is also used to judge whether increased data are static datas, tool Body are as follows:
Judge whether the increased data are static datas according to the data type of increased data.
Optionally, in the embodiment of the present invention, processor 602 is also used to: executing described instruction, determining has data to be deleted; Judge whether the data deleted are static datas;If so, according to the routing information of the data of the deletion, it is same in static data The data of the deletion are searched and deleted in step data library 1033, and are sent out by transmitter 604 to virtual set-top box server 102 Send routing information of the data of the deletion in network server 103.
In the embodiment of the present invention, network server 103 is when sending page data to virtual set-top box server 102, meeting By the corresponding routing information addition of static data therein in the page data, and network server 103 is in storing data When, static data can be stored in the position different from dynamic data, such as static data can be stored in one it is special In database (the i.e. described static data synchronization database 1033), then virtual set-top box server 102 is according to data Routing information is just able to know that the data are dynamic data or static data, distinguishes fast speed, also improves the speed of response Degree.And virtual set-top box server 102 can obtain static data according to corresponding routing information, for example, virtual set-top box service There is static database 1023, wherein being stored with static data, then virtual set-top box server 102 can be direct in device 102 Static data is being obtained, locally so as to carry out the behaviour such as rendering quickly to the page data according to the static data of acquisition Make, improves processing speed.
Also, when network server 103 handles high concurrent request, because virtual set-top box server 102 can be from this Ground directly acquires static data, without requesting to obtain to network server 103, alleviates the burden of network server 103, also mentions The high processing speed of network server 103, reduces delay, raising user experience to the greatest extent.
The embodiment of the invention provides the sound improved under with 102 scene of virtual set-top box server for user's request The method for answering speed is there is no in the prior art for the scene for improving the preferable solution of response speed.
It is apparent to those skilled in the art that for convenience and simplicity of description, only with above-mentioned each function The division progress of unit can according to need and for example, in practical application by above-mentioned function distribution by different function lists Member is completed, i.e., the internal structure of device is divided into different functional units, to complete all or part of function described above Energy.The specific work process of the system, apparatus, and unit of foregoing description, can be with reference to corresponding in preceding method embodiment Journey, details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, device and method can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit or The division of unit, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units Or component can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, institute Display or the mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, device or unit Indirect coupling or communication connection can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, the technical solution of the application is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer It is each that equipment (can be personal computer, server or the network equipment etc.) or processor (processor) execute the application The all or part of the steps of embodiment the method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic or disk Etc. the various media that can store program code.
The above, above embodiments are only described in detail to the technical solution to the application, but the above implementation The explanation of example is merely used to help understand method and its core concept of the invention, should not be construed as limiting the invention.This In the technical scope disclosed by the present invention, any changes or substitutions that can be easily thought of by those skilled in the art, should all cover Within protection scope of the present invention.

Claims (20)

1. a kind of video stream data acquisition methods characterized by comprising
Virtual set-top box client sends video flowing request to virtual set-top box server, and the video flowing request is obtained for requesting Obtain video stream data;
The virtual set-top box server is sent to network server for requesting to obtain page after receiving the video flowing request The page request of face data;The page data is corresponding with the video stream data;
The network server obtains the page data, M routing information is added in the page data, and will be added to The page data of the M routing information is sent to the virtual set-top box server;Wherein each routing information is corresponding In a data, each routing information shows store path of the corresponding data in the network server, N number of road therein The corresponding N number of data of diameter information are static data, and static data is stored in static data synchronization by the network server In database;M is positive integer, and N is the positive integer less than or equal to M;
The virtual set-top box server handles the page data, obtains the video stream data, and by the view Frequency flow data is sent to the virtual set-top box client, and the virtual set-top box server is obtained according to N number of routing information N number of static data corresponding with the N number of routing information is taken, and the page data is carried out according to N number of static data Processing, obtains the video stream data;Wherein,
The virtual set-top box server obtains corresponding N number of quiet with N number of routing information according to N number of routing information State data, comprising:
The virtual set-top box server is inquired in the static database of the virtual set-top box server to be believed with i-th of path Cease corresponding i-th of static data;
If finding i-th of static data in the static database, described in the virtual set-top box server acquisition I-th of static data;
If not finding i-th of static data in the static database, the virtual set-top box server is to described Web server requests obtain i-th of static data;I is respectively the integer from 1 to N.
2. the method as described in claim 1, which is characterized in that the page data is obtained in the network server, in institute It states before adding M routing information in page data, further includes:
The network server, which determines, has new data to increase;
The network server judges whether increased data are static datas;
If so, the network server stores the increased data into the static data synchronization database, and to The virtual set-top box server sends the increased data and the increased data in the network server Routing information;
The virtual set-top box server receives increased data that the network server is sent and described increased Routing information of the data in the network server;
The increased data are saved in the static data of the virtual set-top box server by the virtual set-top box server In library.
3. method according to claim 2, which is characterized in that the network server judges whether increased data are static Data, comprising:
The network server judges whether the increased data are static datas according to the data type of increased data.
4. method a method according to any one of claims 1-3, which is characterized in that obtain the page number in the network server According in the page data before M routing information of addition, further includes:
The network server, which determines, has data to be deleted;
The network server judges whether the data deleted are static datas;
If so, routing information of the network server according to the data of the deletion, in the static data synchronization data The data of the deletion are searched and deleted in library, and send the data of the deletion described to the virtual set-top box server Routing information in network server;
The virtual set-top box server receives the data for the deletion that the network server is sent in the network service Routing information in device;
Routing information of the virtual set-top box server according to the data of the deletion in the network server, described The data of the deletion are searched in the static database of virtual set-top box server;
If there is the data of the deletion in the static database, the virtual set-top box server is in the static database The middle data for deleting the deletion.
5. method a method according to any one of claims 1-3, which is characterized in that the virtual set-top box server is to the page number According to being handled, the video stream data is obtained, comprising:
The virtual set-top box server determines M corresponding to the M routing information according to the M routing information respectively A data are dynamic data or static data.
6. method as claimed in claim 4, which is characterized in that the virtual set-top box server carries out the page data Processing, obtains the video stream data, comprising:
The virtual set-top box server determines M corresponding to the M routing information according to the M routing information respectively A data are dynamic data or static data.
7. a kind of page data transmission method characterized by comprising
Network server receives the page request that virtual set-top box server is sent, and the page request obtains the page for requesting Data;
The network server obtains the page data, and M routing information is added in the page data;Wherein each road Diameter information corresponds to a data, and each routing information shows store path of the corresponding data in the network server, The corresponding N number of data of N number of routing information therein are static data, and the network server static data is stored in it is quiet In state data sync database;M is positive integer, and N is the positive integer less than or equal to M;
The page data for being added to the M routing information is sent to the virtual set-top box and taken by the network server Business device;
The network server is sent also according to the request of the virtual set-top box server to the virtual set-top box server I-th of static data, i-th of static data are i-th of paths in N number of routing information in the M routing information The corresponding static data of information, and i-th of static data is not stored in the static data of the virtual set-top box server In library, N number of routing information corresponds to N number of static data, and i is respectively the integer from 1 to N.
8. the method for claim 7, which is characterized in that the method also includes:
The network server, which determines, has new data to increase;
The network server judges whether increased data are static datas;
If so, the network server stores the increased data into the static data synchronization database, and to The virtual set-top box server sends the increased data and the increased data in the network server Routing information.
9. method according to claim 8, which is characterized in that the network server judges whether increased data are static Data, comprising:
The network server judges whether the increased data are static datas according to the data type of increased data.
10. the method as described in claim 7-9 is any, which is characterized in that the method also includes:
The network server, which determines, has data to be deleted;
The network server judges whether the data deleted are static datas;
If so, routing information of the network server according to the data of the deletion, in the static data synchronization data The data of the deletion are searched and deleted in library, and send the data of the deletion described to the virtual set-top box server Routing information in network server.
11. a kind of video stream data obtains system, which is characterized in that including virtual set-top box client, virtual set-top box service Device and network server, wherein the virtual set-top box client is connect with affiliated virtual set-top box server, the virtual machine Top box server is connect with the network server;
The virtual set-top box client, for sending video flowing request, the video flowing to the virtual set-top box server Request obtains video stream data for requesting;
The virtual set-top box server, for being used for network server transmission after receiving the video flowing request Request obtains the page request of page data;The page data is corresponding with the video stream data;
The network server adds M routing information, and will for obtaining the page data in the page data The page data for being added to the M routing information is sent to the virtual set-top box server;Wherein each path letter Breath corresponds to a data, and each routing information shows store path of the corresponding data in the network server, wherein The corresponding N number of data of N number of routing information be static data, and static data is stored in static number by the network server According in sync database;M is positive integer, and N is the positive integer less than or equal to M;
The virtual set-top box server is also used to handle the page data, obtains the video stream data, and will The video stream data is sent to the virtual set-top box client, and the virtual set-top box server is according to N number of road Diameter information obtains N number of static data corresponding with the N number of routing information, and according to N number of static data to the page Data are handled, and the video stream data is obtained;Wherein,
The virtual set-top box server is also used to be obtained corresponding with N number of routing information according to N number of routing information N number of static data, specifically:
The virtual set-top box server is inquired in the static database of the virtual set-top box server to be believed with i-th of path Cease corresponding i-th of static data;
If finding i-th of static data in the static database, described in the virtual set-top box server acquisition I-th of static data;
If not finding i-th of static data in the static database, the virtual set-top box server is to described Web server requests obtain i-th of static data;I is respectively the integer from 1 to N.
12. system as claimed in claim 11, which is characterized in that
The network server is also used to:
The page data is being obtained, before adding M routing information in the page data, determining there are new data to increase Add;
Judge whether increased data are static datas;
If so, by the increased data storage into the static data synchronization database, and to the virtual set-top box Server sends the routing information of the increased data and the increased data in the network server;
The virtual set-top box server is also used to:
The increased data and the increased data for receiving the network server transmission are in the network server In routing information;
The increased data are saved in the static database of the virtual set-top box server.
13. system as claimed in claim 12, which is characterized in that the network server is also used to judge that increased data are No is static data, specifically: judge whether the increased data are static datas according to the data type of increased data.
14. the system as described in claim 11-13 is any, which is characterized in that
The network server is also used to:
The page data is being obtained, before adding M routing information in the page data, determining there are data to be deleted;
Judge whether the data deleted are static datas;
If so, searching and deleting in the static data synchronization database according to the routing information of the data of the deletion The data of the deletion, and the data of the deletion are sent in the network server to the virtual set-top box server Routing information;
The virtual set-top box server is also used to:
Receive routing information of the data for the deletion that the network server is sent in the network server;
According to routing information of the data of the deletion in the network server, in the quiet of the virtual set-top box server The data of the deletion are searched in state database;
If there are the data of the deletion in the static database, the number of the deletion is deleted in the static database According to.
15. the system as described in claim 11-13 is any, which is characterized in that the virtual set-top box server is also used to pair The page data is handled, and the video stream data is obtained, specifically:
According to the M routing information, determine respectively M data corresponding to the M routing information be dynamic data or Static data.
16. system as claimed in claim 14, which is characterized in that the virtual set-top box server is also used to the page Data are handled, and the video stream data is obtained, specifically:
According to the M routing information, determine respectively M data corresponding to the M routing information be dynamic data or Static data.
17. a kind of network server characterized by comprising
Receiving module, for receiving the page request of virtual set-top box server transmission, the page request is obtained for requesting Page data;
Module is obtained, for obtaining the page data, M routing information is added in the page data;Wherein each road Diameter information corresponds to a data, and each routing information shows store path of the corresponding data in the network server, The corresponding N number of data of N number of routing information therein are static data, and the network server static data is stored in it is quiet In state data sync database;M is positive integer, and N is the positive integer less than or equal to M;
Sending module takes for the page data for being added to the M routing information to be sent to the virtual set-top box Business device;
The sending module is also used to the request according to the virtual set-top box server, to the virtual set-top box server I-th of static data is sent, i-th of static data is i-th in N number of routing information in the M routing information The corresponding static data of routing information, and i-th of static data is not stored in the static state of the virtual set-top box server In database, N number of routing information corresponds to N number of static data, and i is respectively the integer from 1 to N.
18. network server as claimed in claim 17, which is characterized in that the network server further include:
Determining module has new data to increase for determining;
Judgment module, for judging whether increased data are static datas;
Operation module is used for if so, by the increased data storage into the static data synchronization database;
The sending module is also used to: sending the increased data and the increase to the virtual set-top box server Routing information of the data in the network server.
19. network server as claimed in claim 18, which is characterized in that the judgment module is specifically used for:
Judge whether the increased data are static datas according to the data type of increased data.
20. the network server as described in claim 17-19 is any, which is characterized in that the network server further include:
Determining module has data to be deleted for determining;
Judgment module, for judging whether the data deleted are static datas;
Operation module, for if so, according to the routing information of the data of the deletion, in the static data synchronization database Middle lookup and the data for deleting the deletion;
The sending module is also used to: sending the data of the deletion in the network service to the virtual set-top box server Routing information in device.
CN201410856619.2A 2014-12-31 2014-12-31 Video stream data acquisition, page data transmission method, system and network server Active CN105812839B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410856619.2A CN105812839B (en) 2014-12-31 2014-12-31 Video stream data acquisition, page data transmission method, system and network server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410856619.2A CN105812839B (en) 2014-12-31 2014-12-31 Video stream data acquisition, page data transmission method, system and network server

Publications (2)

Publication Number Publication Date
CN105812839A CN105812839A (en) 2016-07-27
CN105812839B true CN105812839B (en) 2018-12-14

Family

ID=56465382

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410856619.2A Active CN105812839B (en) 2014-12-31 2014-12-31 Video stream data acquisition, page data transmission method, system and network server

Country Status (1)

Country Link
CN (1) CN105812839B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107783722B (en) * 2016-08-25 2020-08-21 星辰天合(北京)数据科技有限公司 Data transmission method and data forwarding device
CN106372228A (en) * 2016-09-08 2017-02-01 福建中金在线信息科技有限公司 Static page generation method and system for mobile terminal
CN109714628B (en) * 2018-12-29 2021-08-03 广州方硅信息技术有限公司 Method, device, equipment, storage medium and system for playing audio and video
CN112004118B (en) * 2020-08-30 2022-06-21 青岛民航凯亚系统集成有限公司 Method and system for quickly responding to user data request

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101079041A (en) * 2006-12-29 2007-11-28 腾讯科技(深圳)有限公司 Dynamic web page updating method and system
CN101183395A (en) * 2007-12-25 2008-05-21 北京中企开源信息技术有限公司 Method and system for realizing staticize of dynamic page
CN101997927A (en) * 2010-11-18 2011-03-30 厦门市美亚柏科信息股份有限公司 Method and system for caching data of WEB platform
CN102216930A (en) * 2010-12-14 2011-10-12 华为技术有限公司 Web request scheduling method and system
CN103092581A (en) * 2011-10-28 2013-05-08 阿里巴巴集团控股有限公司 Method and device for setting up Web front-end local development environment
CN103747112A (en) * 2013-12-24 2014-04-23 乐视网信息技术(北京)股份有限公司 CDN back-to-source method, first server and system thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9003455B2 (en) * 2010-07-30 2015-04-07 Guest Tek Interactive Entertainment Ltd. Hospitality media system employing virtual set top boxes

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101079041A (en) * 2006-12-29 2007-11-28 腾讯科技(深圳)有限公司 Dynamic web page updating method and system
CN101183395A (en) * 2007-12-25 2008-05-21 北京中企开源信息技术有限公司 Method and system for realizing staticize of dynamic page
CN101997927A (en) * 2010-11-18 2011-03-30 厦门市美亚柏科信息股份有限公司 Method and system for caching data of WEB platform
CN102216930A (en) * 2010-12-14 2011-10-12 华为技术有限公司 Web request scheduling method and system
CN103092581A (en) * 2011-10-28 2013-05-08 阿里巴巴集团控股有限公司 Method and device for setting up Web front-end local development environment
CN103747112A (en) * 2013-12-24 2014-04-23 乐视网信息技术(北京)股份有限公司 CDN back-to-source method, first server and system thereof

Also Published As

Publication number Publication date
CN105812839A (en) 2016-07-27

Similar Documents

Publication Publication Date Title
KR102262982B1 (en) Method, apparatus and system for slicing live streaming
US10567346B2 (en) Remote browsing session management
US9167054B2 (en) Remote browsing session management
US9253284B2 (en) Historical browsing session management
US9563929B1 (en) Caching of content page layers
US8577963B2 (en) Remote browsing session between client browser and network based browser
US9621406B2 (en) Remote browsing session management
US20140123033A1 (en) Systems, methods, and apparatuses for implementing a shared session server to enable multiple browser clients to simultaneously view and interact with common web content in a shared browsing session
US9563928B1 (en) Bandwidth reduction through delivery of hardware-independent graphics commands for portions of content pages
US20130080576A1 (en) Historical browsing session management
US20130080577A1 (en) Historical browsing session management
US20160044115A1 (en) Remote browsing session management
EP2727025A2 (en) Remote browsing session management
US9197505B1 (en) Managing network connections for processing network resources
CN105812839B (en) Video stream data acquisition, page data transmission method, system and network server
US10057320B2 (en) Offline browsing session management
US9319455B2 (en) Method and system for seamless navigation of content across different devices
EP2933982A1 (en) Media stream transfer method and user equipment
US11979642B2 (en) Method and system for navigating at a client device selected features on a non-dynamic image page from an elastic voice cloud server in communication with a third-party search service
US20130138770A1 (en) Apparatus and method for sharing web contents using inspector script
US9330188B1 (en) Shared browsing sessions
EP2727024B1 (en) Remote browsing session management
US9298843B1 (en) User agent information management
US11169666B1 (en) Distributed content browsing system using transferred hardware-independent graphics commands
US9131275B2 (en) Managing video-on-demand in a hierarchical network

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220214

Address after: 550025 Huawei cloud data center, jiaoxinggong Road, Qianzhong Avenue, Gui'an New District, Guiyang City, Guizhou Province

Patentee after: Huawei Cloud Computing Technologies Co.,Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.