CN103841085B - The implementation method of the real-time Communication for Power based on WWW and device - Google Patents

The implementation method of the real-time Communication for Power based on WWW and device Download PDF

Info

Publication number
CN103841085B
CN103841085B CN201210480873.8A CN201210480873A CN103841085B CN 103841085 B CN103841085 B CN 103841085B CN 201210480873 A CN201210480873 A CN 201210480873A CN 103841085 B CN103841085 B CN 103841085B
Authority
CN
China
Prior art keywords
terminal
bandwidth demand
request message
conversation
conversation request
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210480873.8A
Other languages
Chinese (zh)
Other versions
CN103841085A (en
Inventor
孙福清
王云贵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201210480873.8A priority Critical patent/CN103841085B/en
Priority to PCT/CN2013/087681 priority patent/WO2014079386A1/en
Publication of CN103841085A publication Critical patent/CN103841085A/en
Application granted granted Critical
Publication of CN103841085B publication Critical patent/CN103841085B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1069Session establishment or de-establishment

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Multimedia (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention discloses the implementation method of real-time Communication for Power based on WWW and device, including:Agent equipment detects the conversation request message of the real-time Communication for Power based on WWW of terminal initiation, and described conversation request message includes bandwidth demand;If the bandwidth demand that described conversation request message includes is more than the bandwidth demand that user's signing configuration information of described terminal includes, then change described conversation request message and include bandwidth demand so that the bandwidth demand that described conversation request message includes is less than or equal to the bandwidth demand that user's signing configuration information of described terminal includes;Described amended conversation request message is sent to another terminal, can solve the problems, such as that the real-time communication service based on WWW can not affect communication service according to bandwidth change dynamic adjustment business stream information.

Description

The implementation method of the real-time Communication for Power based on WWW and device
Technical field
The present embodiments relate to communication technical field, the realization side of more particularly, to a kind of real-time Communication for Power based on WWW Method and device.
Background technology
Fig. 1 is the real-time Communication for Power based on WWW(English:Web Real-Time Communication, referred to as WebRTC)System architecture diagram, as shown in figure 1, terminal 1 can pass through browser access Web server, wherein, Web server HTML (Hypertext Markup Language) for example can be passed through(English:Hypertext TransferProtocol, abbreviation HTTP)Or WebSocket is communicated with terminal 1, and wherein, WebSocket realizes the two-way with Web server in a browser in order to terminal 1 Letter.Meanwhile, Web server passes through the interaction of signaling paths other Web server corresponding with terminal 2, with negotiation terminal 1 and terminal 2 need the business stream information in the flow media session set up, and wherein, business stream information includes bandwidth demand, coded format, industry The information such as service type, service port, so that setting up streaming media communication path between terminal 1 and terminal 2, realizing voice, regarding Frequently, the streaming media service such as data.
However, in actual applications, because the fluctuation of wireless network speed leads to the Streaming Media between terminal 1 and terminal 2 When bandwidth needed for business can not be guaranteed, at present, the real-time communication service based on WWW can not be according to wireless network shape State dynamically adjusts the bandwidth demand in business stream information, thus the real-time communication service based on WWW can be affected.
Content of the invention
The present invention provides a kind of implementation method of the real-time Communication for Power based on WWW and device, in order to solve based on WWW Real-time communication service can not dynamically adjust the bandwidth demand in business stream information according to wireless communication status and affect communication industry The problem of business.
In a first aspect, the present invention provides a kind of implementation method of the real-time Communication for Power based on WWW, including:
Agent equipment detects the conversation request message of the real-time Communication for Power based on WWW of terminal initiation, and described session please Message is asked to include bandwidth demand;
If the bandwidth demand that described conversation request message includes is more than in user's signing configuration information of described terminal wrapping The bandwidth demand including, then change the bandwidth demand that described conversation request message includes so that wrapping in described conversation request message The bandwidth demand including is less than or equal to the bandwidth demand that user's signing configuration information of described terminal includes;
Described amended conversation request message is sent to another terminal.
Based in a first aspect, in the first possible implementation of first aspect, described amended session is asked Before asking message to be sent to another terminal, including:
Described agent equipment, according to described amended conversation request message, creates interim conversation status information table, by institute State the bandwidth demand that amended conversation request message includes to be saved in described interim conversation status information table.
Based on the first possible implementation of first aspect, in the possible implementation of second, repair described After conversation request message after changing is sent to another terminal, also include:
Described agent equipment detects the response message of the real-time Communication for Power based on WWW that described another terminal is responded;
If the bandwidth that the bandwidth demand that described response message includes and described interim conversation status information table include needs Ask inconsistent, then update the bandwidth in described interim conversation status information table according to the bandwidth demand that described response message includes Demand;
Described response message is sent to described terminal.
Based on any one the possible implementation in first and second kinds of first aspect and first aspect, the 3rd Plant in possible implementation, methods described also includes:
Described agent equipment receives the link-state change message that the wireless access point device being connected with described terminal is sent, Bandwidth demand in described interim conversation status information table is adjusted according to described link-state change message;
Described agent equipment sends session updates message to described terminal, and described session updates message includes described adjustment Bandwidth demand afterwards.
Based on the third possible implementation of first aspect, in the 4th kind of possible implementation, described agency After equipment sends session updates message to described terminal, including:
The session updates request that described agent equipment detects the real-time Communication for Power based on WWW that described terminal is initiated disappears Breath, described session updates request message includes the bandwidth demand after described adjustment;
Described session updates request message is sent to described another terminal.
The 4th kind of possible implementation based on first aspect, in the 5th kind of possible implementation, by described meeting After words renewal request message is sent to described another terminal, including:
The session updates that described agent equipment detects the real-time Communication for Power based on WWW that described another terminal is responded should Answer message;
If the interim conversation shape that the bandwidth demand that described session updates response message includes is preserved with described agent equipment The bandwidth demand that state information table includes is inconsistent, then updated according to the bandwidth demand that described session updates response message includes Bandwidth demand in described interim conversation status information table;
Described session updates response message is sent to described terminal.
Second aspect, the present invention provide a kind of real-time Communication for Power based on WWW realize device, including:
Monitoring modular, for the conversation request message of the real-time Communication for Power based on WWW of terminal initiation is detected, described Conversation request message includes bandwidth demand;
Adjusting module, if the bandwidth demand including for described conversation request message is more than user's signing of described terminal The bandwidth demand that configuration information includes, then change the bandwidth demand that described conversation request message includes so that described session The bandwidth demand that request message includes is less than or equal to the bandwidth demand that user's signing configuration information of described terminal includes;
Sending module, for being sent to described another terminal by amended for described adjusting module conversation request message.
Based on second aspect, in the first possible implementation of second aspect, described device also includes:
Creation module, for the bandwidth demand being included according to the amended conversation request message of described adjusting module, creates Build interim conversation status information table, the bandwidth demand that described amended conversation request message is included is saved in described interim In session state information table.
Based on the first possible implementation of second aspect, in the possible implementation of second, monitoring modular, It is additionally operable to the response message of the real-time Communication for Power based on WWW that described another terminal is responded is detected;
Described adjusting module, if be additionally operable to bandwidth demand and the described interim conversation state letter that described response message includes The bandwidth demand that breath table includes is inconsistent, then update described creation module according to the bandwidth demand that described response message includes Bandwidth demand in the interim conversation status information table creating;
Described sending module, is additionally operable to for described response message to be sent to described terminal.
Based on any one the possible implementation in first and second kinds of second aspect and second aspect, the 3rd In kind possible implementation, described adjusting module, it is additionally operable to be sent according to the wireless access point device that described terminal connects Link-state change message, the bandwidth demand in the interim conversation status information table that the described creation module of adjustment creates;
Described sending module, is additionally operable to send session updates message to described terminal, described session updates message includes Bandwidth demand after described adjusting module adjustment.
Based on the third possible implementation of second aspect, in the 4th kind of possible implementation, described monitoring Module, is additionally operable to the session updates request message of the real-time Communication for Power based on WWW that described terminal is initiated, described meeting is detected Words update the bandwidth demand after request message includes described adjustment;
Described sending module, is additionally operable to for described session updates request message to be sent to described another terminal.
The 4th kind of possible implementation based on second aspect, in the 5th kind of possible implementation, described monitoring Module, is additionally operable to the session updates response message of the real-time Communication for Power based on WWW that described another terminal is responded is detected;
Described adjusting module, if be additionally operable to the bandwidth demand that described session updates response message includes set with described agency The bandwidth demand that the standby interim conversation status information table preserving includes is inconsistent, then according in described session updates response message Including bandwidth demand update described interim conversation status information table in bandwidth demand;
Described sending module, the session updates response message being additionally operable to described monitoring modular is detected is sent to described end End.
The present invention monitors, by agent equipment, the conversation request message that terminal sends to another terminal, according to conversation request The bandwidth demand that message includes, and the bandwidth demand that user's signing configuration information of this terminal includes, determine that session please Seek the bandwidth demand whether bandwidth demand that message includes is included with the user's signing configuration information more than this terminal, if It is then the bandwidth demand that conversation request message includes to be modified so that bandwidth demand is less than this in conversation request message The bandwidth demand that user's signing configuration information of terminal includes;Such that it is able to realize the user's signing configuration information according to terminal The bandwidth demand including adjusts the bandwidth demand in the conversation request message that terminal is initiated.
Brief description
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 Have technology description in required use accompanying drawing be briefly described it should be apparent that, drawings in the following description are these Some bright embodiments, for those of ordinary skill in the art, without having to pay creative labor, acceptable Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is the system architecture diagram of real-time Communication for Power WebRTC based on WWW;
The schematic flow sheet of the implementation method of the real-time Communication for Power based on WWW that Fig. 2 provides for one embodiment of the invention;
The flow process of the implementation method of the real-time Communication for Power based on WWW that Fig. 3 provides for another embodiment of the present invention is illustrated Figure;
The signaling diagram of the implementation method of the real-time Communication for Power based on WWW that Fig. 4 provides for another embodiment of the present invention;
The signaling diagram of the implementation method of the real-time Communication for Power based on WWW that Fig. 5 provides for another embodiment of the present invention;
The signaling diagram of the implementation method of the real-time Communication for Power based on WWW that Fig. 6 provides for another embodiment of the present invention;
The structural representation realizing device of the real-time Communication for Power based on WWW that Fig. 7 provides for another embodiment of the present invention Figure;
The structural representation realizing device of the real-time Communication for Power based on WWW that Fig. 8 provides for another embodiment of the present invention Figure;
The structural representation realizing system of the real-time Communication for Power based on WWW that Fig. 9 provides for another embodiment of the present invention Figure.
Specific embodiment
Purpose, technical scheme and advantage for making the embodiment of the present invention are clearer, below in conjunction with the embodiment of the present invention In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described it is clear that described embodiment is The a part of embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art The every other embodiment being obtained under the premise of not making creative work, broadly falls into the scope of protection of the invention.
The schematic flow sheet of the implementation method of the real-time Communication for Power based on WWW that Fig. 2 provides for one embodiment of the invention, As shown in Fig. 2 the implementation method of the real-time Communication for Power based on WWW of the present embodiment can include:
201st, agent equipment detects the conversation request message of the real-time Communication for Power based on WWW of terminal initiation, described meeting Words request message includes bandwidth demand.
Wherein, the conversation request message of the real-time Communication for Power based on WWW that terminal is initiated is that terminal passes through Web server The conversation request message initiated to another terminal.
For example, this conversation request message is Session Description Protocol(English:Session DescriptionProtocol, abbreviation SDP)Specified in a kind of request message, such as offer message.
This terminal sends this conversation request message, to ask to set up streaming media service and another terminal between.This session please Message is asked to include bandwidth demand, wherein, bandwidth demand that conversation request message includes is this terminal is stream matchmaker to be set up The bandwidth that body business is asked.Generally, the IP of type of service, service port and terminal can also be included in conversation request message The business stream information such as address.
Wherein, agent equipment is the real-time Communication for Power based on WWW(English:Web Real-timecommunication, Abbreviation WebRTC)Agency.This WebRTC agency can be realized using the mainboard being provided with WebRTC software.For example, should The mainboard being provided with WebRTC software can be arranged on WLAN (English:Wireless local area network, Abbreviation WLAN) in controller.This WLAN controller is generally used for managing and controls WAP(English:Accesspoint, Abbreviation AP) equipment, provide business configuration for wireless access point device.This WLAN controller can be to follow Request for Comment(English: Request for Comments, abbreviation RFC)5415 access controller(English:Access Controller, abbreviation AC).
In an embodiment of the invention, terminal after wireless access point device connects network, pass through clear by terminal Device of looking at creates flow media session information, such as allocation medium session port, voice and video coded format etc. in described terminal, it Afterwards, terminal passes through Web server to another terminal transmission conversation request message.Agent equipment detects terminal and passes through Web service The conversation request message that device is initiated to another terminal, obtains the business stream information that this conversation request message includes, and further Obtain and include the bandwidth demand in business stream information.
202nd, agent equipment determines whether the bandwidth demand that described conversation request message includes is more than the use of described terminal The bandwidth demand that family signing configuration information includes, if agent equipment determines the bandwidth demand that described conversation request message includes The bandwidth demand including less than or equal to user's signing configuration information of described terminal, then execution step 203, if agent equipment is true The bandwidth demand that fixed described conversation request message includes is more than the bandwidth that user's signing configuration information of described terminal includes Demand, then execution step 204.
Wherein, user's signing configuration information is when terminal is contracted to Virtual network operator, is this terminal by Virtual network operator User's signing configuration information of configuration.For example, to after Virtual network operator registered network success, agent equipment is for example for terminal Can be from the checking of Virtual network operator, authorization and accounting(English:Authentication Authorization Accounting, abbreviation AAA)Server or home subscriber server(English:Home Subscriber Server, referred to as HSS)In obtain and preserve user corresponding with this terminal signing configuration information, wherein, user's signing configuration information includes band Wide demand, generally, the bandwidth demand that user's signing configuration information includes refers to license to the maximum of terminal use's use Bandwidth.
For example, the bandwidth demand that configuration information includes if user contracts is 512 kilobits per seconds(English: Kilobit per second, abbreviation kbps)It is assumed that the bandwidth demand that the business stream information that terminal is initiated includes is 1,000,000 Bits per second(English:Megabit per second, abbreviation Mbps), then can determine that the bandwidth that business stream information includes needs Seek the bandwidth demand including more than user's signing configuration information of described terminal.The bandwidth in configuration information if user contracts Demand is 1Mbps, and the bandwidth demand in business stream information is 512kbps, then can determine the bandwidth that business stream information includes Demand is less than the bandwidth demand that user's signing configuration information of described terminal includes.
203rd, described conversation request message is sent to another terminal by Web server by agent equipment.
Agent equipment is if it is determined that the bandwidth demand that the conversation request message of terminal initiation includes is less than or equal to described terminal User contract the bandwidth demand that includes of configuration information, described conversation request message is sent out by agent equipment by WEB server Give another terminal;
Alternatively, agent equipment creates interim conversation status information table on this agent equipment, and by conversation request message The bandwidth demand including is saved in interim conversation status information table, generally, in actual applications, except conversation request disappears Outside the bandwidth demand that breath includes is saved in interim conversation status information table, agent equipment can also be by conversation request message Other business stream informations, such as type of service including, the IP address of service port and terminal, it is saved in interim conversation shape In state information table.
204th, agent equipment changes the bandwidth demand that includes of described conversation request message so that described conversation request message The bandwidth demand including is less than or equal to the bandwidth demand that described user's signing configuration information includes, please by amended session Message is asked to be sent to another terminal by Web server.
Join determining that the bandwidth demand that the conversation request message that terminal is initiated includes is contracted more than the user of described terminal In the case of the bandwidth demand that confidence breath includes, agent equipment can change the bandwidth need that described conversation request message includes Ask so that the bandwidth demand that conversation request message includes is less than or equal to the bandwidth need that described user's signing configuration information includes Ask.
Alternatively, agent equipment, according to described amended conversation request message, creates interim on described agent equipment Session state information table, and the bandwidth demand in amended conversation request message is saved in interim conversation status information table In, generally, in actual applications, except the bandwidth demand in amended conversation request message is saved in interim conversation state Outside in information table, other business stream informations that amended conversation request message can also be included by agent equipment, for example The IP address of type of service, service port and terminal, is saved in interim conversation status information table.
205th, agent equipment detects the response message of the real-time Communication for Power of base WWW that another terminal is responded.
Wherein, the response message of the real-time Communication for Power based on WWW that another terminal is initiated is that another terminal is taken by Web Pre- response or response message that business device sends to terminal.
For example, response message is a kind of response message specified in Session Description Protocol, such as Pre-answer or Answer message.
This response message includes the bandwidth demand that another terminal is responded, and further, also includes another in this response message Other business stream informations that one terminal is responded, the IP address of such as another port, the type of service of another terminal responds, business end The information such as mouth.
In an embodiment of the invention, conversation request message or amended conversation request are disappeared by agent equipment After breath is sent to another terminal, another terminal creates flow media session information by browser in another terminal, for example, divide Join media session port, and for example, according to the business stream information in the conversation request message receiving, according in business stream information Including type of service, select support described type of service voice and video coded format, if there is multiple support described industry The voice and video coded format of service type, then according to default voice and video encoding format information priority, preferential the use priority Sort voice and video coded format the most front, or an optional voice and video in the voice and video coded format of multiple supports Coded format.Afterwards, another terminal passes through Web server to the pre- response of terminal replies or response message.
Agent equipment is adopted to create in the implementation of interim conversation status information table in the embodiment of the present invention, agent equipment Another terminal is detected and pass through pre- response or the response message that Web server sends to terminal;Wrap in pre- response or response message Include bandwidth demand and other business stream informations of another terminal responds;Generally, the bandwidth demand of another terminal responds will not surpass Cross agent equipment and be sent to the bandwidth demand comprise in the conversation request message of another terminal.
Assume described pre- response or bandwidth demand that response message includes and described interim conversation status information table in wrap The bandwidth demand including is inconsistent, the bandwidth demand that agent equipment includes according to described pre- response or response message, renewal agency Bandwidth demand in the interim conversation status information table creating on equipment, for example, it is assumed that in the conversation request message of terminal initiation Including bandwidth demand be 1Mbps it is assumed that agent equipment detect this terminal initiate conversation request message includes bandwidth need Seek the bandwidth demand that the user's signing configuration information without departing from this terminal includes, if the maximum bandwidth demand of another terminal For 512Kbps, when the bandwidth demand in the pre- response that another terminal sends to terminal or response message is 512kbps, Dai Lishe For the interim conversation state letter creating on the bandwidth demand renewal agency equipment being included according to described pre- response or response message Cease the bandwidth demand in table, that is, bandwidth demand in the interim conversation creating on agent equipment status information table is updated by agent equipment For 512Kbps.
In actual applications it is assumed that the conversation request message that terminal is initiated includes multiple types of service, and another terminal When only have answered partial service type, agent equipment updates generation according to the type of service that described pre- response or response message include Type of service in the interim conversation status information table creating on reason equipment, to discharge the resource space of agent equipment in time.
206th, described response message is sent to described terminal by agent equipment.
After terminal receives response message, update the flow media session information in described terminal, for example, preserve another terminal IP address, the service port of another terminal, the business stream information of another terminal responds, voice and video code/decode format etc..Eventually End, is then led to using amended flow media session information according to the flow media session information after updating by browser Letter.
Optionally, in above-mentioned conversation request message or response message in addition to including bandwidth demand, also include terminal IP address, the IP address of another port, type of service, service port etc..Alternatively, agent equipment can obtain session further Type of service in request message or response message, configures service quality rating information corresponding with this type of service, afterwards, will This type of service corresponding service quality rating information is sent to the wireless wireless access point device being connected with described terminal, so that Wireless access point device, according to described service quality rating information, arranges corresponding with described service quality rating information preferential Level, so that after wireless access point device detects the Business Stream of self terminal, the business that included according to business stream information Type, determines the corresponding service quality of this type of service(English:Quality of service, abbreviation QoS)Grade is then right This Business Stream carries out corresponding priority flag, such that it is able to realize being scheduling according to the priority of Business Stream, for example, Gao You The service message of first level first transmits, and after the service message of low priority, transmission is it is ensured that the service quality QoS of different business stream.
The embodiment of the present invention monitors, by agent equipment, the conversation request message that terminal sends to another terminal, according to meeting The bandwidth demand that words request message includes, and the bandwidth demand that user's signing configuration information of this terminal includes, determine The bandwidth whether bandwidth demand that conversation request message includes is included with the user's signing configuration information more than this terminal needs Ask, if so, then the bandwidth demand that conversation request message includes is modified so that the bandwidth that includes of conversation request message Demand is less than the bandwidth demand that user's signing configuration information of this terminal includes;User such that it is able to realize according to terminal signs The bandwidth demand that about configuration information includes dynamically adjusts bandwidth demand in the business stream information of terminal initiation so that terminal It is unaffected the stream it is ensured that between terminal and another terminal based on the real-time communication service of WWW and another terminal between The seriality of media session.
Agent equipment is adopted to create in the implementation of interim conversation status information table in the embodiment of the present invention, the present invention is real Apply example and can adopt the implementation shown in Fig. 3 further.Fig. 3 for the embodiment of the present invention a kind of implementation provide based on The schematic flow sheet of the implementation method of the real-time Communication for Power of WWW.The method includes:
301st, agent equipment receives the link-state change message that wireless access point device sends.
When the Link State that wireless access point device monitors between described terminal and described another terminal changes, For example, after the packet loss of link or retransmission rate are more than the thresholding specified, or the signal to noise ratio (English of link:signal-to- Noise ratio, abbreviation SNR) more than after the thresholding specified, or Signal to Interference plus Noise Ratio(English:signal to interference Plus noise ratio, abbreviation SINR)After the thresholding specified, wireless access point device is to agent equipment transmission link shape State change message, wherein, link-state change message includes terminal iidentification and link information, and wherein, link information includes Link identification, further, can also include at least one in packet loss, retransmission rate or signal to noise ratio in link information.
302nd, agent equipment adjusts the band in described interim conversation status information table according to described link-state change message Wide demand.
The corresponding relation of default thresholding and bandwidth demand variable quantity can be preserved in agent equipment.When implementing, For example, the packet loss of the link between terminal and another terminal is more than the first pre-determined threshold, such as, when 10%, agent equipment can To adjust the bandwidth demand in interim conversation status information table according to bandwidth demand variable quantity corresponding with the first pre-determined threshold, such as Reduce 20%;The packet loss of the link between terminal and another terminal is more than the second pre-determined threshold, such as when 25%, agent equipment The bandwidth demand in interim conversation status information table can be adjusted according to bandwidth demand variable quantity corresponding with the second pre-determined threshold, As reduced 40%.
And for example, it is assumed that when the SNR of the link between terminal and another terminal is less than three pre-determined threshold, agent equipment can With the corresponding bandwidth demand reducing in interim conversation status information table.
303rd, agent equipment sends session updates message to terminal, and described session updates message includes the bandwidth after adjusting Demand.
For example, session updates message is a kind of notification message specified in Session Description Protocol, such as notify message.
This session updates message includes the bandwidth demand after agent equipment adjustment, wherein, business stream information after adjustment Including the bandwidth demand after reducing.
After terminal receives session updates message, whether the bandwidth demand after detection adjustment meets between terminal and another terminal The minimum bandwidth required for streaming media service, if it is satisfied, then terminal adjust described terminal on flow media session information, to Another terminal sends session updates request message, and the bandwidth demand after session updates request message includes described adjustment.
304th, agent equipment detects the session updates request message of the real-time Communication for Power based on WWW of terminal initiation.
Wherein, the session updates request message of the real-time Communication for Power based on WWW that terminal is initiated is taken by Web for terminal The session updates request message that business device is initiated to another terminal.
For example, session updates request message is a kind of request message specified in Session Description Protocol, such as notify Request message.
This session updates request message includes the bandwidth demand after adjusting, and wherein, the bandwidth demand after adjustment includes generation Bandwidth demand after the minimizing of reason equipment.
305th, described session updates request message is sent to another terminal by Web server by agent equipment.
Alternatively, after another terminal receives session updates request message, can check whether the bandwidth demand after adjustment is full The minimum bandwidth required for streaming media service between sufficient terminal and another terminal, if it is satisfied, then another terminal is according to adjustment Bandwidth demand afterwards adjusts the flow media session information in described another terminal, and to terminal replies session updates response message;
Alternatively, before another terminal receives session updates request message, the meeting that terminal has sent according to agent equipment Words new information, whether the bandwidth demand after detection adjustment meets required for the streaming media service between terminal and another terminal Minimum bandwidth, therefore, after another terminal receives session updates request message, can directly adjust according to the bandwidth demand after adjustment Flow media session information in whole described another terminal, and to terminal replies session updates response message.
306th, agent equipment the session updates of the real-time Communication for Power based on WWW that described another terminal is responded is detected should Answer message.
Wherein, the session updates response message of the real-time Communication for Power based on WWW that described another terminal is responded is described another The session updates response message that one terminal is initiated to terminal by Web server.
For example, session updates response message is a kind of response message specified in Session Description Protocol, such as notify Response message.
This session updates response message includes the bandwidth demand of another terminal responds, further, session updates response Other business stream informations of another terminal responds, for example, the type of service of another terminal responds, business can also be included in message The information such as the IP address of port and another terminal.
If the interim conversation shape that the bandwidth demand that described session updates response message includes is created with described agent equipment The bandwidth demand that state information table includes is inconsistent, then updated according to the bandwidth demand that described session updates response message includes Bandwidth demand in described interim conversation status information table.
307th, described session updates response message is sent to described terminal by agent equipment.
Terminal passes through the flow media session information that browser updates in described terminal according to session updates response message, then Communicated using amended flow media session information.
In the embodiment of the present invention, the link between terminal and described another terminal is being monitored by wireless access point device When state changes, to agent equipment transmission link state change message, agent equipment is according to described for wireless access point device Link-state change message readjusts the bandwidth demand that the interim conversation status information table of described agent equipment establishment includes, And send session updates message to terminal, so that terminal, according to session updates message, sends session updates request to another terminal Message, triggers another terminal and returns session updates response message to terminal;Thus when wireless network is disturbed by wireless signal, Or wireless network speed has different degrees of fluctuation, or when the bandwidth of wireless network can not be guaranteed, by agency Equipment can dynamically adjust the bandwidth demand in the business stream information of terminal initiation, thus not to real-time based on WWW Communication service impacts the seriality it is ensured that business.
The signaling diagram of the implementation method of the real-time Communication for Power based on WWW that Fig. 4 provides for another embodiment of the present invention;As Shown in Fig. 4, when terminal initiates the process of voice or video real-time Communication for Power to another terminal, specifically include:
401st, WebRTC agency monitors the conversation request message that terminal is initiated.
When implementing, terminal passes through browser access Web server, initiates meeting by Web server to another terminal Words request message, this conversation request message is used for request and sets up flow media session with another terminal, and flow media session includes voice, At least one in the transmission of video data.
Before terminal initiates a session request message, terminal creates flow media session letter by browser in described terminal Breath, including allocation medium session port, voice and video coded format etc..
WebRTC agency monitors conversation request message, creates interim conversation status information table on WebRTC agency;Tool When body is realized, WebRTC acts on behalf of the bandwidth demand and other business stream informations explaining and obtaining that conversation request message includes;
WebRTC agency configures according to user's signing of the bandwidth demand that includes of conversation request message obtaining and terminal Bandwidth demand in information is processed accordingly, for example, when the bandwidth demand in business stream information is more than user's signing configuration During bandwidth demand in information, then the bandwidth demand in modification business stream information is so that the bandwidth demand in business stream information is little Bandwidth demand in user's signing configuration information.
402nd, conversation request message or amended conversation request message are sent separately by WebRTC agency by Web server One terminal.
403rd, WebRTC agency detects the pre- response message of another terminal replies.
Specifically, after another terminal receives conversation request message or amended conversation request message, by browser Flow media session information is created on described another terminal, for example, distributes session port;For example, according to conversation request message or Business stream information in amended conversation request message, obtains the media informations such as the voice and video that terminal is supported, selects this The media information that session uses, alternatively, if another terminal supports multiple voice and video coded formats, appoints according to user instruction Select the voice and video coded format of a support.Then, another terminal passes through Web server to the terminal pre- response message of transmission.
After WebRTC agency detects the pre- response message of another terminal replies, the pre- response message of another terminal replies In bandwidth demand and WebRTC agency on interim conversation status information table in bandwidth demand inconsistent when, WebRTC agency Bandwidth need in interim conversation status information table on described WebRTC agency are updated according to the bandwidth demand in pre- response message Ask.Generally, WebRTC agency can also be by other business stream informations in pre- response message, the such as business of another terminal responds The IP address of type, service port and another terminal, is saved in interim conversation status information table.
404th, pre- response message is sent to terminal by WebRTC agency.
405th, terminal, according to pre- response message, updates the flow media session information in described terminal.
After terminal receives pre- response message, need according to the bandwidth demand in pre- response message and other Business Streams Information, updates the flow media session information in described terminal, for example, preserves the IP address of another terminal and service port and another Voice or the code/decode format of video that one terminal is supported, and for example, it is assumed that another terminal only have answered partial service stream information, Terminal, according to the partial service stream information of another terminal responds, deletes other parts business stream information, and for example, on more new terminal Flow media session information in bandwidth demand.
Now, establish streaming media communication path between terminal and another terminal, terminal and another terminal can be by building Vertical streaming media communication path, according to respective flow media session information realization flow media session.Or
406th, WebRTC agency detects the response message that another terminal is sent to terminal by Web server.
Assume that another terminal accepts conversation request according to user instruction, you can trigger another terminal pass through Web server to Terminal sends response message.
After WebRTC agency detects the response message of another terminal replies, in the response message of another terminal replies When the bandwidth demand in interim conversation status information table on bandwidth demand and WebRTC agency is inconsistent, WebRTC acts on behalf of basis Bandwidth demand in response message updates the bandwidth demand in the interim conversation status information table on described WebRTC agency.Logical Often, WebRTC agency can also be by other business stream informations in response message, the such as type of service of another terminal responds, industry Business port and the IP address of another terminal, are saved in interim conversation status information table.
407th, response message is sent to terminal by WebRTC agency;
408th, terminal, according to response message, updates the flow media session information in described terminal.
For example, IP address and the voice of service port and the support of another terminal or the volume solution of video of another terminal are preserved Code form, but for example, it is assumed that another terminal only have answered partial service stream information, terminal is according to the part industry of another terminal responds Business stream information, deletes other parts business stream information.
Terminal, is then entered using amended business stream information according to the flow media session information after updating by browser Row communication.
Alternatively, agent equipment can obtain the type of service in conversation request message or response message further, configuration Service quality rating information corresponding with this type of service, afterwards, corresponding for this type of service service quality rating information is sent out Give the wireless wireless access point device being connected with described terminal, so that wireless access point device is according to described service quality rating Information, arranges priority corresponding with described service quality rating information, so that wireless access point device detects being derived from After the Business Stream of terminal, the type of service that included according to business stream information, determine this type of service corresponding QoS grade, so Afterwards corresponding priority flag is carried out to this Business Stream.
For example, when terminal is to another terminal transmission conversation media stream, wireless access point device can detect self terminal Media Stream, obtains the business stream information in Media Stream, determines corresponding Qos according to the type of service in the business stream information obtaining Class information, the Qos class information according to determining determines the priority of corresponding Business Stream.When Media Stream is IPv4 message, then Priority tag can be added to the 4th edition Internet protocol(English:Internet Protocol version 4, referred to as IPv4)The COS of message(English:Type of Service, abbreviation ToS)Field.In actual applications, next-hop device When receiving the Media Stream with priority tag, can be transmitted according to priority tag, the matchmaker of such as high priority Body stream first transmits, and transmits after the Media Stream of low priority.
Again for example, when another terminal is to terminal transmission conversation media stream, wireless access point device can detect from another The Media Stream of terminal, obtains the business stream information in Media Stream, and it is right to be determined according to the type of service in the business stream information obtaining The Qos class information answered, the Qos class information according to determining determines the priority of corresponding Business Stream.Wireless access point device The transmit queue of the corresponding priority of Media Stream is determined according to priority tag and is sent to terminal.The Media Stream of high priority is first It is transferred to terminal, transmission terminal after the Media Stream of low priority.
The embodiment of the present invention monitors, by agent equipment, the conversation request message that terminal sends to another terminal, according to meeting The bandwidth demand that words request message includes, and the bandwidth demand that user's signing configuration information of this terminal includes, determine The bandwidth whether bandwidth demand that conversation request message includes is included with the user's signing configuration information more than this terminal needs Ask, if so, then the bandwidth demand that conversation request message includes is modified so that the bandwidth that includes of conversation request message Demand is less than the bandwidth demand that user's signing configuration information of this terminal includes;Afterwards, by amended conversation request message It is sent to another terminal;Bandwidth demand such that it is able to realize according to user's signing configuration information of terminal includes dynamically is adjusted Bandwidth demand in the business stream information that whole terminal is initiated, thus not cause shadow to the real-time communication service based on WWW Ring it is ensured that the seriality of business.
The signaling diagram of the implementation method of the real-time Communication for Power based on WWW that Fig. 5 provides for another embodiment of the present invention;As Shown in Fig. 5, when another terminal initiates the process of voice or video real-time Communication for Power to terminal, specifically include:
501st, WebRTC agency monitors the conversation request message that another terminal is initiated.
Another terminal is initiated a session request message to terminal by Web server, this conversation request message be used for request with Terminal sets up flow media session, and flow media session includes at least one in voice or video or data transfer.
Before another terminal initiates a session request message, another terminal creates stream by browser in described another terminal Media session information, including allocation medium session port, voice and video coded format etc..
WebRTC agents monitor, to after conversation request message, creates interim conversation status information on WebRTC agency Table;When implementing, WebRTC acts on behalf of the bandwidth demand and other Business Streams explaining and obtaining that conversation request message includes Information.
WebRTC agency contracts according to the user of the bandwidth demand that includes of conversation request message obtaining and terminal and joins Bandwidth demand in confidence breath is processed, for example, when the bandwidth demand that conversation request message includes is more than the user of terminal During bandwidth demand in signing configuration information, then the modification bandwidth demand that includes of conversation request message.
502nd, conversation request message or amended conversation request message are sent terminal by WebRTC agency.
503rd, WebRTC agency detects the pre- response message of terminal replies.
Specifically, after terminal receives conversation request message or amended conversation request message, by browser in institute State establishment flow media session information in terminal, for example, distribute session port;For example, according to conversation request message or amended Business stream information in conversation request message, obtains the media informations such as the voice and video that another terminal is supported, selects this session The media information using, alternatively, if the terminal multiple voice and video coded formats of support, optional one according to user instruction Voice and video coded format.Then, pre- response message is sent to another terminal by Web server.
Bandwidth after WebRTC agency detects the pre- response message of terminal replies, in the pre- response message of terminal replies When the bandwidth demand in interim conversation status information table in demand and WebRTC agency is inconsistent, WebRTC agency answers according to pre- Answer the bandwidth demand in message and update the bandwidth demand in the interim conversation status information table on described WebRTC agency.Generally, WebRTC agency can also be by other business stream informations in pre- response message, the such as type of service of terminal responds, business end Mouth and the IP address of terminal, are saved in interim conversation status information table.
504th, pre- response message is sent to another terminal by Web server by WebRTC agency.
505th, another terminal, according to pre- response message, updates the flow media session information in described another terminal.
After another terminal receives pre- response message, need according to the bandwidth demand comprising in pre- response message and Other business stream informations, update the flow media session information in described another terminal, for example, preserve IP address and the business of terminal The voice of port and terminal support or the code/decode format of video, but for example, it is assumed that terminal only have answered partial service stream letter Breath, another terminal, according to the partial service stream information of terminal responds, deletes other parts business stream information;Again for example, according to pre- The bandwidth demand comprising in response message updates the bandwidth demand in the flow media session information in described another terminal.
Now, establish streaming media communication path between terminal and another terminal, terminal and another terminal can be by building Vertical streaming media communication path, according to respective flow media session information realization flow media session.Or
506th, WebRTC agency detects the response message that terminal is sent to another terminal by Web server.
Assume that terminal accepts conversation request according to user instruction, you can triggering terminal passes through Web server to another terminal Send response message.
Bandwidth demand after WebRTC agency detects the response message of terminal replies, in the response message of terminal replies When inconsistent with the bandwidth demand in the interim conversation status information table on WebRTC agency, WebRTC acts on behalf of according to response message In bandwidth demand update described WebRTC agency on interim conversation status information table in bandwidth demand.Generally, WebRTC Agency can also be by other business stream informations in response message, the such as type of service of terminal responds, service port and end The IP address at end, is saved in interim conversation status information table.
507th, response message is sent to another terminal by WebRTC agency.
508th, another terminal, according to response message, updates the flow media session information in described another terminal.
For example, IP address and the voice of service port and terminal support or the code/decode format of video of terminal are preserved, Again for example, it is assumed that terminal only have answered partial service stream information, another terminal, according to the partial service stream information of terminal responds, is deleted Except other parts business stream information.Now, terminal and another terminal carry out real time flow medium communication by streaming media communication path.
The embodiment of the present invention monitors, by agent equipment, the conversation request message that another terminal sends to terminal, according to meeting The bandwidth demand that words request message includes, and the bandwidth demand that user's signing configuration information of this terminal includes, determine The bandwidth whether bandwidth demand that conversation request message includes is included with the user's signing configuration information more than this terminal needs Ask, if so, then the bandwidth demand that conversation request message includes is modified so that the bandwidth that includes of conversation request message Demand is less than the bandwidth demand that user's signing configuration information of this terminal includes;Afterwards, by amended conversation request message It is sent to terminal;Bandwidth demand such that it is able to realize according to user's signing configuration information of terminal includes dynamically adjusts separately Bandwidth demand in the business stream information that one terminal is initiated, thus not cause shadow to the real-time communication service based on WWW Ring it is ensured that the seriality of business.
The signaling diagram of the implementation method of the real-time Communication for Power based on WWW that Fig. 6 provides for another embodiment of the present invention, when Wireless network is subject to the factors such as the interference of wireless signal, or wireless network speed has different degrees of fluctuation, or wirelessly When the network bandwidth can not be guaranteed, have influence on the real-time communication service based on WWW, in order to overcome this problem, this enforcement Example can monitor the flow process that link-state change information triggering session updates, detailed process such as Fig. 6 by wireless access point device Shown, including:
601st, wireless access point device detects wireless chaining status and changes.
Wherein, wireless link refers to the streaming media communication link set up between terminal and another terminal.
For example, after the packet loss of wireless link or retransmission rate are more than the thresholding specified, or the signal to noise ratio of wireless link Or after Signal to Interference plus Noise Ratio is more than the thresholding specified, wireless access point device can detect that wireless chaining status change.
602nd, wireless access point device is acted on behalf of to WebRTC and is sent wireless chaining status change information.
Wherein, wireless chaining status change information includes terminal iidentification or link information, and wherein, link information includes link Mark, further, link information can also include at least one in packet loss or signal to noise ratio.
603rd, WebRTC agency, according to wireless chaining status change information, adjusts the interim conversation preserving in WebRTC agency Status information table.
The corresponding relation of default thresholding and bandwidth demand variable quantity can be preserved in agent equipment.When implementing, For example, the packet loss of the link between terminal and another terminal is more than the first pre-determined threshold, such as, when 10%, agent equipment can To adjust the bandwidth demand in interim conversation status information table according to bandwidth demand variable quantity corresponding with the first pre-determined threshold, such as Reduce 20%;The packet loss of the link between terminal and another terminal is more than the second pre-determined threshold, such as when 25%, agent equipment The bandwidth demand in interim conversation status information table can be adjusted according to bandwidth demand variable quantity corresponding with the second pre-determined threshold, As reduced 40%.
And for example, it is assumed that when the SNR of the link between terminal and another terminal is less than three pre-determined threshold, agent equipment can With the corresponding bandwidth demand reducing in interim conversation status information table.
604th, WebRTC agency sends session updates message to terminal.
Wherein, session updates message includes the bandwidth demand after updating.
605th, WebRTC agency detects terminal and sends session updates request message by Web server to another terminal.
After terminal receives session updates message, whether the bandwidth demand after detection updates meets between terminal and another terminal The minimum bandwidth required for flow media session, if it is satisfied, then terminal updates the flow media session information that described terminal creates, Bandwidth demand after the renewal being included according to session updates message, the bandwidth need that modification flow media session information includes Ask, afterwards, send session updates request message, and the bandwidth after carrying renewal in session updates request message to another terminal Demand.Wherein, bandwidth demand after the renewal that session updates request message includes can be included with session new information Bandwidth demand after renewal is different.
If what the bandwidth demand that WebRTC agency detects in session updates request message was preserved in being acted on behalf of with WebRTC faces When session state information table in bandwidth demand inconsistent, WebRTC agent update WebRTC agency in preserve interim conversation shape Bandwidth demand in state information table.
606th, WebRTC agency sends session updates request message by Web server to another terminal.
607th, WebRTC agency detects another terminal and returns session updates response message by Web server to terminal.
Alternatively, after another terminal receives session updates request message, the band in session updates request message can be checked Whether wide demand meets the minimum bandwidth required for the flow media session between terminal and another terminal, if it is satisfied, then another Terminal adjusts the flow media session information creating in described another terminal, and is disappeared by Web server reply session updates response Cease to terminal.
If what the bandwidth demand that WebRTC agency detects in session updates response message was preserved in being acted on behalf of with WebRTC faces When session state information table in bandwidth demand inconsistent, bandwidth in WebRTC agent update interim conversation status information table needs Ask.
608th, session updates response message is sent to terminal by WebRTC agency.
Now, terminal utilizes browser according to the bandwidth demand in session updates response message, updates and creates in described terminal The flow media session information built, is then communicated using amended flow media session information.
In the embodiment of the present invention, the link between terminal and described another terminal is being monitored by wireless access point device When state changes, wireless access point device acts on behalf of transmission link state change message to WebRTC, and WebRTC acts on behalf of basis Described link-state change message readjusts the bandwidth demand that the interim conversation status information table on WebRTC agency includes, And send session updates message to terminal, so that the bandwidth demand after the renewal that included according to session updates message of terminal, to Another terminal sends session updates request message, triggers another terminal and returns session updates response message to terminal;Thus when no Gauze network is disturbed by wireless signal, or wireless network speed has different degrees of fluctuation, or the band of wireless network When width can not be guaranteed, the bandwidth that can be dynamically adjusted by webRTC agency in the business stream information of terminal initiation is needed Ask, thus not impacting the seriality it is ensured that business to based on the real-time communication service of WWW.
The structural representation realizing device of the real-time Communication for Power based on WWW that Fig. 7 provides for another embodiment of the present invention Figure;As shown in fig. 7, comprises:
Monitoring modular 71, for detecting the conversation request message of the real-time Communication for Power based on WWW of terminal initiation, institute State conversation request message and include bandwidth demand;
Adjusting module 72, if the user that the bandwidth demand including for described conversation request message is more than described terminal signs The bandwidth demand that about configuration information includes, then change the bandwidth demand that described conversation request message includes so that described meeting The bandwidth demand that words request message includes is less than or equal to the bandwidth demand that user's signing configuration information of described terminal includes;
Sending module 73, for being sent to described another end by amended for described adjusting module 72 conversation request message End.
In an embodiment of the invention, described device also includes:
Creation module 74, for the bandwidth demand being included according to the amended conversation request message of described adjusting module, Create interim conversation status information table, the bandwidth demand preservation that described amended conversation request message is included treat described in face When session state information table in.
Monitoring modular 71, the response being additionally operable to detect the real-time Communication for Power based on WWW that described another terminal is responded disappears Breath;
Adjusting module 72, if be additionally operable to bandwidth demand and the described interim conversation status information that described response message includes The bandwidth demand that table includes is inconsistent, then update described creation module wound according to the bandwidth demand that described response message includes Bandwidth demand in the interim conversation status information table built;
Sending module 73, is additionally operable to for described pre- response or response message to be sent to described terminal.
In an embodiment of the invention, adjusting module 72, are additionally operable to the wireless access connecting according to described terminal The link-state change message that point device sends, the bandwidth in the interim conversation status information table that the described creation module of adjustment creates Demand;
Sending module 73, is additionally operable to send session updates message to described terminal, described session updates message includes institute State the bandwidth demand after adjusting module adjustment.
Monitoring modular 71, the session updates being additionally operable to detect the real-time Communication for Power based on WWW that described terminal is initiated please Seek message, described session updates request message includes the bandwidth demand after described adjustment;
Sending module 73, is additionally operable to for described session updates request message to be sent to described another terminal.
Monitoring modular 71, is additionally operable to detect the session of the real-time Communication for Power based on WWW that described another terminal is responded more New response message;
Adjusting module 72, if be additionally operable to bandwidth demand and the described agent equipment that described session updates response message includes The bandwidth demand that the interim conversation status information table preserving includes is inconsistent, then wrap according in described session updates response message The bandwidth demand including updates the bandwidth demand in described interim conversation status information table;
Sending module 73, the session updates response message being additionally operable to described monitoring modular is detected is sent to described end End.
The embodiment of the present invention monitors, by agent equipment, the conversation request message that terminal sends to another terminal, according to meeting The bandwidth demand that words request message includes, and the bandwidth demand that user's signing configuration information of this terminal includes, determine The bandwidth whether bandwidth demand that conversation request message includes is included with the user's signing configuration information more than this terminal needs Ask, if so, then the bandwidth demand that conversation request message includes is modified so that the bandwidth that includes of conversation request message Demand is less than the bandwidth demand that user's signing configuration information of this terminal includes;Afterwards, by amended conversation request message It is sent to another terminal;Bandwidth demand such that it is able to realize according to user's signing configuration information of terminal includes dynamically is adjusted Bandwidth demand in the business stream information that whole terminal is initiated.
The structural representation realizing device of the real-time Communication for Power based on WWW that Fig. 8 provides for another embodiment of the present invention Figure;As shown in figure 8, the device of realizing of the real-time Communication for Power based on WWW of the present embodiment is specially agent equipment, described agency Equipment includes processor, memorizer and communication bus, and wherein, processor is connected with memorizer by communication bus, wherein, storage Preserve the realization instruction of real-time Communication for Power based on WWW in device, processor transfer and execute preserve in memorizer based on ten thousand The realization instruction of the real-time Communication for Power of dimension net;Described agent equipment also includes communication interface, and described agent equipment passes through communication interface With other net element communications.
Described processor, according to the instruction preserving in memorizer, executes following steps:
The conversation request message of the real-time Communication for Power based on WWW of terminal initiation is detected, in described conversation request message Including bandwidth demand;
If the bandwidth demand that described conversation request message includes is more than in user's signing configuration information of described terminal wrapping The bandwidth demand including, then change the bandwidth demand that described conversation request message includes so that wrapping in described conversation request message The bandwidth demand including is less than or equal to the bandwidth demand that user's signing configuration information of described terminal includes;
Described amended conversation request message is sent to described another terminal.
In an embodiment of the invention, described processor also executes the following steps:
The bandwidth demand being included according to amended conversation request message, creates interim conversation status information table, by institute State the bandwidth demand that amended conversation request message includes to be saved in described interim conversation status information table.
In an embodiment of the invention, described processor also executes the following steps:
The response message of the real-time Communication for Power based on WWW that described another terminal is responded is detected;
If the bandwidth that the bandwidth demand that described response message includes and described interim conversation status information table include needs Ask inconsistent, then the interim conversation state that described creation module creates is updated according to the bandwidth demand that described response message includes Bandwidth demand in information table;
Described response message is sent to described terminal.
In an embodiment of the invention, described processor also executes the following steps:
The link-state change message being sent according to the wireless access point device that described terminal connects, adjusts described establishment mould Bandwidth demand in the interim conversation status information table that block creates;
Send session updates message to described terminal, after described session updates message includes described adjusting module adjustment Bandwidth demand.
The session updates request message of the real-time Communication for Power based on WWW that described terminal is initiated is detected, described session is more New request message includes the bandwidth demand after described adjustment;
Described session updates request message is sent to described another terminal.
In an embodiment of the invention, described processor also executes the following steps:
The session updates response message of the real-time Communication for Power based on WWW that described another terminal is responded is detected;
If the interim conversation shape that the bandwidth demand that described session updates response message includes is preserved with described agent equipment The bandwidth demand that state information table includes is inconsistent, then updated according to the bandwidth demand that described session updates response message includes Bandwidth demand in described interim conversation status information table;
The session updates response message that described monitoring modular is detected is sent to described terminal.
The embodiment of the present invention monitors, by agent equipment, the conversation request message that terminal sends to another terminal, according to meeting The bandwidth demand that words request message includes, and the bandwidth demand that user's signing configuration information of this terminal includes, determine The bandwidth whether bandwidth demand that conversation request message includes is included with the user's signing configuration information more than this terminal needs Ask, if so, then the bandwidth demand that conversation request message includes is modified so that the bandwidth that includes of conversation request message Demand is less than the bandwidth demand that user's signing configuration information of this terminal includes;Afterwards, by amended conversation request message It is sent to another terminal;Bandwidth demand such that it is able to realize according to user's signing configuration information of terminal includes dynamically is adjusted Bandwidth demand in the business stream information that whole terminal is initiated.
The structural representation realizing system of the real-time Communication for Power based on WWW that Fig. 9 provides for another embodiment of the present invention Figure, as shown in figure 9, include:Agent equipment 91, wireless access point device 92, terminal 93 and another terminal 94;
Wherein, agent equipment 91 is the reality of above-mentioned Fig. 7 or the real-time Communication for Power based on WWW of embodiment illustrated in fig. 8 offer Existing device.Specifically, agent equipment 91 can be the mainboard being provided with WebRTC software, is arranged in WLAN controller.
Wireless access point device 92, specifically for monitoring that the Link State between terminal 93 and another terminal 94 becomes During change, to agent equipment 91 transmission link state change message, wherein, link-state change message includes terminal iidentification and chain Road information;Wherein, link information includes link identification, further, also includes packet loss, retransmission rate or noise in link information Than at least one.
Terminal 93, for being initiated a session request message to another terminal 94 by Web server, is wrapped in conversation request message Include business stream information, business stream information includes bandwidth demand;
Another terminal 94, for returning pre- response or response message, pre- response or response by Web server to terminal 93 Message includes the business stream information of another terminal responds.
The embodiment of the present invention monitors, by agent equipment, the conversation request message that terminal sends to another terminal, according to meeting The bandwidth demand of the business stream information that words request message includes, and the band that user's signing configuration information of this terminal includes Wide demand, determines whether the bandwidth demand of the business stream information that conversation request message includes is contracted with the user more than this terminal The bandwidth demand that configuration information includes, the bandwidth demand of the business stream information if so, then conversation request message being included enters Row modification is so that user's signing configuration that the bandwidth demand of business stream information that conversation request message includes is less than this terminal is believed The bandwidth demand that breath includes;Afterwards, amended conversation request message is sent to another terminal;Such that it is able to realize basis The bandwidth demand that user's signing configuration information of terminal includes dynamically adjusts the bandwidth in the business stream information of terminal initiation Demand.
Further, in the present embodiment, monitored between terminal and described another terminal by wireless access point device Link State when changing, wireless access point device is to agent equipment transmission link state change message, agent equipment root Readjust the Business Stream letter that the interim conversation status information table on agent equipment includes according to described link-state change message Breath, and send session updates message to terminal, so that terminal is according to session updates message, sending session updates to another terminal please Seek message, trigger another terminal and return session updates response message to terminal;Thus when wireless network is done by wireless signal Disturb, or wireless network speed has different degrees of fluctuation, or when the bandwidth of wireless network can not be guaranteed, by generation Reason equipment can dynamically adjust the bandwidth demand in the business stream information of terminal initiation, thus not to the reality based on WWW When communication service impact the seriality it is ensured that business.
Those skilled in the art can be understood that, for convenience and simplicity of description, the system of foregoing description, Device and the specific work process of unit, may be referred to the corresponding process in preceding method embodiment, will not be described here.
It should be understood that disclosed system in several embodiments provided herein, apparatus and method are permissible Realize by another way.For example, device embodiment described above is only schematically, for example, described unit Divide, only a kind of division of logic function, actual can have other dividing mode when realizing, for example multiple units or assembly Can in conjunction with or be desirably integrated into another system, or some features can be ignored, or does not execute.Another, shown or The coupling each other discussing or direct-coupling or communication connection can be by some interfaces, the indirect coupling of device or unit Close or communicate to connect, can be electrical or other form.
The described unit illustrating as separating component can be or may not be physically separate, show as unit The part showing can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.The mesh to realize this embodiment scheme for some or all of unit therein can be selected according to the actual needs 's.
In addition, can be integrated in a processing unit in each functional unit in each embodiment of the present invention it is also possible to It is that unit is individually physically present it is also possible to two or more units are integrated in a unit.Above-mentioned integrated list Unit both can be to be realized in the form of hardware, it would however also be possible to employ the form that hardware adds SFU software functional unit is realized.
The above-mentioned integrated unit realized in the form of SFU software functional unit, can be in terms of being stored in one in the form of code In calculation machine read/write memory medium.Above-mentioned code is stored in a computer-readable recording medium, including some instructions in order to Processor or hardware circuit is made to execute the part or all of step of each embodiment methods described of the present invention.And aforesaid storage is situated between Matter includes:The miniature high power capacity mobile storage disc without phisical drive of USB, portable hard drive, read-only deposit Reservoir(English:Read-only memory, abbreviation ROM), random access memory(English:Random-accessmemory, Abbreviation RAM), magnetic disc or CD etc. are various can be with the medium of store program codes.
Finally it should be noted that:Above example only in order to technical scheme to be described, is not intended to limit;Although With reference to the foregoing embodiments the present invention is described in detail, it will be understood by those within the art that:It still may be used To modify to the technical scheme described in foregoing embodiments, or equivalent is carried out to wherein some technical characteristics; And these modifications or replacement, do not make the essence of appropriate technical solution depart from the protection model of various embodiments of the present invention technical scheme Enclose.

Claims (8)

1. a kind of implementation method of the real-time Communication for Power based on WWW is it is characterised in that include:
Agent equipment detects the conversation request message of the real-time Communication for Power based on WWW of terminal initiation, and described conversation request disappears Breath includes bandwidth demand;
If the bandwidth demand in described conversation request message is more than the bandwidth demand that the user of described terminal contracts in configuration information, Then change the bandwidth demand in described conversation request message so that the bandwidth demand of described conversation request message is less than or equal to described The bandwidth demand that the user of terminal contracts in configuration information;
Described amended conversation request message is sent to another terminal;
After changing the bandwidth demand in described conversation request message, including:
Described agent equipment, according to described amended conversation request message, creates interim conversation status information table, and will be described Bandwidth demand in amended conversation request message is saved in described interim conversation status information table;
Described agent equipment receives the link-state change message that the wireless access point device being connected with described terminal is sent, according to Described link-state change message adjusts the bandwidth demand in described interim conversation status information table;
Described agent equipment sends session updates message to described terminal, after described session updates message includes described adjustment Bandwidth demand.
2. method according to claim 1 it is characterised in that be sent to another by described amended conversation request message After terminal, also include:
Described agent equipment detects the response message of the real-time Communication for Power based on WWW that described another terminal is responded;
If the bandwidth demand that the bandwidth demand that described response message includes and described interim conversation status information table include is not Unanimously, then the bandwidth need in described interim conversation status information table are updated according to the bandwidth demand that described response message includes Ask;
Described response message is sent to described terminal.
3. method according to claim 1 is it is characterised in that described agent equipment disappears to described terminal transmission session updates After breath, including:
Described agent equipment detects the session updates request message of the real-time Communication for Power based on WWW that described terminal is initiated, institute State the bandwidth demand after session updates request message includes described adjustment;
Described session updates request message is sent to described another terminal.
4. method according to claim 3 it is characterised in that be sent to described another by described session updates request message After terminal, including:
The session updates response that described agent equipment detects the real-time Communication for Power based on WWW that described another terminal is responded disappears Breath;
If the interim conversation state letter that the bandwidth demand that described session updates response message includes is preserved with described agent equipment The bandwidth demand that breath table includes is inconsistent, then according to the bandwidth demand that described session updates response message includes updates Bandwidth demand in interim conversation status information table;
Described session updates response message is sent to described terminal.
5. a kind of real-time Communication for Power based on WWW realize device it is characterised in that include:
Monitoring modular, for detecting the conversation request message of the real-time Communication for Power based on WWW of terminal initiation, described session Request message includes bandwidth demand;
Adjusting module, if the bandwidth demand including for described conversation request message is more than user's signing configuration of described terminal The bandwidth demand that information includes, then change the bandwidth demand that described conversation request message includes so that described conversation request The bandwidth demand that message includes is less than or equal to the bandwidth demand that user's signing configuration information of described terminal includes;
Sending module, for being sent to another terminal by amended for described adjusting module conversation request message;
Also include:
Creation module, for the bandwidth demand being included according to the amended conversation request message of described adjusting module, establishment is faced When session state information table, the bandwidth demand that described amended conversation request message is included is saved in described interim conversation In status information table;
Described adjusting module, is additionally operable to the link-state change according to the wireless access point device that described terminal connects sends and disappears Breath, the bandwidth demand in the interim conversation status information table that the described creation module of adjustment creates;
Described sending module, is additionally operable to send session updates message to described terminal, described session updates message includes described Bandwidth demand after adjusting module adjustment.
6. device according to claim 5, it is characterised in that described monitoring modular, is additionally operable to described another end is detected The response message of the real-time Communication for Power based on WWW that end is responded;
Described adjusting module, if be additionally operable to bandwidth demand and the described interim conversation status information table that described response message includes The bandwidth demand including is inconsistent, then update described creation module according to the bandwidth demand that described response message includes and create Interim conversation status information table in bandwidth demand;
Described sending module, is additionally operable to for described response message to be sent to described terminal.
7. device according to claim 5 is it is characterised in that described monitoring modular, is additionally operable to described terminal is detected and sends out The session updates request message of the real-time Communication for Power based on WWW rising, described session updates request message includes described adjustment Bandwidth demand afterwards;
Described sending module, is additionally operable to for described session updates request message to be sent to described another terminal.
8. device according to claim 7, it is characterised in that described monitoring modular, is additionally operable to described another end is detected The session updates response message of the real-time Communication for Power based on WWW that end is responded;
Described adjusting module, if be additionally operable to bandwidth demand and the agent equipment preservation that described session updates response message includes The bandwidth demand that interim conversation status information table includes is inconsistent, then the band being included according to described session updates response message Wide demand updates the bandwidth demand in described interim conversation status information table;
Described sending module, the session updates response message being additionally operable to described monitoring modular is detected is sent to described terminal.
CN201210480873.8A 2012-11-23 2012-11-23 The implementation method of the real-time Communication for Power based on WWW and device Active CN103841085B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201210480873.8A CN103841085B (en) 2012-11-23 2012-11-23 The implementation method of the real-time Communication for Power based on WWW and device
PCT/CN2013/087681 WO2014079386A1 (en) 2012-11-23 2013-11-22 Method and device for realizing real-time communication based on world wide web

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210480873.8A CN103841085B (en) 2012-11-23 2012-11-23 The implementation method of the real-time Communication for Power based on WWW and device

Publications (2)

Publication Number Publication Date
CN103841085A CN103841085A (en) 2014-06-04
CN103841085B true CN103841085B (en) 2017-03-08

Family

ID=50775558

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210480873.8A Active CN103841085B (en) 2012-11-23 2012-11-23 The implementation method of the real-time Communication for Power based on WWW and device

Country Status (2)

Country Link
CN (1) CN103841085B (en)
WO (1) WO2014079386A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102014012355A1 (en) * 2014-08-25 2016-02-25 Unify Gmbh & Co. Kg Method for controlling a multimedia application, software product and device
CN107423128B (en) * 2017-07-31 2021-03-30 北京京东尚科信息技术有限公司 Information processing method and system
CN112911193A (en) * 2021-01-29 2021-06-04 浪潮软件科技有限公司 WebRTC video call-based bandwidth control method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101030924A (en) * 2006-03-03 2007-09-05 中兴通讯股份有限公司 Method for adapting dynamic bandwidth
CN101242568A (en) * 2007-02-09 2008-08-13 华为技术有限公司 A method and system for service quality negotiation in wireless communication network
CN101330436A (en) * 2007-06-19 2008-12-24 上海贝尔阿尔卡特股份有限公司 Method and device for transmitting adjustable multicast multimedia service data
CN101436990A (en) * 2008-12-23 2009-05-20 深圳华为通信技术有限公司 Method for automatically adjusting encoding rate, receiving device and communication system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8400921B2 (en) * 2010-03-17 2013-03-19 Cisco Technology, Inc. System and method for providing rate control in a network environment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101030924A (en) * 2006-03-03 2007-09-05 中兴通讯股份有限公司 Method for adapting dynamic bandwidth
CN101242568A (en) * 2007-02-09 2008-08-13 华为技术有限公司 A method and system for service quality negotiation in wireless communication network
CN101330436A (en) * 2007-06-19 2008-12-24 上海贝尔阿尔卡特股份有限公司 Method and device for transmitting adjustable multicast multimedia service data
CN101436990A (en) * 2008-12-23 2009-05-20 深圳华为通信技术有限公司 Method for automatically adjusting encoding rate, receiving device and communication system

Also Published As

Publication number Publication date
CN103841085A (en) 2014-06-04
WO2014079386A1 (en) 2014-05-30

Similar Documents

Publication Publication Date Title
KR102069141B1 (en) Service layer southbound interface and quality of service
CN110519805A (en) The method and apparatus of GBR QoS flow are established in a session
CN101171853B (en) Optimizing network performance system for communication services
CN103828476B (en) Control the method and network node and corresponding system and computer program of the resource of service conversation
CN107646197A (en) Small data use in 3GPP networks allows to
CN111211912B (en) Charging method and device
CN101932029A (en) Data transmission method, equipment and system
CN108934007A (en) A kind of policy control method, PCF and the SMF of UPF gravity treatment
CN109982377A (en) A kind of QoS control method and equipment
CN101491005A (en) Methods and apparatus for policy enforcement in a wireless communication system
CN103650623A (en) Transmission of short packet data messages via a signaling radio bearer
JP2009513078A (en) Policy enforcement point interface system and method
CN103650420A (en) Bearer control on the basis of probing
CN105791165A (en) Service carrying method, communication terminal, control network element S-CSCF and system
JP6122215B2 (en) Method and apparatus for controlling network capacity
CN103119981B (en) Method for controlling quality of service and equipment
CN112105091A (en) Session management method, Session Management Function (SMF) entity, terminal and network side entity
KR20010103682A (en) Resource reservation in 3G or future generation telecommunication network (Ⅳ)
CN103841085B (en) The implementation method of the real-time Communication for Power based on WWW and device
WO2015010572A1 (en) Methods, devices, and systems for controlling audio and video transmission
CN107820246A (en) The methods, devices and systems of user authentication
KR20200024453A (en) Method and apparatus for improving the quality of a service in communication systems
WO2022067700A1 (en) Communication method, apparatus, and system
CN102918915B (en) Method and device for controlling service stream
CN106533937B (en) A kind of distributed message forwarding method of multipath and base station

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant