CN103841085A - Method and device for implementation of web real-time communication - Google Patents

Method and device for implementation of web real-time communication Download PDF

Info

Publication number
CN103841085A
CN103841085A CN201210480873.8A CN201210480873A CN103841085A CN 103841085 A CN103841085 A CN 103841085A CN 201210480873 A CN201210480873 A CN 201210480873A CN 103841085 A CN103841085 A CN 103841085A
Authority
CN
China
Prior art keywords
bandwidth demand
terminal
request message
message
session updates
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201210480873.8A
Other languages
Chinese (zh)
Other versions
CN103841085B (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

Images

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

An embodiment of the invention discloses a method and a device for implementation of web real-time communication. The method comprises: a proxy device detects a session request message of a web real-time communication initiated by a terminal, wherein the session request message includes a bandwidth requirement; if the bandwidth requirement included in the session request message is greater than a bandwidth requirement included in user-signed configuration information of the terminal, the bandwidth requirement included in the session request message is modified so that the bandwidth requirement included in the session request message is less than or equal to the bandwidth requirement included in the user-signed configuration information of the terminal; and the modified session request message is sent to another terminal. The method solves the problem that web real-time communication businesses cannot adjust business flow information dynamically according to bandwidth changes so that communication businesses are affected.

Description

The implementation method of the real time communication based on World Wide Web (WWW) and device
Technical field
The embodiment of the present invention relates to communication technical field, relates in particular to a kind of implementation method and device of the real time communication based on World Wide Web (WWW).
Background technology
Fig. 1 is the real time communication (English: Web Real-Time Communication based on World Wide Web (WWW), be called for short WebRTC) system architecture diagram, as shown in Figure 1, terminal 1 can be passed through browser access Web server, wherein, Web server for example can pass through HTML (Hypertext Markup Language) (English: Hypertext TransferProtocol, be called for short HTTP) or WebSocket communicate by letter with terminal 1, wherein, WebSocket realizes in browser in order to terminal 1 and the two-way communication of Web server.Simultaneously, Web server is mutual by signaling paths other Web servers corresponding with terminal 2, Business Stream information in the flow media session that needs to set up with negotiation terminal 1 and terminal 2, wherein, Business Stream information comprises the information such as bandwidth demand, coded format, type of service, service port, thereby make to set up streaming media communication path between terminal 1 and terminal 2, realize the streaming media service such as voice, video, data.
But, in actual applications, while causing the required bandwidth of streaming media service between terminal 1 and terminal 2 not to be guaranteed due to the fluctuation of wireless network speed, at present, real time communication business based on World Wide Web (WWW) can not dynamically be adjusted the bandwidth demand in Business Stream information according to wireless network state, thereby can affect the real time communication business based on World Wide Web (WWW).
Summary of the invention
The invention provides a kind of implementation method and device of the real time communication based on World Wide Web (WWW), can not dynamically adjust bandwidth demand in Business Stream information according to wireless network state and affect the problem of communication service in order to solve real time communication business based on World Wide Web (WWW).
First aspect, the invention provides a kind of implementation method of the real time communication based on World Wide Web (WWW), comprising:
Agent equipment detects the conversation request message of the real time communication based on World Wide Web (WWW) of terminal initiation, and described conversation request message comprises bandwidth demand;
If the bandwidth demand that described conversation request message comprises is greater than the bandwidth demand that the signing configuration information of the user of described terminal comprises, revise the bandwidth demand that described conversation request message comprises, the bandwidth demand that described conversation request message is comprised is less than or equal to the bandwidth demand that the signing configuration information of user of described terminal comprises;
Described amended conversation request message is sent to another terminal.
Based on first aspect, in the possible implementation of the first of first aspect, before described amended conversation request message is sent to another terminal, comprising:
Described agent equipment, according to described amended conversation request message, creates interim conversation state information table, and the bandwidth demand that described amended conversation request message is comprised is saved in described interim conversation state information table.
The possible implementation of the first based on first aspect, in the possible implementation of the second, after described amended conversation request message is sent to another terminal, also comprises:
Described agent equipment detects the response message of the real time communication based on World Wide Web (WWW) of described another terminal response;
If the bandwidth demand that the bandwidth demand that described response message comprises and described interim conversation state information table comprise is inconsistent, the bandwidth demand comprising according to described response message upgrades the bandwidth demand in described interim conversation state information table;
Described response message is sent to described terminal.
Based on any the possible implementation in first aspect and first aspect first and second kinds, in the third possible implementation, described method also comprises:
Described agent equipment receives the link-state change message of the wireless access point device transmission being connected with described terminal, adjusts the bandwidth demand in described interim conversation state information table according to described link-state change message;
Described agent equipment sends session updates message to described terminal, and described session updates message comprises the bandwidth demand after described adjustment.
Based on the third possible implementation of first aspect, in the 4th kind of possible implementation, described agent equipment, after described terminal sends session updates message, comprising:
Described agent equipment detects the session updates request message of the real time communication based on World Wide Web (WWW) of described terminal initiation, and described session updates request message comprises the bandwidth demand after described adjustment;
Described session updates request message is sent to described another terminal.
Based on the 4th kind of possible implementation of first aspect, in the 5th kind of possible implementation, after described session updates request message is sent to described another terminal, comprising:
Described agent equipment detects the session updates response message of the real time communication based on World Wide Web (WWW) of described another terminal response;
If the bandwidth demand that the interim conversation state information table that the bandwidth demand that described session updates response message comprises and described agent equipment are preserved comprises is inconsistent, the bandwidth demand comprising according to described session updates response message upgrades the bandwidth demand in described interim conversation state information table;
Described session updates response message is sent to described terminal.
Second aspect, the invention provides a kind of implement device of the real time communication based on World Wide Web (WWW), comprising:
Monitoring modular, for detection of the conversation request message of the real time communication based on World Wide Web (WWW) of initiating to terminal, described conversation request message comprises bandwidth demand;
Adjusting module, if the bandwidth demand comprising for described conversation request message is greater than the bandwidth demand that the signing configuration information of the user of described terminal comprises, revise the bandwidth demand that described conversation request message comprises, the bandwidth demand that described conversation request message is comprised is less than or equal to the bandwidth demand that the signing configuration information of user of described terminal comprises;
Sending module, for sending to amended described adjusting module conversation request message described another terminal.
Based on second aspect, in the possible implementation of the first of second aspect, described device also comprises:
Creation module, for the bandwidth demand comprising according to the amended conversation request message of described adjusting module, create interim conversation state information table, the bandwidth demand that described amended conversation request message is comprised is saved in described interim conversation state information table.
The possible implementation of the first based on second aspect, in the possible implementation of the second, monitoring modular, also for detection of the response message of the real time communication based on World Wide Web (WWW) of responding to described another terminal;
Described adjusting module, if the bandwidth demand that the bandwidth demand also comprising for described response message and described interim conversation state information table comprise is inconsistent, the bandwidth demand comprising according to described response message upgrades the bandwidth demand in the interim conversation state information table that described creation module creates;
Described sending module, also for sending to described terminal by described response message.
Based on any the possible implementation in second aspect and second aspect first and second kinds, in the third possible implementation, described adjusting module, the link-state change message also sending for the wireless access point device connecting according to described terminal, adjusts the bandwidth demand in the interim conversation state information table that described creation module creates;
Described sending module, also for sending session updates message to described terminal, described session updates message comprises the bandwidth demand after described adjusting module is adjusted.
Based on the third possible implementation of second aspect, in the 4th kind of possible implementation, described monitoring modular, also, for detection of the session updates request message of the real time communication based on World Wide Web (WWW) of initiating to described terminal, described session updates request message comprises the bandwidth demand after described adjustment;
Described sending module, also for sending to described session updates request message described another terminal.
Based on the 4th kind of possible implementation of second aspect, in the 5th kind of possible implementation, described monitoring modular, also for detection of the session updates response message of the real time communication based on World Wide Web (WWW) of responding to described another terminal;
Described adjusting module, if the bandwidth demand that the interim conversation state information table that the bandwidth demand also comprising for described session updates response message and described agent equipment are preserved comprises is inconsistent, the bandwidth demand comprising according to described session updates response message upgrades the bandwidth demand in described interim conversation state information table;
Described sending module, also sends to described terminal for the session updates response message that described monitoring modular is detected.
The present invention monitors by agent equipment the conversation request message that terminal sends to another terminal, the bandwidth demand comprising according to conversation request message, and the bandwidth demand that comprises of the signing configuration information of the user of this terminal, determine the bandwidth demand whether bandwidth demand that conversation request message comprises comprises with the signing configuration information of the user who is greater than this terminal, if, the bandwidth demand conversation request message being comprised is modified, the bandwidth demand that the signing configuration information of user that makes bandwidth demand in conversation request message be less than this terminal comprises; Thereby can realize the bandwidth demand comprising according to the signing configuration information of the user of terminal and adjust the bandwidth demand in the conversation request message of terminal initiation.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the system architecture diagram of the real time communication WebRTC based on World Wide Web (WWW);
The schematic flow sheet of the implementation method of the real time communication based on World Wide Web (WWW) that Fig. 2 provides for one embodiment of the invention;
The schematic flow sheet of the implementation method of the real time communication based on World Wide Web (WWW) that Fig. 3 provides for another embodiment of the present invention;
The signaling diagram of the implementation method of the real time communication based on World Wide Web (WWW) that Fig. 4 provides for another embodiment of the present invention;
The signaling diagram of the implementation method of the real time communication based on World Wide Web (WWW) that Fig. 5 provides for another embodiment of the present invention;
The signaling diagram of the implementation method of the real time communication based on World Wide Web (WWW) that Fig. 6 provides for another embodiment of the present invention;
The structural representation of the implement device of the real time communication based on World Wide Web (WWW) that Fig. 7 provides for another embodiment of the present invention;
The structural representation of the implement device of the real time communication based on World Wide Web (WWW) that Fig. 8 provides for another embodiment of the present invention;
The structural representation of the system that realizes of the real time communication based on World Wide Web (WWW) that Fig. 9 provides for another embodiment of the present invention.
Embodiment
For making object, technical scheme and the advantage of the embodiment of the present invention clearer, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
The schematic flow sheet of the implementation method of the real time communication based on World Wide Web (WWW) that Fig. 2 provides for one embodiment of the invention, as shown in Figure 2, the implementation method of the real time communication based on World Wide Web (WWW) of the present embodiment can comprise:
201, agent equipment detects the conversation request message of the real time communication based on World Wide Web (WWW) of terminal initiation, and described conversation request message comprises bandwidth demand.
The conversation request message of the real time communication based on World Wide Web (WWW) that wherein, terminal is initiated is the conversation request message that terminal is initiated to another terminal by Web server.
For instance, this conversation request message is a kind of request message of regulation in Session Description Protocol (English: Session DescriptionProtocol, abbreviation SDP), as offer message.
This terminal sends this conversation request message, to ask setting up streaming media service between another terminal.This conversation request message comprises bandwidth demand, and wherein, the bandwidth demand that conversation request message comprises is the bandwidth that this terminal is asked for streaming media service to be set up.Conventionally, in conversation request message, can also comprise the Business Stream information such as IP address of type of service, service port and terminal.
Wherein, agent equipment is real time communication (English: Web Real-timecommunication, the abbreviation WebRTC) agency based on World Wide Web (WWW).This WebRTC agency can adopt the mainboard that WebRTC software is installed to realize.For instance, this mainboard that WebRTC software is installed can be arranged in WLAN (wireless local area network) (English: wireless local area network, abbreviation WLAN) controller.This WLAN controller is generally used for management and controls WAP (wireless access point) (English: accesspoint is called for short AP) equipment, for wireless access point device provides business configuration.This WLAN controller can be the access controller (English: Access Controller, abbreviation AC) of following Request for Comment (English: Request for Comments, abbreviation RFC) 5415.
In an embodiment of the invention, terminal is by after wireless access point device interconnection network, terminal creates flow media session information in described terminal by browser, such as allocation medium session port, voice and video coded format etc., afterwards, terminal sends conversation request message by Web server to another terminal.Agent equipment detects the conversation request message that terminal is initiated to another terminal by Web server, obtains the Business Stream information that this conversation request message comprises, and further obtains the bandwidth demand being included in Business Stream information.
202, agent equipment determines whether bandwidth demand that described conversation request message comprises is greater than the bandwidth demand that the signing configuration information of user of described terminal comprises, if agent equipment is determined bandwidth demand that described conversation request message comprises and is less than or equal to the bandwidth demand that the signing configuration information of user of described terminal comprises, perform step 203, if agent equipment is determined bandwidth demand that described conversation request message comprises and is greater than the bandwidth demand that the signing configuration information of user of described terminal comprises, performs step 204.
Wherein, the signing configuration information of user is in the time that terminal is signing to Virtual network operator, the user who is this terminal configuration by the Virtual network operator configuration information of contracting.For instance, terminal is after the success of Virtual network operator registered network, agent equipment for example can be from the checking of Virtual network operator, authorization and accounting (English: Authentication Authorization Accounting, be called for short AAA) server or home subscriber server (English: Home Subscriber Server, be called for short HSS) in obtain and preserve the signing configuration information of the user corresponding with this terminal, wherein, the signing configuration information of user comprises bandwidth demand, conventionally, the bandwidth demand that the signing configuration information of user comprises refers to and can license to the maximum bandwidth that terminal use uses.
For instance, if the bandwidth demand that the signing configuration information of user comprises is 512 kilobits per seconds (English: kilobit per second, be called for short kbps), suppose that the bandwidth demand that comprises of Business Stream information that terminal is initiated is 1 megabit of (English: megabit per second per second, be called for short Mbps), can determine that bandwidth demand that Business Stream information comprises is greater than the bandwidth demand that the signing configuration information of user of described terminal comprises.If the bandwidth demand in the signing configuration information of user is 1Mbps, the bandwidth demand in Business Stream information is 512kbps, can determine that bandwidth demand that Business Stream information comprises is less than the bandwidth demand that the signing configuration information of user of described terminal comprises.
203, agent equipment sends to another terminal by described conversation request message by Web server.
If the bandwidth demand that the conversation request message that the definite terminal of agent equipment is initiated comprises is less than or equal to the bandwidth demand that the signing configuration information of user of described terminal comprises, agent equipment sends to another terminal by described conversation request message by WEB server;
Alternatively, agent equipment creates interim conversation state information table on this agent equipment, and the bandwidth demand that conversation request message is comprised is saved in interim conversation state information table, conventionally, in actual applications, except the bandwidth demand that conversation request message is comprised is saved in interim conversation state information table, other Business Stream information that agent equipment can also comprise conversation request message, for example type of service, the IP address of service port and terminal, is saved in interim conversation state information table.
204, agent equipment is revised the bandwidth demand that described conversation request message comprises, the bandwidth demand that described conversation request message is comprised is less than or equal to the bandwidth demand that the signing configuration information of described user comprises, amended conversation request message is sent to another terminal by Web server.
In the case of determining that the bandwidth demand that comprises of conversation request message that terminal is initiated is greater than the bandwidth demand that the signing configuration information of user of described terminal comprises, agent equipment can be revised the bandwidth demand that described conversation request message comprises, makes the bandwidth demand that conversation request message comprises be less than or equal to the bandwidth demand that the signing configuration information of described user comprises.
Alternatively, agent equipment is according to described amended conversation request message, on described agent equipment, create interim conversation state information table, and the bandwidth demand in amended conversation request message is saved in interim conversation state information table, conventionally, in actual applications, except the bandwidth demand in amended conversation request message being saved in interim conversation state information table, other Business Stream information that agent equipment can also comprise amended conversation request message, for example type of service, the IP address of service port and terminal, be saved in interim conversation state information table.
205, agent equipment detects the response message of the real time communication of the base World Wide Web (WWW) of another terminal response.
The response message of the real time communication based on World Wide Web (WWW) that wherein, another terminal is initiated is replying in advance or response message of sending to terminal by Web server of another terminal.
For instance, response message is a kind of response message stipulating in Session Description Protocol, as Pre-answer or answer message.
This response message comprises the bandwidth demand that another terminal is responded, and further, also comprises other Business Stream information that another terminal is responded, the IP address of such as another port, the information such as type of service, service port of another terminal responds in this response message.
In an embodiment of the invention, after conversation request message or amended conversation request message are sent to another terminal by agent equipment, another terminal creates flow media session information in another terminal by browser, for example allocation medium session port, again for example, according to the Business Stream information in the conversation request message receiving, the type of service comprising according to Business Stream information, select to support the voice and video coded format of described type of service, if there is the voice and video coded format of the described type of service of multiple supports, according to default voice and video encoding format information priority, the preferential the most front voice and video coded format of prioritization that uses, an or optional voice and video coded format in the voice and video coded format of multiple supports.Afterwards, another terminal is replied and is replied in advance or response message to terminal by Web server.
Adopt agent equipment to create in the implementation of interim conversation state information table in the embodiment of the present invention, agent equipment detects replying in advance or response message that another terminal sends to terminal by Web server; Reply in advance or response message comprises bandwidth demand and other Business Stream information of another terminal responds; Conventionally, the bandwidth demand of another terminal responds can not exceed agent equipment and sends to the bandwidth demand comprising in the conversation request message of another terminal.
Suppose described reply in advance or bandwidth demand that bandwidth demand that response message comprises and described interim conversation state information table comprise inconsistent, agent equipment is replied or bandwidth demand that response message comprises in advance according to described, upgrade the bandwidth demand in the interim conversation state information table creating on agent equipment, for example, suppose that the bandwidth demand that comprises of conversation request message that terminal is initiated is 1Mbps, suppose that agent equipment detects the bandwidth demand that the signing configuration information of user that bandwidth demand that conversation request message that this terminal initiates comprises do not exceed this terminal comprises, if the maximum bandwidth demand of another terminal is 512Kbps, when another terminal to terminal send reply in advance or response message in bandwidth demand be 512kbps, agent equipment is replied or bandwidth demand that response message comprises upgrades the bandwidth demand in the interim conversation state information table creating on agent equipment in advance according to described, be that bandwidth demand in the interim conversation state information table creating on agent equipment is updated to 512Kbps by agent equipment.
In actual applications, suppose that the conversation request message that terminal is initiated comprises multiple types of service, and another terminal is while only having replied partial service type, agent equipment is replied or type of service that response message comprises is upgraded the type of service in the interim conversation state information table creating on agent equipment in advance according to described, to discharge in time the resource space of agent equipment.
206, described response message is sent to described terminal by agent equipment.
Terminal receives after response message, upgrades the flow media session information in described terminal, for example, preserve the IP address of another terminal, the service port of another terminal, Business Stream information, the voice and video code/decode format etc. of another terminal responds.Terminal according to the flow media session information after upgrading, is then used amended flow media session information to communicate by browser.
Optionally, in above-mentioned conversation request message or response message, except comprising bandwidth demand, also comprise IP address, type of service, service port of IP address, the another port of terminal etc.Alternatively, agent equipment further can obtain the type of service in conversation request message or response message, configure the service quality rating information corresponding with this type of service, afterwards, service quality rating information corresponding this type of service is sent to 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, the priority corresponding with described service quality rating information is set, thereby make wireless access point device detect after the Business Stream of self terminal, the type of service comprising according to Business Stream information, determine service quality corresponding to this type of service (English: quality of service, be called for short QoS) grade, then this Business Stream is carried out to corresponding priority flag, dispatch thereby can realize according to the priority of Business Stream, for example, the service message of high priority first transmits, after the service message of low priority, transmit, guarantee 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, the bandwidth demand comprising according to conversation request message, and the bandwidth demand that comprises of the signing configuration information of the user of this terminal, determine the bandwidth demand whether bandwidth demand that conversation request message comprises comprises with the signing configuration information of the user who is greater than this terminal, if, the bandwidth demand conversation request message being comprised is modified, the bandwidth demand that the signing configuration information of user that makes bandwidth demand that conversation request message comprises be less than this terminal comprises, thereby can realize the bandwidth demand comprising according to the signing configuration information of the user of terminal and dynamically adjust the bandwidth demand in the Business Stream information of terminal initiation, real time communication business based on World Wide Web (WWW) between terminal and another terminal can not be affected, guarantee the continuity of the flow media session between terminal and another terminal.
Adopt agent equipment to create in the implementation of interim conversation state information table in the embodiment of the present invention, the embodiment of the present invention can further adopt the implementation shown in Fig. 3.The schematic flow sheet of the implementation method of the real time communication based on World Wide Web (WWW) that a kind of implementation that Fig. 3 is the embodiment of the present invention provides.The method comprises:
301, agent equipment receives the link-state change message that wireless access point device sends.
In the time that wireless access point device monitors Link State between described terminal and described another terminal and changes, for example, when packet loss or the retransmission rate of link are greater than after the thresholding of appointment, or the signal to noise ratio of link (English: signal-to-noise ratio, be called for short SNR) be greater than after the thresholding of appointment, or Signal to Interference plus Noise Ratio (English: signal to interference plus noise ratio, be called for short SINR) be greater than after the thresholding of appointment, wireless access point device sends link-state change message to agent equipment, wherein, link-state change message comprises terminal iidentification and link information, wherein, link information comprises link identification, further, in link information, can also comprise packet loss, at least one item in retransmission rate or signal to noise ratio.
302, agent equipment is adjusted the bandwidth demand in described interim conversation state information table according to described link-state change message.
In agent equipment, can preserve the corresponding relation of default thresholding and bandwidth demand variable quantity.When specific implementation, for example, the packet loss of the link between terminal and another terminal is greater than the first default thresholding, for example, 10% time, agent equipment can be adjusted the bandwidth demand in interim conversation state information table according to the bandwidth demand variable quantity corresponding with the first default thresholding, as reduces 20%; The packet loss of the link between terminal and another terminal is greater than the second default thresholding, and for example 25% time, agent equipment can be adjusted the bandwidth demand in interim conversation state information table according to the bandwidth demand variable quantity corresponding with the second default thresholding, as reduces 40%.
Again for example, when the SNR that supposes the link between terminal and another terminal is less than the 3rd default thresholding, the bandwidth demand of agent equipment in can corresponding minimizing interim conversation state information table.
303, agent equipment sends session updates message to terminal, and described session updates message comprises the bandwidth demand after adjustment.
For instance, session updates message is a kind of notification message stipulating in Session Description Protocol, as notify message.
This session updates message comprises the bandwidth demand after agent equipment is adjusted, and wherein, the Business Stream information after adjustment comprises the bandwidth demand after minimizing.
Terminal is received after session updates message, whether the bandwidth demand detecting after adjusting meets the needed minimum bandwidth of streaming media service between terminal and another terminal, if met, terminal is adjusted the flow media session information in described terminal, send session updates request message to another terminal, and bandwidth demand after session updates request message comprises described adjustment.
304, agent equipment detects the session updates request message of the real time communication based on World Wide Web (WWW) of terminal initiation.
The session updates request message of the real time communication based on World Wide Web (WWW) that wherein, terminal is initiated is the session updates request message that terminal is initiated to another terminal by Web server.
For instance, session updates request message is a kind of request message stipulating in Session Description Protocol, as notify request message.
This session updates request message comprises the bandwidth demand after adjustment, and wherein, the bandwidth demand after adjustment comprises the bandwidth demand after agent equipment reduces.
305, agent equipment sends to another terminal by described session updates request message by Web server.
Alternatively, another terminal receives after session updates request message, can check whether the bandwidth demand after adjustment meets the needed minimum bandwidth of streaming media service between terminal and another terminal, if met, another terminal is adjusted the flow media session information in described another terminal according to the bandwidth demand after adjusting, and replys session updates response message to terminal;
Alternatively, before another terminal receives session updates request message, the session updates message that terminal has sent according to agent equipment, whether the bandwidth demand detecting after adjusting meets the needed minimum bandwidth of streaming media service between terminal and another terminal, therefore, after another terminal receives session updates request message, can directly adjust the flow media session information in described another terminal according to the bandwidth demand after adjusting, and reply session updates response message to terminal.
306, agent equipment detects the session updates response message of the real time communication based on World Wide Web (WWW) of described another terminal response.
The session updates response message of the real time communication based on World Wide Web (WWW) that wherein, described another terminal is responded is the session updates response message that described another terminal is initiated to terminal by Web server.
For instance, session updates response message is a kind of response message stipulating in Session Description Protocol, as notify response message.
This session updates response message comprises the bandwidth demand of another terminal responds, further, in session updates response message, can also comprise other Business Stream information of another terminal responds, for example, the information such as the IP address of the type of service of another terminal responds, service port and another terminal.
If the bandwidth demand that the interim conversation state information table that the bandwidth demand that described session updates response message comprises and described agent equipment create comprises is inconsistent, the bandwidth demand comprising according to described session updates response message upgrades the bandwidth demand in described interim conversation state information table.
307, described session updates response message is sent to described terminal by agent equipment.
Terminal is upgraded the flow media session information in described terminal by browser according to session updates response message, then uses amended flow media session information to communicate.
In the embodiment of the present invention by wireless access point device in the time monitoring Link State between terminal and described another terminal and change, wireless access point device sends link-state change message to agent equipment, agent equipment readjusts according to described link-state change message the bandwidth demand that interim conversation state information table that described agent equipment creates comprises, and send session updates message to terminal, so that terminal is according to session updates message, send session updates request message to another terminal, trigger another terminal and return to session updates response message to terminal; Thereby when wireless network is subject to the interference of wireless signal, or there is fluctuation in various degree in wireless network speed, or when the bandwidth of wireless network can not be guaranteed, by agent equipment can dynamically adjust terminal initiate Business Stream information in bandwidth demand, thereby can not impact the real time communication business based on World Wide Web (WWW), guarantee the continuity of business.
The signaling diagram of the implementation method of the real time communication based on World Wide Web (WWW) that Fig. 4 provides for another embodiment of the present invention; As shown in Figure 4, when terminal is to the process of another terminal initiation voice or video real time communication, specifically comprise:
401, WebRTC agency monitors the conversation request message that terminal is initiated.
When specific implementation, terminal is by browser access Web server, and by Web server, to another terminal message that initiates a session request, this conversation request message is set up flow media session for request and another terminal, flow media session comprises voice, at least one item in video and transfer of data.
Initiate a session request before message in terminal, terminal creates flow media session information in described terminal by browser, comprise allocation medium session port, voice and video coded format etc.
WebRTC agency monitors conversation request message, on WebRTC agency, creates interim conversation state information table; When specific implementation, WebRTC agency explains and obtains bandwidth demand and other Business Stream information that conversation request message comprises;
Bandwidth demand in the bandwidth demand that WebRTC agency comprises according to the conversation request message of obtaining and the signing configuration information of the user of terminal is processed accordingly, for example, in the time that the bandwidth demand in Business Stream information is greater than the bandwidth demand in the signing configuration information of user, revise the bandwidth demand in Business Stream information, make the bandwidth demand in Business Stream information be less than the bandwidth demand in the signing configuration information of user.
402, WebRTC agency sends another terminal by Web server by conversation request message or amended conversation request message.
403, WebRTC agency detects the pre-response message that another terminal is replied.
Particularly, after another terminal is received conversation request message or amended conversation request message, in described another terminal, create flow media session information by browser, for example, assign sessions port; For example, according to the Business Stream information in conversation request message or amended conversation request message, obtain the media information such as voice and video that terminal is supported, the media information of selecting this session to use, alternatively, if another terminal is supported multiple voice and video coded formats, according to the voice and video coded format of the optional support of user instruction.Then, another terminal sends pre-response message by Web server to terminal.
After WebRTC agency detects the pre-response message of another terminal reply, when bandwidth demand in the pre-response message that another terminal is replied is inconsistent with bandwidth demand in the interim conversation state information table on WebRTC agency, the WebRTC agency basis in advance bandwidth demand in response message is upgraded the bandwidth demand in the interim conversation state information table on described WebRTC agency.Conventionally, WebRTC agency can also be by other Business Stream information in pre-response message, and the IP address of type of service, service port and another terminal of for example another terminal responds, is saved in interim conversation state information table.
404, pre-response message is sent to terminal by WebRTC agency.
405, terminal, according to pre-response message, is upgraded the flow media session information in described terminal.
After terminal receives pre-response message, need according to bandwidth demand and other Business Stream information in pre-response message, upgrade the flow media session information in described terminal, for example, preserve IP address and service port and the voice of another terminal support or the code/decode format of video of another terminal, again for example, suppose that another terminal only replied partial service stream information, terminal is according to the partial service stream information of another terminal responds, delete other partial service stream informations, again for example, the bandwidth demand in the flow media session information on new terminal more.
Now, between terminal and another terminal, set up streaming media communication path, terminal and another terminal can be by the streaming media communication paths of setting up, according to flow media session information realization flow media session separately.Or
406, WebRTC agency detects the response message that another terminal sends to terminal by Web server.
Suppose that another terminal, according to the user instruction request of accepting session, can trigger another terminal and send response message by Web server to terminal.
After WebRTC agency detects the response message of another terminal reply, when bandwidth demand in the response message that another terminal is replied is inconsistent with bandwidth demand in the interim conversation state information table on WebRTC agency, WebRTC acts on behalf of and upgrades the bandwidth demand in the interim conversation state information table on described WebRTC agency according to the bandwidth demand in response message.Conventionally, WebRTC agency can also be by other Business Stream information in response message, and the IP address of type of service, service port and another terminal of for example another terminal responds, is saved in interim conversation state information table.
407, response message is sent to terminal by WebRTC agency;
408, terminal, according to response message, is upgraded the flow media session information in described terminal.
For example, preserve voice that the IP address of another terminal and service port and another terminal support or the code/decode format of video, again for example, suppose that another terminal only replied partial service stream information, terminal, according to the partial service stream information of another terminal responds, is deleted other partial service stream informations.
Terminal according to the flow media session information after upgrading, is then used amended Business Stream information to communicate by browser.
Alternatively, agent equipment further can obtain the type of service in conversation request message or response message, configure the service quality rating information corresponding with this type of service, afterwards, service quality rating information corresponding this type of service is sent to 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, the priority corresponding with described service quality rating information is set, thereby make wireless access point device detect after the Business Stream of self terminal, the type of service comprising according to Business Stream information, determine the QoS grade that this type of service is corresponding, then this Business Stream is carried out to corresponding priority flag.
For example, when terminal sends conversation media stream to another terminal, wireless access point device can detect the Media Stream of self terminal, obtain the Business Stream information in Media Stream, determine corresponding Qos class information according to the type of service in the Business Stream information of obtaining, determine the priority of corresponding Business Stream according to definite Qos class information.When Media Stream is IPv4 message, priority tag can be added to COS (English: Type of Service, the abbreviation ToS) field of the 4th edition Internet protocol (English: Internet Protocol version 4 is called for short IPv4) message.In actual applications, next-hop device, in the time of the Media Stream receiving with priority tag, can transmit according to priority tag, and the Media Stream of for example high priority first transmits, and after the Media Stream of low priority, transmits.
Again for example, when another terminal sends conversation media stream to terminal, wireless access point device can detect the Media Stream from another terminal, obtain the Business Stream information in Media Stream, determine corresponding Qos class information according to the type of service in the Business Stream information of obtaining, determine the priority of corresponding Business Stream according to definite Qos class information.Wireless access point device is determined the transmit queue of the priority that Media Stream is corresponding and sends to terminal according to priority tag.The Media Stream of high priority is first 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, the bandwidth demand comprising according to conversation request message, and the bandwidth demand that comprises of the signing configuration information of the user of this terminal, determine the bandwidth demand whether bandwidth demand that conversation request message comprises comprises with the signing configuration information of the user who is greater than this terminal, if, the bandwidth demand conversation request message being comprised is modified, the bandwidth demand that the signing configuration information of user that makes bandwidth demand that conversation request message comprises be less than this terminal comprises, afterwards, amended conversation request message is sent to another terminal, thereby can realize the bandwidth demand comprising according to the signing configuration information of the user of terminal and dynamically adjust the bandwidth demand in the Business Stream information of terminal initiation, thereby can not impact the real time communication business based on World Wide Web (WWW), guarantee the continuity of business.
The signaling diagram of the implementation method of the real time communication based on World Wide Web (WWW) that Fig. 5 provides for another embodiment of the present invention; As shown in Figure 5, when another terminal is to the process of terminal initiation voice or video real time communication, specifically comprise:
501, WebRTC agency monitors the conversation request message that another terminal is initiated.
Another terminal is by Web server to the terminal message that initiates a session request, and this conversation request message is set up flow media session for request and terminal, and flow media session comprises at least one in voice or video or transfer of data.
Initiate a session request before message in another terminal, another terminal creates flow media session information by browser in described another terminal, comprises allocation medium session port, voice and video coded format etc.
WebRTC agents monitor, after conversation request message, creates interim conversation state information table on WebRTC agency; When specific implementation, WebRTC agency explains and obtains bandwidth demand and other Business Stream information that conversation request message comprises.
Bandwidth demand in the bandwidth demand that WebRTC agency comprises according to the conversation request message of obtaining and the signing configuration information of the user of terminal is processed, for example, in the time that the bandwidth demand that conversation request message comprises is greater than the bandwidth demand in the signing configuration information of user of terminal, revise the bandwidth demand that conversation request message comprises.
502, WebRTC acts on behalf of conversation request message or amended conversation request message transmitting terminal.
503, WebRTC agency detects the pre-response message that terminal is replied.
Particularly, after terminal is received conversation request message or amended conversation request message, in described terminal, create flow media session information by browser, for example, assign sessions port; For example, according to the Business Stream information in conversation request message or amended conversation request message, obtain the media informations such as voice and video that another terminal supports, the media information of selecting this session to use, alternatively, if terminal is supported multiple voice and video coded formats, according to the optional voice and video coded format of user instruction.Then, send pre-response message by Web server to another terminal.
After WebRTC agency detects the pre-response message of terminal reply, when bandwidth demand in the pre-response message that terminal is replied is inconsistent with bandwidth demand in interim conversation state information table on WebRTC agency, the WebRTC agency basis in advance bandwidth demand in response message is upgraded the bandwidth demand in the interim conversation state information table on described WebRTC agency.Conventionally, WebRTC agency can also be by other Business Stream information in pre-response message, and the IP address of type of service, service port and the terminal of for example terminal responds, is saved in interim conversation state information table.
504, WebRTC agency sends to another terminal by pre-response message by Web server.
505, another terminal, according to pre-response message, is upgraded the flow media session information in described another terminal.
After another terminal receives pre-response message, need the bandwidth demand and other Business Stream information that comprise according in pre-response message, upgrade the flow media session information in described another terminal, for example, preserve voice that the IP address of terminal and service port and terminal support or the code/decode format of video, again for example, suppose that terminal only replied partial service stream information, another terminal, according to the partial service stream information of terminal responds, is deleted other partial service stream informations; Again for example, upgrade the bandwidth demand in the flow media session information in described another terminal according to the bandwidth demand comprising in pre-response message.
Now, between terminal and another terminal, set up streaming media communication path, terminal and another terminal can be by the streaming media communication paths of setting up, according to flow media session information realization flow media session separately.Or
506, WebRTC agency detects the response message that terminal sends to another terminal by Web server.
Suppose that terminal is according to the user instruction request of accepting session, can triggering terminal send response message by Web server to another terminal.
After WebRTC agency detects the response message of terminal reply, when bandwidth demand in the response message that terminal is replied is inconsistent with bandwidth demand in interim conversation state information table on WebRTC agency, WebRTC acts on behalf of and upgrades the bandwidth demand in the interim conversation state information table on described WebRTC agency according to the bandwidth demand in response message.Conventionally, WebRTC agency can also be by other Business Stream information in response message, and the IP address of type of service, service port and the terminal of for example terminal responds, is saved in interim conversation state information table.
507, response message is sent to another terminal by WebRTC agency.
508, another terminal, according to response message, is upgraded the flow media session information in described another terminal.
For example, preserve voice that the IP address of terminal and service port and terminal support or the code/decode format of video, again for example, suppose that terminal only replied partial service stream information, another terminal, according to the partial service stream information of terminal responds, is deleted other partial service stream informations.Now, terminal is carried out real time flow medium with another terminal by streaming media communication path and is communicated by letter.
The embodiment of the present invention monitors by agent equipment the conversation request message that another terminal sends to terminal, the bandwidth demand comprising according to conversation request message, and the bandwidth demand that comprises of the signing configuration information of the user of this terminal, determine the bandwidth demand whether bandwidth demand that conversation request message comprises comprises with the signing configuration information of the user who is greater than this terminal, if, the bandwidth demand conversation request message being comprised is modified, the bandwidth demand that the signing configuration information of user that makes bandwidth demand that conversation request message comprises be less than this terminal comprises, afterwards, amended conversation request message is sent to terminal, thereby can realize the bandwidth demand comprising according to the signing configuration information of the user of terminal and dynamically adjust the bandwidth demand in the Business Stream information of another terminal initiation, thereby can not impact the real time communication business based on World Wide Web (WWW), guarantee the continuity of business.
The signaling diagram of the implementation method of the real time communication based on World Wide Web (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 there is fluctuation in various degree in wireless network speed, or when wireless network bandwidth can not be guaranteed, have influence on the real time communication business based on World Wide Web (WWW), in order to overcome this problem, the present embodiment can be monitored the flow process that link-state change information triggering session is upgraded by wireless access point device, detailed process as shown in Figure 6, comprising:
601, wireless access point device detects that wireless chaining status changes.
Wherein, wireless link refers to the streaming media communication link of setting up between terminal and another terminal.
For example, when packet loss or the retransmission rate of wireless link are greater than after the thresholding of appointment, or the signal to noise ratio of wireless link or Signal to Interference plus Noise Ratio be greater than after the thresholding of appointment, and wireless access point device can detect wireless chaining status and change.
602, wireless access point device sends wireless chaining status change information to WebRTC agency.
Wherein, wireless chaining status change information comprises terminal iidentification or link information, and wherein, link information comprises link identification, and further, link information can also comprise at least one in packet loss or signal to noise ratio.
603, WebRTC acts on behalf of according to wireless chaining status change information, adjusts the interim conversation state information table of preserving in WebRTC agency.
In agent equipment, can preserve the corresponding relation of default thresholding and bandwidth demand variable quantity.When specific implementation, for example, the packet loss of the link between terminal and another terminal is greater than the first default thresholding, for example, 10% time, agent equipment can be adjusted the bandwidth demand in interim conversation state information table according to the bandwidth demand variable quantity corresponding with the first default thresholding, as reduces 20%; The packet loss of the link between terminal and another terminal is greater than the second default thresholding, and for example 25% time, agent equipment can be adjusted the bandwidth demand in interim conversation state information table according to the bandwidth demand variable quantity corresponding with the second default thresholding, as reduces 40%.
Again for example, when the SNR that supposes the link between terminal and another terminal is less than the 3rd default thresholding, the bandwidth demand of agent equipment in can corresponding minimizing interim conversation state information table.
604, WebRTC agency sends session updates message to terminal.
Wherein, session updates message comprises the bandwidth demand after renewal.
605, WebRTC agency detects that terminal sends session updates request message by Web server to another terminal.
Terminal is received after session updates message, whether the bandwidth demand detecting after upgrading meets the needed minimum bandwidth of flow media session between terminal and another terminal, if met, terminal is upgraded the flow media session information that described terminal creates, the bandwidth demand after the renewal comprising according to session updates message, revise the bandwidth demand that flow media session information comprises, afterwards, send session updates request message to another terminal, and in session updates request message, carry the bandwidth demand after renewal.Wherein, the bandwidth demand after the renewal that the bandwidth demand after the renewal that session updates request message comprises can comprise with session updating message is different.
If WebRTC agency detects that the bandwidth demand in the interim conversation state information table of preserving in bandwidth demand in session updates request message and WebRTC agency is inconsistent, the bandwidth demand in WebRTC agent update WebRTC agency in the interim conversation state information table of preservation.
606, WebRTC agency sends session updates request message by Web server to another terminal.
607, WebRTC agency detects that another terminal returns to session updates response message by Web server to terminal.
Alternatively, another terminal receives after session updates request message, can check whether the bandwidth demand in session updates request message meets the needed minimum bandwidth of flow media session between terminal and another terminal, if met, the flow media session information creating in another terminal described in another terminal adjustment, and reply session updates response message to terminal by Web server.
If WebRTC agency detects that the bandwidth demand in the interim conversation state information table of preservation in bandwidth demand in session updates response message and WebRTC agency is inconsistent, the bandwidth demand in WebRTC agent update interim conversation state information table.
608, 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, upgrades the flow media session information creating in described terminal, then uses amended flow media session information to communicate.
In the embodiment of the present invention by wireless access point device in the time monitoring Link State between terminal and described another terminal and change, wireless access point device sends link-state change message to WebRTC agency, WebRTC agency readjusts according to described link-state change message the bandwidth demand that the interim conversation state information table on WebRTC agency comprises, and send session updates message to terminal, so that the bandwidth demand after the renewal that terminal comprises according to session updates message, send session updates request message to another terminal, trigger another terminal and return to session updates response message to terminal, thereby when wireless network is subject to the interference of wireless signal, or there is fluctuation in various degree in wireless network speed, or when the bandwidth of wireless network can not be guaranteed, act on behalf of the bandwidth demand in the Business Stream information that can dynamically adjust terminal initiation by webRTC, thereby can not impact the real time communication business based on World Wide Web (WWW), guarantee the continuity of business.
The structural representation of the implement device of the real time communication based on World Wide Web (WWW) that Fig. 7 provides for another embodiment of the present invention; As shown in Figure 7, comprising:
Monitoring modular 71, for detection of the conversation request message of the real time communication based on World Wide Web (WWW) of initiating to terminal, described conversation request message comprises bandwidth demand;
Adjusting module 72, if the bandwidth demand comprising for described conversation request message is greater than the bandwidth demand that the signing configuration information of the user of described terminal comprises, revise the bandwidth demand that described conversation request message comprises, the bandwidth demand that described conversation request message is comprised is less than or equal to the bandwidth demand that the signing configuration information of user of described terminal comprises;
Sending module 73, for sending to the amended conversation request message of described adjusting module 72 described another terminal.
In an embodiment of the invention, described device also comprises:
Creation module 74, for the bandwidth demand comprising according to the amended conversation request message of described adjusting module, create interim conversation state information table, the bandwidth demand that described amended conversation request message is comprised is preserved and is treated in described interim conversation state information table.
Monitoring modular 71, also for detection of the response message of the real time communication based on World Wide Web (WWW) of responding to described another terminal;
Adjusting module 72, if the bandwidth demand that the bandwidth demand also comprising for described response message and described interim conversation state information table comprise is inconsistent, the bandwidth demand comprising according to described response message upgrades the bandwidth demand in the interim conversation state information table that described creation module creates;
Sending module 73, also for replying in advance or response message sends to described terminal described.
In an embodiment of the invention, adjusting module 72, the link-state change message also sending for the wireless access point device connecting according to described terminal, adjusts the bandwidth demand in the interim conversation state information table that described creation module creates;
Sending module 73, also for sending session updates message to described terminal, described session updates message comprises the bandwidth demand after described adjusting module is adjusted.
Monitoring modular 71, also, for detection of the session updates request message of the real time communication based on World Wide Web (WWW) of initiating to described terminal, described session updates request message comprises the bandwidth demand after described adjustment;
Sending module 73, also for sending to described session updates request message described another terminal.
Monitoring modular 71, also for detection of the session updates response message of the real time communication based on World Wide Web (WWW) of responding to described another terminal;
Adjusting module 72, if the bandwidth demand that the interim conversation state information table that the bandwidth demand also comprising for described session updates response message and described agent equipment are preserved comprises is inconsistent, the bandwidth demand comprising according to described session updates response message upgrades the bandwidth demand in described interim conversation state information table;
Sending module 73, also sends to described terminal for the session updates response message that described monitoring modular is detected.
The embodiment of the present invention monitors by agent equipment the conversation request message that terminal sends to another terminal, the bandwidth demand comprising according to conversation request message, and the bandwidth demand that comprises of the signing configuration information of the user of this terminal, determine the bandwidth demand whether bandwidth demand that conversation request message comprises comprises with the signing configuration information of the user who is greater than this terminal, if, the bandwidth demand conversation request message being comprised is modified, the bandwidth demand that the signing configuration information of user that makes bandwidth demand that conversation request message comprises be less than this terminal comprises, afterwards, amended conversation request message is sent to another terminal, thereby can realize the bandwidth demand comprising according to the signing configuration information of the user of terminal and dynamically adjust the bandwidth demand in the Business Stream information of terminal initiation.
The structural representation of the implement device of the real time communication based on World Wide Web (WWW) that Fig. 8 provides for another embodiment of the present invention; As shown in Figure 8, the implement device of the real time communication based on World Wide Web (WWW) of the present embodiment is specially agent equipment, described agent equipment comprises processor, memory and communication bus, wherein, processor is connected with memory by communication bus, wherein, in memory, preserve the instruction that realizes of real time communication based on World Wide Web (WWW), processor transfer and execute store in the real time communication based on World Wide Web (WWW) of preserving realize instruction; Described agent equipment also comprises communication interface, and described agent equipment is by communication interface and other net element communications.
Described processor, according to the instruction of preserving in memory, is carried out following steps:
The conversation request message that the real time communication based on World Wide Web (WWW) of terminal initiation detected, described conversation request message comprises bandwidth demand;
If the bandwidth demand that described conversation request message comprises is greater than the bandwidth demand that the signing configuration information of the user of described terminal comprises, revise the bandwidth demand that described conversation request message comprises, the bandwidth demand that described conversation request message is comprised is less than or equal to the bandwidth demand that the signing configuration information of user of described terminal comprises;
Described amended conversation request message is sent to described another terminal.
In an embodiment of the invention, described processor is also carried out following steps:
The bandwidth demand comprising according to amended conversation request message, creates interim conversation state information table, and the bandwidth demand that described amended conversation request message is comprised is saved in described interim conversation state information table.
In an embodiment of the invention, described processor is also carried out following steps:
The response message of the real time communication based on World Wide Web (WWW) of described another terminal response detected;
If the bandwidth demand that the bandwidth demand that described response message comprises and described interim conversation state information table comprise is inconsistent, the bandwidth demand comprising according to described response message upgrades the bandwidth demand in the interim conversation state information table that described creation module creates;
Described response message is sent to described terminal.
In an embodiment of the invention, described processor is also carried out following steps:
The link-state change message that the wireless access point device connecting according to described terminal sends, adjusts the bandwidth demand in the interim conversation state information table that described creation module creates;
Send session updates message to described terminal, described session updates message comprises the bandwidth demand after described adjusting module is adjusted.
The session updates request message that the real time communication based on World Wide Web (WWW) of described terminal initiation detected, described session updates request message comprises 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 is also carried out following steps:
The session updates response message of the real time communication based on World Wide Web (WWW) of described another terminal response detected;
If the bandwidth demand that the interim conversation state information table that the bandwidth demand that described session updates response message comprises and described agent equipment are preserved comprises is inconsistent, the bandwidth demand comprising according to described session updates response message upgrades the bandwidth demand in described interim conversation state information table;
The session updates response message that described monitoring modular is detected sends to described terminal.
The embodiment of the present invention monitors by agent equipment the conversation request message that terminal sends to another terminal, the bandwidth demand comprising according to conversation request message, and the bandwidth demand that comprises of the signing configuration information of the user of this terminal, determine the bandwidth demand whether bandwidth demand that conversation request message comprises comprises with the signing configuration information of the user who is greater than this terminal, if, the bandwidth demand conversation request message being comprised is modified, the bandwidth demand that the signing configuration information of user that makes bandwidth demand that conversation request message comprises be less than this terminal comprises, afterwards, amended conversation request message is sent to another terminal, thereby can realize the bandwidth demand comprising according to the signing configuration information of the user of terminal and dynamically adjust the bandwidth demand in the Business Stream information of terminal initiation.
The structural representation of the system that realizes of the real time communication based on World Wide Web (WWW) that Fig. 9 provides for another embodiment of the present invention, as shown in Figure 9, comprising: agent equipment 91, wireless access point device 92, terminal 93 and another terminal 94;
Wherein, agent equipment 91 is the implement device of above-mentioned Fig. 7 or the real time communication based on World Wide Web (WWW) providing embodiment illustrated in fig. 8.Particularly, agent equipment 91 can, for the mainboard of WebRTC software is installed, be arranged in WLAN controller.
Wireless access point device 92, while changing, sends link-state change message to agent equipment 91 specifically for monitoring Link State between terminal 93 and another terminal 94, and wherein, link-state change message comprises terminal iidentification and link information; Wherein, link information comprises link identification, further, also comprises at least one in packet loss, retransmission rate or signal to noise ratio in link information.
Terminal 93, for by Web server to another terminal 94 message that initiates a session request, conversation request message comprises Business Stream information, Business Stream information comprises bandwidth demand;
Another terminal 94, for being returned and reply in advance or response message to terminal 93 by Web server, replys or response message comprises the Business Stream information of another terminal responds in advance.
The embodiment of the present invention monitors by agent equipment the conversation request message that terminal sends to another terminal, the bandwidth demand of the Business Stream information comprising according to conversation request message, and the bandwidth demand that comprises of the signing configuration information of the user of this terminal, the bandwidth demand whether bandwidth demand of determining the Business Stream information that conversation request message comprises comprises with the signing configuration information of the user who is greater than this terminal, if, the bandwidth demand of the Business Stream information conversation request message being comprised is modified, the bandwidth demand that the signing configuration information of user that makes the bandwidth demand of the Business Stream information that conversation request message comprises be less than this terminal comprises, afterwards, amended conversation request message is sent to another terminal, thereby can realize the bandwidth demand comprising according to the signing configuration information of the user of terminal and dynamically adjust the bandwidth demand in the Business Stream information of terminal initiation.
Further, in the present embodiment, by wireless access point device in the time monitoring Link State between terminal and described another terminal and change, wireless access point device sends link-state change message to agent equipment, agent equipment readjusts according to described link-state change message the Business Stream information that the interim conversation state information table on agent equipment comprises, and send session updates message to terminal, so that terminal is according to session updates message, send session updates request message to another terminal, trigger another terminal and return to session updates response message to terminal, thereby when wireless network is subject to the interference of wireless signal, or there is fluctuation in various degree in wireless network speed, or when the bandwidth of wireless network can not be guaranteed, by agent equipment can dynamically adjust terminal initiate Business Stream information in bandwidth demand, thereby can not impact the real time communication business based on World Wide Web (WWW), guarantee the continuity of business.
Those skilled in the art can be well understood to, for convenience and simplicity of description, the system of foregoing description, the specific works process of device and unit, can, with reference to the corresponding process in preceding method embodiment, not repeat them here.
In the several embodiment that provide in the application, should be understood that, disclosed system, apparatus and method, can realize by another way.For example, device embodiment described above is only schematic, for example, the division of described unit, be only that a kind of logic function is divided, when actual realization, can have other dividing mode, for example multiple unit or assembly can in conjunction with or can be integrated into another system, or some features can ignore, or do not carry out.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, indirect coupling or the communication connection of device or unit can be electrical or other form.
The described unit as separating component explanation can or can not be also physically to separate, and the parts that show as unit can be or can not be also physical locations, can be positioned at a place, or also can be distributed in multiple network element.Can select according to the actual needs some or all of unit wherein to realize the object of the present embodiment scheme.
In addition, the each functional unit in each embodiment of the present invention can be integrated in a processing unit, can be also that the independent physics of unit exists, and also can be integrated in a unit two or more unit.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form that also can adopt hardware to add SFU software functional unit realizes.
The integrated unit that the above-mentioned form with SFU software functional unit realizes, can be stored in a computer read/write memory medium with the form of code.Above-mentioned code storage, in a computer-readable recording medium, comprises that some instructions are with so that processor or hardware circuit are carried out the part or all of step of method described in each embodiment of the present invention.And aforesaid storage medium comprises: the miniature high power capacity mobile storage disc without phisical drive of USB (universal serial bus), portable hard drive, read-only memory (English: read-only memory, be called for short ROM), the various media that can be program code stored such as random access memory (English: random-accessmemory, be called for short RAM), magnetic disc or CD.
Finally it should be noted that: above embodiment only, in order to technical scheme of the present invention to be described, is not intended to limit; Although the present invention is had been described in detail with reference to previous embodiment, those of ordinary skill in the art is to be understood that: its technical scheme that still can record aforementioned each embodiment is modified, or part technical characterictic is wherein equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution depart from the protection range of various embodiments of the present invention technical scheme.

Claims (12)

1. an implementation method for the real time communication based on World Wide Web (WWW), is characterized in that, comprising:
Agent equipment detects the conversation request message of the real time communication based on World Wide Web (WWW) of terminal initiation, and described conversation request message comprises bandwidth demand;
If the bandwidth demand in described conversation request message is greater than the bandwidth demand in the signing configuration information of the user of described terminal, revise the bandwidth demand in described conversation request message, make the bandwidth demand of described conversation request message be less than or equal to the bandwidth demand in the signing configuration information of user of described terminal;
Described amended conversation request message is sent to another terminal.
2. method according to claim 1, is characterized in that, after revising the bandwidth demand in described conversation request message, comprising:
Described agent equipment, according to described amended conversation request message, creates interim conversation state information table, and the bandwidth demand in described amended conversation request message is saved in described interim conversation state information table.
3. method according to claim 2, is characterized in that, after described amended conversation request message is sent to another terminal, also comprises:
Described agent equipment detects the response message of the real time communication based on World Wide Web (WWW) of described another terminal response;
If the bandwidth demand that the bandwidth demand that described response message comprises and described interim conversation state information table comprise is inconsistent, the bandwidth demand comprising according to described response message upgrades the bandwidth demand in described interim conversation state information table;
Described response message is sent to described terminal.
4. according to the method in claim 2 or 3, it is characterized in that, also comprise:
Described agent equipment receives the link-state change message of the wireless access point device transmission being connected with described terminal, adjusts the bandwidth demand in described interim conversation state information table according to described link-state change message;
Described agent equipment sends session updates message to described terminal, and described session updates message comprises the bandwidth demand after described adjustment.
5. method according to claim 4, is characterized in that, described agent equipment, after described terminal sends session updates message, comprising:
Described agent equipment detects the session updates request message of the real time communication based on World Wide Web (WWW) of described terminal initiation, and described session updates request message comprises the bandwidth demand after described adjustment;
Described session updates request message is sent to described another terminal.
6. method according to claim 5, is characterized in that, after described session updates request message is sent to described another terminal, comprising:
Described agent equipment detects the session updates response message of the real time communication based on World Wide Web (WWW) of described another terminal response;
If the bandwidth demand that the interim conversation state information table that the bandwidth demand that described session updates response message comprises and described agent equipment are preserved comprises is inconsistent, the bandwidth demand comprising according to described session updates response message upgrades the bandwidth demand in described interim conversation state information table;
Described session updates response message is sent to described terminal.
7. an implement device for the real time communication based on World Wide Web (WWW), is characterized in that, comprising:
Monitoring modular, for detection of the conversation request message of the real time communication based on World Wide Web (WWW) of initiating to terminal, described conversation request message comprises bandwidth demand;
Adjusting module, if the bandwidth demand comprising for described conversation request message is greater than the bandwidth demand that the signing configuration information of the user of described terminal comprises, revise the bandwidth demand that described conversation request message comprises, the bandwidth demand that described conversation request message is comprised is less than or equal to the bandwidth demand that the signing configuration information of user of described terminal comprises;
Sending module, for sending to amended described adjusting module conversation request message described another terminal.
8. device according to claim 7, is characterized in that, also comprises:
Creation module, for the bandwidth demand comprising according to the amended conversation request message of described adjusting module, create interim conversation state information table, the bandwidth demand that described amended conversation request message is comprised is saved in described interim conversation state information table.
9. device according to claim 7, is characterized in that, described monitoring modular, also for detection of the response message of the real time communication based on World Wide Web (WWW) of responding to described another terminal;
Described adjusting module, if the bandwidth demand that the bandwidth demand also comprising for described response message and described interim conversation state information table comprise is inconsistent, the bandwidth demand comprising according to described response message upgrades the bandwidth demand in the interim conversation state information table that described creation module creates;
Described sending module, also for sending to described terminal by described response message.
10. according to the device described in claim 7-9 any one, it is characterized in that, described adjusting module, the link-state change message also sending for the wireless access point device connecting according to described terminal, adjusts the bandwidth demand in the interim conversation state information table that described creation module creates;
Described sending module, also for sending session updates message to described terminal, described session updates message comprises the bandwidth demand after described adjusting module is adjusted.
11. devices according to claim 10, it is characterized in that, described monitoring modular, also, for detection of the session updates request message of the real time communication based on World Wide Web (WWW) of initiating to described terminal, described session updates request message comprises the bandwidth demand after described adjustment;
Described sending module, also for sending to described session updates request message described another terminal.
12. devices according to claim 11, is characterized in that, described monitoring modular, also for detection of the session updates response message of the real time communication based on World Wide Web (WWW) of responding to described another terminal;
Described adjusting module, if the bandwidth demand that the interim conversation state information table that the bandwidth demand also comprising for described session updates response message and described agent equipment are preserved comprises is inconsistent, the bandwidth demand comprising according to described session updates response message upgrades the bandwidth demand in described interim conversation state information table;
Described sending module, also sends to described terminal for the session updates response message that described monitoring modular is detected.
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 true CN103841085A (en) 2014-06-04
CN103841085B 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)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106576185A (en) * 2014-08-25 2017-04-19 统有限责任两合公司 Method for controlling a multimedia application, software product and device
CN107423128A (en) * 2017-07-31 2017-12-01 北京京东尚科信息技术有限公司 Information processing method and its system
CN112911193A (en) * 2021-01-29 2021-06-04 浪潮软件科技有限公司 WebRTC video call-based bandwidth control method and device

Citations (5)

* 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
US20110228673A1 (en) * 2010-03-17 2011-09-22 Cisco Technology, Inc. System and method for providing rate control in a network environment

Patent Citations (5)

* 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
US20110228673A1 (en) * 2010-03-17 2011-09-22 Cisco Technology, Inc. System and method for providing rate control in a network environment

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106576185A (en) * 2014-08-25 2017-04-19 统有限责任两合公司 Method for controlling a multimedia application, software product and device
CN107423128A (en) * 2017-07-31 2017-12-01 北京京东尚科信息技术有限公司 Information processing method and its system
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

Also Published As

Publication number Publication date
WO2014079386A1 (en) 2014-05-30
CN103841085B (en) 2017-03-08

Similar Documents

Publication Publication Date Title
CN107743698B (en) Method and apparatus for multi-path media delivery
CN102859943B (en) Method and apparatus providing access network aware presence to applications
US9954737B2 (en) Policy formulating method, policy server, and gateway
CN102404229B (en) System, device and method for load balancing
US9455947B2 (en) Apparatus and method of enabling to transceive data using a plurality of heterogeneous networks selectively through a fixed host address
US8001263B2 (en) Method for suspending and resuming content transmission/reception
CN110808948B (en) Remote procedure calling method, device and system
US9370032B2 (en) Service processing method and apparatus based on android system
WO2015010572A1 (en) Methods, devices, and systems for controlling audio and video transmission
EP3024210A1 (en) Method and apparatus for providing service in user equipment of mobile communication system
CN103841085A (en) Method and device for implementation of web real-time communication
CN115002238A (en) Traffic transmission method, device, equipment and storage medium
KR102108532B1 (en) Method and apparatus for improving the quality of a service in communication systems
CN102439946B (en) Data transmission method and device
CN107479911A (en) Download method, user equipment and the application server of application program
EP3195528B1 (en) Application control interworking in network
CN103051484A (en) Method and system for processing session service and session border controller
CN106657039A (en) Portal page obtaining method, wireless AP, and Portal server
CN110139264B (en) NB-IoT network communication method, device and storage medium
CN102883129B (en) Video communication method and terminal
KR101274774B1 (en) System and method for providing push service using reconnection message
CN111615170A (en) Data transmission method and system
CN112055083B (en) Request processing method and device, electronic equipment and medium
CN114095759B (en) Stream media redirection method and related device
CN115150363B (en) IP address updating method, gateway device, gateway down-hanging device and storage medium

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