CN105847870A - Server, static video playing page generation method, device and system - Google Patents
Server, static video playing page generation method, device and system Download PDFInfo
- Publication number
- CN105847870A CN105847870A CN201610249140.1A CN201610249140A CN105847870A CN 105847870 A CN105847870 A CN 105847870A CN 201610249140 A CN201610249140 A CN 201610249140A CN 105847870 A CN105847870 A CN 105847870A
- Authority
- CN
- China
- Prior art keywords
- video
- static
- message
- matchmaker
- server
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 230000003068 static effect Effects 0.000 title claims abstract description 104
- 238000000034 method Methods 0.000 title claims abstract description 64
- 230000008569 process Effects 0.000 claims abstract description 41
- 238000012545 processing Methods 0.000 claims abstract description 33
- 238000005516 engineering process Methods 0.000 claims abstract description 10
- 238000005538 encapsulation Methods 0.000 claims abstract description 9
- 238000004806 packaging method and process Methods 0.000 claims description 7
- 238000009826 distribution Methods 0.000 claims description 2
- 238000004891 communication Methods 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 8
- 238000004590 computer program Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 7
- 230000004044 response Effects 0.000 description 6
- 235000012813 breadcrumbs Nutrition 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 241001269238 Data Species 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000007789 sealing Methods 0.000 description 1
- 238000003860 storage Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/235—Processing of additional data, e.g. scrambling of additional data or processing content descriptors
- H04N21/2355—Processing of additional data, e.g. scrambling of additional data or processing content descriptors involving reformatting operations of additional data, e.g. HTML pages
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/957—Browsing optimisation, e.g. caching or content distillation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/958—Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/234—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
- H04N21/23418—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/238—Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams
- H04N21/2387—Stream processing in response to a playback request from an end-user, e.g. for trick-play
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/239—Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
- H04N21/2393—Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention relates to the field of communications technologies, and provides a server, a static video playing page generation method, a static video playing page generation device and a static video playing page generation system. The static video playing page generation method comprises the steps of: receiving a media asset message, wherein the media asset message comprises attribute information of a video; analyzing the media asset message, and acquiring the attribute information in the media asset message; and carrying out encapsulation processing on the video according to the attribute information, and generating a static video playing page corresponding to the video. The server, the static video playing page generation method, the static video playing page generation device and the static video playing page generation system solve the problem that the server cannot respond to a request for a dynamic video playing page of a user when the page view of the server is too large in the process of generating the dynamic video playing page, avoid crashing of the server due to massive access to the dynamic video playing page, reduce pressure of the server, and accelerate access speed of the video playing page.
Description
Technical field
The present invention relates to communication technical field, be specifically related to a kind of static video playback page generation method,
Device, system and server.
Background technology
The current video playback page is all dynamic page, and needing during playing please according to user
Ask and generate dynamic video and play the page, such as the excellent video playback website such as extremely.
The dynamic play page needs the request with user to interact in use, and server needs feedback
The request of user, when visit capacity is the biggest when, system is it is possible that problem.Such as existing java
Server, the request of real-time response user, the visit capacity of its carrying is limited, when visit capacity is huge,
System load is the highest, and server often can't bear the heavy load, and even influences whether the performance of data base, can make
The problem becoming component requests cannot respond to, affects Consumer's Experience.
For in correlation technique, during generating the dynamic video broadcasting page, server carrying is visited
When the amount of asking is excessive, server is caused to cannot respond to the problem that dynamic video is play the request of the page by user,
Effective solution is not also proposed.
Summary of the invention
Therefore, the embodiment of the present invention to solve the technical problem that and to be to overcome of the prior art generation
Dynamic video is play during the page, when server carrying visit capacity is excessive, causes the server cannot
Dynamic video is play the defect of the request of the page by response user, thus provides a kind of static video playback
Page generation method, device, system and server.
An aspect according to embodiments of the present invention, it is provided that a kind of static video playback page generation side
Method, including: receiving matchmaker and provide message, wherein, described matchmaker provides message and includes the attribute information of video;Solve
Analyse described matchmaker and provide message, obtain the attribute information that described matchmaker provides in message;According to described attribute information pair
Described video is packaged processing, and generates the static video playback page corresponding with described video.
Alternatively, it is packaged processing to described video according to described attribute information, generates and regard with described
The static video playback page that frequency is corresponding includes: by video pair of described attribute information encapsulation to java
In as;The content that will encapsulate to the video object of java according to the servlet technology of java,
Use jsp template generation mode, generate the described static video playback page.Alternatively, matchmaker's money is received
Message includes: enables at least two process and receives the described matchmaker from media resource system by message-oriented middleware
Money message.Alternatively, resolve described matchmaker provide the step of message and regard described according to described attribute information
Frequency is packaged processing, and the step generating the static video playback page corresponding with described video all uses
At least two thread processes.
Alternatively, include after generating the static video playback page corresponding with described video: by described
The static video playback page is packaged as HTML html file;Described html file is deposited
Store up to the server and content distributing network CDN static server of active thread, wherein, described line
Journey is to generate the thread of the described static video playback page.
Alternatively, the nginx agency of described CDN static server is for asking to provide institute according to user
State the static video playback page that video is corresponding.
Alternatively, described attribute information includes at least one of: the id information of described video, about
The information of the content update of described video and the newly-increased information of described video, the title of described video, institute
State the playing duration of video, the brief introduction of described video, the playing platform of described video and described regard
The download platform of frequency.
Another aspect according to embodiments of the present invention, additionally provides a kind of static video playback page raw
Become device, including: receiver module, it is used for receiving matchmaker and provides message, wherein, described matchmaker provides message and includes
The attribute information of video;Parsing module, is used for resolving described matchmaker and provides message, obtain described matchmaker and provide message
In attribute information;Processing module, for being packaged locating to described video according to described attribute information
Reason, generates the static video playback page corresponding with described video.
Alternatively, described processing module also includes: encapsulation unit, for being encapsulated by described attribute information
To the video object of java;Processing unit, will envelope for the servlet technology according to java
It is filled to the content in the video object of java, uses jsp template generation mode, generate hypertext mark
The static video playback page of note language html format.
Alternatively, described receiver module is additionally operable to enable at least two process and is received by message-oriented middleware
Described matchmaker from media resource system provides message.
Alternatively, described parsing module resolve described matchmaker provide the step of message and described processing module according to
Described video is packaged processing by described attribute information, generates the static video corresponding with described video
The step playing the page all uses at least two thread to process.
Alternatively, described device also includes: packaging module, for by the described static video playback page
It is packaged as HTML html file;Memory module, for storing described html file
To the server and content distributing network CDN static server of active thread, wherein, described thread
For generating the thread of the described static video playback page.
Alternatively, the nginx agency of described CDN static server is for asking to provide institute according to user
State the static video playback page that video is corresponding.
Alternatively, described attribute information includes at least one of: the id information of described video, about
The information of the content update of described video and the newly-increased information of described video, the title of described video, institute
State the playing duration of video, the brief introduction of described video, the playing platform of described video and described regard
The download platform of frequency.
Another aspect according to embodiments of the present invention, additionally provides a kind of server, including as above institute
The static video playback webpage generating device stated.
Another aspect according to embodiments of the present invention, additionally provides a kind of static video playback page raw
One-tenth system, including media resource system and server, for there are the feelings updated in described media resource system at video
Under condition, sending matchmaker by message-oriented middleware to described server and provide message, wherein, described matchmaker provides message
Attribute information including described video;Described server is used for receiving described matchmaker and provides message, resolves described
Matchmaker provides message, obtains the attribute information that described matchmaker provides in message, regards described according to described attribute information
Frequency is packaged processing, and generates the static video playback page corresponding with described video.
By the embodiment of the present invention, using reception matchmaker to provide message, wherein, matchmaker provides message and includes video
Attribute information;Resolve matchmaker and provide message, obtain matchmaker and provide the attribute information in message;According to this attribute information
It is packaged video processing, generates the static video playback page corresponding with this video, thus by quiet
The state video playback page is supplied to user, without the participation of web server, solves existing skill
In art, during generating the dynamic video broadcasting page, when server carrying visit capacity is excessive, lead
Cause server to cannot respond to user dynamic video is play the problem of request of the page, it is to avoid a large amount of visits
Ask that server is caused collapse when playing the page by dynamic video, alleviate the pressure of server, improve
Video playback page access speed.
Accompanying drawing explanation
In order to be illustrated more clearly that the specific embodiment of the invention or technical scheme of the prior art, under
The accompanying drawing used required in detailed description of the invention or description of the prior art will be briefly described by face,
It should be evident that the accompanying drawing in describing below is some embodiments of the present invention, general for this area
From the point of view of logical technical staff, on the premise of not paying creative work, it is also possible to obtain according to these accompanying drawings
Obtain other accompanying drawing.
Fig. 1 is the flow chart of static video playback page generation method according to embodiments of the present invention;
Fig. 2 is the system design drawing generating the static video playback page according to embodiments of the present invention;
Fig. 3 is the flow chart generating the static video playback page according to embodiments of the present invention;
Fig. 4 is a structure of static video playback webpage generating device according to embodiments of the present invention
Block diagram;
Fig. 5 is processing module structured flowchart according to embodiments of the present invention;
Fig. 6 is another knot of static video playback webpage generating device according to embodiments of the present invention
Structure block diagram.
Detailed description of the invention
Below in conjunction with accompanying drawing, technical scheme is clearly and completely described, it is clear that
Described embodiment is a part of embodiment of the present invention rather than whole embodiments.Based on this
Embodiment in bright, those of ordinary skill in the art are obtained under not making creative work premise
Every other embodiment, broadly fall into the scope of protection of the invention.
As long as additionally, technical characteristic involved in invention described below difference embodiment that
The conflict of not constituting between this just can be combined with each other.
Embodiment 1
Providing a kind of static video playback page generation method in the present embodiment, Fig. 1 is according to this
The flow chart of the static video playback page generation method of inventive embodiments, as it is shown in figure 1, this flow process
Comprise the steps:
Step S102, receives matchmaker and provides message, and wherein, this matchmaker provides message and includes the attribute information of video;
Step S104, resolves matchmaker and provides message, obtains matchmaker and provides the attribute information in message;
Step S106, is packaged processing to video according to attribute information, generates corresponding with this video
The static video playback page.
By above-mentioned steps, resolve the matchmaker received and provide message, obtain the attribute information of video, according to
Attribute information generates the static video playback page corresponding with this video, thus by static state video playback page
Face is supplied to user, without the participation of web server.Solve in prior art, generating
Dynamic video is play during the page, when server carrying visit capacity is excessive, causes the server cannot
Dynamic video play the problem of request of the page by response user, it is to avoid a large amount of access dynamic videos are broadcast
When putting the page, server is caused collapse, alleviate the pressure of server, improve the video playback page
Access speed.
Above-mentioned steps S106 relates to be packaged processing to video according to attribute information, generates and regards with this
The static video playback page that frequency is corresponding, in one alternate embodiment, encapsulates this attribute information extremely
In the video object of java, the video to java will be encapsulated according to the servlet technology of java
Content in object, uses jsp template generation mode, generates the static video playback page.Use this
The generating mode of sample is advantageous in that, the part on some page may frequent updating and generation, but its
Its place is constant, or certain part is all pages general (such as top margin and footer), performance ratio
Higher.
Above-mentioned steps S102 relates to receive matchmaker provide message, in one alternate embodiment, enable to
This matchmaker that few two processes are received from media resource system by message-oriented middleware provides message.
In one alternate embodiment, resolve matchmaker and provide the step of message and according to attribute information to this video
Being packaged processing, the step generating the static video playback page corresponding with this video all uses at least
Two threads process.
In a concrete alternative embodiment, message server obtains pending multiple video messagings
Multiple video messagings are assigned to multiple by the way of load balancing by (be equivalent to above-mentioned matchmaker and provide message)
On server, each server can start a consumer process to consume message.Thus realize
Startup multiple process compiles, generates the function of static video playback page.Distribution is regarded by server
Frequency carries out multiple threads, and each thread video information to video respectively is packed, edited (bag
Include the packaging to album information, the packaging to operation information), generate the static video playback page, reach
The effect of concurrent working, improves the formation efficiency of static video playback page.
Fig. 2 is the system design drawing generating the static video playback page according to embodiments of the present invention, as
Shown in Fig. 2, comprise the steps:
Step S202, to message-oriented middleware, (Message Queue Server is referred to as media resource system
MQSERVER) messaging.Whenever video or the change of special edition generation information of media resource system, matchmaker provides system
System all can provide message to the matchmaker of the essential information that MQSERVER sends a video or special edition.Such as: regard
Frequently ID or special edition ID, newly-increased video or the information of renewal video content.MQSERVER opens one at this
The function of individual router, provides the matchmaker received message and sends to the queue of binding.
Step S204, MQSERVER sends message to video playback page consumer poll.Because can start
Multiple processes are gone to consume the matchmaker in MQSERVER and are provided message, and MQSERVER acquiescence is will according to polling schemas
Message is sent to each process.In spring configuration file, the monitoring information queue of configuration consumer,
The most each process can go the matchmaker connecing in message queue to provide message in order.Video playback page is consumed
Person's process receives message, and (Producer-consumer problem pattern, matchmaker provides each video playback page consumer process
System is Producer, and broadcast page consumption program is consumer) by monitoring the message queue of MQSERVER
Receive matchmaker and provide message.
Step S206, each video playback page consumer process enables multithreading and consumes, and video is broadcast
Put a page consumer process and receive after matchmaker provides message, all can start a thread and go to consume message.Use
The benefit of multithreading is can to process more message with parallel processed messages in making the unit interval.Each
When consumption is consumed by thread, it is exactly that the video information to video is packed, edited (bag in fact
Include the packaging to album information, the packaging to operation information), generate the static video playback page.Such as:
Use spring-jms that message is consumed.Rewrite onmessage method, use in method
Java thread pond.Message is packed by the mode using multithreading.Multiple servers is disposed
Compile process.Mqserver acquiescence poll is transmitted message.So, many on multiple servers
Individual process just can obtain message with poll, consumes.It is achieved thereby that multi-process generates broadcast page
Function.
In one alternate embodiment, after generating the static video playback page corresponding with this video,
This static state video playback page is packaged as HTML html file, html file is deposited
Store up to the server and content distributing network CDN static server of active thread, wherein, this thread
For generating the thread of this static state video playback page.
After generating the static video playback page, the broadcast page html file of generation is put into and disappears by program
On expense person's server and be synchronized in multiple stage (such as 8) CDN static server.An optional reality
Executing in example, the nginx agency of CDN static server is for asking to provide this video corresponding according to user
The static video playback page.Static server is acted on behalf of by nginx, when each user opens broadcast page,
Ngnix can calculate video place catalogue according to the ID of video.And by straight for broadcast page html file content
Connect and return to user.By such mode, it is not necessary to web services participates in, and significantly reduces service
Device pressure, decreases the response time of each request.
In one alternate embodiment, above-mentioned attribute information includes at least one of: the ID of video believes
Breath, about the information of content update of video and the newly-increased information of this video, the title of video, this regards
Playing duration, the brief introduction of video, the playing platform of video and the download platform of this video of frequency.
Below in conjunction with a concrete alternative embodiment, the present invention is described in detail:
Fig. 3 is the flow chart generating the static video playback page according to embodiments of the present invention, such as Fig. 3
Shown in, this flow process comprises the steps:
Step S302, broadcast page consumer process receives the message of message-oriented middleware.
Step S304, it may be judged whether video and album information interface can be transferred according to the message received.
There is no web playing platform if taken less than data or video data, directly terminating, do not generate broadcasting
Page.In the case of judged result is for being, perform step S306.The interface message master of video and special edition
The channel of video to be comprised, title, description, type, picture, issuing time, direct, protagonist etc.
Information.
Step S306, filtered channel, it is judged that whether channel is focus channel or Info channel, is sentencing
In the case of disconnected result is for being, directly terminates, do not generate broadcast page, in the situation that judged result is no
Under, perform step S308.
Step S308, assembles data.
The data that need to assemble specifically include that
Title: take nameCn field in video interface.Individual channels individual processing, such as: music channel
Title, nameCn adds singer's name.
Breadcrumb: according to fields such as category, the style in video interface, generate breadcrumb.
Form is: channel, first-level class, secondary classification.
Video information: the player lower right corner, each channel has different video informations.Such as TV play
Channel, video information includes: the time, direct, act the leading role, type, countries and regions, the machine brief introduction,
Film profile etc..
Baidupedia: transfer Baidu's interface according to video name, obtains encyclopaedia ID.
Ranking list: transfer ranking list interface, obtains data.According to data genaration html structure content.
Guess that you like: retaining structure, data are rendered by front end js.
Specify hot broadcast: retaining structure, data are rendered by front end js.
Player: by the ssi technology of nginx.Include player sdk code.Player
Sdk code is by maintained from front end.
Comment: by the ssi technology of nginx.Include comments on structural code.
Above content is encapsulated in the video object of java, then by the servlet of java
Technology, jstl expression formula, by the content in video object by Page Template, output to html literary composition
In part, thus generate broadcast page file.
Embodiment 2
Additionally providing a kind of static video playback webpage generating device in the present embodiment, this device is used for
Realize above-described embodiment and preferred implementation, carry out repeating no more of explanation.Such as following institute
Using, term " module " can realize the software of predetermined function and/or the combination of hardware.Although with
Device described by lower embodiment preferably realizes with software, but hardware, or software and hardware
The realization of combination also may and be contemplated.
As shown in Figure 4, this device includes: receiver module 42, is used for receiving matchmaker and provides message, wherein,
Matchmaker provides message and includes the attribute information of video;Parsing module 44, is used for resolving matchmaker and provides message, obtain matchmaker
Attribute information in money message;Processing module 46, for sealing this video according to this attribute information
Dress processes, and generates the static video playback page corresponding with this video.
By said apparatus, resolve the matchmaker received and provide message, obtain the attribute information of video, according to
Attribute information generates the static video playback page corresponding with this video, thus by static state video playback page
Face is supplied to user, without the participation of web server.Solve in prior art, generating
Dynamic video is play during the page, when server carrying visit capacity is excessive, causes the server cannot
Dynamic video play the problem of request of the page by response user, it is to avoid a large amount of access dynamic videos are broadcast
When putting the page, server is caused collapse, alleviate the pressure of server, improve the video playback page
Access speed.
As it is shown in figure 5, processing module 46 also includes: encapsulation unit 462, for by this attribute information
Encapsulate to the video object of java;Processing unit 464, for the servlet skill according to java
Art, by the content in encapsulation to the video object of java, uses jsp template generation mode, generates super
The static video playback page of text mark up language html format.
Alternatively, receiver module 42 is additionally operable to enable at least two process and is received by message-oriented middleware
Message is provided from this matchmaker of media resource system.
Alternatively, parsing module 44 resolves this matchmaker and provides the step of message with this processing module according to this attribute
This video is packaged processing by information, generates the step of the static video playback page corresponding with this video
Rapid all employings at least two thread processes.
As shown in Figure 6, this device also includes: packaging module 62, for by the static state video playback page
It is packaged as HTML html file;Memory module 64, for html file stored to
In the server of active thread and content distributing network CDN static server, wherein, this thread is made a living
Become the thread of this static state video playback page.
Alternatively, the nginx agency of CDN static server is for asking to provide this video pair according to user
The static video playback page answered.
Alternatively, above-mentioned attribute information includes at least one of: the id information of this video, about this
The information of the content update of video and the newly-increased information of this video, the title of this video, the broadcasting of this video
Put duration, the brief introduction of this video, the playing platform of this video and the download platform of this video.
Embodiment 3
Present embodiments provide a kind of server, generate dress including the static video playback page described above
Put.
The as above static video playback webpage generating device included by this server, is solved
In prior art, during generating the dynamic video broadcasting page, server carrying visit capacity is excessive
Time, cause server to cannot respond to the problem that dynamic video is play the request of the page by user, it is to avoid
Server is caused collapse by a large amount of access when dynamic video plays the page, alleviates the pressure of server,
Improve the access speed of the video playback page.
Embodiment 4
Present embodiments provide a kind of static video playback page and generate system, including media resource system kimonos
Business device, media resource system is in the case of video updates, by message-oriented middleware to this service
Device sends matchmaker and provides message, and wherein, this matchmaker provides message and includes the attribute information of this video;This server is used
Providing message in receiving matchmaker, parsing is stated matchmaker and is provided message, obtains matchmaker and provides the attribute information in message, according to genus
Property information video is packaged process, generate the static video playback page corresponding with video.
In sum, a kind of static video playback page generation method of being provided by the present invention, device,
System and server, the static video playback page carries out dynamic response without server for request, logical
Cross above-mentioned process and form the static video playback page, make user can access the video playback page faster.
Those skilled in the art it should be appreciated that embodiments of the invention can be provided as method, system,
Or computer program.Therefore, the present invention can use complete hardware embodiment, complete software to implement
Example or the form of the embodiment in terms of combining software and hardware.And, the present invention can use at one
Or multiple wherein include computer usable program code computer-usable storage medium (include but not
It is limited to disk memory, CD-ROM, optical memory etc.) shape of the upper computer program implemented
Formula.
The present invention is with reference to method, equipment (system) and computer program according to embodiments of the present invention
The flow chart of product and/or block diagram describe.It should be understood that stream can be realized by computer program instructions
In each flow process in journey figure and/or block diagram and/or square frame and flow chart and/or block diagram
Flow process and/or the combination of square frame.These computer program instructions can be provided to general purpose computer, specially
With the processor of computer, Embedded Processor or other programmable data processing device to produce one
Machine so that the instruction performed by the processor of computer or other programmable data processing device is produced
Raw for realizing one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple side
The device of the function specified in frame.
These computer program instructions may be alternatively stored in and computer or other programmable datas can be guided to process
In the computer-readable memory that equipment works in a specific way so that be stored in this computer-readable and deposit
Instruction in reservoir produces the manufacture including command device, and this command device realizes flow chart one
The function specified in flow process or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded into computer or other programmable data processing device
On so that on computer or other programmable devices, perform sequence of operations step to produce computer
The process realized, thus the instruction performed on computer or other programmable devices provides and is used for realizing
One flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame are specified
The step of function.
Obviously, above-described embodiment is only for clearly demonstrating example, and not to embodiment party
The restriction of formula.For those of ordinary skill in the field, the most also may be used
To make other changes in different forms.Here without also all of embodiment being given
With exhaustive.And the obvious change thus extended out or variation are still in the guarantor of the invention
Protect among scope.
Claims (12)
1. a static video playback page generation method, it is characterised in that including:
Receiving matchmaker and provide message, wherein, described matchmaker provides message and includes the attribute information of video;
Resolve described matchmaker and provide message, obtain the attribute information that described matchmaker provides in message;
It is packaged processing to described video according to described attribute information, generates corresponding with described video
The static video playback page.
Method the most according to claim 1, it is characterised in that according to described attribute information to institute
State video to be packaged processing, generate the static video playback page corresponding with described video and include:
By in described attribute information encapsulation to the video object of java;
The content that will encapsulate to the video object of java according to the servlet technology of java, adopts
By jsp template generation mode, generate the described static video playback page.
Method the most according to claim 1, it is characterised in that reception matchmaker provides message and includes:
Enable at least two process to be disappeared from the described matchmaker money of media resource system by message-oriented middleware reception
Breath.
Method the most according to claim 1, it is characterised in that resolve described matchmaker and provide the step of message
Suddenly and according to described attribute information it is packaged processing to described video, generates corresponding with described video
The step of the static video playback page all uses at least two thread to process.
Method the most according to claim 1, it is characterised in that generate corresponding with described video
Include after the static video playback page:
The described static video playback page is packaged as HTML html file;
Described html file is stored the server to active thread and content distributing network CDN static state clothes
In business device, wherein, described thread is the thread generating the described static video playback page;Described CDN
The nginx agency of static server for asking the static video providing described video corresponding according to user
Play the page.
6. a static video playback webpage generating device, it is characterised in that including:
Receiver module, is used for receiving matchmaker and provides message, and wherein, described matchmaker provides message and includes the attribute of video
Information;
Parsing module, is used for resolving described matchmaker and provides message, obtain the attribute information that described matchmaker provides in message;
Processing module, for being packaged described video processing according to described attribute information, generate with
The static video playback page that described video is corresponding.
Device the most according to claim 6, it is characterised in that described processing module also includes:
Encapsulation unit, for by described attribute information encapsulation to the video object of java;
Processing unit, for the servlet technology according to java by video pair of encapsulation to java
Content in as, uses jsp template generation mode, generates the quiet of HTML html format
The state video playback page.
Device the most according to claim 6, it is characterised in that described receiver module is additionally operable to open
The described matchmaker received from media resource system by message-oriented middleware by least two process provides message.
Device the most according to claim 6, it is characterised in that described parsing module resolves described
Matchmaker provides the step of message and described processing module, according to described attribute information, described video is packaged place
Reason, the step generating the static video playback page corresponding with described video all uses at least two thread
Process.
Device the most according to claim 6, it is characterised in that described device also includes:
Packaging module, for being packaged as HTML HTML by the described static video playback page
File;
Memory module, for storing the server to active thread and content distribution by described html file
In network C DN static server, wherein, described thread is to generate the described static video playback page
Thread;The nginx agency of described CDN static server is for asking to provide described video according to user
The corresponding static video playback page.
11. 1 kinds of servers, it is characterised in that include static video playback as claimed in claim 6
Webpage generating device.
12. 1 kinds of static video playback pages generate system, it is characterised in that include media resource system kimonos
Business device;
Described media resource system is in the case of video updates, by message-oriented middleware to described
Server sends matchmaker and provides message, and wherein, described matchmaker provides message and includes the attribute information of described video;
Described server is used for receiving described matchmaker and provides message, resolves described matchmaker and provides message, obtains described matchmaker
Attribute information in money message, is packaged processing to described video according to described attribute information, generates
The static video playback page corresponding with described video.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610249140.1A CN105847870A (en) | 2016-04-20 | 2016-04-20 | Server, static video playing page generation method, device and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610249140.1A CN105847870A (en) | 2016-04-20 | 2016-04-20 | Server, static video playing page generation method, device and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105847870A true CN105847870A (en) | 2016-08-10 |
Family
ID=56589872
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610249140.1A Pending CN105847870A (en) | 2016-04-20 | 2016-04-20 | Server, static video playing page generation method, device and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105847870A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114666621A (en) * | 2022-03-22 | 2022-06-24 | 阿里云计算有限公司 | Page processing method, device and equipment |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7194678B1 (en) * | 1999-03-02 | 2007-03-20 | Hitachi, Ltd. | Dynamic web page generation method and system |
CN101710971A (en) * | 2009-11-04 | 2010-05-19 | 北京东方广视科技股份有限公司 | Method and device for generating page |
US20110138012A1 (en) * | 2001-04-04 | 2011-06-09 | At&T Intellectual Property I, L.P. | Method, System, and Software for Transmission of Information |
CN103164193A (en) * | 2011-12-12 | 2013-06-19 | 阿里巴巴集团控股有限公司 | Method and device for template rendering |
CN103955367A (en) * | 2014-04-28 | 2014-07-30 | 华为技术有限公司 | Method and device for generating pages |
CN105007309A (en) * | 2015-06-29 | 2015-10-28 | 上海瀚之友信息技术服务有限公司 | System and method for separately controlling dynamic data and static interface |
-
2016
- 2016-04-20 CN CN201610249140.1A patent/CN105847870A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7194678B1 (en) * | 1999-03-02 | 2007-03-20 | Hitachi, Ltd. | Dynamic web page generation method and system |
US20110138012A1 (en) * | 2001-04-04 | 2011-06-09 | At&T Intellectual Property I, L.P. | Method, System, and Software for Transmission of Information |
CN101710971A (en) * | 2009-11-04 | 2010-05-19 | 北京东方广视科技股份有限公司 | Method and device for generating page |
CN103164193A (en) * | 2011-12-12 | 2013-06-19 | 阿里巴巴集团控股有限公司 | Method and device for template rendering |
CN103955367A (en) * | 2014-04-28 | 2014-07-30 | 华为技术有限公司 | Method and device for generating pages |
CN105007309A (en) * | 2015-06-29 | 2015-10-28 | 上海瀚之友信息技术服务有限公司 | System and method for separately controlling dynamic data and static interface |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114666621A (en) * | 2022-03-22 | 2022-06-24 | 阿里云计算有限公司 | Page processing method, device and equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109032738B (en) | Multimedia playing control method, device, terminal and storage medium | |
US9203907B2 (en) | Method, server and client in implementing service Mashup for web applications integrations through dynamic cooperation of client and server | |
CN105900131A (en) | Systems and methods for priority-based digital content downloading | |
CN107332787A (en) | A kind of message distributing method and device | |
CN105284119B (en) | Supplemental content is provided about embedded media | |
WO2017167121A1 (en) | Method and device for determining and applying association relationship between application programs | |
CN113785288A (en) | System and method for generating and sharing content | |
CN105897850A (en) | Response processing method and system and scheduling proxy server for CDN platform | |
CN109800036A (en) | Information flow page display method, system, calculates equipment and storage medium at device | |
CN105898391A (en) | On-line media service bandwidth distribution method and system | |
TWI751214B (en) | Resource processing method and equipment | |
CN105100126B (en) | Sending card certificate, method, public's account server-side and the mobile terminal for generating card certificate | |
US9736754B2 (en) | Data distribution to portable electronic devices | |
TWI680657B (en) | WeChat H5 propagation monitoring analysis method and related equipment | |
CN103152429B (en) | Method with wall paste-up interdynamic cross-platform based on web and device | |
KR20110139867A (en) | Operation system and method for virtual world | |
JP2003288361A (en) | Content delivery system and content delivery method | |
CN105847870A (en) | Server, static video playing page generation method, device and system | |
CN102932420A (en) | Advertisement publishing system and method based on embedded terminal | |
CN110018812A (en) | A kind of pattern drawing method and device | |
CN109558129A (en) | Progress bar implementation method and device | |
JP6500132B1 (en) | Information processing apparatus, information processing method, and information processing program | |
Wilde | Declarative Web 2.0 | |
CN104144151B (en) | Content distributing network dispatching method and system and native object management server | |
CN103701910B (en) | Support the resource request processing method and Web browser of content center network |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20160810 |