CN103257790A - Method for controlling IP phone to execute action through webpage - Google Patents

Method for controlling IP phone to execute action through webpage Download PDF

Info

Publication number
CN103257790A
CN103257790A CN2013102010380A CN201310201038A CN103257790A CN 103257790 A CN103257790 A CN 103257790A CN 2013102010380 A CN2013102010380 A CN 2013102010380A CN 201310201038 A CN201310201038 A CN 201310201038A CN 103257790 A CN103257790 A CN 103257790A
Authority
CN
China
Prior art keywords
phone
substring
command string
target
command
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
Application number
CN2013102010380A
Other languages
Chinese (zh)
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.)
Xiamen Yealink Network Technology Co Ltd
Original Assignee
Xiamen Yealink Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xiamen Yealink Network Technology Co Ltd filed Critical Xiamen Yealink Network Technology Co Ltd
Priority to CN2013102010380A priority Critical patent/CN103257790A/en
Publication of CN103257790A publication Critical patent/CN103257790A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

The invention provides a method for controlling an IP phone to execute an action through a webpage. A user inputs an address into a webpage address bar of a PC terminal, the address comprises an IP address of the target IP phone and a command string, and the string at least comprises one command substring. A CGI module of the target IP phone receives the command string, and if the tails of the command substrings in the command string do not comprise separators, the command substrings of the command string are directly sent to a GUI module of the target IP phone. If the tails of the command substrings of the command string comprise the separators, the CGI module conducts analysis on the command string to sequentially obtain the command substrings in a decomposed mode, and then all the command substrings are sent to the GUI module one by one in sequence. The GUI module of the target IP phone enables all the received command substrings to be mapped into the executing action of the phone, and therefore the IP phone is controlled to conduct one or more actions in a remote mode.

Description

