CN102394994A - Method for realizing remote simulation key control based on telephone - Google Patents

Method for realizing remote simulation key control based on telephone Download PDF

Info

Publication number
CN102394994A
CN102394994A CN2011103418805A CN201110341880A CN102394994A CN 102394994 A CN102394994 A CN 102394994A CN 2011103418805 A CN2011103418805 A CN 2011103418805A CN 201110341880 A CN201110341880 A CN 201110341880A CN 102394994 A CN102394994 A CN 102394994A
Authority
CN
China
Prior art keywords
analog key
length
control
telephone set
controlled plant
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
CN2011103418805A
Other languages
Chinese (zh)
Other versions
CN102394994B (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.)
Shanghai Gongjin Communication Technology Co Ltd
Original Assignee
Shanghai Gongjin Communication 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 Shanghai Gongjin Communication Technology Co Ltd filed Critical Shanghai Gongjin Communication Technology Co Ltd
Priority to CN 201110341880 priority Critical patent/CN102394994B/en
Publication of CN102394994A publication Critical patent/CN102394994A/en
Application granted granted Critical
Publication of CN102394994B publication Critical patent/CN102394994B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

The invention relates to a method for realizing remote simulation key control based on a telephone. The telephone is connected with controlled equipment by a network based on a VoIP (Voice over Internet Portocol). In the method, according to keys, the telephone utilizes an RFC2833 way to transmit DTMF (dual-tone multifrequency) codes to the controlled equipment by a VoIP network, and then the controlled equipment conducts the simulation key control according to the DTMF codes. As the fault tolerance and the identification error rate on packet loss are low in the transmission way, the method for realizing the remote simulation key control can effectively ensure the accurate transmission of control information, and realizes the continuous regulation control on various simulation quantities. For the method for realizing the remote simulation key control, the implementation cost is low, the application method is simple and convenient, and the application range is wider.

Description

