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

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

Info

Publication number
CN105812839A
CN105812839A CN201410856619.2A CN201410856619A CN105812839A CN 105812839 A CN105812839 A CN 105812839A CN 201410856619 A CN201410856619 A CN 201410856619A CN 105812839 A CN105812839 A CN 105812839A
Authority
CN
China
Prior art keywords
data
static
top box
webserver
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.)
Granted
Application number
CN201410856619.2A
Other languages
Chinese (zh)
Other versions
CN105812839B (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 video stream data acquisition method used for solving a technical problem that delay of a server increases due to response speed decline in a high concurrency scenario. The method comprises the following steps: a virtual set top box client end sends a video stream request to a virtual set top box server, the virtual set top box server sends a page request used for requesting page data to a network server, the network server obtains the page data, the page data is sent to the virtual set top box server after M pieces of path information is added to the page data, all of N pieces of data that N pieces out of the M pieces of information corresponds to is static state data which is stored in a static state data synchronization database via the network server, the page data is processed via the virtual set top box server and therefore video stream data is obtained, and the video stream data is sent to the virtual set top box client end. The invention also discloses a corresponding system, a page data transmission method and the network server.

Description

Video stream data acquisition, page data transmission method, system and the webserver
Technical field
The present invention relates to technical field of virtualization, particularly to a kind of video stream data acquisition, page data transmission method, system and the webserver.
Background technology
Virtual set-top box is the evolution technology that television operator carries out set-top box technique management upgrade, core component in the Set Top Box that current home is used by this technology is transferred on the virtual set-top box server in the machine room being arranged on operator, multiple Set Top Boxes can connect a virtual set-top box server, reduce the hardware requirement to Set Top Box, and improve the holistic management ability of maintenance.
One virtual set-top box server may serve multiple Set Top Box, and wherein a lot of Set Top Boxes may initiate the request of acquisition video flowing at synchronization to virtual set-top box server, so virtual set-top box server is accomplished by these requests are sent simultaneously to UI (UserInterface, user interface) Server (server), so UIServer is just faced with the situation needing simultaneously to process these requests, and this situation is commonly referred to as high concurrent scene.In general, the disposal ability of UIServer is limited, when processing high concurrent request, the response speed of UIServer will necessarily be caused to decline, and ultimately resulting in delay increases, in some instances it may even be possible to cause server failure, and this also can make user feel that interactive experience declines.
Summary of the invention
The embodiment of the present invention provides one video flowing acquisition, page data transmission method, system and the webserver, causes postpone the technical problem of increase when facing high concurrent scene because response speed declines for settlement server.
A first aspect of the present invention, it is provided that a kind of video stream data acquisition methods, including:
Virtual set-top box client sends video flowing request to virtual set-top box server, and the request of described video flowing is used for asking to obtain video stream data;
Described virtual set-top box server, after receiving the request of described video flowing, sends the page request for asking to obtain page data to the webserver;Described page data is corresponding with described video stream data;
The described webserver obtains described page data, adds M routing information, and the described page data that with the addition of described M routing information is sent to described virtual set-top box server in described page data;Wherein each routing information corresponds to data, each routing information shows corresponding data store path in the described webserver, N number of data that N number of routing information therein is corresponding are static data, and static data is stored in static data synchronization data base by the described webserver;M is positive integer, and N is the positive integer less than or equal to M;
Described page data is processed by described virtual set-top box server, it is thus achieved that described video stream data, and described video stream data is sent to described virtual set-top box client.
In conjunction with first aspect, in the first possible implementation of first aspect, obtain described page data at the described webserver, add before M routing information in described page data, also include:
The described webserver is determined has new data to increase;
The described webserver judges whether the data increased are static datas;
If so, then the data of described increase are stored in described static data synchronization data base by the described webserver, and send the data of the data of described increase and described increase routing information in the described webserver to described virtual set-top box server;
The data of the described increase that the described virtual set-top box server described webserver of reception sends and the data of described increase routing information in the described webserver;
The data of described increase are saved in the static database of described virtual set-top box server by described virtual set-top box server.
In conjunction with the first possible implementation of first aspect, in the implementation that the second of first aspect is possible, the described webserver judges whether the data increased are static datas, including:
According to the data type of data increased, the described webserver judges whether the data of described increase are static datas.
In conjunction with the implementation that the first possible implementation of first aspect or first aspect or the second are possible, in the third possible implementation of first aspect, obtain described page data at the described webserver, add before M routing information in described page data, also include:
The described webserver is determined has data to be deleted;
The described webserver judges whether the data deleted are static datas;
If, the then described webserver routing information according to the data of described deletion, described static data synchronization data base searches and deletes the data of described deletion, and sends the data of described deletion routing information in the described webserver to described virtual set-top box server;
Described virtual set-top box server receives the data of the described deletion that the described webserver sends routing information in the described webserver;
Described virtual set-top box server, according to routing information in the described webserver of the data of described deletion, searches the data of described deletion in the static database of described virtual set-top box server;
If there being the data of described deletion in described static database, then described virtual set-top box server deletes the data of described deletion in described static database.
The implementation possible in conjunction with the first possible implementation of first aspect or first aspect or the second or the third possible implementation, in the 4th kind of possible implementation of first aspect, described page data is processed by described virtual set-top box server, obtain described video stream data, including:
Described virtual set-top box server, according to described M routing information, determines that M data corresponding to described M routing information are dynamic data or static data respectively;
Described virtual set-top box server determines that the N number of data corresponding to described N number of routing information therein are static data;
Described virtual set-top box server, according to described N number of routing information, obtains the N number of static data corresponding with described N number of routing information;
Described page data is processed by described virtual set-top box server according to described N number of static data, it is thus achieved that described video stream data.
In conjunction with the 4th kind of possible implementation of first aspect, in the 5th kind of possible implementation of first aspect, described virtual set-top box server, according to described N number of routing information, obtains the N number of static data corresponding with described N number of routing information, including:
Described virtual set-top box server inquires about the i-th static data corresponding with i-th routing information in the static database of described virtual set-top box server;
If finding described i-th static data in described static database, then described virtual set-top box server obtains described i-th static data;
If not finding described i-th static data in described static database, then described virtual set-top box server obtains described i-th static data to described web server requests;I is respectively from the integer of 1 to N.
A second aspect of the present invention, it is provided that a kind of page data transmission method, including:
The page request that webserver sink virtual machine top box server sends, described page request is used for asking to obtain page data;
The described webserver obtains described page data, adds M routing information in described page data;Wherein each routing information corresponds to data, each routing information shows corresponding data store path in the described webserver, N number of data that N number of routing information therein is corresponding are static data, and static data is stored in static data synchronization data base by the described webserver;M is positive integer, and N is the positive integer less than or equal to M;
The described page data that with the addition of described M routing information is sent to described virtual set-top box server by the described webserver.
In conjunction with second aspect, in the first possible implementation of second aspect, described method also includes:
The described webserver is determined has new data to increase;
The described webserver judges whether the data increased are static datas;
If so, then the data of described increase are stored in described static data synchronization data base by the described webserver, and send the data of the data of described increase and described increase routing information in the described webserver to described virtual set-top box server.
In conjunction with the first possible implementation of second aspect, in the implementation that the second of second aspect is possible, the described webserver judges whether the data increased are static datas, including:
According to the data type of data increased, the described webserver judges whether the data of described increase are static datas.
In conjunction with the implementation that the first possible implementation of second aspect or second aspect or the second are possible, in the third possible implementation of second aspect, described method also includes:
The described webserver is determined has data to be deleted;
The described webserver judges whether the data deleted are static datas;
If, the then described webserver routing information according to the data of described deletion, described static data synchronization data base searches and deletes the data of described deletion, and sends the data of described deletion routing information in the described webserver to described virtual set-top box server.
A third aspect of the present invention, a kind of video stream data is provided to obtain system, including virtual set-top box client, virtual set-top box server and the webserver, wherein, described virtual set-top box client is connected with affiliated virtual set-top box server, and described virtual set-top box server is connected with the described webserver;
Described virtual set-top box client, for sending video flowing request to described virtual set-top box server, the request of described video flowing is used for asking to obtain video stream data;
Described virtual set-top box server, for, after receiving the request of described video flowing, sending the page request for asking to obtain page data to the described webserver;Described page data is corresponding with described video stream data;
The described webserver, is used for obtaining described page data, adds M routing information, and the described page data that with the addition of described M routing information is sent to described virtual set-top box server in described page data;Wherein each routing information corresponds to data, each routing information shows corresponding data store path in the described webserver, N number of data that N number of routing information therein is corresponding are static data, and static data is stored in static data synchronization data base by the described webserver;M is positive integer, and N is the positive integer less than or equal to M;
Described virtual set-top box server, is additionally operable to described page data is processed, it is thus achieved that described video stream data, and described video stream data is sent to described virtual set-top box client.
In conjunction with the third aspect, in the first possible implementation of the third aspect,
The described webserver is additionally operable to:
Obtaining described page data, adding before M routing information in described page data, it is determined that have new data to increase;
Judge whether the data increased are static datas;
If so, then the data of described increase are stored in described static data synchronization data base, and send the data of the data of described increase and described increase routing information in the described webserver to described virtual set-top box server;
Described virtual set-top box server is additionally operable to:
Receive the data of the data of described increase that the described webserver sends and the described increase routing information in the described webserver;
The data of described increase are saved in the static database of described virtual set-top box server.
The first possible implementation in conjunction with the third aspect, in the implementation that the second of the third aspect is possible, the described webserver is additionally operable to judge whether the data increased are static datas, particularly as follows: judge whether the data of described increase are static datas according to the data type of the data increased.
In conjunction with the implementation that the first possible implementation of the third aspect or the third aspect or the second are possible, in the third possible implementation of the third aspect,
The described webserver is additionally operable to:
Obtain described page data, adding before M routing information in described page data, it is determined that have data to be deleted;
Judge whether the data deleted are static datas;
If so, then routing information according to the data of described deletion, searches and deletes the data of described deletion in described static data synchronization data base, and send the data of described deletion routing information in the described webserver to described virtual set-top box server;
Described virtual set-top box server is additionally operable to:
Receive the data of described deletion that the described webserver the sends routing information in the described webserver;
The data according to described deletion routing information in the described webserver, searches the data of described deletion in the static database of described virtual set-top box server;
If described static database has the data of described deletion, then in described static database, delete the data of described deletion.
The implementation possible in conjunction with the first possible implementation of the third aspect or the third aspect or the second or the third possible implementation, in the 4th kind of possible implementation of the third aspect, described virtual set-top box server is additionally operable to described page data is processed, obtain described video stream data, particularly as follows:
According to described M routing information, determine that M data corresponding to described M routing information are dynamic data or static data respectively;
Determine that the N number of data corresponding to described N number of routing information therein are static data;
According to described N number of routing information, obtain the N number of static data corresponding with described N number of routing information;
According to described N number of static data, described page data is processed, it is thus achieved that described video stream data.
The 4th kind of possible implementation in conjunction with the third aspect, in the 5th kind of possible implementation of the third aspect, described virtual set-top box server is additionally operable to, according to described N number of routing information, obtain the N number of static data corresponding with described N number of routing information, particularly as follows:
Described virtual set-top box server inquires about the i-th static data corresponding with i-th routing information in the static database of described virtual set-top box server;
If finding described i-th static data in described static database, then described virtual set-top box server obtains described i-th static data;
If not finding described i-th static data in described static database, then described virtual set-top box server obtains described i-th static data to described web server requests;I is respectively from the integer of 1 to N.
A fourth aspect of the present invention, it is provided that a kind of webserver, including:
Receiver module, for the page request that sink virtual machine top box server sends, described page request is used for asking to obtain page data;
Acquisition module, is used for obtaining described page data, adds M routing information in described page data;Wherein each routing information corresponds to data, each routing information shows corresponding data store path in the described webserver, N number of data that N number of routing information therein is corresponding are static data, and static data is stored in static data synchronization data base by the described webserver;M is positive integer, and N is the positive integer less than or equal to M;
Sending module, for being sent to described virtual set-top box server by the described page data that with the addition of described M routing information.
In conjunction with fourth aspect, in the first possible implementation of fourth aspect, the described webserver also includes:
Determine module, for determining have new data to increase;
Whether judge module, be static data for judging the data increased;
If so, operation module, for then storing the data of described increase in described static data synchronization data base;
Described sending module is additionally operable to: the routing information in the described webserver to the data of the described virtual set-top box server described increase of transmission and the data of described increase.
In conjunction with the first possible implementation of fourth aspect, in the implementation that the second of fourth aspect is possible, described judge module specifically for:
Data type according to the data increased judges whether the data of described increase are static datas.
In conjunction with the implementation that the first possible implementation of fourth aspect or fourth aspect or the second are possible, in the third possible implementation of fourth aspect, the described webserver also includes:
Determining module, being used for determining has data to be deleted;
Whether judge module, be static data for judging the data deleted;
Operation module, for if so, then routing information according to the data of described deletion, searches and deletes the data of described deletion in described static data synchronization data base;
Described sending module is additionally operable to: send the data of described deletion routing information in the described webserver to described virtual set-top box server.
A fifth aspect of the present invention, it is provided that a kind of webserver, including being connected to the memorizer of same bus, processor, receptor and transmitter;Wherein,
Described memorizer, is used for storing instruction;
Described receptor, for the page request that sink virtual machine top box server sends, described page request is used for asking to obtain page data;
Described processor, is used for performing described instruction, obtains described page data, adds M routing information in described page data;Wherein each routing information corresponds to data, each routing information shows corresponding data store path in the described webserver, N number of data that N number of routing information therein is corresponding are static data, and static data is stored in static data synchronization data base by the described webserver;M is positive integer, and N is the positive integer less than or equal to M;
Described transmitter, for being sent to described virtual set-top box server by the described page data that with the addition of described M routing information.
In conjunction with the 5th aspect, in the first the possible implementation in the 5th, described processor is additionally operable to: perform described instruction, it is determined that have new data to increase;Judge whether the data increased are static datas;If, then by described transmitter, the data of described increase are stored in described static data synchronization data base, and send the data of the data of described increase and described increase routing information in the described webserver by described transmitter to described virtual set-top box server.
In conjunction with the first possible implementation of the 5th aspect, in the implementation that the second in the 5th is possible, whether the data that described processor is additionally operable to judge to increase are static datas, particularly as follows:
Data type according to the data increased judges whether the data of described increase are static datas.
In conjunction with the implementation that the first possible implementation of the 5th aspect or the 5th aspect or the second are possible, in the third the possible implementation in the 5th, described processor is additionally operable to: perform described instruction, it is determined that have data to be deleted;Judge whether the data deleted are static datas;If, the then routing information according to the data of described deletion, described static data synchronization data base searches and deletes the data of described deletion, and sends the data of described deletion routing information in the described webserver by described transmitter to described virtual set-top box server.
In the embodiment of the present invention, the webserver is when sending page data to virtual set-top box server, can routing information corresponding for static data therein be added in described page data, and the webserver is when storing data, static data can be stored in the position different from dynamic data, such as static data can be stored in a special data base (i.e. described static data synchronization data base), so according to the routing information of data, virtual set-top box server is just able to know that these data are dynamic data or static data, distinguish speed, also improve the speed of response.And, virtual set-top box server can obtain static data according to corresponding routing information, such as, virtual set-top box server has static database, wherein storage has static data, then virtual set-top box server just directly can obtain static data in this locality such that it is able to renders described page data to wait according to the static data obtained quickly and operates, and improves processing speed.
And, when the webserver processes high concurrent request, because virtual set-top box server can directly obtain static data from this locality, without obtaining to web server requests, alleviate the burden of the webserver, also improve the processing speed of the webserver, reduce delay as far as possible, improve Consumer's Experience.
Embodiments provide the method improving the response speed for user's request under there is virtual set-top box server scene, prior art there is no the good solution for improving response speed for this scene.
Accompanying drawing explanation
Fig. 1 is the main frame figure that in the embodiment of the present invention, video stream data obtains system;
Fig. 2 is the detailed architecture figure that in the embodiment of the present invention, video stream data obtains system;
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 the webserver in the embodiment of the present invention;
Fig. 6 is the primary structure schematic diagram of the webserver in the embodiment of the present invention.
Detailed description of the invention
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearly, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is a part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art obtain under not making creative work premise, broadly fall into the scope of protection of the invention.
It addition, the terms " system " and " network " are often used interchangeably in this article.The terms "and/or", is only a kind of incidence relation describing affiliated partner, and expression can exist three kinds of relations, for instance, A and/or B, it is possible to represent: individualism A, there is A and B, individualism B these three situation simultaneously.It addition, character "/" herein, if no special instructions, typically represent forward-backward correlation to as if the relation of a kind of "or".
Below in conjunction with Figure of description, the embodiment of the present invention is described in further detail.
First the system architecture involved by the embodiment of the present invention is introduced.
Referring to Fig. 1, for virtual set-top box operation system in the embodiment of the present invention, namely video stream data obtains the typical architecture figure of system.Described system includes virtual set-top box client 101, virtual set-top box server 102 and the webserver 103, wherein, virtual set-top box client 101 is connected with virtual set-top box server 102, connected mode can be wired can also be wireless, virtual set-top box server 102 is connected with the webserver 103, and connected mode can be wired can also be wireless.
Referring to Fig. 2, described system is connected with IPTV (InternetProtocolTelevision, network protocol television) server 104 and/or the Internet application server 105 also by the webserver 103.
Virtual set-top box client 101, i.e. STB (SetTopBox, Set Top Box), such as by network (i.e. cloud form structure in Fig. 1) access of virtual set-top-box server 102, can sending request to virtual set-top box server 102, or program request etc. live with acquisition TV programme from virtual set-top box server 102 services.
Virtual set-top box server 102, i.e. vSTB (virtualSetTopBox, virtual set-top box) server, the request that user is sent can be received by virtual set-top box client 101, after receiving this request, virtual set-top box server 102 can send request to the webserver 103, to ask TV programme to browse data such as checking.Such as virtual set-top box server 102 can pass through HTTP (Hypertexttransferprotocol, HTML (Hypertext Markup Language)) to the webserver 103 requests for page data.
Wherein, having multiple CloudTVServer1021 (cloud television server) in the virtual set-top box server 102 shown in Fig. 2, wherein each CloudTVServer1021 corresponds to a virtual set-top box client 101.But not shown all of virtual set-top box client 101 in Fig. 1 and Fig. 2, and only for a virtual set-top box client 101.
Additionally, in Fig. 2, virtual set-top box server 102 also includes static resource administrative unit 1022 and static database 1023, static database 1023 is used for storing static data, static resource administrative unit 1022 is for receiving the static data that the webserver 103 sends, and is stored in static database 1023 by the static data of reception.
The webserver 103, i.e. UIserver, be connected (Fig. 1 is all connected to example with the webserver 103 with IPTV server 104 and the Internet application server 105) with IPTV server 104 and/or the Internet application server 105, for, after the request receiving virtual set-top box server 102, asking the data of correspondence to IPTV server 104 or the Internet application server 105.
Wherein, the webserver 103 shown in Fig. 2 has WebServer (Internet Server) 1031, WebServer1031 the webserver 103 completes the mutual functional module between virtual set-top box server 102, IPTV server 104 and the Internet application server 105.Concrete, virtual set-top box server 102 obtains page data to the webserver 103 request, it is possible to be that CloudTVServer1021 passes through HTTP and obtains page data to WebServer1031 request.
Additionally, the webserver 103 also includes static resource lock unit 1032 and static data synchronization data base 1033, static data synchronization data base 1033 is used for storing static data, static data is stored in static data synchronization data base 1033 by static resource lock unit 1032 for receiving, and increases message or static resource deletion message for sending static resource to static resource administrative unit 1022.Such as, static resource lock unit 1032 can pass through TCP (TransmissionControlProtocol, transmission control protocol) or the mode such as UDP (UserDatagramProtocol, UDP) communicate with static resource administrative unit 1022.
IPTV server 104, it is also possible to referred to as EPG (ElectronicProgramGuide, electric program menu) server.
The Internet application server 105, i.e. OTT (OverTheTop provides a user with various application service by the Internet).
Next the embodiment of the method in the embodiment of the present invention is introduced.
Referring to Fig. 3, the embodiment of the present invention provides a kind of video stream data acquisition methods, and the main flow of described method describes as follows.
Step 301: virtual set-top box client 101 sends video flowing request to virtual set-top box server 102, the request of described video flowing is used for asking to obtain video stream data.
In general, one family can have one or several Set Top Box, i.e. virtual set-top box client 101, user can be operated obtaining TV programme for virtual set-top box client 101, certainly, user can directly be operated in virtual set-top box client 101, or by external input devices such as remote controllers, virtual set-top box client 101 can also be operated, and the present invention is not limited as.
After user is operated for virtual set-top box client 101, virtual set-top box client 101 can generate corresponding request for the operation of user, the embodiment of the present invention is referred to as the request of described video flowing, the request of described video flowing is just for asking to obtain the video stream data needed for user, and the request of described video flowing can be sent to virtual set-top box server 102 by virtual set-top box client 101.
Step 302: described virtual set-top box server, after receiving the request of described video flowing, sends the page request for asking to obtain page data to the webserver;Described page data is corresponding with described video stream data.
In general, what virtual set-top box server 102 obtained from the webserver 103 is all page data, the video stream data needed for virtual set-top box client 101 just can be obtained after the operations such as the page data of acquisition is carried out rendering by virtual set-top box server 102, picture coding, therefore, virtual set-top box server 102 is page data to web server requests, and described video stream data can be obtained according to described page data, therefore say that described page data is corresponding with described video stream data.
Step 303: the webserver 103 obtains described page data, adds M routing information in described page data, and the described page data that with the addition of described M routing information is sent to virtual set-top box server 102;Wherein each routing information corresponds to data, each routing information shows corresponding data store path in the webserver 103, N number of data that N number of routing information therein is corresponding are static data, and static data is stored in static data synchronization data base by the webserver 103;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 may refer to the data needing to perform, such as jsp (JavaServerPages, the java server page), php (HypertextPreprocessor, HyperText Preprocessor) etc. page script, and static data generally refers to the data that are performed without, such as picture, html ((HyperTextMark-upLanguage, HTML), the data such as js (JavaScript, java script language).
As can see from Figure 1, virtual set-top box server 102 is to after the webserver 103 sends described page request, the webserver 103 may proceed to send request to IPTV server 104 or the Internet application server 105, to ask to obtain the page data needed for virtual set-top box server 102.
After the webserver 103 obtains described page data, it is possible to analyze described page data, it is determined that go out described page data has which data to need to rely on other resources and obtain.Such as, described page data includes some links, obtain the content that these links are corresponding, need to rely on other dynamic resource, again such as, described page data includes some pictures, these pictures will be obtained, it is necessary to the static data synchronization data base 1033 from the webserver 103 obtains.Routing information corresponding for these data is added in described page data after determining that these need to rely on the data that other resources obtain by the webserver 103.Wherein, for static data, the routing information in described page data is exactly corresponding static data store path in the webserver 103.
It should be noted that in the embodiment of the present invention, the webserver 103 is safeguarded there is the static data synchronization data base 1033 being specifically designed to storage static data, and for managing the static resource lock unit 1032 of static database 1023.
It addition, in the embodiment of the present invention, virtual set-top box server 102 can have been safeguarded described static database 1023, and for managing the static resource administrative unit 1022 of described static database 1023.
Can having multiple CloudTVServer1021, each CloudTVServer1021 in virtual set-top box server 102 and both correspond to a virtual set-top box client 101, therefore each CloudTVServer1021 is likely to there is a need to the static data of storage.In the embodiment of the present invention, in virtual set-top box server 102 can only one of which static database 1023, this static database 1023 can in virtual set-top box server 102 all CloudTVServer1021 use.
Optionally, in the embodiment of the present invention, obtain described page data at the webserver 103, add before M routing information in described page data, also include:
The webserver 103 is determined has new data to increase;
The webserver 103 judges whether the data increased are static datas;
If so, then the data of described increase are stored in static data synchronization data base 1033 by the webserver 103, and send the data of the data of described increase and described increase routing information in the webserver 103 to virtual set-top box server 102;
Virtual set-top box server 102 receives the data of the data of described increase that the webserver 103 sends and described increase routing information in the webserver 103;
The data of described increase are saved in the static database 1023 of virtual set-top box server 102 by virtual set-top box server 102.
Optionally, in the embodiment of the present invention, the webserver 103 judges whether the data increased are static datas, judges whether the data of described increase are static datas including: the webserver 103 according to the data type of the data increased.
In the embodiment of the present invention, the webserver 103 often obtains data, it may determine that these data are dynamic data or static data, generally can judging according to the data type of data, for instance can judge according to the suffix title of data, a kind of basis for estimation may is that whether the data judging to increase are executable page language data, if, the data then determining increase are dynamic datas, if it is not, then determine that the data of increase are static data.If it is determined that the data increased are static datas, then the data of increase are stored under the corresponding catalogue in the webserver 103, in the embodiment of the present invention, such as static data can be stored in described static data synchronization data base 1033, for instance the store path of described static data synchronization data base 1033 is as follows:
uiserver/static/
Afterwards, the webserver 103 can send static resource to the static resource lock unit 1032 in the webserver 103 increases message, static resource lock unit 1032 can send this static resource to virtual set-top box server 102 increases message, and, the data of the data of described increase and described increase routing information in the webserver 103 can also be sent to virtual set-top box server 102, concrete, static resource lock unit 1032 can transmit these information to static resource administrative unit 1022.
Wherein, the webserver 103 can send described static resource to virtual set-top box server 102 respectively increases the data of message, the data of described increase and described increase routing information in the webserver 103, or, the data of the data of described increase and described increase routing information in the webserver 103 can also be added to described static resource and increase in message by the webserver 103, is sent to virtual set-top box server 102 in the lump.
After static resource administrative unit 1022 receives the data of the data of described increase and described increase routing information in the webserver 103, the data of described increase are saved in static database 1023, and index information can be set according to the data of described increase routing information in virtual set-top box server 102, this index information also indicates that the data of described increase path in virtual set-top box server 102.
Optionally, in the embodiment of the present invention, obtain described page data at the webserver 103, add before M routing information in described page data, also include:
The webserver 103 is determined has data to be deleted;
The webserver 103 judges whether the data deleted are static datas;
If, the then webserver 103 routing information according to the data of described deletion, static data synchronization data base 1033 searches and deletes the data of described deletion, and sends the data of described deletion routing information in the webserver 103 to virtual set-top box server 102;
Virtual set-top box server 103 receives the data of the described deletion that the webserver 103 sends routing information in the webserver 103;
Virtual set-top box server 102, according to routing information in the webserver 103 of the data of described deletion, searches the data of described deletion in the static database 1023 of virtual set-top box server 102;
If there being the data of described deletion in static database 1023, then virtual set-top box server deletes the data of described deletion in static database 1023.
Optionally, in the embodiment of the present invention, the webserver 103 judges whether the data deleted are static datas, judges whether the data of described deletion are static datas including: the webserver 103 according to the data type of the data deleted.
In the embodiment of the present invention, the webserver 103 often deletes data, it may determine that these data are dynamic data or static data, generally can judging according to the data type of data, for instance can judge according to the suffix title of data, a kind of basis for estimation still may is that whether the data judging to delete are executable page language data, if, the data then determining deletion are dynamic datas, if it is not, then determine that the data of deletion are static data.If judging, the data determining deletion are static datas, the data of described deletion then can be searched in static data synchronization data base 1033 according to the routing information that the data of described deletion are corresponding, if finding the data of described deletion in static data synchronization data base 1033, then in static data synchronization data base 1033, delete the data of described deletion.
Afterwards, the webserver 103 sends static resource and deletes message to static resource lock unit 1032, and described static resource is deleted the data of message and described deletion routing information in the webserver 103 and is sent to the described static resource administrative unit 1022 in virtual set-top box server 102 by static resource lock unit 1032.
Static resource administrative unit 1022 is according to routing information in the webserver 103 of the data of described deletion, static database 1023 is searched the data of described deletion, if finding the data of described deletion in static database 1023, in static database 1023, then delete the data of described deletion, also delete the index information that the data of described deletion are corresponding, the routing information that namely data of described deletion are corresponding simultaneously.
So, no matter it is the webserver 103 have static data increase or have static data to be deleted, the webserver 103 can both be automatically obtained the synchronization of data with virtual set-top box server 102, reduce virtual set-top box server 102 goes request in the webserver 103 to obtain the number of times of static data as far as possible, also just save the response time for user operation as far as possible, the response speed of raising system, reduces system delay, improves Consumer's Experience.
Step 304: described page data is processed by virtual set-top box server 102, it is thus achieved that described video stream data, and described video stream data is sent to virtual set-top box client 101.
Optionally, in the embodiment of the present invention, described page data is processed by virtual set-top box server 102, it is thus achieved that described video stream data, including:
Virtual set-top box server 102, according to described M routing information, determines that M data corresponding to described M routing information are dynamic data or static data respectively;
Virtual set-top box server 102 determines that the N number of data corresponding to described N number of routing information therein are static data;
Virtual set-top box server 102, according to described N number of routing information, obtains the N number of static data corresponding with described N number of routing information;
Described page data is processed by virtual set-top box server 102 according to described N number of static data, it is thus achieved that described video stream data.
Optionally, in the embodiment of the present invention, virtual set-top box server 102, according to described N number of routing information, obtains the N number of static data corresponding with described N number of routing information, including:
Virtual set-top box server 102 inquires about the i-th static data corresponding with i-th routing information in the static database 1023 of virtual set-top box server 102;
If finding described i-th static data in static database 1023, then virtual set-top box server 102 obtains described i-th static data;
If not finding described i-th static data in static database 1023, then virtual set-top box server 102 is to i-th static data described in the webserver 103 acquisition request;I is respectively from the integer of 1 to N.
In the embodiment of the present invention, virtual set-top box server 102 is after obtaining described page data, it is possible to described page data is resolved, it is thus achieved that described M routing information therein.Because the webserver 103 is dynamic data and static data to be stored separately, virtual set-top box server 102 such as can know that the webserver 103 stores the path of static data in advance, so, virtual set-top box server 102 according to described M routing information it is known that wherein having which data is static data.
If N is < M, then also having the data that M-N routing information is corresponding in described M routing information is dynamic data, and for dynamic data, the processing mode of virtual set-top box server 102 is identical with processing mode of the prior art, here seldom describing, the embodiment of the present invention is primarily upon the process of static data.
Then virtual set-top box server 102 is after obtaining described N number of routing information, it is possible to obtain the described N number of static data corresponding respectively with described N number of routing information.
In previously described mistake, virtual set-top box server 102 safeguards there is static database 1023, in general, in static database 1023, the static data of storage is all synchronize to obtain from the static data synchronization data base 1033 of the webserver 103, therefore, being stored in each static data in static database 1023 can to there being two routing informations, respectively this static data routing information (i.e. this static data routing information in static database 1023) in virtual set-top box server 102 and this static data routing information (i.e. this static data routing information in static data synchronization data base 1033) in the webserver 103.
Wherein, each in described N number of routing information that described page data includes, each mean corresponding static data routing information in the webserver 103.So, virtual set-top box server 102 is after obtaining described N number of routing information, such as i-th routing information therein, just can search in static database 1023 according to described i-th routing information, see if there is corresponding i-th static data to exist, if any, then described i-th static data also can to there being a routing information, and this routing information is exactly described i-th static data routing information in virtual set-top box server 102.
It is to say, when virtual set-top box server 102 searches static data in static database 1023, it is possible to searched by three kinds of modes: mode one, searched by static data itself;Mode two, is searched by static data routing information in virtual set-top box server 102;Mode three, is searched by static data routing information in the webserver 103.
In the embodiment of the present invention, for described i-th routing information, if virtual set-top box server 102 does not find corresponding described i-th static data in static database 1023, so illustrate that the described webserver 103 does not have described i-th static data synchronization to virtual set-top box server 102, then virtual set-top box server 102 can obtain described i-th static data to the webserver 103 request.
After obtaining described N number of static data, described page data can be carried out rendering of page-images according to described N number of static data by virtual set-top box server 102, view data good for final rendering is carried out video streaming coded treatment, again the described video stream data obtained after Video coding is sent to virtual set-top box client 101, the described video stream data that virtual set-top box client 101 decoding obtains, and display on the equipment such as television set of user, thus just complete the acquisition process of video stream data.
Referring to Fig. 4, based on same inventive concept, the embodiment of the present invention provides a kind of page data transmission method, and the main flow of described method describes as follows:
Step 401: the page request that the webserver 103 sink virtual machine top box server 102 sends, described page request is used for asking to obtain page data;
Step 402: the webserver 103 obtains described page data, adds M routing information in described page data;Wherein each routing information corresponds to data, each routing information shows corresponding data store path in the webserver 103, N number of data that N number of routing information therein is corresponding are static data, and static data is stored in static data synchronization data base 1033 by the webserver 103;M is positive integer, and N is the positive integer less than or equal to M;
Step 403: the described page data that with the addition of described M routing information is sent to virtual set-top box server 102 by the webserver 103.
Optionally, in the embodiment of the present invention, described method can also include:
The webserver 103 is determined has new data to increase;
The webserver 103 judges whether the data increased are static datas;
If so, then the data of described increase are stored in static data synchronization data base 1033 by the webserver 103, and send the data of the data of described increase and described increase routing information in the webserver 103 to virtual set-top box server 102.
Optionally, in the embodiment of the present invention, the webserver 103 judges whether the data increased are static datas, particularly as follows:
According to the data type of data increased, the webserver 103 judges whether the data of described increase are static datas.
Optionally, in the embodiment of the present invention, described method can also include:
The webserver 103 is determined has data to be deleted;
The webserver 103 judges whether the data deleted are static datas;
If, the then webserver 103 routing information according to the data of described deletion, static data synchronization data base 1033 searches and deletes the data of described deletion, and sends the data of described deletion routing information in the webserver 103 to virtual set-top box server 102.
The specific embodiment step of Fig. 4 embodiment all has than description in greater detail in Fig. 3 embodiment, seldom repeats herein.
Continuing with referring to Fig. 1 and Fig. 2, the embodiment of the present invention provides described video stream data to obtain system, described system can include virtual set-top box client 101, virtual set-top box server 102 and the webserver 103, wherein, virtual set-top box client 101 is connected with virtual set-top box server 102, and virtual set-top box server 102 connects in the webserver 103 again.
Virtual set-top box client 101, for sending video flowing request to described virtual set-top box server 102, the request of described video flowing is used for asking to obtain video stream data;
Described virtual set-top box server 102, for, after receiving the request of described video flowing, sending the page request for asking to obtain page data to the described webserver 103;Described page data is corresponding with described video stream data;
The described webserver 103, is used for obtaining described page data, adds M routing information, and the described page data that with the addition of described M routing information is sent to described virtual set-top box server 102 in described page data;Wherein each routing information corresponds to data, each routing information shows corresponding data store path in the described webserver 103, N number of data that N number of routing information therein is corresponding are static data, and static data is stored in static data synchronization data base 1033 by the described webserver 103;M is positive integer, and N is the positive integer less than or equal to M;
Described virtual set-top box server 102, is additionally operable to described page data is processed, it is thus achieved that described video stream data, and described video stream data is sent to described virtual set-top box client 101.
Optionally, in the embodiment of the present invention,
The webserver 103 is additionally operable to:
Obtaining described page data, adding before M routing information in described page data, it is determined that have new data to increase;
Judge whether the data increased are static datas;
If so, then the data of described increase are stored in static data synchronization data base 1033, and send the data of the data of described increase and described increase routing information in the webserver 103 to virtual set-top box server 102;
Virtual set-top box server 102 is additionally operable to:
The data of the described increase that the reception webserver 103 sends and the data of described increase routing information in the webserver 103;
The data of described increase are saved in the static database of virtual set-top box server 102.
Optionally, in the embodiment of the present invention, the webserver 103 is additionally operable to judge whether the data increased are static datas, particularly as follows: judge whether the data of described increase are static datas according to the data type of the data increased.
Optionally, in the embodiment of the present invention,
The webserver 103 is additionally operable to:
Obtain described page data, adding before M routing information in described page data, it is determined that have data to be deleted;
Judge whether the data deleted are static datas;
If so, then routing information according to the data of described deletion, searches and deletes the data of described deletion in static data synchronization data base 1033, and send the data of described deletion routing information in the webserver 103 to virtual set-top box server 102;
Virtual set-top box server 102 is additionally operable to:
The data of the described deletion that the reception webserver 103 sends routing information in the webserver 103;
The data according to described deletion routing information in the webserver 103, searches the data of described deletion in the static database 1023 of virtual set-top box server 102;
If static database 1023 has the data of described deletion, then in static database 1023, delete the data of described deletion.
Optionally, in the embodiment of the present invention, virtual set-top box server 102 is additionally operable to described page data is processed, it is thus achieved that described video stream data, particularly as follows:
According to described M routing information, determine that M data corresponding to described M routing information are dynamic data or static data respectively;
Determine that the N number of data corresponding to described N number of routing information therein are static data;
According to described N number of routing information, obtain the N number of static data corresponding with described N number of routing information;
According to described N number of static data, described page data is processed, it is thus achieved that described video stream data.
Optionally, in the embodiment of the present invention, virtual set-top box server 102 is additionally operable to, according to described N number of routing information, obtain the N number of static data corresponding with described N number of routing information, particularly as follows:
Virtual set-top box server 102 inquires about the i-th static data corresponding with i-th routing information in the static database 1023 of virtual set-top box server;
If finding described i-th static data in static database 1023, then virtual set-top box server 102 obtains described i-th static data;
If not finding described i-th static data in static database 1023, then virtual set-top box server 102 is to i-th static data described in the webserver 103 acquisition request;I is respectively from the integer of 1 to N.
Referring to Fig. 5, based on same inventive concept, the embodiment of the present invention provides a kind of webserver 103, and the webserver 103 can include receiver module 501, acquisition module 502 and sending module 503.
Receiver module 501, for the page request that sink virtual machine top box server 102 sends, described page request is used for asking to obtain page data;
Acquisition module 502, is used for obtaining described page data, adds M routing information in described page data;Wherein each routing information corresponds to data, each routing information shows corresponding data store path in the webserver 103, N number of data that N number of routing information therein is corresponding are static data, and static data is stored in static data synchronization data base 1033 by the webserver;M is positive integer, and N is the positive integer less than or equal to M;
Sending module 503, for being sent to virtual set-top box server 102 by the described page data that with the addition of described M routing information.
Optionally, in the embodiment of the present invention, the webserver 103 also includes:
Determine module, for determining have new data to increase;
Whether judge module, be static data for judging the data increased;
If so, operation module, for then storing the data of described increase in static data synchronization data base 1033;
Sending module 503 is additionally operable to: send the data of the data of described increase and described increase routing information in the webserver 103 to described virtual set-top box server 102.
Optionally, in the embodiment of the present invention, described judge module specifically for:
Data type according to the data increased judges whether the data of described increase are static datas.
Optionally, in the embodiment of the present invention, the webserver 103 also includes:
Described determining module, being used for determining has data to be deleted;
Whether described judge module, be static data for judging the data deleted;
Described operation module, for if so, then routing information according to the data of described deletion, searches and deletes the data of described deletion in static data synchronization data base 1033;
Sending module 503 is additionally operable to: send the data of described deletion routing information in the webserver 103 to virtual set-top box server 102.
Referring to Fig. 6, based on same inventive concept, the embodiment of the present invention provides a kind of webserver 103, and the webserver 103 can include being connected to the memorizer 601 of same bus 600, processor 602, receptor 603 and transmitter 604.
Memorizer 601, performs the instruction of required by task for storing processor 602;
Receptor 603, for the page request that sink virtual machine top box server 102 sends, described page request is used for asking to obtain page data;
Processor 602, for performing the instruction of memorizer 601 storage, obtains described page data, adds M routing information in described page data;Wherein each routing information corresponds to data, each routing information shows corresponding data store path in the webserver 103, N number of data that N number of routing information therein is corresponding are static data, and static data is stored in static data synchronization data base 1033 by the webserver 103;M is positive integer, and N is the positive integer less than or equal to M;
Transmitter 604, for being sent to virtual set-top box server 102 by the described page data that with the addition of described M routing information.
Optionally, in the embodiment of the present invention, processor 602 is additionally operable to: perform described instruction, it is determined that have new data to increase;Judge whether the data increased are static datas;If, then by transmitter 604, the data of described increase are stored in described static data synchronization data base 1033, and send the data of the data of described increase and described increase routing information in the webserver 103 by transmitter 604 to virtual set-top box server 102.
Optionally, in the embodiment of the present invention, whether the data that processor 602 is additionally operable to judge to increase are static datas, particularly as follows:
Data type according to the data increased judges whether the data of described increase are static datas.
Optionally, in the embodiment of the present invention, processor 602 is additionally operable to: perform described instruction, it is determined that have data to be deleted;Judge whether the data deleted are static datas;If, the then routing information according to the data of described deletion, static data synchronization data base 1033 searches and deletes the data of described deletion, and sends the data of described deletion routing information in the webserver 103 by transmitter 604 to virtual set-top box server 102.
In the embodiment of the present invention, the webserver 103 is when sending page data to virtual set-top box server 102, can routing information corresponding for static data therein be added in described page data, and the webserver 103 is when storing data, static data can be stored in the position different from dynamic data, such as static data can be stored in a special data base (i.e. described static data synchronization data base 1033), so according to the routing information of data, virtual set-top box server 102 is just able to know that these data are dynamic data or static data, distinguish speed, also improve the speed of response.And, virtual set-top box server 102 can obtain static data according to corresponding routing information, such as, virtual set-top box server 102 has static database 1023, wherein storage has static data, then virtual set-top box server 102 just directly can obtain static data in this locality such that it is able to renders described page data to wait according to the static data obtained quickly and operates, and improves processing speed.
And, when the webserver 103 processes high concurrent request, because virtual set-top box server 102 can directly obtain static data from this locality, without obtaining to the webserver 103 request, alleviate the burden of the webserver 103, also improve the processing speed of the webserver 103, reduce delay as far as possible, improve Consumer's Experience.
Embodiments provide the method improving the response speed for user's request under there is virtual set-top box server 102 scene, prior art there is no the good solution for improving response speed for this scene.
Those skilled in the art is it can be understood that arrive, for convenience and simplicity of description, only it is illustrated with the division of above-mentioned each functional unit, in practical application, as desired above-mentioned functions distribution can be completed by different functional units, it is divided into different functional units, to complete all or part of function described above by the internal structure of device.The specific works process of the system of foregoing description, device and unit, it is possible to reference to the corresponding process in preceding method embodiment, do not repeat them here.
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method, it is possible to realize by another way.Such as, device embodiment described above is merely schematic, such as, the division of described unit or unit, being only a kind of logic function to divide, actual can have other dividing mode when realizing, for instance multiple unit or assembly can in conjunction with or be desirably integrated into another system, or some features can ignore, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be through INDIRECT COUPLING or the communication connection of some interfaces, device or unit, it is possible to be electrical, machinery or other form.
The described unit illustrated as separating component can be or may not be physically separate, and the parts shown as unit can be or may not be physical location, namely may be located at a place, or can also be distributed on multiple NE.Some or all of unit therein can be selected according to the actual needs to realize the purpose of the present embodiment scheme.
It addition, each functional unit in each embodiment of the application can be integrated in a processing unit, it is also possible to be that unit is individually physically present, it is also possible to two or more unit are integrated in a unit.Above-mentioned integrated unit both can adopt the form of hardware to realize, it would however also be possible to employ the form of SFU software functional unit realizes.
If described integrated unit is using the form realization of SFU software functional unit and as independent production marketing or use, it is possible to be stored in a computer read/write memory medium.Based on such understanding, part or all or part of of this technical scheme that prior art is contributed by the technical scheme of the application substantially in other words can embody with the form of software product, this computer software product is stored in a storage medium, including some instructions with so that a computer equipment (can be personal computer, server, or the network equipment etc.) or processor (processor) perform all or part of step of method described in each embodiment of the application.And aforesaid storage medium includes: USB flash disk, portable hard drive, read only memory (ROM, Read-OnlyMemory), the various media that can store program code such as random access memory (RAM, RandomAccessMemory), magnetic disc or CD.
The above, above example is only in order to be described in detail the technical scheme of the application, but the explanation of above example is only intended to help to understand method and the core concept thereof of the present invention, should not be construed as limitation of the present invention.Those skilled in the art in the technical scope that the invention discloses, the change that can readily occur in or replacement, all should be encompassed within protection scope of the present invention.

Claims (20)

1. a video stream data acquisition methods, it is characterised in that including:
Virtual set-top box client sends video flowing request to virtual set-top box server, and the request of described video flowing is used for asking to obtain video stream data;
Described virtual set-top box server, after receiving the request of described video flowing, sends the page request for asking to obtain page data to the webserver;Described page data is corresponding with described video stream data;
The described webserver obtains described page data, adds M routing information, and the described page data that with the addition of described M routing information is sent to described virtual set-top box server in described page data;Wherein each routing information corresponds to data, each routing information shows corresponding data store path in the described webserver, N number of data that N number of routing information therein is corresponding are static data, and static data is stored in static data synchronization data base by the described webserver;M is positive integer, and N is the positive integer less than or equal to M;
Described page data is processed by described virtual set-top box server, it is thus achieved that described video stream data, and described video stream data is sent to described virtual set-top box client.
2. the method for claim 1, it is characterised in that obtain described page data at the described webserver, adds before M routing information in described page data, also includes:
The described webserver is determined has new data to increase;
The described webserver judges whether the data increased are static datas;
If so, then the data of described increase are stored in described static data synchronization data base by the described webserver, and send the data of the data of described increase and described increase routing information in the described webserver to described virtual set-top box server;
The data of the described increase that the described virtual set-top box server described webserver of reception sends and the data of described increase routing information in the described webserver;
The data of described increase are saved in the static database of described virtual set-top box server by described virtual set-top box server.
3. method as claimed in claim 2, it is characterised in that the described webserver judges whether the data increased are static datas, including:
According to the data type of data increased, the described webserver judges whether the data of described increase are static datas.
4. the method as described in as arbitrary in claim 1-3, it is characterised in that obtain described page data at the described webserver, adds before M routing information in described page data, also includes:
The described webserver is determined has data to be deleted;
The described webserver judges whether the data deleted are static datas;
If, the then described webserver routing information according to the data of described deletion, described static data synchronization data base searches and deletes the data of described deletion, and sends the data of described deletion routing information in the described webserver to described virtual set-top box server;
Described virtual set-top box server receives the data of the described deletion that the described webserver sends routing information in the described webserver;
Described virtual set-top box server, according to routing information in the described webserver of the data of described deletion, searches the data of described deletion in the static database of described virtual set-top box server;
If there being the data of described deletion in described static database, then described virtual set-top box server deletes the data of described deletion in described static database.
5. the method as described in as arbitrary in claim 1-4, it is characterised in that described page data is processed by described virtual set-top box server, it is thus achieved that described video stream data, including:
Described virtual set-top box server, according to described M routing information, determines that M data corresponding to described M routing information are dynamic data or static data respectively;
Described virtual set-top box server determines that the N number of data corresponding to described N number of routing information therein are static data;
Described virtual set-top box server, according to described N number of routing information, obtains the N number of static data corresponding with described N number of routing information;
Described page data is processed by described virtual set-top box server according to described N number of static data, it is thus achieved that described video stream data.
6. method as claimed in claim 5, it is characterised in that described virtual set-top box server, according to described N number of routing information, obtains the N number of static data corresponding with described N number of routing information, including:
Described virtual set-top box server inquires about the i-th static data corresponding with i-th routing information in the static database of described virtual set-top box server;
If finding described i-th static data in described static database, then described virtual set-top box server obtains described i-th static data;
If not finding described i-th static data in described static database, then described virtual set-top box server obtains described i-th static data to described web server requests;I is respectively from the integer of 1 to N.
7. a page data transmission method, it is characterised in that including:
The page request that webserver sink virtual machine top box server sends, described page request is used for asking to obtain page data;
The described webserver obtains described page data, adds M routing information in described page data;Wherein each routing information corresponds to data, each routing information shows corresponding data store path in the described webserver, N number of data that N number of routing information therein is corresponding are static data, and static data is stored in static data synchronization data base by the described webserver;M is positive integer, and N is the positive integer less than or equal to M;
The described page data that with the addition of described M routing information is sent to described virtual set-top box server by the described webserver.
8. method as claimed in claim 7, it is characterised in that described method also includes:
The described webserver is determined has new data to increase;
The described webserver judges whether the data increased are static datas;
If so, then the data of described increase are stored in described static data synchronization data base by the described webserver, and send the data of the data of described increase and described increase routing information in the described webserver to described virtual set-top box server.
9. method as claimed in claim 8, it is characterised in that the described webserver judges whether the data increased are static datas, including:
According to the data type of data increased, the described webserver judges whether the data of described increase are static datas.
10. the method as described in as arbitrary in claim 7-9, it is characterised in that described method also includes:
The described webserver is determined has data to be deleted;
The described webserver judges whether the data deleted are static datas;
If, the then described webserver routing information according to the data of described deletion, described static data synchronization data base searches and deletes the data of described deletion, and sends the data of described deletion routing information in the described webserver to described virtual set-top box server.
11. a video stream data obtains system, it is characterized in that, including virtual set-top box client, virtual set-top box server and the webserver, wherein, described virtual set-top box client is connected with affiliated virtual set-top box server, and described virtual set-top box server is connected with the described webserver;
Described virtual set-top box client, for sending video flowing request to described virtual set-top box server, the request of described video flowing is used for asking to obtain video stream data;
Described virtual set-top box server, for, after receiving the request of described video flowing, sending the page request for asking to obtain page data to the described webserver;Described page data is corresponding with described video stream data;
The described webserver, is used for obtaining described page data, adds M routing information, and the described page data that with the addition of described M routing information is sent to described virtual set-top box server in described page data;Wherein each routing information corresponds to data, each routing information shows corresponding data store path in the described webserver, N number of data that N number of routing information therein is corresponding are static data, and static data is stored in static data synchronization data base by the described webserver;M is positive integer, and N is the positive integer less than or equal to M;
Described virtual set-top box server, is additionally operable to described page data is processed, it is thus achieved that described video stream data, and described video stream data is sent to described virtual set-top box client.
12. system as claimed in claim 11, it is characterised in that
The described webserver is additionally operable to:
Obtaining described page data, adding before M routing information in described page data, it is determined that have new data to increase;
Judge whether the data increased are static datas;
If so, then the data of described increase are stored in described static data synchronization data base, and send the data of the data of described increase and described increase routing information in the described webserver to described virtual set-top box server;
Described virtual set-top box server is additionally operable to:
Receive the data of the data of described increase that the described webserver sends and the described increase routing information in the described webserver;
The data of described increase are saved in the static database of described virtual set-top box server.
13. system as claimed in claim 12, it is characterised in that whether the data that the described webserver is additionally operable to judge to increase are static datas, particularly as follows: judge whether the data of described increase are static datas according to the data type of the data of increase.
14. the system as described in as arbitrary in claim 11-13, it is characterised in that
The described webserver is additionally operable to:
Obtain described page data, adding before M routing information in described page data, it is determined that have data to be deleted;
Judge whether the data deleted are static datas;
If so, then routing information according to the data of described deletion, searches and deletes the data of described deletion in described static data synchronization data base, and send the data of described deletion routing information in the described webserver to described virtual set-top box server;
Described virtual set-top box server is additionally operable to:
Receive the data of described deletion that the described webserver the sends routing information in the described webserver;
The data according to described deletion routing information in the described webserver, searches the data of described deletion in the static database of described virtual set-top box server;
If described static database has the data of described deletion, then in described static database, delete the data of described deletion.
15. the system as described in as arbitrary in claim 11-14, it is characterised in that described virtual set-top box server is additionally operable to described page data is processed, it is thus achieved that described video stream data, particularly as follows:
According to described M routing information, determine that M data corresponding to described M routing information are dynamic data or static data respectively;
Determine that the N number of data corresponding to described N number of routing information therein are static data;
According to described N number of routing information, obtain the N number of static data corresponding with described N number of routing information;
According to described N number of static data, described page data is processed, it is thus achieved that described video stream data.
16. system as claimed in claim 15, it is characterised in that described virtual set-top box server is additionally operable to, according to described N number of routing information, obtain the N number of static data corresponding with described N number of routing information, particularly as follows:
Described virtual set-top box server inquires about the i-th static data corresponding with i-th routing information in the static database of described virtual set-top box server;
If finding described i-th static data in described static database, then described virtual set-top box server obtains described i-th static data;
If not finding described i-th static data in described static database, then described virtual set-top box server obtains described i-th static data to described web server requests;I is respectively from the integer of 1 to N.
17. a webserver, it is characterised in that including:
Receiver module, for the page request that sink virtual machine top box server sends, described page request is used for asking to obtain page data;
Acquisition module, is used for obtaining described page data, adds M routing information in described page data;Wherein each routing information corresponds to data, each routing information shows corresponding data store path in the described webserver, N number of data that N number of routing information therein is corresponding are static data, and static data is stored in static data synchronization data base by the described webserver;M is positive integer, and N is the positive integer less than or equal to M;
Sending module, for being sent to described virtual set-top box server by the described page data that with the addition of described M routing information.
18. the webserver as claimed in claim 17, it is characterised in that the described webserver also includes:
Determine module, for determining have new data to increase;
Whether judge module, be static data for judging the data increased;
If so, operation module, for then storing the data of described increase in described static data synchronization data base;
Described sending module is additionally operable to: the routing information in the described webserver to the data of the described virtual set-top box server described increase of transmission and the data of described increase.
19. the webserver as claimed in claim 18, it is characterised in that described judge module specifically for:
Data type according to the data increased judges whether the data of described increase are static datas.
20. the webserver as described in as arbitrary in claim 17-19, it is characterised in that the described webserver also includes:
Determining module, being used for determining has data to be deleted;
Whether judge module, be static data for judging the data deleted;
Operation module, for if so, then routing information according to the data of described deletion, searches and deletes the data of described deletion in described static data synchronization data base;
Described sending module is additionally operable to: send the data of described deletion routing information in the described webserver to described virtual set-top box server.
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 true CN105812839A (en) 2016-07-27
CN105812839B 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)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106372228A (en) * 2016-09-08 2017-02-01 福建中金在线信息科技有限公司 Static page generation method and system for mobile terminal
CN107783722A (en) * 2016-08-25 2018-03-09 星辰天合(北京)数据科技有限公司 Data transmission method and data forwarding device
CN109714628A (en) * 2018-12-29 2019-05-03 广州华多网络科技有限公司 Method, apparatus, equipment, storage medium and the system of playing audio-video
CN112004118A (en) * 2020-08-30 2020-11-27 龚小云 Method and system for quickly responding to user data request

Citations (7)

* 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
US20120030706A1 (en) * 2010-07-30 2012-02-02 Ibahn General Holdings Corporation Virtual Set Top Box
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

Patent Citations (7)

* 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
US20120030706A1 (en) * 2010-07-30 2012-02-02 Ibahn General Holdings Corporation Virtual Set Top Box
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

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107783722A (en) * 2016-08-25 2018-03-09 星辰天合(北京)数据科技有限公司 Data transmission method and data forwarding device
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
CN109714628A (en) * 2018-12-29 2019-05-03 广州华多网络科技有限公司 Method, apparatus, equipment, storage medium and the system of playing audio-video
CN109714628B (en) * 2018-12-29 2021-08-03 广州方硅信息技术有限公司 Method, device, equipment, storage medium and system for playing audio and video
CN112004118A (en) * 2020-08-30 2020-11-27 龚小云 Method and system for quickly responding to user data request
CN112004118B (en) * 2020-08-30 2022-06-21 青岛民航凯亚系统集成有限公司 Method and system for quickly responding to user data request

Also Published As

Publication number Publication date
CN105812839B (en) 2018-12-14

Similar Documents

Publication Publication Date Title
KR101952666B1 (en) System and method for presenting a video stream
US20140165119A1 (en) Offline download method, multimedia file download method and system thereof
US20140143672A1 (en) System and method for function expandable collaboration screen system
EP2680500A1 (en) Application discovery
CN106301865B (en) Data processing method and device applied to service providing device
US20210173830A1 (en) System and method for identifying availability of media items
CN104539977A (en) Live broadcast previewing method and device
US9319455B2 (en) Method and system for seamless navigation of content across different devices
CN102421028A (en) Control method for intelligent television (TV), intelligent TV, remote control device and intelligent TV control system
CN105100839A (en) Video file downloading method, device, server and terminal equipment
CN104349177A (en) Method for turning to play multimedia file under desktop cloud, virtual machine and system
CN105812839A (en) Video stream data acquisition method, page data transmission method, system and network server
CN104394475A (en) Streaming media file playing method and media player
CN106572382A (en) Multi-screen interaction method and system and extensible messaging and presence protocol (XMPP) system
US20120297075A1 (en) Device interconnection and service discovery via a communication cloud
CN103702138A (en) Method and system for self-adaptive appointed transcoding
CN105245959B (en) Interface channel maintenance system and method in a kind of more equipment linkages service
CN103685303A (en) Method and system for processing connection content delivery network
US9602877B2 (en) Method and apparatus for processing digital service signal
CN101800884A (en) Information issuing method, television terminal and information issuing system
KR102611253B1 (en) Receiving devices, transmitting devices and data processing methods
US10592950B2 (en) Systems and methods for on-line purchase of items displayed within video content
US20190124071A1 (en) Access to network data from a plurality of sources using a single identification value
CN103685548A (en) Method and system for processing data of content delivery network
EP3079338B1 (en) Method for web service supporting synchronous hosting of multiple devices

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 Technology Co.,Ltd.

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

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.