CN101895582A - SIP soft terminal supporting WEB service and multiple browsers and working method thereof - Google Patents

SIP soft terminal supporting WEB service and multiple browsers and working method thereof Download PDF

Info

Publication number
CN101895582A
CN101895582A CN 201010232124 CN201010232124A CN101895582A CN 101895582 A CN101895582 A CN 101895582A CN 201010232124 CN201010232124 CN 201010232124 CN 201010232124 A CN201010232124 A CN 201010232124A CN 101895582 A CN101895582 A CN 101895582A
Authority
CN
China
Prior art keywords
interface
software terminal
browser
module
functional module
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
CN 201010232124
Other languages
Chinese (zh)
Other versions
CN101895582B (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.)
Beijing University of Posts and Telecommunications
Original Assignee
Beijing University of Posts and Telecommunications
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 Beijing University of Posts and Telecommunications filed Critical Beijing University of Posts and Telecommunications
Priority to CN2010102321244A priority Critical patent/CN101895582B/en
Publication of CN101895582A publication Critical patent/CN101895582A/en
Application granted granted Critical
Publication of CN101895582B publication Critical patent/CN101895582B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

The invention discloses an SIP soft terminal supporting a WEB service and multiple browsers and a working method thereof. The soft terminal is a multimedia terminal of which various interfaces for supporting the WEB service and multiple browsers are configured on the conventional desktop and which uses a webpage browser as an operation carrier. The soft terminal is provided with a JavaScript interface and a soft terminal assembly module, wherein the JavaScript interface is provided with a soft terminal builder and a soft terminal expansion interface; and a soft terminal functional module is packaged as a soft terminal assembly module by using a browser adapter interface. Compared with the conventional soft terminal, the SIP soft terminal has the advantages that: the building of the soft terminal assembly module is triggered by a JavaScript script and finally the soft terminal is embedded in the browser, the trouble of manual installation by the user is saved and a technique for the embedment in the browser is mature and is easy to realize; an operation platform set for developing WEB expansion services, which is a JavaScript-based bidirectional calling interface is provided for a programmer, the working details of a bottom layer soft terminal module is shielded, and the development of rich WEB services satisfying the individual needs of customers by the programmer is made extremely convenient.

Description