A kind of method of carrying out action by webpage control IP phone
Technical field
The present invention relates to CTI (Computer Telecommunication Integration, computer telecommunication is integrated) technical field, particularly a kind of method of carrying out action by webpage control IP phone.
Background technology
The CTI technology is applied to computer technology in the telephone system, and computer technology and the communication technology are combined, and it is easy to use, the efficient height, thereby be subjected to production firm and user's welcome.Prior art is not supported to carry out an action or carry out a plurality of actions continuously by webpage Long-distance Control IP phone.
Publication number is CN101409731A, and it is a kind of by the long-range control method to household appliances equipment of IE open day to be that the patent of invention on April 15th, 2009 discloses, and comprises that client logins embedded web server by IE; CGI scripting in the embedded web server reads html web page to buffer memory; CGI scripting sends webpage P1 to the IE of client; CGI reads parameter from shell, embedded data or the driving of linux; CGI issues parameter the IE of client; In client, the shell script in the embedded web page P1 reads parameter and to the variable assignments on the webpage; Client sends the new parameter value of user's input to CGI; CGI receives parameter and invokes application; Parameter call driver and final control hardware that application program transmits with CGI.This invention is by embedded web server and is located at CGI scripting in the embedded web server and finishes client to the visit of webpage P1 and the IE that parameter is sent to client, in client, the user imports new parameter value to CGI, by the CGI invokes application, parameter call driver and final control hardware that application program transmits with CGI.And the present invention is by the CGI module parses command string in the phone, then command string is sent to the GUI module in the phone again, command string is mapped as phone action and the execution of response by the GUI module.The CGI scripting that the present invention does not relate to embedded web server, embedded web server sends calling of webpage P1 and parameter, application program and driver, and the implementation procedure of technical solution of the present invention and " a kind of by the long-range control method to household appliances equipment of IE " have essential distinction, to the present invention without any enlightenment.
Summary of the invention
The technical problem to be solved in the present invention, be to provide a kind of method of carrying out action by webpage control IP phone, IP address and the command string of the IP phone that it will be controlled in webpage end input, just can make the IP phone automatically perform individual part or a plurality of action, thereby realize Long-distance Control IP phone.
The present invention is achieved in that
A kind of method by webpage control IP phone execution action comprises the steps:
Step 1, user be input one address in the web page address hurdle of PC end, described address comprises: IP address and the command string of Target IP phone, described Target IP phone will carry out the IP phone of Long-distance Control for the user, described command string comprises an order substring at least, when order substring number only is one in the described command string, separator is not used at this order substring end, when order substring number is a plurality of, respectively orders substring with the separator separation;
The CGI module of step 2, described Target IP phone is received described command string, if order substring end does not have separating character in the described command string, then the CGI module is not resolved this command string, directly the order substring of command string is sent to the GUI module of described Target IP phone; If order substring end has separating character in the described command string, then the CGI module is resolved this command string, decomposite successively and respectively order substring, according to sequencing each order substring is sent to one by one the GUI module of described Target IP phone then; Described order substring is the inner self-defining order substring of Target IP phone, and a described order substring shines upon a phone carries out action; Described CGI module is the interface of IP phone internal processes and webpage;
The substring of respectively ordering that the GUI module of step 3, described Target IP phone will receive is mapped as phone execution action, and described Target IP phone is carried out one by one according to sequencing, thereby realizes that Long-distance Control IP phone carries out one or more actions; Described GUI module is the interface display module of IP phone.
Described separator is further: English character "; " or character " " or English character " [" or English character "] ".
The present invention has following advantage: comprise the address of Target IP phone IP address and command string in the input of the web page address hurdle of PC end, the Target IP phone then receives described command string, by the CGI module according to "; " judge the number that comprises the order substring in the described command string; if comprise a plurality of order substrings; then the sequencing according to the order substring is sent to the GUI module successively; the GUI module will receive respectively orders substring to be mapped as phone to carry out action; the Target IP phone is carried out one by one according to sequencing, thereby realizes carrying out a plurality of actions or individual part by webpage Long-distance Control IP phone.
Description of drawings
The present invention is further illustrated in conjunction with the embodiments with reference to the accompanying drawings.
Fig. 1 is the inventive method structural representation.
Embodiment
See also Fig. 1, a kind of method by webpage control IP phone execution action comprises the steps:
Step 1, user be input one address in the web page address hurdle of PC end, described address comprises: IP address and the command string of Target IP phone, described Target IP phone will carry out the IP phone of Long-distance Control for the user, described command string comprises an order substring at least, when order substring number only is one in the described command string, separating character is not used at this order substring end, when order substring number is a plurality of, separates each command-string with separating character; Described separator is: English character "; " or character " " or English character " [" or English character "] ";
The CGI module of step 2, described Target IP phone is received described command string, if order substring end does not have separating character in the described command string, then the CGI module is not resolved this command string, directly the order substring of command string is sent to the GUI module of described Target IP phone; If order substring end band separating character in the described command string, then the CGI module is resolved this command string, decomposites successively respectively to order substring, according to sequencing each order substring is sent to one by one the GUI module of described Target IP phone then; Described order substring is the inner self-defining order substring of Target IP phone, and a described order substring shines upon a phone carries out action; The English full name of CGI is Common GatewayInterface, and described CGI module is the interface of IP phone internal processes and webpage;
The substring of respectively ordering that the GUI module of step 3, described Target IP phone will receive is mapped as phone execution action, and described Target IP phone is carried out one by one according to sequencing, thereby realizes that Long-distance Control IP phone carries out one or more actions; The English full name of GUI is Graphical User Interface, and described GUI module is the interface display module of IP phone.
Now carry out action with three example explanation PC ends by webpage control IP phone:
For example, when the IP phone is conversed, in PC web page address hurdle, import: http://ipAddress/cgi-bin/ConfigManApp.com key=F_TRANSFER; 1; 2; 3; F_TRANSFER just can realize the blind account number of being given to of this road conversation: 123.Wherein, separator be "; ", ipAddress is the IP address of Target IP phone, and the key=representative will be carried out control command, and command string is: F_TRANSFER; 1; 2; 3; F_TRANSFER.
When the IP phone is in idle condition, in PC web page address hurdle, import: http://ipAddress/cgi-bin/ConfigManApp.com key=F_TRANSFER; 1; 2; 3; OK just can realize not direct control phone, and the blind commentaries on classics number of phone is saved as: 123.Command-string: OK, action is preserved in expression.
When the IP phone is conversed, import in PC web page address hurdle: http://ipAddress/cgi-bin/ConfigManApp.com key=REC then can open the sound-recording function of IP phone automatically and record command-string: REC, expression recording action.Be in idle condition and work as phone, import mentioned order in PC web page address hurdle, then phone can not opened sound-recording function.
The present invention comprises the address of Target IP phone IP address and command string in the input of the web page address hurdle of PC end, the Target IP phone then receives described command string, judge the number that comprises the order substring in the described command string according to separator by the CGI module, if comprise a plurality of order substrings, then the sequencing according to the order substring is sent to the GUI module successively, the substring of respectively ordering that the GUI module will receive is mapped as phone execution action, the Target IP phone is carried out one by one according to sequencing, thereby realizes carrying out a plurality of actions or individual part by webpage Long-distance Control IP phone.
Though 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 (2)