Realize the method for long-range analog key control based on telephone set
Technical field
The present invention relates to the safety-protection system technical field, particularly the remote control technology field in the safety-protection system specifically is meant a kind of method that realizes long-range analog key control based on telephone set.
Background technology
VoIP (Voice over Internet Protocol) be with the simulation sound signal after overcompression and package, carry out the transmission of speech sound signal at the environment of IP network with the form of data packet.The basic principle of VoIP is; Compression algorithm through voice is carried out processed compressed to encoded speech data, packs these speech datas by the TCP/IP standard then, delivers to packet through IP network and receives ground; String together these VoPs again; Through after the decompression processing, revert to original voice signal, thereby reach the purpose that transmits voice by the Internet.The core of IP phone and key equipment are IP gateways, and it is mapped as corresponding regional gateway ip address to the each department area code.These information leave in the database, and the data process software that continues will be accomplished functions such as call treatment, digital speech packing, routing management.
Along with being widely used of voip technology, Long-distance Control is the concrete communication service that a kind of VoIP of utilization realizes, is the Based Intelligent Control that realizes household electrical appliances.In VoIP used, at basic voice, outside the video call function, remote monitoring was used more and more widely, and home automation and security protection equipment are also being played the part of important role.So-called home automation is meant and utilizes electronic technology to come electric equipment products or system's (for example illuminating lamp, coffee stove, computer equipment, security system, heating installation and cold gas system, video signal and sound system etc.) in integrated or the control man.Its function realizes main through the information of a central management platform reception from transducer (can respond to the variation of external environment, as rising day such as light variation that sunset causes etc.), again with other electric equipment products of set program control.Except controlling the electric equipment products in the family through various interfaces (like keyboard, touch-screen, button, computer, phone, remote controller etc.), the house owner also can transmit control signal to central processor equipment and accept the information from central processor equipment simultaneously.
But in the prior art, the remote control technology that utilizes VoIP to realize, its shortcoming is; Button as the phone of remote control terminal might cause the control messages Problem of Failure by packet loss, can't guarantee the accurate transmission of control information, and remote key-press only can carry out the control of a scale of construction simultaneously; And can't realize effectively for various analog quantitys; Like temperature, brightness etc., continuous increase and decrease control, thereby cause the control performance unsteadiness.
RFC (Request For Comments, Request for Comment) is a series of files that are ranked with numbering.File collection relevant Internet relevent information, and the software file of UNIX and Internet community.RFC 2833 (RTP Payload forDTMF Digits, Telephony Tones and Telephony Signals) is formulated by IETF, and it has stipulated to transmit the standard of DTMF numeral and other phone sounds and signal.
DTMF is a dual-tone multifrequency, often can use in the process of calling in daily life, as dial user's extension, input account number and password etc.And become a technical problem in the IP phone along with how a large amount of uses of IP phone realize transmitting DTMF.
Transmit dtmf signal at present dual mode is generally arranged: transmission and band are outer in the band transmits.Wherein outer transmission of band mainly transmitted through DTMF message is encapsulated in the agreement, as transmitting DTMF through Q931 and H245 in the H323 agreement.
And transmission mainly contains two kinds in the band: transparent transmission and RFC2833 mode.So-called transparent transmission is exactly dtmf tone to be bundled among the RTP as voice together send.Because the influence of Network Packet Loss causes dtmf signal to lose sometimes, and dtmf tone is blended in the voice packet, is easy to generate deviation, causes distorted signals.The RFC2833 mode is exactly that the DTMF numeral is formed a packet according to one rule and form, is encapsulated among the RTP then and sends.Resolve after receiving terminal receives, restore into corresponding D TMF signal, the advantage of this mode is that the fault-tolerance to packet loss is strong and the identification error rate is low.
Summary of the invention
The objective of the invention is to have overcome above-mentioned shortcoming of the prior art; Provide a kind of utilization to transmit the reliability of DTMF through RFC2833; Effectively solve the continuous increase and decrease problem of button through timestamp, guarantee that the control information of discrete button precisely transmits continuously, and implementation cost is cheap; Execution mode is easy, and range of application realizes the method for long-range analog key control comparatively widely based on telephone set.
In order to realize above-mentioned purpose, a telephone set is connected a controlled plant through the network based on VoIP, and of the present inventionly realizes that based on telephone set the method for long-range analog key control may further comprise the steps:
(1) confirms the switching value scope of analog key and the time range that actual key is used, and work out step-length as required;
(2) the pairing analog key function of definition telephone number button;
(3) user carries out by key control;
(4) described telephone set utilizes the RFC2833 mode to pass through described voip network to described controlled plant transmitting DTMF sign indicating number according to button;
(5) described controlled plant carries out analog key control according to described DTMF sign indicating number.
Should realize that described step (1) was specially in the method for long-range analog key control based on telephone set: the scope according to the switching value of analog key is confirmed step-length, and the corresponding relation of definite step-length and telephone key-press duration.
Should realize in the method for long-range analog key control based on telephone set; Described step-length comprises equidistant steps will and non-equidistant steps will; When described analog key switching value is the linear growth switching value; Described step-length is an equidistant steps will, and when described analog key switching value was the exponential increase switching value, described step-length was non-equidistant steps will.
Should realize that described step (2) is specially: with a certain key definition in the described telephone number button was the INC in the analog key, is DEC with another key definition in the method for long-range analog key control based on telephone set.
Should realize that described step (4) specifically may further comprise the steps in the method for long-range analog key control based on telephone set:
(41) described telephone set forms DTMF sign indicating number bag according to described user key-press;
(42) described telephone set utilizes the RFC2833 mode to be sent to described controlled plant through described voip network described DTMF sign indicating number bag.
Should realize that described DTMF sign indicating number bag comprised event field and duration field in the method for long-range analog key control based on telephone set, described event field stores button key position information, and described duration field store has the button duration information.
Should realize that described step (5) specifically may further comprise the steps in the method for long-range analog key control based on telephone set:
(51) described controlled plant extracts described event field and duration field from the described DTMF sign indicating number that receives;
(52) described controlled plant confirms to carry out control of analog key increment or the control of analog key decrement according to the key position information in the described event field;
(53) described controlled plant is confirmed the step-length number according to the corresponding relation of the button duration information in the described duration field and described step-length and telephone key-press duration;
(54) described controlled plant carries out analog key control according to the control of determined increment or decrement control and described step-length number.
Should realize that described step (53) specifically may further comprise the steps in the method for long-range analog key control based on telephone set:
(53-1) described controlled plant extracts the button duration information in the described duration field;
(53-2) described controlled plant judges whether described button duration is longer than a described pairing duration of step-length, if, then get into step (53-3), if not, then get into step (43-4);
(53-3) the described DTMF sign indicating number of the continuous reception of described controlled plant, and definite analog key control time is a step-length, gets into step (54);
(53-4) described controlled plant is the analog key control time with the pairing step-length of button duration, and gets into step (54).
That has adopted this invention realizes the method that long-range analog key is controlled based on telephone set; Its telephone set can utilize the RFC2833 mode to pass through described voip network to described controlled plant transmitting DTMF sign indicating number according to button, and controlled plant carries out analog key control according to described DTMF sign indicating number then.Because this transmission means is strong and the identification error rate is low to the fault-tolerance of packet loss; Therefore; This method can effectively guarantee the accurate transmission of control information, realizes the continuous increase and decrease control for various analog quantitys simultaneously, of the present inventionly realizes that based on telephone set its enforcement of method of long-range analog key control is with low cost; Execution mode is easy, and range of application is comparatively extensive.
Description of drawings
Fig. 1 is the flow chart of steps that realizes the method for long-range analog key control based on telephone set of the present invention.
Fig. 2 is for adopting the Long-distance Control structural representation of realizing the method for long-range analog key control based on telephone set of the present invention.
Embodiment
In order more to be expressly understood technology contents of the present invention, the special following examples of lifting specify.
In one embodiment, should realize that as shown in Figure 2, described telephone set connected a controlled plant through the network based on VoIP in the method for long-range analog key control based on telephone set, this method is as shown in Figure 1, may further comprise the steps:
(1) confirms the switching value scope of analog key and the time range that actual key is used, and work out step-length as required;
(2) the pairing analog key function of definition telephone number button;
(3) user carries out by key control;
(4) described telephone set utilizes the RFC2833 mode to pass through described voip network to described controlled plant transmitting DTMF sign indicating number according to button;
(5) described controlled plant carries out analog key control according to described DTMF sign indicating number.
In a kind of more preferably execution mode, described step (1) is specially: the scope according to the switching value of analog key is confirmed step-length, and the corresponding relation of definite step-length and telephone key-press duration.Wherein, described step-length comprises equidistant steps will and non-equidistant steps will, and when described analog key switching value was the linear growth switching value, described step-length was an equidistant steps will, and when described analog key switching value was the exponential increase switching value, described step-length was non-equidistant steps will.
In a kind of further preferred embodiment, described step (2) is specially: with a certain key definition in the described telephone number button is the INC in the analog key, is DEC with another key definition.Described step (4) specifically may further comprise the steps:
(41) described telephone set forms DTMF sign indicating number bag according to described user key-press;
(42) described telephone set utilizes the RFC2833 mode to be sent to described controlled plant through described voip network described DTMF sign indicating number bag.
Wherein, described DTMF sign indicating number bag comprises event field and duration field, and described event field stores button key position information, and described duration field store has the button duration information.
And described step (5) specifically may further comprise the steps:
(51) described controlled plant extracts described event field and duration field from the described DTMF sign indicating number that receives;
(52) described controlled plant confirms to carry out control of analog key increment or the control of analog key decrement according to the key position information in the described event field;
(53) described controlled plant is confirmed the step-length number according to the corresponding relation of the button duration information in the described duration field and described step-length and telephone key-press duration;
(54) described controlled plant carries out analog key control according to the control of determined increment or decrement control and described step-length number.
In preferred execution mode, described step (53) specifically may further comprise the steps:
(53-1) described controlled plant extracts the button duration information in the described duration field;
(53-2) described controlled plant judges whether described button duration is longer than a described pairing duration of step-length, if, then get into step (53-3), if not, then get into step (43-4);
(53-3) the described DTMF sign indicating number of the continuous reception of described controlled plant, and definite analog key control time is a step-length, gets into step (54);
(53-4) described controlled plant is the analog key control time with the pairing step-length of button duration, and gets into step (54).
In practical application, be example with " telephone terminal uses sip signaling communication mode, and the Long-distance Control The Cloud Terrace turns to ", of the present inventionly realize that based on telephone set the method concrete steps of long-range analog key control are following:
Control desk is at first selected to come the transmitting DTMF sign indicating number with the RFC2833 mode, through invite signaling call control device.After the connection, this moment, Media Stream communication was set up.Press telephone key-press, from the bag that sends, should be able to see the DTMF sign indicating number of transmission.According to the value of DTMF transmissions field duration, handle as follows.
1, at first confirms the scope of switching value and the time range that actual key is used, and work out step-length (according to the step-length number of total duration of button and switching value) as required.According to the duration classification of button,, can formulate equidistant steps will if switching value is a linear growth.Increase if switching value is an index,, can order non-linear step-length, to guarantee control step-length switch amount Linear Control according to its characteristics like volume.Such as the controlled The Cloud Terrace of 360 degree rotations, per 10 degree are 1 step-length, and rotation whole process needs 30 seconds altogether, and that button whenever surpasses 0.833 second just increases by 1 step.
2, definition telephone number function is the decrement button like number 4, and 6 is the increment button.To VoIP equipment in communication process, receive the DTMF sign indicating number of phone after, send the outer dtmf code bag of band, Equipment Inspection shows the size of this switching value to the duration of button and at local terminal, so that current step-length is known by control side.As control The Cloud Terrace and be rotated counterclockwise 30 degree, definition 4 is for being rotated counterclockwise, and we press 4 keys and got final product in about 2.5 seconds.
3, receive prosecutor to receive that the DTMF sign indicating number wraps, from receive bag event field, take out button.According to regular with the button of master agreement, confirm increment or decrement, stab according to duration field take-off time, obtain the button time, according to time and step-length relation, the step-length number that obtains adjusting.Step-length number adjustment controlled plant according to adjustment.Receive the instruction in the above-mentioned steps 2 like The Cloud Terrace, equipment just is rotated counterclockwise 30 degree.
4, receive prosecutor can receive continuously that the DTMF sign indicating number wraps, timestamp surpasses the step-length time, directly adjusts controlled plant.In receiving DTMF sign indicating number bag, have E: stop bits.
5, finish adjustment equipment.
That has adopted this invention realizes the method that long-range analog key is controlled based on telephone set; Its telephone set can utilize the RFC2833 mode to pass through described voip network to described controlled plant transmitting DTMF sign indicating number according to button, and controlled plant carries out analog key control according to described DTMF sign indicating number then.Because this transmission means is strong and the identification error rate is low to the fault-tolerance of packet loss; Therefore; This method can effectively guarantee the accurate transmission of control information, realizes the continuous increase and decrease control for various analog quantitys simultaneously, of the present inventionly realizes that based on telephone set its enforcement of method of long-range analog key control is with low cost; Execution mode is easy, and range of application is comparatively extensive.
In this specification, the present invention is described with reference to its certain embodiments.But, still can make various modifications and conversion obviously and not deviate from the spirit and scope of the present invention.Therefore, specification and accompanying drawing are regarded in an illustrative, rather than a restrictive.