A kind of SIP software terminal and method of work thereof of supporting WEB service and many browsers
Technical field
But the present invention relates to the SIP software terminal technology of a kind of browser-cross and support WEB service, exactly, relate to a kind of SIP software terminal and method of work thereof of supporting WEB service and many browsers, belong to the technical field of the communication technology and the Internet.
Background technology
The develop rapidly of the network communications technology realizes the multimedia real-time Transmission for IP network and provides the foundation.At present, SIP software terminal technology has had develop rapidly, has merged the business of conventional telephone terminal gradually.The SIP software terminal is in a kind of voip network terminal that realizes the real-time voice conversation on the internet by Session Initiation Protocol, software wherein is the application program on PC or the smart mobile phone mostly, its basic principle is to adopt speech compression coding algorithm that speech data is carried out compressed encoding to handle, after adopting existing ICP/IP protocol that its VoP is sent to receiving terminal, again to these VoPs decompression processing of decoding, revert to original voice signal, thereby realize utilizing IP network to transmit the purpose of voice.In the transmission course of voice, adopt Session Initiation Protocol to realize Signalling exchange, reach the purpose of in communication process, carrying out session control.
The continuous development of IP network and improving constantly of the network bandwidth, brought the rise of cloud computing, at present, traditional WEB service can not satisfy the growing communication requirement of people, and the WEB service that merges the multimedia messages of speech, video and data communication arises at the historic moment.The SIP software terminal that embeds WEB service uses simple because of it, need not user's manual installation related software and quite be popular, under the safe mode of user's using system default browser, client is by the mode of control in the load default browser, when the user opens enterprise's webpage, download to user's PC terminal automatically.The SIP software terminal can in the WEB page, provide the principle of multimedia service be defined a cover can for the WEB programming call based on JavaScript, can realize the two-way software terminal expansion interface that calls.The functional module of the core logic of SIP software terminal after receiving the network service incident, the JavaScript script in activating business by these interface interchanges WEB; In WEB activated business, the JavaScript script called these expansion interfaces again, and expansion interface finally calls the functional module of SIP software terminal core logic.
Support the SIP software terminal of WEB service and many browsers to be based on IP network, use the functional module of the core logic of traditional SIP software terminal, the adaptable interface that cooperates multiple browser, make that the multimedia service on the WEB can be used on many browsers, thereby provide condition for WEB goes up the embedding multimedia service, quickened the development and the popularization of WEB multimedia service.Support the key of the SIP software terminal of WEB service and many browsers to be to use SIP software terminal technology can utilize the environment of Internet and global ip interconnection,, more easily speech and multimedia service more cheap than Plain Old Telephone Service are provided.In addition, the SIP software terminal can use in browser, directly enters can use after the WEB page is downloaded, and does not need to install separately; Also can embed after sale websites such as food and drink consulting as enterprise.In addition, it also has the characteristic of supporting many browsers, and according to the browser that the user uses, dynamically transparent ground uses different technical tactics, makes that its scope of application is obviously widened, and helps promoting and using.
The software terminal of succeeding in developing now is based on the desktop exploitation mostly and encapsulates the client of various signaling controls and medium interactive function.Wherein H.323 signaling control used or Session Initiation Protocol, and media delivery is used the real-time Transmission Real-time Transport Protocol.Use such software terminal if desired, the user must be on PC the corresponding software terminal client of manual installation.
Document " a kind of online Call Management Center client design " based on SIP (" Heilungkiang scientific and technological information " 2009 (11): 66) propose a kind of based on ActiveX, can embed the mentality of designing of the software terminal of IE browser.But the document does not provide feasible design cycle and implementation method to this thinking, and its client is not supported video calling yet.And, be that the user need install the IE browser based on the feasibility prerequisite of the solution of ActiveX control mode, because ActiveX is based on Microsoft's com component, so only support the IE browser of Microsoft, the range of application of this thinking is restricted.
The technical scheme shortcoming of above-mentioned document is: on the one hand, needing each terminal that client software must be installed based on the software terminal of desktop can use, and lacks convenience and flexibility.On the other hand, the thinking that software terminal is embedded browser that above-mentioned document proposes, though can deal with problems theoretically,, feasible implementation method is not proposed, do not consider to multiple browser to provide support yet.Popular day by day along with non-IE browsers such as FireFox only can't satisfy the demand of more users certainly based on the software terminal of ActiveX.In addition,, make the application program of only supporting IE to transfer among the IE and move that it still needs the user to download and install this assembly separately, and also broken away from the theory that browser-cross is used though the browser as FireFox so provides the extension element of supporting IE.
Therefore, develop a kind of audio frequency and video of can supporting as early as possible and converse and various WEB multimedia service, and support the software terminal of at least two kinds of main flow browsers just to become the focus of scientific and technical personnel's concern in the industry simultaneously.
Summary of the invention
In view of this, the purpose of this invention is to provide a kind of SIP software terminal and method of work thereof of supporting WEB service and many browsers, SIP software terminal of the present invention is except supporting the audio frequency and video conversation, to solve earlier and how software terminal is embedded into browser and support WEB service, also to solve and between multiple browser, carry out adaptive problem, at every kind of browser, need provide corresponding adaptable interface to call common software terminal functional module respectively.Then, the software terminal functional module is set rationally, make each functional module clear-cut job responsibility with and inner each functional module between can carry out effectively alternately, finish various set-up functions.
In order to reach the foregoing invention purpose, the invention provides a kind of SIP software terminal of supporting WEB service and many browsers, it is characterized in that: described SIP software terminal is that existing desktop software terminal is set various interface, with support WEB service and many browsers, and with the multimedia terminal of web browser as the operation carrier; This SIP software terminal is provided with JavaScript interface and two parts of software terminal load module, wherein:
The JavaScript interface is provided with two submodules: software terminal creator and software terminal expansion interface, and the software terminal creator is used to create software terminal load module, so that the basic function of this software terminal is embedded browser; The software terminal expansion interface is to embed on the basis of browser in the software terminal basic function, for the programmer provides the exploitation platform that various WEB activate business;
Software terminal load module is provided with two submodules: browser adaptable interface and software terminal functional module; The browser adaptable interface comprises ActiveX interface, XPCOM interface and other interface, so that adaptive multiple browser and the execution that cooperates WEB to activate business; The software terminal functional module is used to this SIP software terminal that various Core Features are provided.
In order to reach the foregoing invention purpose, the present invention also provides a kind of method of work of supporting the SIP software terminal of WEB service and many browsers, it is characterized in that, comprises following operating procedure:
(1) after site home page was opened by the user, browser called the JavaScript interface, by wherein the software terminal creator browser type according to the current use of user, created the software terminal load module based on corresponding browser adaptable interface;
(2) after software terminal load module was created, the software terminal functional module was directly obtained default configuration information in the configurator by the master control manager, prepared to carry out the operation of account number coupling, media-driven, media initialize and media negotiation; If this moment, the user will change configuration information, then initiate the change configuring request to the master control manager by graphic user interface, the master control manager calls configurator, original default configuration information is changed to the new configuration information of user's input, and be saved in disk file lastingly;
(3) configuration information of the relevant user account number that obtains according to step (2), master control manager control Signalling exchange module is carried out account number coupling, authentication and signaling initial work;
(4) when carrying out media-driven, the configuration information of the relevant media-driven that obtains according to step (2), audio ﹠ video equipment is opened and driven to the master control manager, for medium are prepared alternately by calling media drive control media device;
(5) configuration information of the relevant media initialize that obtains according to step (2), master control manager control medium interactive module is carried out the media initialize operation;
(6) graphic user interface receives registration of Client-initiated signaling and call event, and the master control manager triggers the Signalling exchange module, the operation that starts user's registration and set up signalling path; In user registration course, the software terminal functional module will receive with the user and register relevant network service incident, be activated business by the caused WEB of this incident thereby trigger, and variously register the caused expanded function of dependent event because of the user to finish;
(7) after signalling path was set up, the Signalling exchange module triggered the medium interactive module, started medium encoding and decoding and transmitting-receiving process, made communicating pair begin the audio frequency and video conversation; In setting up signalling path and communication process, the software terminal functional module receives and calls out, replys relevant network service incident, activate business by the caused WEB of this incident thereby trigger, finish various because of calling out, reply the caused expanded function of dependent event;
(8) the Signalling exchange module receives callee's signaling message at any time, if do not receive on-hook signaling, the medium that then continue execution in step (7) are mutual, be the audio frequency and video call flow; If receive on-hook signaling, then discharge both sides' signalling path, and stop the medium interaction flow; Simultaneously, the software terminal functional module detects the on-hook signaling incident, and triggers the execution of being activated business by the caused WEB of on-hook signaling incident.
The present invention is a kind of SIP software terminal and method of work thereof of supporting WEB service and many browsers, and except supporting the audio frequency and video conversation, this SIP software terminal can be supported WEB service and multiple browser.Compare with the thinking that communication customer end is embedded browser of document description in the background technology, the present invention has not only expanded this thinking, feasible implementation method is provided, but also provide support to multiple browser based on multiple browser adaptable interface, and the mechanism of the many browsers of this support is fully transparent to the user.
Compare with software terminal scheme based on desktop, SIP software terminal of the present invention is encapsulated into software terminal load module with the browser adaptable interface with the software terminal functional module, and trigger the constructive process of software terminal load module by the JavaScript script, finally reach the purpose that this SIP software terminal is embedded browser, not only omitted the trouble of user's manual installation software terminal, and, the mode technology maturation of this embedding browser, realize simply, convenient, just can satisfy user's demand with less technology cost.Moreover SIP software terminal of the present invention embeds in the technical scheme of browser, the shared cover software terminal functional module of various browser adaptable interfaces, and this method for designing is simple, ingenious, efficient, has improved the reusability of module.
SIP software terminal of the present invention provides the operating platform that a cover exploitation WEB activated business-based on the two-way calling interface of JavaScript for the programmer, shielded bottom software terminal module operational detail, provide great convenience for the programmer develops abundant, that satisfy the multiple demand of user, personalized WEB service.
Description of drawings
Fig. 1 is that the structure of the present invention's SIP software terminal of supporting WEB service and many browsers is formed schematic diagram.
Fig. 2 is that the software terminal functional module structure in the SIP software terminal of the present invention is formed schematic diagram.
Fig. 3 is the SIP software terminal method of work flow chart that the present invention supports WEB service and many browsers.
Fig. 4 is the application scenarios figure that SIP software terminal of the present invention embeds certain tourist attractions page.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, the present invention is described in further detail below in conjunction with drawings and Examples.
The present invention supports that the SIP software terminal of WEB service and many browsers is that existing desktop software terminal is set the various interface that can support WEB service and many browsers, and with the multimedia terminal of web browser as the operation carrier.Referring to Fig. 1, introduce two critical components in the SIP software terminal of the present invention: JavaScript interface and software terminal load module, at first introduce first parts JavaScript interface:
The JavaScript interface, be provided with two submodules: software terminal creator and software terminal expansion interface, be responsible for finishing two aspect functions respectively: the first, create software terminal load module, to reach the purpose that the software terminal basic function is embedded browser, this partial function is finished by the software terminal creator; The second, be embedded in the software terminal basic function on the basis of browser, for the programmer provides the exploitation platform that various WEB activate business, this part function is born by the software terminal expansion interface.Respectively two submodule is described further below:
The software terminal creator, need provide corresponding browser adaptable interface to call the software terminal functional module because this SIP software terminal is embedded into every kind of browser, so the software terminal creator can be created software terminal load module based on corresponding browser adaptable interface according to the employed browser type of user.In case after software terminal load module was created successfully, the user just can directly use the basic function of this SIP software terminal by browser.
The software terminal expansion interface, it is an interface group, be one group specialize in the programmer carry out WEB activate business exploitation, support the two-way spare interface that calls.The method of work of this interface is: earlier detect communication event in the network by the software terminal functional module, comprise incoming call, on-hook, busy or other incident, when these incidents took place, the software terminal functional module was called the JavaScript script of WEB in activating business by the software terminal expansion interface; Then, JavaScript script during WEB activates business calls the software terminal expansion interface, this expansion interface is selected corresponding browser adaptable interface according to the browser type that the user uses again, and finally calls function corresponding interface in the software terminal functional module by corresponding browser adaptable interface; The programmer just utilizes these interfaces on the basic function module of software terminal like this, develops various rich personality business.For example, calling terminal makes a call to called end, and called end is not replied for a long time, this processing mode in existing basic talk business is: directly give calling terminal loopback time-out information, and inform calling terminal, called end is temporary transient, and nobody replys, suggestion is dialled after a while again, the process of end call simultaneously.SIP software terminal of the present invention then is provided with the interface that makes a call in the software terminal expansion interface, when the software terminal functional module detects overtime incident, can utilize this interface to remove to call call function in the software terminal functional module, like this, the business development personnel just can utilize this interface directly to realize the business of replaying automatically on the JavaScript interface, and need not to know the working mechanism of bottom software terminal functional module.
SIP software terminal expansion interface of the present invention has following two class interfaces:
The first kind is used to finish the control class interface of the correlation function of various and calling and session, has six:
User's registration interface is called the user's registration interface in the software terminal functional module, finishes terminal use's registering functional.
The interface that makes a call calls the interface of calls in the software terminal functional module, finishes the function that the calling party makes a call to the callee.
The call answering interface calls the call answering interface in the software terminal functional module, finishes the function that the callee answers caller calls.
Call out the cancellation interface, call the calling cancellation interface in the software terminal functional module, finish the function of calling party's cancellation to the calling of callee's initiation.
The end of calling interface calls the end of calling interface in the software terminal functional module, finishes the call flow of both call sides.
Obtain the call error information interface, call and obtain the call error information interface in the software terminal functional module, obtain the error code and the error message that produce in the both call sides process.
Second class is the configuration class interface, is used to finish various registrations and account and media information configuration feature; The configuration class interface comprises following three:
The account number configuration interface calls the account number configuration interface in the software terminal functional module, is the required account of calling user assigns talk, for the registration of finishing the preceding account of conversation.
The audio configuration interface, call the audio configuration interface in the software terminal functional module, finish the configuration feature of various audio-frequency informations, audio configuration information comprises: audio input device, audio output apparatus, audio sample rate, audio coding decoding form, prompt tone are selected or volume is selected.
The video configuration interface calls the video configuration interface in the software terminal functional module, finishes the configuration feature of various video informations, and video configuration information comprises: video capture device, video sampling resolution, coding and decoding video form etc.
Introduce the load module of second parts software terminal below, it is provided with two submodules: browser adaptable interface and software terminal functional module, and by browser adaptable interface encapsulation software terminal functional module and form.So mainly finish two aspect functions: the first, provide various Core Features by the software terminal functional module for this SIP software terminal.The second, finish the adaptive of multiple browser, and the execution that cooperates WEB to activate business, this partial function is finished by the browser adaptable interface that comprises ActiveX interface, XPCOM interface and other interface.
The browser adaptable interface is used to call the software terminal functional module, finish the encapsulation of software terminal functional module and realize following two aspect effects: the software terminal functional module can be fitted in the various browsers on the one hand, thereby reach the purpose of supporting multiple browser: for example, the adaptive IE browser of ActiveX interface, the adaptive FireFox browser of XPCOM interface, adaptive other the corresponding browser of other interface.On the other hand, this browser adaptable interface receives calling of software terminal expansion interface in the JavaScript interface, with the execution that cooperates WEB to activate business.
Referring to Fig. 2, introducing another submodule in the software terminal load module of SIP software terminal of the present invention-be used to finishes the structure of the software terminal functional module of the every Core Feature of this SIP software terminal and forms, hollow double-lined arrow among the figure is represented data flow, the single line arrow is represented control flows, and the software terminal functional module is provided with following member:
Graphic user interface, as with the direct mutual presentation layer of user, be used to receive user's request event, and the master control manager delivered in request carried out subsequent treatment, receive the response results of master control manager simultaneously.
The master control manager, control centre as the software terminal functional module, control the mutual and operation of other each modules: the request event that receives graphic user interface earlier, call media drive, medium interactive module or Signalling exchange module respectively according to the type of request event again, finish control and management of media driving, media initialize, signaling initialization and signaling control respectively, and with configurator exchange configuration information, and the operation result of each module is sent to graphic user interface.
Media drive is used to start audio ﹠ video equipment and carries out the driving function, and when this sip terminal started, media drive was just accepted calling of master control manager, audio ﹠ video equipment was carried out the function that starts, drives and control.
Configurator, be used to finish the renewal and the exchange of various configuration informations, when starting this SIP software terminal, configurator is just accepted calling of master control manager, be written into the various configuration parameters that comprise account number, voice configuration and video configuration, and be stored in disk, so that lasting the preservation is used for the mutual and Signalling exchange of medium that this SIP software terminal carries out.
The Signalling exchange module, use Session Initiation Protocol to finish the function of the Signalling exchange and the control medium of this SIP software terminal, this Signalling exchange module receives calling of master control manager, on the one hand, by with the network entity exchange of signaling, finish and comprise that the user registers and set up the various Signalling exchange functions of signalling path; On the other hand, after signalling path is set up, trigger the medium interactive module, start the transmitting-receiving process of Media Stream.
The medium interactive module is finished the transmission-receiving function of medium encoding and decoding and Media Stream, finishes signaling control and the user registers when the Signalling exchange module, set up signalling path after, just starting this medium interactive module, to carry out medium mutual.Particular content is: the control media capturing equipment is gathered original media stream, to encoding from the original media stream of media capturing equipment and being sent to Correspondent Node, media coding stream from Correspondent Node is decoded, more decoded flow point is not delivered to display device or stereo set output.
Referring to Fig. 3, introduce the flow process of method of work that the present invention supports the SIP software terminal of WEB service and many browsers, comprise the following steps:
(1) after site home page was opened by the user, browser called the JavaScript interface, by wherein the software terminal creator browser type according to the current use of user, created the software terminal load module based on corresponding browser adaptable interface;
(2) after software terminal load module was created, the software terminal functional module was directly obtained default configuration information in the configurator by the master control manager, prepared to carry out the operation of account number coupling, media-driven, media initialize and media negotiation; If this moment, the user will change configuration information, then initiate the change configuring request to the master control manager by graphic user interface, the master control manager calls configurator, original default configuration information is changed to the new configuration information of user's input, and be saved in disk file lastingly;
(3) configuration information of the relevant user account number that obtains according to step (2), master control manager control Signalling exchange module is carried out account number coupling, authentication and signaling initial work;
(4) when carrying out media-driven, the configuration information of the relevant media-driven that obtains according to step (2), audio ﹠ video equipment is opened and driven to the master control manager, for medium are prepared alternately by calling media drive control media device;
(5) configuration information of the relevant media initialize that obtains according to step (2), master control manager control medium interactive module is carried out the media initialize operation;
(6) graphic user interface receives registration of Client-initiated signaling and call event, and the master control manager triggers the Signalling exchange module, the operation that starts user's registration and set up signalling path; In user registration course, the software terminal functional module will receive with the user and register relevant network service incident, be activated business by the caused WEB of this incident thereby trigger, and variously register the caused expanded function of dependent event because of the user to finish;
(7) after signalling path was set up, the Signalling exchange module triggered the medium interactive module, started medium encoding and decoding and transmitting-receiving process, made communicating pair begin the audio frequency and video conversation; In setting up signalling path and communication process, the software terminal functional module receives and calls out, replys relevant network service incident, activate business by the caused WEB of this incident thereby trigger, finish various because of calling out, reply the caused expanded function of dependent event;
(8) the Signalling exchange module receives callee's signaling message at any time, if do not receive on-hook signaling, the medium that then continue execution in step (7) are mutual, be the audio frequency and video call flow; If receive on-hook signaling, then discharge both sides' signalling path, and stop the medium interaction flow; Simultaneously, the software terminal functional module detects the on-hook signaling incident, and triggers the execution of being activated business by the caused WEB of on-hook signaling incident.
The present invention has carried out implementing test by the applicant, below one of them embodiment of brief description: the application scenarios (referring to shown in Figure 4) when the present invention supports that the SIP software terminal of many browsers embeds certain tourist attractions homepage.Hollow double-lined arrow presentation medium link among Fig. 4, the single line arrow is represented signaling link.
SIP software terminal of the present invention is embedded it on homepage of these tourist attractions by certain tourist attractions, is visitor's business of providing advice.When the visitor browses the homepage of these tourist attractions, can on the software terminal interface on the homepage, click voice consulting button.Usually under default situations, software terminal dials from customer service side, trend sight spot via acting server, suppose that there is n customer service terminal as shown in the figure at the sight spot, the talking state of each customer service terminal is often different, the software terminal of visitor side at first makes a call to customer service 1, find that customer service 1 is in busy condition, then the software terminal functional module detects this busy incident, just calls JavaScript script in visitor side's homepage by the software terminal expansion interface.The JavaScript script is through handling, call " calling out the cancellation interface " in the software terminal expansion interface, cancellation is this time called out, then " interface makes a call " of calling in the software terminal expansion interface makes a call to customer service 2 again, so go down, always till being wired to first customer service that is in idle condition.The customer service 2 of supposing this moment is in idle condition, so customer service 2 receives visitor's call information, customer service 2 just answers the call, so set up signalling path between visitor and customer service 2, next is to start medium reciprocal process, and visitor and customer service 2 begin conversation.In addition, the visitor also can select manually to dial to customer service side, the acting server of each customer service terminal can carry out the signaling exchange by the acting server with visitor side, the state feedback of each customer side is given the software terminal interface of visitor side, so the visitor can select current some customer sides that is in idle condition neatly, and to this customer side initiation call request.
This embodiment provides a platform very easily for the visitor provides the sight spot counseling services, under the prerequisite that does not need manual installation conversation client, can initiate the consulting session to the sight spot customer service at any time.Simultaneously, this embodiment has also demonstrated fully the advantage of the software terminal expansion interface in the JavaScript interface of SIP software terminal of the present invention.A kind of method of work of the embodiment of the invention just is described in conjunction with a comparison typical application scene herein; in fact; method of work of the present invention not only can also can be applied to other WEB service towards this type of scene, and similarly method of work all should belong to protection scope of the present invention.
The above only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all, any modification of being made, is equal to replacement, improvement etc., all should be included within the scope of protection of the invention.

