CN106658084A - Video stream providing method and apparatus - Google Patents

Video stream providing method and apparatus Download PDF

Info

Publication number
CN106658084A
CN106658084A CN201510733985.3A CN201510733985A CN106658084A CN 106658084 A CN106658084 A CN 106658084A CN 201510733985 A CN201510733985 A CN 201510733985A CN 106658084 A CN106658084 A CN 106658084A
Authority
CN
China
Prior art keywords
client
user interface
uid
session information
session
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201510733985.3A
Other languages
Chinese (zh)
Inventor
王飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Huawei Digital Technologies Co Ltd
Original Assignee
Hangzhou Huawei Digital 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 Hangzhou Huawei Digital Technologies Co Ltd filed Critical Hangzhou Huawei Digital Technologies Co Ltd
Priority to CN201510733985.3A priority Critical patent/CN106658084A/en
Publication of CN106658084A publication Critical patent/CN106658084A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25866Management of end-user data
    • H04N21/25875Management of end-user data involving end-user authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • H04N21/2343Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
    • H04N21/23439Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements for generating different versions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26291Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists for providing content or additional data updates, e.g. updating software modules, stored at the client
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/858Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot
    • H04N21/8586Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot by using a URL

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Graphics (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention discloses a video stream providing method and apparatus. The method comprises the following steps: receiving request information sent by a client, the request information carrying user identification UID; obtaining session information corresponding to the UID from a session manager; generating a user interface that needs to be sent to the client on the basis of the session information; coding the user interface into a video stream; and sending the video stream to the client. Through the video stream providing method and apparatus, the session manager is utilized to store and manage sessions, so servers need not to frequently create and destroy sessions, and complicated processing mechanisms are not needed to realize session migration among servers. Therefore, processing procedures of audience rating management is greatly simplified.

Description

Video flowing provides method and device
Technical field
The present invention relates to the communications field, more particularly to video flowing offer method and device.
Background technology
Virtual set-top box technology refers to that television operator manages user watched new technique by server centered.Using void Intend set-top box technique, user operation can be sent directly to server by client, and server then can be directly to difference Client returns different video flowings, so that operation and video data that client can be no longer to user are processed, Effectively reduce the user watched hardware requirement to client of management.
When using virtual set-top box technology to user watched being managed, the program that different users watches is different, therefore Server needs to provide different video flowings for different clients.Due to each user and non-continuous TV reception, Therefore server and client need not be continuously video flowing is provided, and be only needed in user's TV reception as client End provides video flowing.Therefore it is save resources, server would generally be used state session (Stateful Session Bean different video flowings) are made a distinction and accordingly provided to client, have state session to refer to that server is being every time visitor There is provided establishment one session for the client when family end services, need to be provided for the client by the information record of the session Video flowing, and terminating to destroy the session after the client service.
When client terminal quantity is more, television operator may need to use multiple server admins and the multiple visitors of service simultaneously Family end, is likely to provide video flowing for same virtual client by different servers at the different moment.If server Using having state session to make a distinction client and managing, provided for client by different servers at the different moment During video flowing, it is necessary to constantly create and destroy session, or realized between server using complicated treatment mechanism Conversation shift, so as to cause rating management process complicated.
The content of the invention
Embodiments provide video flowing and method and device is provided, the processing procedure of rating management can be simplified.
In a first aspect, embodiments providing a kind of video flowing provides method, the method includes:Receive client to send out The solicited message sent, the solicited message carries user identity and proves UID;Obtain from session manager and the UID Corresponding session information;The user interface that should be sent to the client is generated according to the session information;By the user Interfacing code is video flowing;The client is given by the video stream.
With reference in a first aspect, in first aspect in the first possible implementation, methods described also includes:Update described User interface;The session information according to the user interface updating after renewal.
With reference to first aspect or first aspect the first possible implementation, in second possible realization side of first aspect It is described session information corresponding with the UID is obtained from session manager to include in formula:Obtain from session manager Uniform Resource Identifier URI corresponding with the UID.
With reference to second possible implementation of first aspect, in first aspect in the third possible implementation, according to The session information obtains the data to be sent that should be sent to the client to be included:The URI is initiated to content server Corresponding HTTP request;Obtain the corresponding response contents of the HTTP request;According to the response Content generates user interface.
The third possible implementation with reference to first aspect, in the 4th kind of possible implementation of first aspect, updates The user interface includes:User operation is obtained from client;The user interface is updated according to user operation.
The third possible implementation with reference to first aspect, in the 5th kind of possible implementation of first aspect, updates The user interface includes:The user interface is updated according to the response contents.
It is possible in the 6th kind of first aspect with reference to the first to five kind of possible implementation any of which of first aspect In implementation, the session information according to the user interface updating after renewal includes:Caching with renewal after it is described The corresponding URI of user interface;When conforming to a predetermined condition, will session information corresponding with the UID be updated to more The corresponding URI of the user interface after new.
With reference to first aspect or with reference to the first to six kind of possible implementation any of which of first aspect, in first party In the possible implementation in the 7th kind of face, receiving the solicited message of client transmission includes:Receive the described of scheduler forwarding Solicited message.
It is described in the 8th kind of possible implementation of first aspect with reference to the 7th kind of possible implementation of first aspect The video stream is included to the client:The video flowing and UID are sent to into the scheduler, in order to The scheduler is by the video stream to client corresponding with the UID.
With reference to first aspect or with reference to the first to eight kind of possible implementation any of which of first aspect, in first party In the possible implementation in the 9th kind of face, also included before the solicited message that client sends is received:Generate and the visitor The corresponding session information in family end;Session information and the visitor corresponding to the client is preserved by the session manager Corresponding relation between the UID at family end.
Second aspect, embodiments provides a kind of video flowing offer device, and the device includes:Receiving unit, uses In the solicited message that client sends is received, the solicited message carries user identity and proves UID;Acquiring unit, is used for Session information corresponding with the UID is obtained from session manager;Signal generating unit, for being given birth to according to the session information The user interface that client described in Cheng Yingxiang sends;Coding unit, for the user interface to be encoded to into video flowing;Send out Unit is sent, for giving the client by the video stream.
With reference in a first aspect, in first aspect in the first possible implementation, described device also includes updating block, The signal generating unit, is additionally operable to update the user interface;The updating block, for the user after according to renewal Interface updates the session information.
With reference to first aspect or first aspect the first possible implementation, in second possible realization side of first aspect In formula, the acquiring unit, specifically for obtaining Uniform Resource Identifier corresponding with the UID from session manager URI。
It is described in first aspect in the third possible implementation with reference to second possible implementation of first aspect Signal generating unit includes:Request subelement, for initiating corresponding HTTP HTTP of the URI to content server Request;Subelement is obtained, for obtaining the corresponding response contents of the HTTP request;Subelement is generated, for according to institute State response contents and generate user interface.
The third possible implementation with reference to first aspect, it is described in the 4th kind of possible implementation of first aspect Receiving unit, for obtaining user operation from client;The signal generating unit, is additionally operable to according to user operation updates User interface.
The third possible implementation with reference to first aspect, it is described in the 5th kind of possible implementation of first aspect Signal generating unit, is additionally operable to update the user interface according to the response contents.
It is possible in the 6th kind of first aspect with reference to the first to five kind of possible implementation any of which of first aspect In implementation, the updating block includes:Caching subelement, for cache with update after the user interface it is relative The URI for answering;Subelement is updated, for when conforming to a predetermined condition, session information corresponding with the UID being updated to The URI corresponding with the user interface after renewal.
With reference to first aspect or with reference to the first to six kind of possible implementation any of which of first aspect, in first party In the possible implementation in the 7th kind of face, the receiving unit, the solicited message specifically for receiving scheduler forwarding.
It is described in the 8th kind of possible implementation of first aspect with reference to the 7th kind of possible implementation of first aspect Transmitting element, specifically for the video flowing and UID are sent to into the scheduler, will be described in order to the scheduler Video stream is to client corresponding with the UID.
With reference to first aspect or with reference to the first to eight kind of possible implementation any of which of first aspect, in first party In the possible implementation in the 9th kind of face, described device also includes:Session information signal generating unit, for generating and the visitor The corresponding session information in family end;Session information storage unit, for preserving the client institute by the session manager Corresponding relation between the UID of corresponding session information and the client.
In the embodiment of the present invention, the solicited message that client sends is received, the solicited message carries user identity and proves UID;Session information corresponding with the UID is obtained from session manager;Being generated according to the session information should be to described The user interface that client sends;The user interface is encoded to into video flowing;The client is given by the video stream End.Due to session, thus server can be preserved and managed using session manager without the need for frequently creating and destroying session again, The conversation shift between server is realized without the treatment mechanism for adopting complexity again, thus rating management can be greatly simplified Processing procedure.
Description of the drawings
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing The accompanying drawing to be used needed for technology description is briefly described, it should be apparent that, for those of ordinary skill in the art Speech, without having to pay creative labor, can be with according to these other accompanying drawings of accompanying drawings acquisition.
Fig. 1 is the structural representation of watch managing system of the present invention;
Fig. 2 provides the schematic flow sheet of method one embodiment for video flowing of the present invention;
Fig. 3 provides the schematic flow sheet of another embodiment of method for video flowing of the present invention;
Fig. 4 provides the schematic flow sheet of another embodiment of method for video flowing of the present invention;
Fig. 5 is the structural representation of video flowing offer device one embodiment of the present invention;
Fig. 6 is the structural representation of server one embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Description, it is clear that described embodiment is only a part of embodiment of the invention, rather than the embodiment of whole.Base Embodiment in the present invention, it is all that those of ordinary skill in the art are obtained under the premise of creative work is not made Other embodiment, belongs to the scope of protection of the invention.
It is the structural representation of watch managing system of the present invention referring to Fig. 1.
As shown in figure 1, the system can include:At least one scheduler 101, at least one session manager 102 With at least two servers 103.Session manager is used to preserve the meeting session letter between server 103 and client 104 Breath, the request of tidying up that scheduler 101 is used to send each client 104 is distributed to each server 103, and will be each The video flowing that individual server 103 is generated is distributed to corresponding client 104.The video flowing by server 103 according to from The data genaration got in content server 105.The content server 105 can include IPTV (Internet Protocol Television) server's the Internet application server etc..
Wherein, the scheduler 101, the session manager 102 and the server 103 can pass through hardware reality It is existing, also can be realized by software.For example, the session manager 102 can be database, the scheduler 101 Can be load balancing component, the server 103 can be browser.
Referring to Fig. 2, for the flow chart that video flowing of the present invention provides method one embodiment, the method comprises the steps:
Step 201, receives the solicited message that client sends, and the solicited message carries user identity and proves (User Identification, abbreviation UID).
Scheduler receive client transmission tidy up request after, according to the load state of each server select one clothes Business device, and this is tidied up into request be distributed to the server.Wherein, tidy up request to refer to for TV reception, browse The user operation of the operations such as web page contents.
Before the solicited message that client sends is received, server can also first generate session corresponding with the client Information, then preserves the UID of the session information corresponding to the client and the client by the session manager Between corresponding relation.
For example, if client is newly-increased client, then server can receive what the client sent first Before solicited message, session information corresponding with the client is previously generated according to the create-rule of acquiescence, and by session Manager is preserved to the solicited message.Or, server can also receive the request letter that the client sends first Session information corresponding with the client is generated after breath.
Step 202, obtains session information corresponding with the UID from session manager.
Server is obtained after solicited message is received, first and tidies up the UID included in request.Then by UID send to Session manager.Session manager searches corresponding session information according to UID, then again returns the session information for finding Back to server.For ease of searching, session manager can store the corresponding sessions of UID and UID in the form of key-value pair Information.
The session information can be Uniform Resource Identifier (Uniform Resource Identifier, abbreviation URI), Wherein, the form of URI can be as follows:
http://website_address:port/ui_page/position_id#sub_idUid=xxxxx
As shown in above-mentioned URI examples, the first half of URI is that the IP address of content server and port numbers or content take The domain name and port numbers of business device, and the latter half of URI is the position anchor of specific page address and page inner element Point, in addition, can also carry corresponding UID in URI.
Here is it should be noted that server was previously generated and institute before the solicited message that client sends first is received When stating the corresponding session information of client, the first half and latter half of URI can be default content.
Step 203, the user interface that should be sent to the client is generated according to the session information.
After the session information is got, server can determine according to the session information needs what is returned to client Content, and parsing execution is carried out to the content, so as to generate user interface.
When the session information is URI, the server can take first to IPTV server or the Internet, applications The content servers such as business device initiate the corresponding HTTP requests of the URI;Then receive by the content The response contents that server sends according to the HTTP request.Wherein, the form of the response contents can include HTML, The contents such as JS scripts, CSS, it is also possible to including contents such as MPEG-4 code streams.After the response contents are received, clothes Business device can generate user interface with response contents described in root.
For example, when the server is browser, and the response contents include JS, browser can perform the JS, The related api function provided by javascript frameworks generates user interface with the UID information entrained by the URI. According to the difference of the different or UID of JS, the user interface of generation is also different.
Step 204, by the user interface video flowing is encoded to.
After user interface is generated, server is encoded to user interface, so as to generate video flowing.Server to When family interface is encoded, can be according to the different coded system of the different choice of UID, such that it is able to be embodied as different visitors Family end provides the function of different type video flowing.
Step 205, by the video stream client is given.
After video flowing is generated, video stream directly can be given the corresponding clients of the UID by server;Or Person, it is also possible to which the UID entrained by video flowing and the solicited message is sent to into the scheduler, then by the scheduler By the video stream to the corresponding clients of the UID.
From above-described embodiment as can be seen that receiving the solicited message that client sends, the solicited message carries user identity Prove UID;Session information corresponding with the UID is obtained from session manager;Being generated according to the session information should To the user interface that the client sends;The user interface is encoded to into video flowing;By the video stream to institute State client.Due to session can be preserved and managed using session manager, thus server is without the need for frequently creating again and selling Session is ruined, without the treatment mechanism for adopting complexity again the conversation shift between server is realized, thus can be greatly simplified The processing procedure of rating management.
User watched for ease of server admin, server also needs to carry out more the session information according to actual conditions Newly.Therefore as shown in figure 3, after the step 205, can also include:
Step 206, updates the user interface.
Server can obtain the user operation that client sends from session manager or scheduler, then be grasped according to user Make to update the user interface.The user operation can include channel browsing, channel switch, web page browsing etc..For example, When the user operation is channel switch, server can obtain corresponding with channel after switching from IPTV server MPEG-4 code streams, then replace the corresponding MPEG-4 of channel before switching with the corresponding MPEG-4 code streams of channel after switching Code stream, and then new user interface is regenerated, complete the renewal of the user interface.
When the server is browser, it is possible to use the api interface that Javascript frameworks are provided obtains user's letter Breath.For example, the API can be SessionManager.getUserAction (uid), its effect be by uid, User operation is obtained from SessionManager.
Server can also perform the response contents, then update user circle according to the implementation status of response contents Face.For example, when JS scripts are included in the response contents, server can also be according to the practice condition of JS scripts more The new user interface.Detailed process here is just repeated no more.
Step 207, the session information according to the user interface updating after renewal.
After the user interface changes, the URI of the user interface can also be corresponded to and changed.When session letter Cease for URI when, once user interface changes, the session information is also required to be updated therewith.
Server can generate the URI corresponding to the user interface after updating, then after the user interface is updated The URI is sent to session manager with the UID of the client.Session manager again will be corresponding with the UID Session information is updated to the URI corresponding with the user interface after renewal.
Because in actual use, user interface updating may more frequently, if after each user interface updating all Session information is updated by session manager, then server is accomplished by continually interacting with reply manager, causes Server and reply manager can all consume the resource more than the rate of exchange.To avoid resource consumption excessive, server can be in user After interface updates, the URI corresponding with the user interface after renewal is cached;And when conforming to a predetermined condition, then will The URI corresponding with the user interface after renewal is updated to the corresponding session informations of the UID.Wherein, it is described Predetermined condition can be time conditions, and for example, at interval of scheduled duration, server is used and user circle after renewal The corresponding URI in face updates the once session information;Or, the predetermined condition can also trigger condition, for example, Server can be after the connection that client disconnects with server, using corresponding with the user interface after renewal URI updates the session information.By caching URI each URI can be avoided to change all is carried out more to session information Newly, so as to reducing the resource consumption of server and session manager.
Using the present embodiment, the renewal to session information can be completed, so as to rating manages simpler.
Referring to Fig. 4, for the schematic diagram that video flowing of the present invention provides another embodiment of method.With reference to Fig. 5 to this It is bright to be described further.
Step 401, client sends the solicited message for carrying UID to scheduler.
Solicited message is distributed to server by step 402, scheduler.
Step 403, server sends UID to session manager.
The corresponding URI of UID are sent to server by step 404, session manager.
Step 405, server to content server sends the corresponding HTTP requests of the URI.
Step 406, content server to server sends the corresponding response contents of the URI.
Step 407, server generates user interface according to the response contents.
The user interface is encoded to video flowing by step 408, server.
Step 409, server sends the video flowing and the UID to scheduler.
Step 410, scheduler is by the video stream to the corresponding clients of the UID.
Can also include after step 410:
Step 411, server update user interface.
Step 412, the URI after server buffer renewal corresponding to user interface.
Step 413, server sends the URI corresponding to user interface after renewal and the UID to reply manager.
Step 414, session management by the corresponding session informations of the UID be updated to corresponding to user interface after renewal URI。
Because the detailed executive mode of step 401 to step 414 has been carried out describing in detail in preceding embodiment, because This related content is just repeated no more in the present embodiment referring to previous embodiment.
Using the present embodiment, due to session can be preserved and managed using session manager, thus server is without the need for frequent again Session is created and destroys, without using complicated treatment mechanism realizing the conversation shift between server again, thus can be with Greatly simplify the processing procedure of rating management.
It is corresponding with video flowing of the present invention offer method, present invention also offers video flowing offer device.
It is the structural representation of video flowing offer device one embodiment of the present invention referring to Fig. 5.Described device can be used for The video flowing performed in embodiment corresponding to Fig. 1 to Fig. 4 provides method.
If shown in Fig. 5, described device can include:Receiving unit 501, acquiring unit 502, signal generating unit 503, Coding unit 504, transmitting element 505.
Wherein, receiving unit 501, for receiving the solicited message of client transmission, the solicited message carries user's body Part proves UID;Acquiring unit 502, for obtaining session information corresponding with the UID from session manager;Generate Unit 503, for generating the user interface that should be sent to the client according to the session information;Coding unit 504, For the user interface to be encoded to into video flowing;Transmitting element 505, for giving the client by the video stream End.
Optionally, described device can also include updating block.
When described device also includes updating block, the signal generating unit 503 is additionally operable to update the user interface;Institute Updating block is stated, for the session information according to the user interface updating after renewal.
Optionally, described device can also include session information signal generating unit and session information storage unit.
Wherein, session information signal generating unit, for generating session information corresponding with the client;Session information is preserved Unit, for preserving the UID of the session information corresponding to the client and the client by the session manager Between corresponding relation.
Optionally, the acquiring unit 502, specifically for obtaining unification corresponding with the UID from session manager Resource identifiers, URIs.
Optionally, the signal generating unit 503 includes:Request subelement, for initiating described URI pair to content server The HTTP request answered;Subelement is obtained, for obtaining the corresponding response contents of the HTTP request; Subelement is generated, for generating user interface according to the response contents.
Optionally, the receiving unit 501, for obtaining user operation from client;The signal generating unit 503, also For updating the user interface according to user operation.
Optionally, the signal generating unit 503, is additionally operable to update the user interface according to the response contents.
Optionally, the updating block includes:Caching subelement, for cache with update after the user interface it is relative The URI for answering;Subelement is updated, for when conforming to a predetermined condition, session information corresponding with the UID being updated to The URI corresponding with the user interface after renewal.
Optionally, the receiving unit 501, the solicited message specifically for receiving scheduler forwarding.
Optionally, the transmitting element 505, specifically for the video flowing and UID are sent to into the scheduler, with It is easy to the scheduler by the video stream to client corresponding with the UID.
Using the present embodiment, due to preserving and manage session using session manager, thus video flowing offer device without Need to frequently create again and destroy session, without the treatment mechanism for adopting complexity again the conversation shift between server is realized, Thus can greatly simplify rating management processing procedure.
It is corresponding with video flowing of the present invention offer method and device, present invention also offers server.
Fig. 6 is participated in, is the structural representation of server one embodiment of the present invention.The server can be used for execution figure Video flowing in embodiment corresponding to 1 to Fig. 4 provides method.
As shown in fig. 6, the server can include:Processor 601, memory 602, communication interface 603.These Component is communicated by one or more bus.It will be understood by those skilled in the art that the knot of the server illustrated in figure Structure does not constitute limitation of the invention, and it both can be busbar network, or hub-and-spoke configuration, can also include Than illustrating more or less of part, or some parts are combined, or different part arrangements.
Processor 601 for described device control centre, using various interfaces and the whole electronic equipment of connection each Part, by operation or performs and is stored in software program and/or module in memory 602, and calls and be stored in storage Data in device 602, to perform the various functions and/or processing data of electronic equipment.The processor 601 can be by collecting Into circuit (Integrated Circuit, abbreviation IC) composition, for example, can be made up of the IC of single encapsulation, also may be used To be made up of the encapsulation IC of many identical functions of connection or difference in functionality.For example, processor 601 can only include Central processing unit (Central Processing Unit, abbreviation CPU), or GPU, digital signal processor Control chip (such as baseband chip) in (Digital Signal Processor, abbreviation DSP) and communication unit Combination.In embodiments of the present invention, CPU can be single arithmetic core, it is also possible to including multioperation core.
Memory 602 can be used to store software program and module, and processor 601 is stored in the soft of memory by operation Part program and module, so as to performing the various function application of terminal and realizing data processing.Memory mainly includes journey Sequence memory block and data storage area, wherein, the application that program storage area can be needed for storage program area, at least one function Program, such as sound playing program, image player program etc.;Data storage area can store the use institute according to server The data of establishment, such as UID, storage between session information, UI and session information etc..In specific embodiment party of the present invention In formula, memory can include volatile memory, such as non-volatile DRAM (Nonvolatile Random Access Memory, abbreviation NVRAM), phase change random access memory (Phase Change RAM, referred to as PRAM), magnetic-resistance random access memory (Magetoresistive RAM, abbreviation MRAM) etc., can also include non-easy The property lost memory, for example, at least one disk memory, Electrical Erasable programmable read only memory (Electrically Erasable Programmable Read-Only Memory, abbreviation EEPROM), flush memory device, such as anti-or flash memory (NOR flash memory) or anti-and flash memory (NAND flash memory).Nonvolatile storage storage processor institute The operating system and application program of execution.The processor is from the nonvolatile storage load operating program and data to interior Deposit and digital content is stored in mass storage.The operating system includes appointing for controlling and managing conventional system Business, such as memory management, storage device control, power management etc., and contribute between various software and hardwares each of communication Plant component and/or driver.In embodiments of the present invention, the operating system can be the Android of Google companies Windows operating system of system, the iOS system of Apple companies exploitation or Microsoft Corporation exploitation etc., or It is this kind of embedded OSs of Vxworks.
The communication unit 602 be used for set up communication channel, make server by the communication channel be connected to client, The other equipments such as scheduler, and communicated with other equipment.The communication unit 603 can include WLAN (Wireless Local Area Network, abbreviation wireless LAN) module, bluetooth module, base band (Base Band) The communication modules such as module, and the corresponding radio frequency of the communication module (Radio Frequency, abbreviation RF) circuit, It is for carrying out the communication of WLAN communication, Bluetooth communication, infrared communication and/or cellular communications system, such as wide The multiple access (Wideband Code Division Multiple Access, abbreviation W-CDMA) of band code division and/or high speed Downlink Packet Access (High Speed Downlink Packet Access, abbreviation HSDPA).The communication module is used for The communication of each component in control terminal, and direct memory access (Direct Memory Access) can be supported.
Wherein, the processor 601, for receiving the solicited message that client sends by the communication interface 603, The solicited message carries user identity and proves UID;Session information corresponding with the UID is obtained from memory 602; The user interface that should be sent to the client is generated according to the session information;The user interface is encoded to into video flowing; The client is given by the video stream.
Optionally, the processor 601, is additionally operable to update the user interface;And according to renewal after user circle Face updates the session information.
Optionally, the processor 601, is additionally operable to obtain unified resource corresponding with the UID from session manager Identifiers, URIs.
Optionally, the processor 601, is additionally operable to initiate described URI pair to content server by communication interface 603 The HTTP request answered;The corresponding response contents of the HTTP request are obtained by communication interface 603; User interface is generated according to the response contents.
Optionally, the processor 601, is additionally operable to obtain user operation from client by communication interface 603;According to User operation updates the user interface.
Optionally, the processor 601, is additionally operable to update the user interface according to the response contents.
Optionally, the processor 601, is additionally operable to cache the URI corresponding with the user interface after renewal; When conforming to a predetermined condition, session information corresponding with the UID in memory 602 is updated to and the use after renewal The corresponding URI in family interface.
Optionally, the processor 601, is additionally operable to receive the request letter of scheduler forwarding by communication interface 603 Breath.
Optionally, the processor 601, is additionally operable to that the video flowing and UID are sent to into institute by communication interface 603 Scheduler is stated, in order to the scheduler by the video stream to client corresponding with the UID.
Optionally, the processor 601, is additionally operable to generate session information corresponding with the client;Deposited by described Reservoir 602 preserves the corresponding relation between the UID of the session information corresponding to the client and the client.
Using the present embodiment, due to preserving and manage session using session manager, thus video flowing offer device without Need to frequently create again and destroy session, without the treatment mechanism for adopting complexity again the conversation shift between server is realized, Thus can greatly simplify rating management processing procedure.
It is required that those skilled in the art can be understood that the technology in the embodiment of the present invention can add by software The mode of general hardware platform is realizing.Based on such understanding, the technical scheme in the embodiment of the present invention substantially or Say that the part contributed to prior art can be embodied in the form of software product, the computer software product can be with In being stored in storage medium, such as ROM/RAM, magnetic disc, CD, including some instructions use is so that a computer sets Standby (can be personal computer, server, either network equipment etc.) perform each embodiment of the invention or embodiment Some parts described in method.
Each embodiment in this specification is described by the way of progressive, identical similar part between each embodiment Mutually referring to what each embodiment was stressed is the difference with other embodiment.Especially for device For embodiment and server example, because it is substantially similar to embodiment of the method, so fairly simple, the phase of description The part that part is closed referring to embodiment of the method illustrates.
Invention described above embodiment, does not constitute limiting the scope of the present invention.It is any the present invention Modification, equivalent and improvement made within spirit and principle etc., should be included within the scope of the present invention.

Claims (20)

1. a kind of video flowing provides method, it is characterised in that include:
The solicited message that client sends is received, the solicited message carries user identity and proves UID;
Session information corresponding with the UID is obtained from session manager;
The user interface that should be sent to the client is generated according to the session information;
The user interface is encoded to into video flowing;
The client is given by the video stream.
2. the method for claim 1, it is characterised in that also include:
Update the user interface;
The session information according to the user interface updating after renewal.
3. method as claimed in claim 1 or 2, it is characterised in that it is described obtain from session manager with it is described The corresponding session informations of UID include:
Uniform Resource Identifier URI corresponding with the UID is obtained from session manager.
4. method as claimed in claim 3, it is characterised in that being obtained according to the session information should be to the client The data to be sent for sending include:
The corresponding HTTP requests of the URI are initiated to content server;
Obtain the corresponding response contents of the HTTP request;
User interface is generated according to the response contents.
5. method as claimed in claim 4, it is characterised in that updating the user interface includes:
User operation is obtained from client;
The user interface is updated according to user operation.
6. method as claimed in claim 4, it is characterised in that updating the user interface includes:
The user interface is updated according to the response contents.
7. the method as described in any one of claim 2 to 6, it is characterised in that the user interface after according to renewal Updating the session information includes:
Cache the URI corresponding with the user interface after renewal;
When conforming to a predetermined condition, session information corresponding with the UID is updated to and the user interface after renewal Corresponding URI.
8. the method as described in any one of claim 1 to 7, it is characterised in that receive the solicited message that client sends Including:
Receive the solicited message of scheduler forwarding.
9. method as claimed in claim 8, it is characterised in that described to give the client bag by the video stream Include:
The video flowing and UID are sent to into the scheduler, in order to the scheduler by the video stream to The corresponding client of the UID.
10. the method as described in claim 1 to 9 any one, it is characterised in that please receive that client sends Ask and also include before information:
Generate session information corresponding with the client;
Preserved between session information and the UID of the client corresponding to the client by the session manager Corresponding relation.
11. a kind of video flowing offer devices, it is characterised in that include:
Receiving unit, for receiving the solicited message of client transmission, the solicited message carries user identity and proves UID;
Acquiring unit, for obtaining session information corresponding with the UID from session manager;
Signal generating unit, for generating the user interface that should be sent to the client according to the session information;
Coding unit, for the user interface to be encoded to into video flowing;
Transmitting element, for giving the client by the video stream.
12. devices as claimed in claim 11, it is characterised in that also including updating block,
The signal generating unit, is additionally operable to update the user interface;
The updating block, for the session information according to the user interface updating after renewal.
13. devices as described in claim 11 or 12, it is characterised in that
The acquiring unit, specifically for obtaining Uniform Resource Identifier corresponding with the UID from session manager URI。
14. devices as claimed in claim 13, it is characterised in that the signal generating unit includes:
Request subelement, for initiating the corresponding HTTP requests of the URI to content server;
Subelement is obtained, for obtaining the corresponding response contents of the HTTP request;
Subelement is generated, for generating user interface according to the response contents.
15. devices as claimed in claim 14, it is characterised in that
The receiving unit, is additionally operable to obtain user operation from client;
The signal generating unit, is additionally operable to update the user interface according to user operation.
16. devices as claimed in claim 14, it is characterised in that
The signal generating unit, is additionally operable to update the user interface according to the response contents.
17. devices as described in any one of claim 12 to 16, it is characterised in that the updating block includes:
Caching subelement, for cache with update after the corresponding URI of the user interface;
Subelement is updated, for when conforming to a predetermined condition, session information corresponding with the UID being updated to and renewal The corresponding URI of the rear user interface.
18. devices as claimed in claim 11, it is characterised in that
The receiving unit, the solicited message specifically for receiving scheduler forwarding.
19. devices as claimed in claim 18, it is characterised in that
The transmitting element, specifically for the video flowing and UID are sent to into the scheduler, in order to the scheduling Device is by the video stream to client corresponding with the UID.
20. devices as described in claim 11 to 19 any one, it is characterised in that also include:
Session information signal generating unit, for generating session information corresponding with the client;
Session information storage unit, for preserved by the session manager session information corresponding to the client with Corresponding relation between the UID of the client.
CN201510733985.3A 2015-11-02 2015-11-02 Video stream providing method and apparatus Pending CN106658084A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510733985.3A CN106658084A (en) 2015-11-02 2015-11-02 Video stream providing method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510733985.3A CN106658084A (en) 2015-11-02 2015-11-02 Video stream providing method and apparatus

Publications (1)

Publication Number Publication Date
CN106658084A true CN106658084A (en) 2017-05-10

Family

ID=58810901

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510733985.3A Pending CN106658084A (en) 2015-11-02 2015-11-02 Video stream providing method and apparatus

Country Status (1)

Country Link
CN (1) CN106658084A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019126949A1 (en) * 2017-12-25 2019-07-04 华为技术有限公司 Method, device, node, and system for providing media content
CN111478930A (en) * 2019-01-23 2020-07-31 中兴通讯股份有限公司 STB cloud method, system, thin STB, virtual STB, platform and storage medium
WO2024120366A1 (en) * 2022-12-06 2024-06-13 中兴通讯股份有限公司 Virtual reality display method, set top box, server, terminal, device, system, and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1492656A (en) * 2002-10-25 2004-04-28 �Ҵ���˾ Method, device and system for sharing applied program conversation information on multichannels
CN1901490A (en) * 2005-07-19 2007-01-24 国际商业机器公司 Method, apparatus, and program product for providing web service
CN101887444A (en) * 2009-05-15 2010-11-17 国际商业机器公司 Navigation method and system for webpage
CN103209223A (en) * 2013-04-27 2013-07-17 中国农业银行股份有限公司 Distributed application conversation information sharing method and system and application server
CN104580226A (en) * 2015-01-15 2015-04-29 上海瀚之友信息技术服务有限公司 Session data sharing system and method
US20150208103A1 (en) * 2012-08-08 2015-07-23 National University Of Singapore System and Method for Enabling User Control of Live Video Stream(s)

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1492656A (en) * 2002-10-25 2004-04-28 �Ҵ���˾ Method, device and system for sharing applied program conversation information on multichannels
CN1901490A (en) * 2005-07-19 2007-01-24 国际商业机器公司 Method, apparatus, and program product for providing web service
CN101887444A (en) * 2009-05-15 2010-11-17 国际商业机器公司 Navigation method and system for webpage
US20150208103A1 (en) * 2012-08-08 2015-07-23 National University Of Singapore System and Method for Enabling User Control of Live Video Stream(s)
CN103209223A (en) * 2013-04-27 2013-07-17 中国农业银行股份有限公司 Distributed application conversation information sharing method and system and application server
CN104580226A (en) * 2015-01-15 2015-04-29 上海瀚之友信息技术服务有限公司 Session data sharing system and method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019126949A1 (en) * 2017-12-25 2019-07-04 华为技术有限公司 Method, device, node, and system for providing media content
CN111478930A (en) * 2019-01-23 2020-07-31 中兴通讯股份有限公司 STB cloud method, system, thin STB, virtual STB, platform and storage medium
CN111478930B (en) * 2019-01-23 2021-05-04 中兴通讯股份有限公司 STB cloud method, system, thin STB, virtual STB, platform and storage medium
WO2024120366A1 (en) * 2022-12-06 2024-06-13 中兴通讯股份有限公司 Virtual reality display method, set top box, server, terminal, device, system, and storage medium

Similar Documents

Publication Publication Date Title
CN107743698B (en) Method and apparatus for multi-path media delivery
KR102663564B1 (en) Method and apparatus for enhanced MENS content provisioning and content ingestion
US10009223B2 (en) Techniques to dynamically configure target bitrate for streaming network connections
Braun et al. Service-centric networking
US11336702B2 (en) Interaction information transmission method and apparatus
CN111937364A (en) Method and system for processing data path creation in wireless network system
WO2015032277A1 (en) Transmission method and device for media stream in video conference
CN104641575B (en) It is used for transmission the method, apparatus and user equipment of Media Stream
JP2016510460A (en) Transport diversity and time shift buffer support for media streaming over the network
CN104539596A (en) Method, device and system for streaming media transmission
US7934011B2 (en) System and method for flow control in web-based video editing system
CN101997822A (en) Streaming media content delivery method, system and equipment
CN107147921A (en) Based on section and the intelligence CDN video playback accelerated methods dispatched and equipment
US20160295390A1 (en) Centralised capabiity discovery
US10887641B2 (en) Techniques to dynamically configure a sender bitrate for streaming media connections
CN106658084A (en) Video stream providing method and apparatus
JP2020061764A (en) Method and apparatus for bandwidth allocation in network
CN108668179A (en) The transmission method and relevant device of media index file
CN100563258C (en) A kind of method and system and service discovering device of finding streaming media service
CN104641655A (en) Terminal cache method, terminal and server
CN103561013B (en) The data distribution systems of Streaming Media
US20190068678A1 (en) Techniques to dynamically engage an all-intra-coded mode for streaming video encoding
WO2017185632A1 (en) Data transmission method and electronic device
CN103181140A (en) Method, media server and terminal device for identifying service request type
Shahab et al. Bandwidth adaptation by squeezing idle traffic in browsers: An active window detection based approach for next generation networks

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170510