Claims (8)

1. realize the method for long-range analog key control it is characterized in that described telephone set connects a controlled plant through the network based on VoIP, it is characterized in that based on telephone set described method may further comprise the steps for one kind:
(1) confirms the switching value scope of analog key and the time range that actual key is used, and work out step-length as required;
(2) the pairing analog key function of definition telephone number button;
(3) user carries out by key control;
(4) described telephone set utilizes the RFC2833 mode to pass through described voip network to described controlled plant transmitting DTMF sign indicating number according to button;
(5) described controlled plant carries out analog key control according to described DTMF sign indicating number.
2. according to claim 1ly realize the method for long-range analog key control it is characterized in that described step (1) is specially based on telephone set:
Scope according to the switching value of analog key is confirmed step-length, and the corresponding relation of definite step-length and telephone key-press duration.
3. the method that realizes long-range analog key control based on telephone set according to claim 2; It is characterized in that; Described step-length comprises equidistant steps will and non-equidistant steps will, and when described analog key switching value was the linear growth switching value, described step-length was an equidistant steps will; When described analog key switching value was the exponential increase switching value, described step-length was non-equidistant steps will.
4. according to claim 2ly realize the method for long-range analog key control it is characterized in that described step (2) is specially based on telephone set:
With a certain key definition in the described telephone number button is the INC in the analog key, is DEC with another key definition.
5. according to claim 4ly realize the method for long-range analog key control it is characterized in that described step (4) specifically may further comprise the steps based on telephone set:
(41) described telephone set forms DTMF sign indicating number bag according to described user key-press;
(42) described telephone set utilizes the RFC2833 mode to be sent to described controlled plant through described voip network described DTMF sign indicating number bag.
6. the method that realizes long-range analog key control based on telephone set according to claim 5; It is characterized in that; Described DTMF sign indicating number bag comprises event field and duration field, and described event field stores button key position information, and described duration field store has the button duration information.
7. according to claim 6ly realize the method for long-range analog key control it is characterized in that described step (5) specifically may further comprise the steps based on telephone set:
(51) described controlled plant extracts described event field and duration field from the described DTMF sign indicating number that receives;
(52) described controlled plant confirms to carry out control of analog key increment or the control of analog key decrement according to the key position information in the described event field;
(53) described controlled plant is confirmed the step-length number according to the corresponding relation of the button duration information in the described duration field and described step-length and telephone key-press duration;
(54) described controlled plant carries out analog key control according to the control of determined increment or decrement control and described step-length number.
8. according to claim 7ly realize the method for long-range analog key control it is characterized in that described step (53) specifically may further comprise the steps based on telephone set:
(53-1) described controlled plant extracts the button duration information in the described duration field;
(53-2) described controlled plant judges whether described button duration is longer than a described pairing duration of step-length, if, then get into step (53-3), if not, then get into step (43-4);
(53-3) the described DTMF sign indicating number of the continuous reception of described controlled plant, and definite analog key control time is a step-length, gets into step (54);
(53-4) described controlled plant is the analog key control time with the pairing step-length of button duration, and gets into step (54).
CN 201110341880 2011-11-02 2011-11-02 Method for realizing remote simulation key control based on telephone Active CN102394994B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201110341880 CN102394994B (en) 2011-11-02 2011-11-02 Method for realizing remote simulation key control based on telephone

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201110341880 CN102394994B (en) 2011-11-02 2011-11-02 Method for realizing remote simulation key control based on telephone