Claims (6)

1. SIP software terminal of supporting WEB service and many browsers, it is characterized in that: described SIP software terminal is that existing desktop software terminal is set various interface, with support WEB service and many browsers, and with the multimedia terminal of web browser as the operation carrier; This SIP software terminal is provided with JavaScript interface and two parts of software terminal load module, wherein:
The JavaScript interface is provided with two submodules: software terminal creator and software terminal expansion interface, and the software terminal creator is used to create software terminal load module, so that the basic function of this software terminal is embedded browser; The software terminal expansion interface is to embed on the basis of browser in the software terminal basic function, for the programmer provides the exploitation platform that various WEB activate business;
Software terminal load module is provided with two submodules: browser adaptable interface and software terminal functional module; The browser adaptable interface comprises ActiveX interface, XPCOM interface and other interface, so that adaptive multiple browser and the execution that cooperates WEB to activate business; The software terminal functional module is used to this SIP software terminal that various Core Features are provided.
2. SIP software terminal according to claim 1, it is characterized in that: the browser type that described software terminal creator uses according to the user is created the software terminal load module based on corresponding browser adaptable interface, need provide corresponding browser adaptable interface to call described software terminal functional module because this SIP software terminal is embedded into every kind of browser; And after the establishment of finishing software terminal load module, the user just can directly use the basic function of this SIP software terminal by browser;
Described software terminal expansion interface is an interface group, be one group specialize in the programmer carry out WEB activate business exploitation, support the two-way spare interface that calls; The method of work of this interface is: detected by the software terminal functional module earlier and comprise incoming call, on-hook or busy communication event in the network, and when these incidents took place, the software terminal functional module was called the JavaScript script of WEB in activating business by the software terminal expansion interface; JavaScript script during WEB activates business then calls the software terminal expansion interface, this expansion interface is selected corresponding browser adaptable interface according to the browser type that the user uses again, and finally calls function corresponding interface in the software terminal functional module by corresponding browser adaptable interface; The programmer just utilizes these interfaces on the basic function module of software terminal like this, develops various rich personality business.
3. SIP software terminal according to claim 1, it is characterized in that: described software terminal expansion interface has two classes: finish control class interface various and calling and session correlation function, and the configuration class interface of finishing various registrations, account and media information configuration feature; Wherein, the control class interface comprises following six:
User's registration interface is called the user's registration interface in the software terminal functional module, finishes terminal use's registering functional;
The interface that makes a call calls the interface of calls in the software terminal functional module, finishes the function that the calling party makes a call to the callee;
The call answering interface calls the call answering interface in the software terminal functional module, finishes the function that the callee answers caller calls;
Call out the cancellation interface, call the calling cancellation interface in the software terminal functional module, finish the function of calling party's cancellation to the calling of callee's initiation;
The end of calling interface calls the end of calling interface in the software terminal functional module, finishes the call flow of both call sides;
Obtain the call error information interface, call and obtain the call error information interface in the software terminal functional module, obtain the error code and the error message that produce in the both call sides process;
The configuration class interface comprises following three:
The account number configuration interface calls the account number configuration interface in the software terminal functional module, is the required account of calling user assigns talk, for the registration of finishing the preceding account of conversation;
The audio configuration interface calls the audio configuration interface in the software terminal functional module, finishes to comprise that audio input device, audio output apparatus, audio sample rate, audio coding decoding form, prompt tone are selected or the configuration feature of the various audio-frequency informations that volume is selected;
The video configuration interface calls the video configuration interface in the software terminal functional module, finishes the configuration feature of the various video informations that comprise video capture device, video sampling resolution, coding and decoding video form.
4. SIP software terminal according to claim 1, it is characterized in that: described browser adaptable interface is used to call the software terminal functional module, finish the encapsulation of software terminal functional module and realize following effect: the software terminal functional module is fitted in the various browsers, thereby support multiple browser: the adaptive IE browser of ActiveX interface, the adaptive FireFox browser of XPCOM interface, adaptive other the corresponding browser of other interface; This browser adaptable interface is accepted the calling of software terminal expansion interface in the JavaScript interface, with the execution that cooperates WEB to activate business.
5. SIP software terminal according to claim 1 is characterized in that: described software terminal functional module is used to finish every Core Feature of this SIP software terminal, is provided with following submodule:
Graphic user interface, as with the direct mutual presentation layer of user, be used to receive user's request event, and the master control manager delivered in request carried out subsequent treatment, receive the response results of master control manager simultaneously;
The master control manager, control centre as the software terminal functional module, control the mutual and operation of other each modules: the request event that receives graphic user interface earlier, call media drive, medium interactive module or Signalling exchange module respectively according to the type of request event again, finish control and management of media driving, media initialize, signaling initialization and signaling control respectively, and with configurator exchange configuration information, and the operation result of each module is sent to graphic user interface;
Media drive is used to start audio ﹠ video equipment and carries out the driving function, and when this sip terminal starts, just accepts calling of master control manager, and audio ﹠ video equipment is carried out startup, driving and controlled function;
Configurator, be used to finish the renewal and the exchange of various configuration informations, when starting this SIP software terminal, just accept calling of master control manager, be written into the various configuration parameters that comprise account number, voice configuration and video configuration, and be stored in disk, so that lasting the preservation is used for the mutual and Signalling exchange of medium that this SIP software terminal carries out;
The Signalling exchange module, use Session Initiation Protocol to finish the function of the Signalling exchange and the control medium of this SIP software terminal, this module receives calling of master control manager, by with the network entity exchange of signaling, finish and comprise that the user registers and set up the various Signalling exchange functions of signalling path; After signalling path is set up, trigger the medium interactive module, start the transmitting-receiving process of Media Stream;
The medium interactive module is finished the transmission-receiving function of medium encoding and decoding and Media Stream, finishes signaling control and signaling is registered when the Signalling exchange module, set up signalling path after, just starting this medium interactive module, to carry out medium mutual; Particular content is: the control media capturing equipment is gathered original media stream, to encoding from the original media stream of media capturing equipment and being sent to Correspondent Node, media coding stream from Correspondent Node is decoded, more decoded flow point is not delivered to display device or stereo set output.
6. a method of work of supporting the SIP software terminal of WEB service and many browsers is characterized in that, comprises following operating procedure:
(1) after site home page was opened by the user, browser called the JavaScript interface, by wherein the software terminal creator browser type according to the current use of user, created the software terminal load module based on corresponding browser adaptable interface;
(2) after software terminal load module was created, the software terminal functional module was directly obtained default configuration information in the configurator by the master control manager, prepared to carry out the operation of account number coupling, media-driven, media initialize and media negotiation; If this moment, the user will change configuration information, then initiate the change configuring request to the master control manager by graphic user interface, the master control manager calls configurator, original default configuration information is changed to the new configuration information of user's input, and be saved in disk file lastingly;
(3) configuration information of the relevant user account number that obtains according to step (2), master control manager control Signalling exchange module is carried out account number coupling, authentication and signaling initial work;
(4) when carrying out media-driven, the configuration information of the relevant media-driven that obtains according to step (2), audio ﹠ video equipment is opened and driven to the master control manager, for medium are prepared alternately by calling media drive control media device;
(5) configuration information of the relevant media initialize that obtains according to step (2), master control manager control medium interactive module is carried out the media initialize operation;
(6) graphic user interface receives registration of Client-initiated signaling and call event, and the master control manager triggers the Signalling exchange module, the operation that starts user's registration and set up signalling path; In user registration course, the software terminal functional module will receive with the user and register relevant network service incident, be activated business by the caused WEB of this incident thereby trigger, and variously register the caused expanded function of dependent event because of the user to finish;
(7) after signalling path was set up, the Signalling exchange module triggered the medium interactive module, started medium encoding and decoding and transmitting-receiving process, made communicating pair begin the audio frequency and video conversation; In setting up signalling path and communication process, the software terminal functional module receives and calls out, replys relevant network service incident, activate business by the caused WEB of this incident thereby trigger, finish various because of calling out, reply the caused expanded function of dependent event;
(8) the Signalling exchange module receives callee's signaling message at any time, if do not receive on-hook signaling, the medium that then continue execution in step (7) are mutual, be the audio frequency and video call flow; If receive on-hook signaling, then discharge both sides' signalling path, and stop the medium interaction flow; Simultaneously, the software terminal functional module detects the on-hook signaling incident, and triggers the execution of being activated business by the caused WEB of on-hook signaling incident.
CN2010102321244A 2010-07-15 2010-07-15 SIP soft terminal supporting WEB service and multiple browsers and working method thereof Expired - Fee Related CN101895582B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010102321244A CN101895582B (en) 2010-07-15 2010-07-15 SIP soft terminal supporting WEB service and multiple browsers and working method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010102321244A CN101895582B (en) 2010-07-15 2010-07-15 SIP soft terminal supporting WEB service and multiple browsers and working method thereof