1. the method by webpage control IP phone execution action is characterized in that: comprise the steps:
Step 1, user be input one address in the web page address hurdle of PC end, described address comprises: IP address and the command string of Target IP phone, described Target IP phone will carry out the IP phone of Long-distance Control for the user, described command string comprises an order substring at least, when order substring number only is one in the described command string, separator is not used at this order substring end, when order substring number is a plurality of, separates each order substring with separator;
The CGI module of step 2, described Target IP phone is received described command string, if separator is not with at order substring end in the described command string, then the CGI module is not resolved this command string, directly the order substring of command string is sent to the GUI module of described Target IP phone; If order substring end has separator in the described command string, then the CGI module is resolved this command string, decomposites successively respectively to order substring, according to sequencing each order substring is sent to one by one the GUI module of described Target IP phone then; Described order substring is the inner self-defining order substring of Target IP phone, and a described order substring shines upon a phone carries out action; Described CGI module is the interface of IP phone internal processes and webpage;
The substring of respectively ordering that the GUI module of step 3, described Target IP phone will receive is mapped as phone execution action, and described Target IP phone is carried out one by one according to sequencing, thereby realizes that Long-distance Control IP phone carries out one or more actions; Described GUI module is the interface display module of IP phone.
2. according to claim 1ly a kind ofly carry out the method for action by webpage control IP phone, it is characterized in that: described separator is: English character "; " or character " " or English character " [" or English character "] ".
CN2013102010380A 2013-05-27 2013-05-27 Method for controlling IP phone to execute action through webpage Pending CN103257790A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2013102010380A CN103257790A (en) 2013-05-27 2013-05-27 Method for controlling IP phone to execute action through webpage

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2013102010380A CN103257790A (en) 2013-05-27 2013-05-27 Method for controlling IP phone to execute action through webpage

Publications (1)

Publication Number Publication Date
CN103257790A true CN103257790A (en) 2013-08-21

Family

ID=48961739

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2013102010380A Pending CN103257790A (en) 2013-05-27 2013-05-27 Method for controlling IP phone to execute action through webpage

Country Status (1)

Country Link
CN (1) CN103257790A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070283254A1 (en) * 2004-11-22 2007-12-06 Hamzy Mark J Spell Checking URLs In A Resource
CN102196037A (en) * 2010-03-17 2011-09-21 三星电子株式会社 Method and apparatus for accessing services of a device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070283254A1 (en) * 2004-11-22 2007-12-06 Hamzy Mark J Spell Checking URLs In A Resource
CN102196037A (en) * 2010-03-17 2011-09-21 三星电子株式会社 Method and apparatus for accessing services of a device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
KEVIN_NULL: "CGI编程完全手册(个人学习笔记)", 《百度文库》, 7 June 2010 (2010-06-07), pages 1 - 9 *
李建奇,曹斌芳,邓宏志等: "嵌入式Web服务器在VOIP终端上的应用", 《现代建筑电气》, vol. 2012, no. 9, 15 September 2012 (2012-09-15), pages 20 - 24 *

Similar Documents

Publication Publication Date Title
CN105653486A (en) Mobile terminal and method for reusing USB ports of processors thereof
CN107809337A (en) A kind of daily record method for uploading and device
CN102904959A (en) Network accelerating method and gateway
CN103577320A (en) Testing method and system of remote terminals
US8769070B2 (en) SAS domain management and SSP data handling over ethernet
CN103425548A (en) Method and system for operating system cloud backup and restore
CN104866338A (en) Method and device for remotely deploying software
CN103425647B (en) A kind of seamless browsing method of webpage and system
CN102694705A (en) Internet-based home appliance information management and service device and realization method thereof
CN115329170A (en) Webpage crawling method, device, equipment and storage medium
CN107645597A (en) The synchronous method and terminal of application program
CN103152199A (en) Method and system for remote batch configuration of network devices
CN106373571A (en) Voice control method and device
CN103237050B (en) Intelligent sound exchange method and system
CN103888297A (en) Interchanger network management method and system
US20170155866A1 (en) Method and device for controlling television
CN104202432B (en) Remote web management system and management method
CN103257790A (en) Method for controlling IP phone to execute action through webpage
CN105163336B (en) Optimize the method and system of wireless network stability
CN103996400A (en) Speech recognition method
CN110488783A (en) A kind of Combining soft control system and method based on WEB
CN102567458A (en) Method for automatically quickly deploying NIS (network information service)
CN112783724B (en) Log grabbing and debugging method, system, intelligent device and storage medium
WO2017092315A1 (en) Method and device for controlling television
US20160330292A1 (en) Method and Apparatus for Module Remote Request Handling

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: 20130821