Publications (2)

Publication Number Publication Date
CN102394994A true CN102394994A (en) 2012-03-28
CN102394994B CN102394994B (en) 2013-09-25

Family

ID=45862198

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201110341880 Active CN102394994B (en) 2011-11-02 2011-11-02 Method for realizing remote simulation key control based on telephone

Country Status (1)

Country Link
CN (1) CN102394994B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114024787A (en) * 2021-10-08 2022-02-08 中移(杭州)信息技术有限公司 Remote control method, device, equipment and storage medium for smart home

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1845574A (en) * 2005-04-06 2006-10-11 华为技术有限公司 Self-adaptive in-band and out-of-band number-receiving method for dual-tone multifrequency digital signal
CN1968112A (en) * 2006-09-29 2007-05-23 华为技术有限公司 IMS-based voice-conference voting system and network device
CN101242456A (en) * 2007-02-09 2008-08-13 联发科技股份有限公司 DTMF signal transmitting method and communication device for supporting DTMF signal transmission
CN201491029U (en) * 2009-07-13 2010-05-26 秦皇岛富通尼特智能科技有限公司 Household intelligent gateway

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1845574A (en) * 2005-04-06 2006-10-11 华为技术有限公司 Self-adaptive in-band and out-of-band number-receiving method for dual-tone multifrequency digital signal
CN1968112A (en) * 2006-09-29 2007-05-23 华为技术有限公司 IMS-based voice-conference voting system and network device
CN101242456A (en) * 2007-02-09 2008-08-13 联发科技股份有限公司 DTMF signal transmitting method and communication device for supporting DTMF signal transmission
CN201491029U (en) * 2009-07-13 2010-05-26 秦皇岛富通尼特智能科技有限公司 Household intelligent gateway

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114024787A (en) * 2021-10-08 2022-02-08 中移(杭州)信息技术有限公司 Remote control method, device, equipment and storage medium for smart home

