CN103167194A - Method for controlling phone by computer - Google Patents
Method for controlling phone by computer Download PDFInfo
- Publication number
- CN103167194A CN103167194A CN2013100814734A CN201310081473A CN103167194A CN 103167194 A CN103167194 A CN 103167194A CN 2013100814734 A CN2013100814734 A CN 2013100814734A CN 201310081473 A CN201310081473 A CN 201310081473A CN 103167194 A CN103167194 A CN 103167194A
- Authority
- CN
- China
- Prior art keywords
- phone
- computer
- address
- order
- operational order
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Abstract
The invention provides a method for controlling a phone by a computer. A plurality of phone operating commands are registered on the computer and transmitted to the phone, the computer stores an IP (internet protocol) address, a user name and codes of the phone in a magnetic disc, the phone stores the received phone operating commands and an IP address of the computer into a configuration file, a certain function button is clicked by an operating window on the computer, the computer reads the IP address, the user name and the codes of the phone from the magnetic disc, generates the phone operating commands and transmits the phone operating commands to the phone in the form of an Http (hyper text transmission protocol) packet, and the phone analyzes contents to obtain the phone operating commands. When the state of the phone is changed, the phone reads the IP address from the computer and reports a state command to the computer, and the computer analyzes the state command and gives corresponding prompts on the operating window. The method has the advantages of simplicity in configuration, simple communication principle, high expandability, multiple functions, high integration level and the like.
Description
Technical field
The present invention relates to computer communication field, particularly a kind of method that realizes the computer control phone.
Background technology
Notification number is CN1143513C, the day for announcing is the patent of invention " being used for setting up equipment and the method that telecommunications connects " on March 24th, 2004, it discloses a kind of the calling at one and sets up the method that telecommunications connects between party A-subscriber and party B-subscriber, during described connect by means of the party A-subscriber can with and be furnished with that the computer of WWW browser sets up by a communication network, described computer can be by a network that wherein uses http protocol, access a service node, this service node receives and processes the predetermined of telephone service and is used for registered user's data.This patent is comprised of phone, computer and service node, and this service node is comprised of Web server, service node selector and individual assistant, sets up the connection of two phones by computer, allocates telephone service by html page.This patent need to be by service node, increases equipment cost, and just by computer as middle bridge, do not possess the phone of control and converse, hang up, talk with the functions such as quiet.And the method that realizes the computer control phone provided by the invention by send message point-to-pointly, need not the ancillary equipment of phone as computer by service node, possesses simultaneously the function of controlling phone.
Summary of the invention
The technical problem to be solved in the present invention, be to provide a kind of method that realizes the computer control phone, its configuration is simple, and cost is low, adopt point-to-point communication mode and can be by the multiple function such as quiet of hanging up, converse, converse of computer control phone, computer and phone is integrated.
The present invention is achieved in that
A kind of method that realizes the computer control phone comprises the steps:
Step 1, in a plurality of phone operational orders of computer terminal registration, and those phone operational orders are sent to phone; Computer stores IP address, user name, the password of phone in disk into, and simultaneously, computer is opened the status command that a port detectaphone reports;
The IP address that step 2, phone will receive phone operational order and computer is saved in a configuration file of phone;
When the computer control phone, execution in step 3, when the phone state changes, during to the computer uploaded state, execution in step 4;
step 3, the user clicks a certain function button by action pane on computers, computer listens to clicking operation, read the IP address of phone from disk, user name, password, and generate phone operational order corresponding to this function button, then according to the IP address of phone, computer is with the user name of phone, phone operational order corresponding to password and this function button sends on phone in the mode of Http protocol package, when phone receives the Http protocol package, resolve content, obtain the phone operational order in this Http protocol package, then than the configuration file in dialogue machine, if this phone operational order is correct, phone is completed the function corresponding with this phone operational order,
Step 4, phone state change, phone reads the IP address of computer from described configuration file, then the status command that the phone current state is corresponding reports computer in the mode of Http protocol package, computer has listened to status command by described port, resolves this status command and provides corresponding prompting at described action pane.
Further, described port is 8088 ports.
Further, described phone operational order comprises: incoming call has connect order, conversation mute command, kill-call order, phone pause command, phone switching order, outgoing call order and registration computer order.
Further, described status command comprises: instruction, the instruction of phone end of conversation and the quiet instruction of phone are set up in the instruction of phone incoming call, phone dialing command, phone conversation.
The present invention has following advantage:
1, configuration is simple: because the information of Computer of the present invention and the information of SIP phone all are stored in the other side's local file mutually, and identification the other side Shi Shi is by the IP address, and equipment that need not be as the service node selector saves the great amount of cost spending, reduces equipment cost;
2, Principle of Communication is simple: phone and computer adopt point-to-point communication mode, the message of communication can customize, after arriving the other side by IP address transmission, can correctly parse corresponding form and get final product, either party operation the other side can both directly get information;
3, autgmentability is strong: be mainly reflected in two aspects: a) function for phone increases, and computer only needs to increase a phone operational order equally and gets final product, and defined phone operational order does not just need to do any modification; B) during the modification of phone type, only need to get final product in the information such as IP address, user name, password that computer resets phone, do not need to increase any other equipment;
4, function is strong and integrated level is high: computer and phone is integrated, and phone is made the ancillary equipment of computer, thereby realized that phone also can report its state by the kill-call of computer control phone, quiet etc. to conversing.
Description of drawings
The present invention is further illustrated in conjunction with the embodiments with reference to the accompanying drawings.
Fig. 1 is schematic flow sheet of the present invention.
Fig. 2 is that computer control phone of the present invention is hung up figure.
Fig. 3 be computer control phone of the present invention quiet, suspend, transfer and hang up schematic diagram.
Fig. 4 is that phone of the present invention reports current call state schematic diagram.
Embodiment
See also Fig. 1 to Fig. 4, a preferred embodiment of the present invention is elaborated.
See also Fig. 1, a kind of method that realizes the computer control phone comprises the steps:
Step 1, in a plurality of phone operational orders of computer terminal registration, and those phone operational orders are sent to phone; Computer stores IP address, user name, the password of phone in disk into, generally that form with file is kept in disk, simultaneously, computer is opened the status command that a port detectaphone reports, described port can be 8088 ports, described phone operational order comprises: incoming call has connect order, conversation mute command, kill-call order, outgoing call order and registration computer order, and in the present embodiment, described phone operational order defines in the following way:
Incoming call has met order: http: // * .*.*.*/cgi-bin/cgiServer.exx key=ANSWER,
Conversation mute command: http: // * .*.*.*/cgi-bin/cgiServer.exx key=MUTE,
Kill-call order: http: // * .*.*.*/cgi-bin/cgiServer.exx key=CANCEL,
Phone pause command: http: // * .*.*.*/cgi-bin/cgiServer.exx key=HOLD,
Phone switching order: http: // * .*.*.*/cgi-bin/cgiServer.exx key=Trans=2966, (to be transferred to 2966 numbers as example),
Outgoing call order: http: // * .*.*.*/cgi-bin/cgiServer.exx number=2967(is take 2967 numbers of breathing out as example),
Registration computer order: http: // * .*.*.*/cgi-bin/cgiServer.exx key=IP: Computer IP,
Described * .*.*.* represents the IP address of phone;
The IP address that step 2, phone will receive phone operational order and computer is saved in a configuration file of phone;
When the computer control phone, execution in step 3, when the phone state changes, during to the computer uploaded state, execution in step 4;
step 3, the user clicks a certain function button by action pane on computers, computer listens to clicking operation, read the IP address of phone from disk, user name, password, and generate phone operational order corresponding to this function button, then according to the IP address of phone, computer is with the user name of phone, phone operational order corresponding to password and this function button sends on phone in the mode of Http protocol package, as shown in Figure 2, the computer control phone is hung up, when clicking " end " button, computer is with kill-call order http: // * .*.*.*/cgi-bin/cgiServer.exx key=CANCEL is encapsulated in the Http protocol package, consult again Fig. 3, when conversing by computer, can also send the conversation mute command, the kill-call order, the phone pause command, phone switching order etc.When phone receives the Http protocol package, resolve content, obtain the phone operational order in this Http protocol package, then than the configuration file in dialogue machine, if this phone operational order is correct, phone is completed the function corresponding with this phone operational order;
Step 4, phone state change, phone reads the IP address of computer from described configuration file, then the status command that the phone current state is corresponding reports computer in the mode of Http protocol package, computer has listened to status command by described port, resolve this status command and provide corresponding prompting at described action pane, computer can operate according to prompting.See also Fig. 4, when household register had incoming call, phone reported current call state.Described status command comprises: instruction, the instruction of phone end of conversation and the quiet instruction of phone are set up in the instruction of phone incoming call, phone dialing command, phone conversation.In the present embodiment, described status command defines in the following way:
Phone incoming call instruction: http: // * .*.*.*/incomingCall.do callNumber=(caller ID) ﹠amp; Display_remote=(caller identification title),
Phone dialing command: http: // * .*.*.*/callOut.do callNumber=(dialing numbers) ﹠amp; Display_remote=(display Name),
Instruction: http is set up in the phone conversation: // * .*.*.*/established.do callNumber=(caller ID) ﹠amp; Display_remote=(caller identification title),
Phone end of conversation instruction: http: // * .*.*.*/terminal.do callNumber=(caller ID) ﹠amp; Display_remote=(caller identification title),
The quiet instruction of phone: quiet: http: // * .*.*.*/mute.do
Described * .*.*.* represents the Computer IP address.
In the present invention by all mutually being stored in the information of computer and the information of SIP phone in the other side's local file, and identification the other side Shi Shi is by the IP address, and equipment that need not be as the service node selector saves the great amount of cost spending, reduces equipment cost; Simultaneously, phone and computer adopt point-to-point communication mode, and the message of communication can customize, and after arriving the other side by IP address transmission, can correctly parse corresponding form and get final product, and either party operation the other side can both directly get information; Thereby realize that phone also can report its state by the kill-call of computer control phone, quiet etc. to conversing.When the function increase for phone, computer only needs to increase a phone operational order equally and gets final product, and defined phone operational order does not just need to do any modification; When the modification of phone type, only need to get final product in the information such as IP address, user name, password that computer resets phone, do not need to increase any other equipment.
Although more than described the specific embodiment of the present invention; but being familiar with those skilled in the art is to be understood that; our described specific embodiment is illustrative; rather than for the restriction to scope of the present invention; those of ordinary skill in the art are in modification and the variation of the equivalence of doing according to spirit of the present invention, all should be encompassed in the scope that claim of the present invention protects.
Claims (4)
1. a method that realizes the computer control phone, is characterized in that: comprise the steps:
Step 1, in a plurality of phone operational orders of computer terminal registration, and those phone operational orders are sent to phone; Computer stores IP address, user name, the password of phone in disk into, and simultaneously, computer is opened the status command that a port detectaphone reports;
The IP address that step 2, phone will receive phone operational order and computer is saved in a configuration file of phone;
When the computer control phone, execution in step 3, when the phone state changes, during to the computer uploaded state, execution in step 4;
step 3, the user clicks a certain function button by action pane on computers, computer listens to clicking operation, read the IP address of phone from disk, user name, password, and generate phone operational order corresponding to this function button, then according to the IP address of phone, computer is with the user name of phone, phone operational order corresponding to password and this function button sends on phone in the mode of Http protocol package, when phone receives the Http protocol package, resolve content, obtain the phone operational order in this Http protocol package, then than the configuration file in dialogue machine, if this phone operational order is correct, phone is completed the function corresponding with this phone operational order,
Step 4, phone state change, phone reads the IP address of computer from described configuration file, then the status command that the phone current state is corresponding reports computer in the mode of Http protocol package, computer has listened to status command by described port, resolves this status command and provides corresponding prompting at described action pane.
2. a kind of method that realizes the computer control phone according to claim 1, it is characterized in that: described port is 8088 ports.
3. a kind of method that realizes the computer control phone according to claim 1, it is characterized in that: described phone operational order comprises: incoming call has connect order, conversation mute command, kill-call order, phone pause command, phone switching order, outgoing call order and registration computer order.
4. a kind of method that realizes the computer control phone according to claim 1, it is characterized in that: described status command comprises: instruction, the instruction of phone end of conversation and the quiet instruction of phone are set up in the instruction of phone incoming call, phone dialing command, phone conversation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2013100814734A CN103167194A (en) | 2013-03-14 | 2013-03-14 | Method for controlling phone by computer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2013100814734A CN103167194A (en) | 2013-03-14 | 2013-03-14 | Method for controlling phone by computer |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103167194A true CN103167194A (en) | 2013-06-19 |
Family
ID=48589919
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2013100814734A Pending CN103167194A (en) | 2013-03-14 | 2013-03-14 | Method for controlling phone by computer |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103167194A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106487822A (en) * | 2015-08-24 | 2017-03-08 | 中兴通讯股份有限公司 | Method, terminal and system that a kind of intelligent terminal is interacted with multimedia terminal |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1971520A (en) * | 2006-12-13 | 2007-05-30 | 中山大学 | Device capable of simulating basic function of mobile phone in computer |
US20070263639A1 (en) * | 2006-03-30 | 2007-11-15 | Nec Infrontia Corporation | IP telephone remote control system |
US20080137643A1 (en) * | 2006-12-08 | 2008-06-12 | Microsoft Corporation | Accessing call control functions from an associated device |
CN102170483A (en) * | 2010-12-28 | 2011-08-31 | 四川长虹电器股份有限公司 | Method for controlling intelligent television by cell phone or computer |
CN102447792A (en) * | 2010-10-08 | 2012-05-09 | 东讯股份有限公司 | Control use method for VOIP (Voice of Internet Phone) and application program of control use method |
-
2013
- 2013-03-14 CN CN2013100814734A patent/CN103167194A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070263639A1 (en) * | 2006-03-30 | 2007-11-15 | Nec Infrontia Corporation | IP telephone remote control system |
US20080137643A1 (en) * | 2006-12-08 | 2008-06-12 | Microsoft Corporation | Accessing call control functions from an associated device |
CN1971520A (en) * | 2006-12-13 | 2007-05-30 | 中山大学 | Device capable of simulating basic function of mobile phone in computer |
CN102447792A (en) * | 2010-10-08 | 2012-05-09 | 东讯股份有限公司 | Control use method for VOIP (Voice of Internet Phone) and application program of control use method |
CN102170483A (en) * | 2010-12-28 | 2011-08-31 | 四川长虹电器股份有限公司 | Method for controlling intelligent television by cell phone or computer |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106487822A (en) * | 2015-08-24 | 2017-03-08 | 中兴通讯股份有限公司 | Method, terminal and system that a kind of intelligent terminal is interacted with multimedia terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP1652359B1 (en) | Method and system for suppressing early media in a communications network | |
US7283829B2 (en) | Management of call requests in multi-modal communication environments | |
EP1316175B1 (en) | Method and system for activation of a local terminal | |
KR101612565B1 (en) | Techniques for transfer error recovery | |
JP4379801B2 (en) | Instant messaging with PBX stations | |
CN101262514B (en) | providing telephony services using intelligent end points | |
CN101485172A (en) | Method and communication terminal for provision of VOIP | |
CN107592429B (en) | Multi-seat multimedia scheduling system | |
US7779070B2 (en) | Remotely controllable soft keys | |
CN104811562A (en) | Transmitting, sending and receiving method for contents to be presented during call incoming of called party | |
CN101699883A (en) | Call forwarding system and call forwarding method thereof | |
CN101753577B (en) | VoIP communication system based on SIP protocol and communication method thereof | |
TWI500335B (en) | Method for auto-switching transmission network for communication | |
CN103167194A (en) | Method for controlling phone by computer | |
CN100469051C (en) | VoIP network, media proxy server, and method of providing additional services used in them | |
CN101099406B (en) | Method for realizing service activation operation and subscriber terminal for realizing the same | |
CN100511205C (en) | Method used for providing proxy server function and system thereof | |
CN103152494A (en) | Telephone operator call forwarding method and switchboard business application server | |
CN101931620B (en) | Service implementation method and system, service capability server | |
US7529358B2 (en) | Dynamic feature and function availability for software PBX | |
CN103581129A (en) | Conversation processing method and device | |
EP1649393B1 (en) | Providing modular telephony service | |
CN100531153C (en) | System and method for providing information resource display on IP multimedia communication network | |
EP4231617A1 (en) | Method for managing and/or signaling at least one voip call and a communication system | |
KR100527905B1 (en) | GATEWAY FOR VoIP |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20130619 |