Publications (2)

Publication Number Publication Date
CN101895582A true CN101895582A (en) 2010-11-24
CN101895582B CN101895582B (en) 2012-09-26

Family

ID=43104647

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010102321244A Expired - Fee Related CN101895582B (en) 2010-07-15 2010-07-15 SIP soft terminal supporting WEB service and multiple browsers and working method thereof

Country Status (1)

Country Link
CN (1) CN101895582B (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102710786A (en) * 2012-06-15 2012-10-03 深圳中兴网信科技有限公司 Page communication device and page communication method
CN102779031A (en) * 2011-05-10 2012-11-14 北京磊友信息科技有限公司 Method for generating JavaScript program
CN102830959A (en) * 2011-06-16 2012-12-19 中国科学院声学研究所 Dynamic expanding method and system for embedded browser interface
CN103064662A (en) * 2012-08-28 2013-04-24 华南理工大学 Phone Gap cross-platform media expansion frame based on Android platform
CN103246660A (en) * 2012-02-07 2013-08-14 腾讯科技(深圳)有限公司 Method and device for achieving extended functions of browser
WO2013170801A1 (en) * 2012-10-10 2013-11-21 中兴通讯股份有限公司 Device management method and apparatus
CN103634358A (en) * 2012-08-27 2014-03-12 深圳中兴网信科技有限公司 Browser adaption method and apparatus
CN104133676A (en) * 2014-07-18 2014-11-05 珠海市君天电子科技有限公司 Function execution method and function execution device based on scripts
CN106357795A (en) * 2016-10-12 2017-01-25 天津科技大学 SIP (session initiation protocol)-based tourism social software architecture and multifunctional platform
CN106648628A (en) * 2016-11-30 2017-05-10 武汉斗鱼网络科技有限公司 Method and device for migrating live-streaming application software to IE browser
CN107645491A (en) * 2016-07-21 2018-01-30 韩华泰科株式会社 Media flow transmission equipment and media serving device
CN110602331A (en) * 2019-08-12 2019-12-20 深圳震有科技股份有限公司 Error code expansion-based cause positioning method, intelligent terminal and storage medium
CN112118285A (en) * 2020-07-31 2020-12-22 山东鲁能软件技术有限公司 Data transmission method and system suitable for client full-version browser

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101237333A (en) * 2007-01-31 2008-08-06 北京邮电大学 An universal service platform for supporting multiple services based on multi-network fusion

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101237333A (en) * 2007-01-31 2008-08-06 北京邮电大学 An universal service platform for supporting multiple services based on multi-network fusion

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102779031A (en) * 2011-05-10 2012-11-14 北京磊友信息科技有限公司 Method for generating JavaScript program
CN102830959B (en) * 2011-06-16 2015-09-09 中国科学院声学研究所 A kind of built-in browser interface dynamic expansion method and system
CN102830959A (en) * 2011-06-16 2012-12-19 中国科学院声学研究所 Dynamic expanding method and system for embedded browser interface
CN103246660A (en) * 2012-02-07 2013-08-14 腾讯科技(深圳)有限公司 Method and device for achieving extended functions of browser
CN102710786A (en) * 2012-06-15 2012-10-03 深圳中兴网信科技有限公司 Page communication device and page communication method
CN103634358A (en) * 2012-08-27 2014-03-12 深圳中兴网信科技有限公司 Browser adaption method and apparatus
CN103064662A (en) * 2012-08-28 2013-04-24 华南理工大学 Phone Gap cross-platform media expansion frame based on Android platform
WO2013170801A1 (en) * 2012-10-10 2013-11-21 中兴通讯股份有限公司 Device management method and apparatus
US9686345B2 (en) 2012-10-10 2017-06-20 Zte Corporation Device management method and apparatus
CN104133676A (en) * 2014-07-18 2014-11-05 珠海市君天电子科技有限公司 Function execution method and function execution device based on scripts
CN107645491A (en) * 2016-07-21 2018-01-30 韩华泰科株式会社 Media flow transmission equipment and media serving device
CN106357795A (en) * 2016-10-12 2017-01-25 天津科技大学 SIP (session initiation protocol)-based tourism social software architecture and multifunctional platform
CN106648628A (en) * 2016-11-30 2017-05-10 武汉斗鱼网络科技有限公司 Method and device for migrating live-streaming application software to IE browser
CN106648628B (en) * 2016-11-30 2020-08-04 武汉斗鱼网络科技有限公司 Method and device for transplanting live broadcast application software to IE browser
CN110602331A (en) * 2019-08-12 2019-12-20 深圳震有科技股份有限公司 Error code expansion-based cause positioning method, intelligent terminal and storage medium
CN112118285A (en) * 2020-07-31 2020-12-22 山东鲁能软件技术有限公司 Data transmission method and system suitable for client full-version browser
CN112118285B (en) * 2020-07-31 2022-05-20 山东鲁能软件技术有限公司 Data transmission method and system suitable for client full-version browser

Also Published As

Publication number Publication date
CN101895582B (en) 2012-09-26

Similar Documents

Publication Publication Date Title
CN101895582B (en) SIP soft terminal supporting WEB service and multiple browsers and working method thereof
AU2007338564B2 (en) Web-based telephony system and method
EP2695368B1 (en) Visual telephony apparatus, system and method
CN1965591A (en) Call management service
US20110153868A1 (en) Cloud-Based Application For Low-Provisioned High-Functionality Mobile Station
WO2006014546B1 (en) Method and apparatus for cordless phone and other telecommunications services
CN102780805B (en) Method for information display based on terminal, device and system
CN112953925A (en) Real-time audio and video communication system and method based on SIP (Session initiation protocol) and RTC (real time communication) network
CN101674351B (en) Work method of personalized multi-media caller identification device of mobile terminal
CN101631170A (en) Seat module, customer service system and customer service implementation method
WO2015014174A1 (en) Ring-back playing method and apparatus, and ring-back service system
MX2007009556A (en) Call notification controlled by call originating system.
US7130598B2 (en) Caller identification displayed on a personal computer
WO2007068197A1 (en) A method and system for content directional transmission and distributed access in the telecommunication transmission terminal
CN101001415A (en) Multi-network mixing interaction communication system of mobile communication equipment
TW201603553A (en) Switchboard equipment, method for using switchboard equipemtn, and switchboard system
KR101275385B1 (en) Method for interactive voice response service using internet telephone and apparatus thereof
KR100723707B1 (en) Method and System for Providing Image Call Service for Mobile Telecommunication Terminal
US7545738B2 (en) Network telephony system with enhanced interconversion of audio signals and IP packets
CN100382487C (en) Search engine call communication system and method
US9014731B2 (en) Method and system to enable communication through SMS communication channel
KR100349933B1 (en) System and method for providing phone to phone call service by WEB control
CN1206276A (en) Method and device for common telephone set to have the function of direct connection to Internet without agent
CN115335805A (en) Method, machine and computer program product for dynamically connecting network communication channels
CN112888082A (en) Voice call method, system, device and storage medium based on two-dimension code

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
C53 Correction of patent for invention or patent application
CB03 Change of inventor or designer information

Inventor after: Zhao Yao

Inventor after: Lin Rongheng

Inventor after: Zou Hua

Inventor after: Yang Fangchun

Inventor after: Cao Huaizhi

Inventor after: Zhang Yuan

Inventor after: Li Tao

Inventor after: Sun Qibo

Inventor after: Liu Zhihan

Inventor before: Zhao Yao

Inventor before: Zou Hua

Inventor before: Yang Fangchun

Inventor before: Cao Huaizhi

Inventor before: Zhang Yuan

Inventor before: Li Tao

Inventor before: Sun Qibo

Inventor before: Liu Zhihan

Inventor before: Lin Rongheng

COR Change of bibliographic data

Free format text: CORRECT: INVENTOR; FROM: ZHAO YAO ZOU HUA YANG FANGCHUN CAO HUAIZHI ZHANG YUAN LI TAO SUN QIBO LIU ZHIHAN LIN RONGHENG TO: ZHAO YAO LIN RONGHENG ZOU HUA YANG FANGCHUN CAO HUAIZHI ZHANG YUAN LI TAO SUN QIBO LIU ZHIHAN

CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120926

Termination date: 20150715

EXPY Termination of patent right or utility model