Also Published As

Publication number Publication date
CN102394994B (en) 2013-09-25

Similar Documents

Publication Publication Date Title
EP1186144B1 (en) Network telephony appliance and system for inter/intranet telephony
CN100456757C (en) Method to control home intelligent terminal and home access gateway
US20070286181A1 (en) Remote home/office monitoring and control using Skype
WO2013127191A1 (en) Internet of things protocol conversion system and conversion method
CN103780577A (en) Method, apparatus and terminal for realizing internet of thing application
RU2648968C2 (en) Method and system making use of a home gateway and a smartphone to make a cordless telephone call
EP1631047A2 (en) Apparatus and methods for simultaneous voice and data communication
US6324270B1 (en) System for coordination of electronic devices
CN102394994B (en) Method for realizing remote simulation key control based on telephone
CN1319982A (en) Intelligent domestic electric appliance control system and realizing method
US20030078990A1 (en) Remote control method for controlling electrical appliance via home gateway
CA2422922C (en) Network telephony appliance and system supporting wireless internet telephony
TW200714008A (en) Method for integrating network phone with conventional phone and the system thereof
CN101063555B (en) Telephone remote-control water heater
CN101360151B (en) Network telephone system under general plug and use UPnP network protocol
EP1773041A1 (en) Audio/video data transmission system using the internet to interconnect telephones
KR100363384B1 (en) Free Internet phone connection service system
AU2003288613A1 (en) A method for communication control in a communication network, communication control entity, key management entity, terminal and gateway entity
WO2016095527A1 (en) Voice call method, intelligent mobile terminal, fixed-line telephone and intelligent telephone system
US20080279364A1 (en) Communication apparatus and remote control method used in communication system
US20080049721A1 (en) 3-in-1 automatic call forward system
KR100527905B1 (en) GATEWAY FOR VoIP
KR20040039548A (en) System and Method for Connecting Internet Phone Using Private Branch Exchange
KR19990056140A (en) Internet gateway embedded in private exchange and method of making his call
CN2903795Y (en) Telephone remote water heater

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