A kind of electric power enterprise pc client software controls the method and system that IP phone is dialed
Technical field
The present invention relates to IP phone dialing method is controlled by client software on PC and in particular to electric power enterprise user
Same station IP phone dialing method is controlled by client software on PC.
Background technology
The development built with the intelligent grid of grid company, IMS progressively becomes NGN Core Technologies, is based on
The various IP telephony products of IMS are also constantly generalized to the desk tops of unit users at different levels.Enterprise Staff is realizing new technology
Outside the facility that new product brings, still suffer from problems:
(1) the enterprise directory management of thousands of workers remains the difficult problem of puzzlement IP phone user.Even if the most intelligent
IP phone nor easily and fast enterprise directory is maintained in IP telephony system, can not accomplish according to enterprise's duty
The change of work information upgrades in time, and therefore imperfect, inaccurate enterprise customer's address list information will constantly bring to user
Trouble and puzzlement, this also becomes the maximum pain spot as the IP phone in electric power enterprise Work Telephone.
(2) limited screen and panel-centralized IP phone institute is functional and operation, and Enterprise Staff user learning is not using
Just.Ease for use is the overwhelming majority quickly electronic product key property, compact interface, abstract button, complicated menu, specially
The noun of industry, is all to limit the obstacle that user uses IP phone, the slow people especially to accepting new knowledge, new things, even more hope and
Step back, a lot of functions are even once also unused.
(3) existing IP phone also cannot accurate present user state.The either IP phone of analog phone or intelligence
All also cannot present user state it is impossible to whether reaction user currently can converse or whether convenient call, trial can only be played
In the past, by busy tone, hang up or ring unanswered to judge state, very inconvenient.
(4) current IP phone function establish one's own system it is impossible to call simultaneously easily with PC on message, postal
Other office system such as part is integrated.Currently a lot of IP telephony products adopt intelligent operating system, have calendar, mail, immediately disappear
The functions such as breath, file service, but user's working environment remains PC it is impossible to these functions based on IP phone and product,
Lack keyboard, mouse, in the case of giant-screen, smart IP phone is also difficult to become efficient desk tops system.
Content of the invention
For solving the deficiency that prior art exists, the invention discloses a kind of electric power enterprise pc client software controls IP electricity
Talk about the method and system dialed, realize unifying the friendliness interface of address list using the enterprise of client software on PC, with
IP phone is communicated, and controls IP phone to carry out dialling, the operation such as breathe out, hang up, and realizes client software incoming call bullet screen simultaneously
Display, the caller ID of acquisition IP phone, talking state, phone state etc..Present user can be facilitated by client software
State, and be advantageously integrated with existing business system (as OA), facilitate customer service to handle.
For achieving the above object, the concrete scheme of the present invention is as follows:
A kind of electric power enterprise pc client software controls the method that IP phone is dialed, and each station is respectively provided with PC and IP
Phone, PC and IP phone correspond, PC and IP phone and intermediate server all with public network service, including below
Step:
PC sends call instruction to intermediate server, needs to transmit calling IP phone number, called phone number, PC
Inquire about the configuration parameter of calling IP phone according to calling IP phone number from IP phone configuration information table, PC is built with IP phone
Stand and connect and send call instruction;
IP phone receives instruction execution call operation, and in calling and communication process, state is sent to middle clothes by IP phone
Business device state receiving interface, intermediate server feeds back to PC after being packaged.
Further, as the called corresponding IP phone of telephone number, meeting triggering state reporting functions during incoming call, in the future
Electric number is sent to intermediate server state receiving interface, and intermediate server inquires about this IP phone from IP phone configuration information table
The IP address of corresponding PC, the electricity condition that comes after intermediate server will encapsulate is sent to PC, and PC shows call reminding;
IP phone state reporting function can be triggered when user's off-hook is conversed, in the same manner PC is sent to by intermediate server
Machine, in PC display call;Trigger IP phone state reporting function again when user's end of conversation on-hook, by intermediary service
Device is sent to PC, PC display end of conversation execution subsequent operation.
Further, IP phone configuration information table be used for storing the number of IP phone, type, brand, model, IP address,
MAC Address, user name, password, binding PC IP address information.
Further, IP phone state includes registration, off-hook, calling, call, on-hook, sends a telegram here, answers, during state change
The state reporting function of IP phone can be triggered, and (URL reporting address only need to be revised as by the function that this function carries for IP phone
Intermediate server receives address), report state to specified intermediate server state receiving interface, intermediate server will seal
The state installing is sent to PC caller.
Further, entered according to the status format difference of different brands, model phone after intermediate server receives state
Row is packaged into unified status format, after the completion of process, packaged state is sent to PC caller.
Further, PC passes through intermediate server at least needs to specify IP electricity to be used to before the transmission instruction of IP phone
In words number, and the configuration information of this IP phone, the user name that type, brand, model, IP address, checking need, password are necessary
It is known that specific mode can be logged on, register or IP phone and PC binding dynamically refer to it is also possible to be included in the instruction of transmission
Fixed.
Further, if do not need after PC click to dial monitor IP phone state, now intermediate server only need to
IP phone sends instruction, and the state reporting is without being sent to PC.
A kind of electric power enterprise pc client software controls IP phone to dial system, and each station is respectively provided with PC and IP electricity
Words, PC and IP phone correspond, PC and IP phone and intermediate server all with public network service, including:
Information sets up module:Unify address list for setting up enterprise in PC, in intermediate server Database IP
Phone configuration information table;
PC caller handler module:PC to intermediate server send call instruction, need transmit calling IP phone number,
Called phone number, PC inquires about the configuration ginseng of calling IP phone according to calling IP phone number from IP phone configuration information table
Number, PC is set up with IP phone and is connected and sends call instruction;
The called processing module of IP phone:As the called corresponding IP phone of telephone number, in meeting triggering state during incoming call
Report achievement can, caller ID is sent to intermediate server state receiving interface, intermediate server is from IP phone configuration information table
Inquire about the IP address of the corresponding PC of this IP phone, the electricity condition that comes after encapsulating is sent to PC by intermediate server, and PC shows
Show call reminding;
IP phone state reporting function can be triggered when user's off-hook is conversed, in the same manner PC is sent to by intermediate server
Machine, in PC display call;Trigger IP phone state reporting function again when user's end of conversation on-hook, by intermediary service
Device is sent to PC, PC display end of conversation execution subsequent operation.
Further, in PC caller handler module, IP phone receives instruction execution call operation, calls and conversed
Cheng Zhong, state is sent to intermediate server state receiving interface by IP phone, and intermediate server feeds back to PC after being packaged.
Further, electric power enterprise pc client software control IP phone dial system can be with other operation system collection
Become.
Beneficial effects of the present invention:
(1) user only needs to by mouse client software interface on PC and carries out clicking operation, just can control same
On station, IP phone is dialed it is not necessary to press any numerical key and other operation in IP phone panel, as long as picking up IP phone
Microphone it is possible to wait with other side call.
(2) user is without remembeing any telephone number it is not required that inputting any telephone number, only it is to be understood that the list of other side
Position and name, just can unify the user on address list, carry out telephone call and call with mouse click enterprise.
(3) use the client software of the present invention, User Status in address list, Yong Huye can be unified with real time inspection enterprise
Can arrange oneself is in session, or receiving a visitor, or leave state, intermediate server can be synchronized to after status modifier, its
Its user's fixed intervals obtains other user state informations to intermediate server, allows other users immediately to know, is easy to work peace
Row.
(4) use the client software of the present invention, can by the operation systems such as business interface and OA integrated so that user
The information such as unread mail can be seen in time on this software.
Brief description
Fig. 1:System hardware structure schematic diagram;
Fig. 2:PC click to dial program flow diagram;
Fig. 3:Click to dial stream compression schematic diagram;
Fig. 4:Incoming call program flow diagram;
Fig. 5:Caller data circulation schematic diagram.
Specific embodiment:
The present invention is described in detail below in conjunction with the accompanying drawings:
The present invention provides service to realize interacting between PC and IP phone using intermediate server.PC can pass through
Intermediate server sends instruction to IP phone, and IP phone can report and submit phone state by intermediate server to PC.
Set up IP phone configuration information table, for storing the number of IP phone, type, brand, model, IP address, MAC ground
The information such as location, user name, password, binding PC IP address.
PC passes through intermediate server at least to be needed to specify IP phone number to be used to before the transmission instruction of IP phone, and
In the configuration information of this IP phone, type, brand, model, IP address, the user name of checking needs, password etc. must be known.Refer to
Determine mode can be logged on, register, IP phone and PC binding dynamically specify it is also possible to be included in the instruction of transmission.
By PC caller handler flow process:PC sends call instruction to intermediate server, needs to transmit calling IP phone
The parameters such as number, called phone number, PC inquires about caller IP according to calling IP phone number from IP phone configuration information table
The IP address of phone, user name, password, PC is set up with IP phone and is connected and sends call instruction.IP phone receives instruction and holds
Row call operation, in calling and communication process, state is sent to intermediate server state receiving interface, intermediary service by IP phone
Device feeds back to PC after being packaged.
In certain scenarios, do not need after PC click to dial to monitor the state of IP phone, now intermediate server only needs
Send instruction to IP phone, the state reporting without being sent to PC, for example, is passed through webpage click button or link is dialled.
IP phone state report flow process:IP phone state includes registration, off-hook, calling, call, on-hook, sends a telegram here, answers
State, can trigger the state reporting function of IP phone during state change, to specified intermediate server state receiving interface report
State.Intermediate server is packaged into unified according to the status format difference of different brands, model phone after receiving state
Status format, after the completion of process, packaged state is sent to PC caller.
Called handling process:During IP phone incoming call, meeting triggering state reporting functions, caller ID is sent to intermediary service
Device state receiving interface, intermediate server inquires about the IP address of the corresponding PC of this IP phone from IP phone configuration information table,
The electricity condition that comes after intermediate server will encapsulate is sent to PC, and PC shows call reminding;Can touch when user's off-hook is conversed
Send out IP phone state reporting function, in the same manner PC is sent to by intermediate server, in PC display call;Treat that user's communication is tied
Trigger IP phone state reporting function again during bundle on-hook, PC is sent to by intermediate server, PC shows end of conversation
Execution subsequent operation.
Different brands, different model IP phone all different in control mode, state reporting form etc., this programme towards with
The PC at family provides unified control mode and unified state reporting form, and for PC, various brands model phone does not have
Have any different;In the IP phone to different brands model for the server end, define exclusive control method and state encapsulation method.
As shown in figure 1, the hardware platform that the application is relied on includes multiple PCs and IP phone, PC and IP phone are one by one
Corresponding, PC and IP phone all with public network or Intranet special line communication, intermediate server is special with public network or Intranet
Line communicates.
As shown in Fig. 2 PC click to dial program flow diagram, after starting, PC is clicked on enterprise and is unified the use on address list
Dialled in family, Sending dialled number instructs intermediate server, and intermediate server is talked about in IP according to the telephone number in order parameter
In machine configuration information table, query configuration information, determines whether configuration information, if it is not, intermediate server will be prompted to information
It is sent to PC, then terminates, if there are configuration information, then intermediate server is according to the IP phone of different brands, different model
Call different control IP phone Dialing Methods, Sending dialled number instructs, IP phone receives instruction and dialled, return and execute knot
Really, judge whether dialing is successful, if no success, the information of will be prompted to is sent to PC, and terminates, if dial-up success,
Wait called answers, such as ring unanswered or hang up, then the information that will be prompted to is sent to PC, otherwise, closing of the circuit, state is sent
To PC, enter state in call, end of conversation, hang up the telephone, state is sent to PC, terminate.
As shown in figure 3, click to dial stream compression schematic diagram, click to dial in PC, by dial instruction send in
Between server, carry out inquiring about IP sending call instruction in intermediate server, and this instruction transmitted to IP phone, IP phone enters
State reporting instruction is sent to intermediate server, in IP phone, after dialing, IP phone is carried out in state by row dialing simultaneously
Report, then closing of the circuit, after connection, IP phone carries out state reporting again, and then IP phone is hung up, and then IP phone carries out shape
State reports, and the different conditions that IP phone is in report in intermediate server respectively, receives phone in intermediate server
State simultaneously encapsulates and is sent to PC, is shown that dialing status, display talking state machine show the state of hanging up in PC respectively.
As shown in figure 4, IP phone incoming call program flow diagram, start, if there being new incoming call, IP phone is sent out to intermediate server
Deliver newspaper announcement, incoming information is sent to PC by intermediate server, wait called answering, if ring unanswered or hang up, by IP electricity
Speech phase and information are sent to PC, terminate, if closing of the circuit, state are sent to PC, enter state in call,
End of conversation, hangs up the telephone, and state is sent to PC, terminates to answer flow process.
As shown in figure 5, caller data circulation schematic diagram, IP phone is sent a telegram here, by state reporting to intermediate server, IP phone
Connect, by state reporting to intermediate server, IP phone is hung up, by state reporting to intermediate server, intermediate server receives
Phone state simultaneously encapsulates and is sent to PC, carries out display respectively and carry out electricity condition in PC, shows talking state, and shape is hung up in display
State.
In sum, the method being provided by this programme, it is possible to achieve control IP phone to carry out off-hook, exhale by PC
The operation such as cry, hang up, the talking state of IP phone, incoming information, call state etc. can also be obtained, and passing through identical side
Method can control the IP phone of different brands, different model.The control IP phone mode of PC is also no longer limited to customization customer
End routine call, can also be called by browser, other operation system, other business software, method of calling realizes diversification.
Although the above-mentioned accompanying drawing that combines is described to the specific embodiment of the present invention, not model is protected to the present invention
The restriction enclosed, one of ordinary skill in the art should be understood that on the basis of technical scheme, and those skilled in the art are not
Need to pay the various modifications that creative work can make or deformation still within protection scope of the present invention.