CN103401742B - Effective method and system for home gateway SIP (Session Initiation Protocol) configuration - Google Patents

Effective method and system for home gateway SIP (Session Initiation Protocol) configuration Download PDF

Info

Publication number
CN103401742B
CN103401742B CN201310357555.7A CN201310357555A CN103401742B CN 103401742 B CN103401742 B CN 103401742B CN 201310357555 A CN201310357555 A CN 201310357555A CN 103401742 B CN103401742 B CN 103401742B
Authority
CN
China
Prior art keywords
configuration
speech business
timer
effective
business process
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.)
Active
Application number
CN201310357555.7A
Other languages
Chinese (zh)
Other versions
CN103401742A (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 Feixun Data Communication Technology Co Ltd
Original Assignee
Shanghai Feixun Data 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 Feixun Data Communication Technology Co Ltd filed Critical Shanghai Feixun Data Communication Technology Co Ltd
Priority to CN201310357555.7A priority Critical patent/CN103401742B/en
Publication of CN103401742A publication Critical patent/CN103401742A/en
Application granted granted Critical
Publication of CN103401742B publication Critical patent/CN103401742B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephonic Communication Services (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention provides an effective method and system for home gateway SIP (Session Initiation Protocol) configuration. The method comprises the following steps: whether the mode for configuring the voice service is a command prompt only or not is judged, if yes, a configuration parameter is set through the voice service process, and according to the requirements, the parameter value is written into an internal storage or a database, or the voice service process is restarted so as to enable the configuration to be effective; if not, the access to the WEB page or the ITMS (Integrated Terminal Management System ) configuration mode is performed; the configuration information of a user is sent to the voice service process for analysis and extraction through the configuration process occurring; whether the voice service process is needed to be restarted or not is judged, if not, the configuration parameter is set through the voice service process, and according to the requirements, the parameter value is written into the internal storage or the database so as to enable the configuration to be effective; if yes, a timer used for recording the duration is set; new received configuration information in the duration range of the timer is judged to be ineffective, and when the timer reaches the duration, the voice service process is restarted so as to enable the configuration to be effective. The method enables the home gateway SIP configuration to be accurate and stable.

Description

Home gateway Session Initiation Protocol configuration take-effective method and system
Technical field
The present invention relates to communication technical field, the more particularly to communication technical field of home gateway, specially a kind of family Front yard gateway Session Initiation Protocol configuration take-effective method and system.
Background technology
Home gateway supports the speech business based on SIP (Session Initiation Protocal) agreement, Yong Huke So that by order line, WEB page, ITMS issues the modes such as public list and sets Session Initiation Protocol speech business configuration information, the process of configuration For the value of configuration is write speech business module by elder generation.Then speech business module determines how to give birth to according to the information characteristics for being configured Effect, that is, next step operation, such as restart process, and modification configuration database record changes memory variable value and configuration parameter Realize synchronous etc..
Home gateway Session Initiation Protocol speech business, will do basic configuration before, after the completion of basic configuration, only configuration life After imitating successfully, Session Initiation Protocol speech business can just be normally carried out.Present SIP protocol basic configuration information has:Configuration sip user name And authentication password;Sip server information on configuration SIP UA;Proxy server information on configuration SIP UA;Configuration DTMF The transmission means of code;Configuration former IP address;Configuration SIP equipment domain name;Configuration number of users figure.
When home gateway command line mode configures these parameters, it is possible to achieve configuration parameter is configured and come into force one by one, often The order of bar information configuration is performed and come into force, and either that enabling fashion is all more convenient, such as restarts process, changes configuration database Record, modification parameter memory variate-value etc..The configuration information that this process configuration parameter is realized, reads and writes clear logic, and data are same Step is accurately and timely.
But issue work order using WEB page or ITMS, it is impossible to configuration parameter one by one can be realized as order line Set and come into force.WEB page or ITMS configuration process are as follows.
First it is that user issues work order by WEB page or ITMS, all configuration informations are encapsulated and combined by configuration process Together, it is divided into one or more bag and is sent to application process such as speech business process.
Then after speech business process receives configuration information, parsing configuration message generates a configuration parameter order, then As order line is set and the mode of the configuration that comes into force performs configuration parameter and comes into force order.
For needing to restart the configuration parameter that process can just come into force, there is following asking in WEB page or ITMS configuration process Topic:
1)May be comprising multiple configuration parameters, if one in these parameters in the configuration message that configuration process is passed over The process that more than needing to restart process can just come into force makes troubles to parameter modification.
2)The configuration message that configuration process is passed over, multiple message are combined into and are only a complete configuration ginseng together Number, if this parameter request process is restarted can just come into force, it is difficult to ensure that the integrality and accuracy of the configuration parameter for coming into force.
3)Configuration process has repeatedly transmitted the message of same configuration parameter through the configuration message come, if this is joined Number requires that process is restarted can just be come into force, and process can be caused frequently to restart, and be easily caused speech business failure.
Therefore, in home gateway, it is indispensable that Session Initiation Protocol is configured for speech business, only to language Sound business is provided with accurate parameter, and speech business could normally start, work operation, and stops service.
When WEB page or ITMS issue work order, the configuration message that configuration process is sent to speech business process can not be complete Ensure step-by-step transmission configuration parameter, so that speech business process can not one by one be set as command line mode Configuration parameter and parameter is set to come into force.Wherein, ITMS is terminal total management system(Integrated Terminal Management System)Referred to as, it is my E family's terminal management system, is mainly used in the facility registration of home gateway, initially Change is automatically configured, remote fault diagnosis reparation and monitoring of tools etc..It is connected by north orientation and takes open system for receiving business work Single, south orientation connects terminal by TR069 management passages, is connected to check work order, terminal feelings with ITMS by installing client Condition.
Home gateway service needs to balance to receive unordered configuration message special circumstances and set configuration parameter and requires in order.
The solution that there is currently this problem is as follows.
After speech business process receives the unordered Session Initiation Protocol configuration information of configuration process, corresponding configuration ginseng is first parsed Number, parameter attribute, and parameter value, when parameter attribute can just come into force to only need to be written to configuration database, then directly write Entering configuration database, realize configuration take-effective, or only need to write-in internal memory can just come into force, then write direct internal memory, realizes matching somebody with somebody Put and come into force.
When parameter attribute for require process restart can just come into force when, first preserve configuration parameter information to internal memory or write-in configure Database, after collection completion all of configuration information parameter is detected, then executive process reboot operation realizes configuration take-effective.
Above solution is to be collected into configuration message based on speech business process to be capable of detecting when obvious end mark, When causing to detect visible marking due to network reason, or the repetition for detecting end mark, then or detect End mark anachronies, that this method there is the inaccurate problem of the obvious end mark of detection.
The content of the invention
The shortcoming of prior art, matches somebody with somebody it is an object of the invention to provide a kind of home gateway Session Initiation Protocol in view of the above Take-effective method and system are put, issuing work order mode by WEB page or ITMS in the prior art for solution sets Session Initiation Protocol language Sound business configuration information simultaneously requires that process is restarted the easy configuration parameter imperfection for occurring when can just come into force, inaccuracy, repaiied Change trouble and the problem of sound fault may be caused.
In order to achieve the above objects and other related objects, the present invention provides a kind of home gateway Session Initiation Protocol and matches somebody with somebody on the one hand Take-effective method is put, is applied in the configuration process based on Session Initiation Protocol speech business, methods described includes:Judge configuration voice industry Whether the mode of business is command line mode, if then setting configuration parameter and as needed by parameter value by speech business process Write-in internal memory, database restarts speech business process, makes configuration take-effective;If otherwise entering WEB page or ITMS configuration modes; The configuration information of user is sent to speech business process by configuring process, by speech business process to configuration information Carry out parsing extraction;Judge whether to need to restart speech business process, if otherwise setting configuration parameter by speech business process And parameter value write-in internal memory or database are made into configuration take-effective as needed;If then setting one is used to record determining for duration When device;Assert that the new configuration information for receiving is invalid in the range of timer duration, and voice is restarted when timer reaches duration Business process, makes configuration take-effective.
Used as a preferred embodiment of the present invention, the duration scope of timer is 3s~20s.
As a preferred embodiment of the present invention, after configuration take-effective, again by WEB page or ITMS configuration modes and When needing to restart speech business process, last timer is closed, reset timer.
As a preferred embodiment of the present invention, the when appearance of the duration of the timer for resetting and last timer Deng.
As a preferred embodiment of the present invention, after configuration take-effective, again by WEB page or ITMS configuration modes but When need not restart speech business process, parameter value is write into internal memory, database as needed or speech business process is restarted, made New configuration take-effective.
The present invention provides a kind of home gateway Session Initiation Protocol configuration take-effective system in still further aspect, is applied to be assisted based on SIP Discuss in the configuration process of speech business, the system includes:Configuration mode judge module, judging the mode of configuration speech business is No is command line mode, if then exporting the first judged result, if otherwise exporting the second judged result;Command line mode configures mould Block, is connected with configuration mode judge module, and configuration parameter is set by speech business process when the first judged result is received And parameter value write into internal memory, database or restart speech business process as needed, make configuration take-effective;WEB page or ITMS Configuration mode configuration module, is connected with configuration mode judge module, and configuration is performed when the second judged result is received:It is being not required to Configuration parameter set by speech business process when restarting speech business process and as needed by parameter value write-in internal memory or Database, makes configuration take-effective;One timer for being used to record duration is set when needing to restart speech business process, is assert The new configuration information for receiving is invalid in the range of timer duration, and speech business process is restarted when timer reaches duration, makes Configuration take-effective.
Used as a preferred embodiment of the present invention, the WEB page or ITMS configuration mode configuration modules include:With confidence Breath transmission unit, speech business process is sent to by the configuration information of user by configuring process;Configuration information parsing is carried Unit is taken, is connected with configuration information transmission unit, parsing extraction is carried out to configuration information by speech business process;Restart judgement Unit, is connected with configuration information parsing extraction unit, judges whether to need to restart speech business process, if then output the 3rd is sentenced Disconnected result, if otherwise exporting the 4th judged result;First dispensing unit, is connected with judging unit is restarted, and is receiving the 4th judgement Configuration parameter is set by speech business process when as a result, and parameter value write-in internal memory or database are made into configuration as needed Come into force;Timer setting unit, is connected with judging unit is restarted, and one is set when three judged results is received for when recording Timer long;Invalid configuration assert unit, is connected with timer setting unit, and identification is newly received in the range of timer duration The configuration information for arriving is invalid;Second dispensing unit, is connected with timer setting unit, and voice is restarted when timer reaches duration Business process, makes configuration take-effective.
Used as a preferred embodiment of the present invention, the duration scope of timer is 3s~20s.
As a preferred embodiment of the present invention, after being come into force by the second configuration of described dispensing unit, again by WEB page Or ITMS configuration modes and when needing to restart speech business process, last timer is closed, reset timer;Again set The duration of the timer put is equal with the duration of last timer.
As a preferred embodiment of the present invention, after being come into force by the second configuration of described dispensing unit, again by WEB page Or ITMS configuration modes but when need not restart speech business process, parameter value is write into internal memory, database or weight as needed Speech business process is opened, makes new configuration take-effective.
As described above, a kind of home gateway Session Initiation Protocol configuration take-effective method of the invention and system, with following beneficial effect Really:
The present invention take full advantage of WEB page configuration or ITMS issue work order configure when the characteristics of, WEB page configuration or Person ITMS issues operating effectively for work order configuration and there will necessarily be interval duration, effectively configures or issue the operation of work order twice such as Really too short, usually invalid operation, because this premise, configuration take-effective is realized by setting up the timer of this duration. By WEB page or ITMS configuration modes and when needing to restart speech business process, voice is restarted when timer reaches duration Business process, makes configuration take-effective.So the present invention can be solved to issue work order mode by WEB page or ITMS in the prior art and set Put Session Initiation Protocol speech business configuration information and require process restart when can just come into force easily occur configuration parameter imperfection, Inaccuracy, modification are bothered and may cause the problem of sound fault.
Brief description of the drawings
Fig. 1 is shown as a kind of schematic flow sheet of home gateway Session Initiation Protocol configuration take-effective method of the invention.
The flow that Fig. 2 is shown as being configured again in a kind of home gateway Session Initiation Protocol configuration take-effective method of the invention is shown It is intended to.
Fig. 3 is shown as a kind of structural representation of home gateway Session Initiation Protocol configuration take-effective system of the invention.
Component label instructions
Specific embodiment
Embodiments of the present invention are illustrated below by way of specific instantiation, those skilled in the art can be by this specification Disclosed content understands other advantages of the invention and effect easily.The present invention can also be by specific realities different in addition The mode of applying is embodied or practiced, the various details in this specification can also based on different viewpoints with application, without departing from Various modifications or alterations are carried out under spirit of the invention.
In home gateway, it is indispensable that Session Initiation Protocol is configured for speech business, is only set to speech business Accurate parameter, speech business could normally start, work operation, and stop service.
When WEB page or ITMS issue work order, the configuration message that configuration process is sent to speech business process can not be complete Ensure step-by-step transmission configuration parameter, so that speech business process can not one by one be set as command line mode Configuration parameter and parameter is set to come into force.
It is existing for solving it is an object of the invention to provide a kind of home gateway Session Initiation Protocol configuration take-effective method and system Have in technology and work order mode is issued by WEB page or ITMS Session Initiation Protocol speech business configuration information is set and process weight is required Easily the configuration parameter imperfection of appearance, inaccuracy, modification are bothered and may cause sound fault when Qi Caineng comes into force Problem.The principle and reality of a kind of home gateway Session Initiation Protocol configuration take-effective method of the invention described in detail below and system Mode is applied, makes those skilled in the art not need creative work to be appreciated that a kind of home gateway Session Initiation Protocol of the invention is matched somebody with somebody Put take-effective method and system.
The present invention provides a kind of home gateway Session Initiation Protocol configuration take-effective method on the one hand, is applied to based on Session Initiation Protocol language In the configuration process of sound business, methods described is as follows:
When the configuration of speech business is carried out, whether the mode for first determining whether to configure speech business is command line mode, if It is to write internal memory, database by speech business process setting configuration parameter and as needed by parameter value or restart voice industry Business process, makes configuration take-effective;If otherwise entering WEB page or ITMS configuration modes.
Afterwards, the configuration information of user is sent to speech business process by configuring process, by speech business Process carries out parsing extraction to configuration information.
Next, it is determined whether need to restart speech business process, if otherwise setting configuration parameter by speech business process And parameter value write-in internal memory or database are made into configuration take-effective as needed;If then setting one is used to record determining for duration When device;
Finally, assert that the new configuration information for receiving is invalid in the range of timer duration, when timer reaches duration Restart speech business process, make configuration take-effective.
Fig. 1 is referred to, a kind of schematic flow sheet of home gateway Session Initiation Protocol configuration take-effective method of the invention is shown as. As shown in figure 1, a kind of home gateway Session Initiation Protocol configuration take-effective method of the invention is specific as follows.
Step S11 is first carried out, whether the mode for judging to configure speech business is command line mode.If then performing continuation Step S12 is performed, if otherwise entering step S31.
In step s 12, the configuration of speech business is carried out into command line configuration mode:Set by speech business process Parameter value is simultaneously write internal memory, database or restarts speech business process by configuration parameter as needed, makes configuration take-effective.In step In S12, when user by order line set Session Initiation Protocol configure when, according to user set order come into force one by one, when need write-in During internal memory, configuration parameter value is write into internal memory, when write-in configuration database is needed, configuration parameter is write into configuration database, When needing to restart speech business process, configuration process is restarted.
In step s 13, the configuration of speech business is carried out into WEB page or ITMS configuration modes, followed by perform Step S14.
In step S14, the configuration information of user is sent to speech business process by configuring process, by language Sound business process carries out parsing extraction to configuration information, afterwards, then performs step S15.
In step S15, judge whether to need to restart speech business process, as being previously mentioned in background of invention , it is many for needing the configuration for restarting the configuration parameter that process can just come into force to exist under WEB page or ITMS configuration modes Problem, so needs judge whether to need to restart speech business process, for what need not be restarted, you can then perform step S16, is configured by normal collocation method.Restart the configuration that can just come into force for needs, then perform step S17.
In step s 16, can be come into force due to the configuration of speech business process need not be restarted, so directly by voice industry Business process sets configuration parameter and as needed by parameter value write-in internal memory or database, makes configuration take-effective.
In step S17, a timer for being used to record duration is set.According to WEB page or the ITMS configurations of hair work order The characteristics of when lower, page configuration and issue operating effectively for work order and there will necessarily be certain interval duration, effectively configuration twice If or issue too short, the usually invalid operation of operation of work order because this premise, by the timing for setting up this duration Device realizes configuration take-effective.The duration of timer is used to assert the time interval that user configures effective operation twice, that is to say, that Operation of the user to the configuration modification of speech business is identified as invalid operation less than this duration.
The present invention exactly takes full advantage of WEB page configuration or ITMS is issued the characteristics of when work order is configured, so logical When crossing WEB page or ITMS configuration modes and needing to restart speech business process, voice industry is restarted when timer reaches duration Business process, makes configuration take-effective.So the present invention can be solved to issue work order mode by WEB page or ITMS in the prior art and set Session Initiation Protocol speech business configuration information simultaneously requires that process restarts when can just come into force the configuration parameter imperfection, no for easily occurring Accuracy, modification are bothered and may cause the problem of sound fault.
Specifically, in the present embodiment, the duration scope of timer is 3s~20s.
Set after timer, then perform step S18.
In step S17, assert that the new configuration information for receiving is invalid in the range of timer duration, reaches in timer Speech business process is restarted during duration, makes configuration take-effective.I.e. speech business process waiting timer time-out, performs and restarts process behaviour Make, make configuration take-effective.
By after WEB page or ITMS configuration take-effectives, if configured again by WEB page or ITMS, speech business Process is received again by configuring message, parses message extraction configuration parameter, if the configuration parameter for extracting only needs to write internal memory, Configuration parameter value is write into internal memory, if the configuration parameter for extracting only needs to write configuration database, configuration parameter value is write Configuration database, if the configuration parameter for extracting needs to restart speech business process, stops the last timer for setting, weight New to set timer, the duration of timer and last time are isometric.
Concrete configuration process refer to Fig. 2, as shown in Fig. 2 comprising the following steps.
Step S21 is first carried out, into WEB page or ITMS configuration modes.Then step S22 is performed.
In step S22, the configuration information of user is sent to speech business process by configuring process, by language Sound business process carries out parsing extraction to configuration information, afterwards, then performs step S23.
In step S23, judge whether to need to restart speech business process, if voice industry need not be restarted when configuring again Business process, then then perform step S24, if needing to restart speech business process, then step S25 when configuring again.
In step s 24, by speech business process set configuration parameter and as needed by parameter value write-in internal memory or Database, makes configuration take-effective.
In step s 25, last timer is closed, timer is reset.Specifically, in the present embodiment, again The duration of the timer of setting is equal with the duration of last timer.Then step S26 is performed.
In step S26, assert that the new configuration information for receiving is invalid in the range of timer duration, reaches in timer Speech business process is restarted during duration, makes configuration take-effective.
To realize the above method, as shown in figure 3, the present invention provides a kind of home gateway Session Initiation Protocol in still further aspect matching somebody with somebody Validation system is put, is applied in the configuration process based on Session Initiation Protocol speech business, home gateway Session Initiation Protocol configuration take-effective system 1 Including:Configuration mode judge module 11, command line mode configuration module 12 and WEB page or ITMS configuration mode configuration modules 13。
Whether the mode that configuration mode judge module 11 judges to configure speech business is command line mode, if then exporting the One judged result, if otherwise exporting the second judged result.
Command line mode configuration module 12 is connected with configuration mode judge module 11, leads to when the first judged result is received Speech business process is crossed to set configuration parameter and by parameter value write internal memory, database or restart speech business as needed Journey, makes configuration take-effective.In command line mode configuration module 12, when user sets Session Initiation Protocol by order line to be configured, according to The order that user is set is come into force one by one, when write-in internal memory is needed, configuration parameter value is write into internal memory, and number is configured when write-in is needed During according to storehouse, configuration parameter is write into configuration database, when needing to restart speech business process, restart configuration process.
WEB page or ITMS configuration modes configuration module 13 are connected with configuration mode judge module 11, are receiving second Following configuration is performed during judged result:
1)Pass through speech business process when speech business process need not be restarted to set configuration parameter and as needed will Parameter value writes internal memory or database, makes configuration take-effective.
2)One timer for being used to record duration is set when needing to restart speech business process, is assert in timer The new configuration information for receiving is invalid in scope long, and speech business process is restarted when timer reaches duration, makes configuration take-effective.
Specifically, in the present embodiment, the WEB page or ITMS configuration modes configuration module 13 include:Configuration information Transmission unit 131, configuration information parsing extraction unit 132, restart judging unit 133, the first dispensing unit 134, timer and set Put unit 135, invalid configuration and assert the dispensing unit 137 of unit 1136 and second.
The configuration information of user is sent to speech business by configuring process and entered by configuration information transmission unit 131 Journey.
Configuration information parsing extraction unit 132 is connected with configuration information transmission unit 131, by speech business process to matching somebody with somebody Confidence breath carries out parsing extraction.
Restart judging unit 133 to be connected with configuration information parsing extraction unit 132, as being carried in background of invention Arrive, under WEB page or ITMS configuration modes, for needing the configuration for restarting the configuration parameter that process can just come into force to exist very Many problems, so needs judge whether to need to restart speech business process by restarting judging unit 133, are restarting judging unit In 133, if then exporting the 3rd judged result, if otherwise exporting the 4th judged result.
First dispensing unit 134 is connected with judging unit 133 is restarted, due to that need not restart the configuration of speech business process i.e. Can come into force, so the first dispensing unit 134 directly sets configuration ginseng when four judged results is received by speech business process Count and as needed by parameter value write-in internal memory or database, make configuration take-effective.
Timer setting unit 135 is connected with judging unit 133 is restarted, and a use is set when three judged results is received In the timer of record duration.The characteristics of during according under WEB page or hair work order ITMS configuration, page configuration and issue work order Operate effectively and there will necessarily be certain interval duration, if the operation for effectively configuring twice or issuing work order is too short, usually Invalid operation, because this premise, configuration take-effective is realized by setting up the timer of this duration.The duration of timer is used The time interval of effective operation is configured twice in identification user, that is to say, that operation of the user to the configuration modification of speech business is small Invalid operation is identified as in this duration.
Invention exactly takes full advantage of WEB page configuration or ITMS is issued the characteristics of when work order is configured, so passing through WEB page or ITMS configuration modes and when needing to restart speech business process, speech business is restarted when timer reaches duration Process, makes configuration take-effective.So the present invention can be solved to issue work order mode by WEB page or ITMS in the prior art and set Session Initiation Protocol speech business configuration information simultaneously requires that process restarts when can just come into force the configuration parameter imperfection, no for easily occurring Accuracy, modification are bothered and may cause the problem of sound fault.
Specifically, in timer setting unit 135, the duration scope of timer is 3s~20s.
Invalid configuration assert that unit 1136 is connected with timer setting unit 135, assert new in the range of timer duration The configuration information for receiving is invalid.The characteristics of during according under WEB page or hair work order ITMS configuration, page configuration and issue work order Operate effectively and there will necessarily be certain interval duration, if the operation for effectively configuring twice or issuing work order is too short, typically It is invalid operation, assert that unit 1136 can assert that the new configuration in the range of timer duration operates nothing by invalid configuration Effect.
Second dispensing unit 137 is connected with timer setting unit 135, and speech business is restarted when timer reaches duration Process, makes configuration take-effective, i.e. speech business process waiting timer time-out, and execution is restarted process operation, makes configuration take-effective.
Furthermore, it is necessary to explanation, by after the configuration take-effective of the second dispensing unit 137, if again by WEB page or ITMS configuration modes and when needing to restart speech business process, it is necessary to close last timer, reset timer;Again The duration of the timer of setting is equal with the duration of last timer.
By after the configuration take-effective of the second dispensing unit 137, if again by WEB page or ITMS configuration modes but being not required to When restarting speech business process, parameter value is write into internal memory, database as needed or speech business process is restarted, made new Configuration take-effective.
In sum, a kind of home gateway Session Initiation Protocol configuration take-effective method of the invention and system, have reached following beneficial Effect:
The present invention take full advantage of WEB page configuration or ITMS issue work order configure when the characteristics of, WEB page configuration or Person ITMS issues operating effectively for work order configuration and there will necessarily be interval duration, effectively configures or issue the operation of work order twice such as Really too short, usually invalid operation, because this premise, configuration take-effective is realized by setting up the timer of this duration. By WEB page or ITMS configuration modes and when needing to restart speech business process, voice is restarted when timer reaches duration Business process, makes configuration take-effective.
So the present invention can be solved to issue work order mode by WEB page or ITMS in the prior art and set Session Initiation Protocol language Sound business configuration information simultaneously requires that process is restarted the easy configuration parameter imperfection for occurring when can just come into force, inaccuracy, repaiied Change trouble and the problem of sound fault may be caused.So the present invention effectively overcomes various shortcoming of the prior art and has High industrial utilization.
The above-described embodiments merely illustrate the principles and effects of the present invention, not for the limitation present invention.It is any ripe The personage for knowing this technology all can carry out modifications and changes under without prejudice to spirit and scope of the invention to above-described embodiment.Cause This, those of ordinary skill in the art is complete with institute under technological thought without departing from disclosed spirit such as Into all equivalent modifications or change, should be covered by claim of the invention.

Claims (10)

1. a kind of home gateway Session Initiation Protocol configuration take-effective method, is applied in the configuration process based on Session Initiation Protocol speech business, Characterized in that, methods described includes:
Whether the mode for judging to configure speech business is command line mode, if then setting configuration parameter by speech business process And parameter value write into internal memory, database or restart speech business process as needed, make configuration take-effective;If otherwise entering WEB The page or ITMS configuration modes;
The configuration information of user is sent to speech business process by configuring process, by speech business process to configuration Information carries out parsing extraction;
Judge whether to need to restart speech business process, if otherwise by speech business process setting configuration parameter and as needed Parameter value is write into internal memory or database, makes configuration take-effective;If then setting a timer for being used to record duration;
Assert that the new configuration information for receiving is invalid in the range of timer duration, and voice industry is restarted when timer reaches duration Business process, makes configuration take-effective.
2. home gateway Session Initiation Protocol configuration take-effective method according to claim 1, it is characterised in that the duration of timer Scope is 3s~20s.
3. home gateway Session Initiation Protocol configuration take-effective method according to claim 1 and 2, it is characterised in that in configuration take-effective Afterwards, again by WEB page or ITMS configuration modes and when needing to restart speech business process, last timer, weight are closed It is new that timer is set.
4. home gateway Session Initiation Protocol configuration take-effective method according to claim 3, it is characterised in that what is reset determines When device duration it is equal with the duration of last timer.
5. home gateway Session Initiation Protocol configuration take-effective method according to claim 1, it is characterised in that after configuration take-effective, Again by WEB page or ITMS configuration modes but when need not restart speech business process, parameter value is write as needed Internal memory or database, make new configuration take-effective.
6. a kind of home gateway Session Initiation Protocol configuration take-effective system, is applied in the configuration process based on Session Initiation Protocol speech business, Characterized in that, the system includes:
Configuration mode judge module, whether the mode for judging to configure speech business is command line mode, if then output first is sentenced Disconnected result, if otherwise exporting the second judged result;
Command line mode configuration module, is connected with configuration mode judge module, and voice is passed through when the first judged result is received Business process sets configuration parameter and parameter value is write into internal memory, database as needed or speech business process is restarted, and makes to match somebody with somebody Put and come into force;
WEB page or ITMS configuration mode configuration modules, are connected with configuration mode judge module, are receiving the second judged result Shi Zhihang is configured:Pass through speech business process when speech business process need not be restarted to set configuration parameter and as needed will Parameter value writes internal memory or database, makes configuration take-effective;One is set when needing to restart speech business process for when recording Timer long, assert that the new configuration information for receiving is invalid in the range of timer duration, the weight when timer reaches duration Speech business process is opened, makes configuration take-effective.
7. home gateway Session Initiation Protocol configuration take-effective system according to claim 6, it is characterised in that the WEB page or ITMS configuration mode configuration modules include:
Configuration information transmission unit, speech business process is sent to by the configuration information of user by configuring process;
Configuration information parses extraction unit, is connected with configuration information transmission unit, and configuration information is entered by speech business process Row parsing is extracted;
Restart judging unit, be connected with configuration information parsing extraction unit, judge whether to need to restart speech business process, if The 3rd judged result is then exported, if otherwise exporting the 4th judged result;
First dispensing unit, is connected with judging unit is restarted, and is set by speech business process when four judged results is received Configuration parameter, and parameter value write-in internal memory or database are made into configuration take-effective as needed;
Timer setting unit, is connected with judging unit is restarted, and one is set when three judged results is received for when recording Timer long;
Invalid configuration assert unit, is connected with timer setting unit, assert that what is newly received in the range of timer duration matches somebody with somebody Confidence breath is invalid;
Second dispensing unit, is connected with timer setting unit, and speech business process is restarted when timer reaches duration, makes to match somebody with somebody Put and come into force.
8. the home gateway Session Initiation Protocol configuration take-effective system according to claim 6 or 7, it is characterised in that timer when Scope long is 3s~20s.
9. home gateway Session Initiation Protocol configuration take-effective system according to claim 7, it is characterised in that match somebody with somebody by second After putting unit configuration take-effective, again by WEB page or ITMS configuration modes and when needing to restart speech business process, in closing Timer, resets timer;The duration of the timer for resetting is equal with the duration of last timer.
10. home gateway Session Initiation Protocol configuration take-effective system according to claim 7, it is characterised in that match somebody with somebody by second After putting unit configuration take-effective, again by WEB page or ITMS configuration modes but when need not restart speech business process, according to Need for parameter value to write internal memory or database, make new configuration take-effective.
CN201310357555.7A 2013-08-15 2013-08-15 Effective method and system for home gateway SIP (Session Initiation Protocol) configuration Active CN103401742B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310357555.7A CN103401742B (en) 2013-08-15 2013-08-15 Effective method and system for home gateway SIP (Session Initiation Protocol) configuration

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310357555.7A CN103401742B (en) 2013-08-15 2013-08-15 Effective method and system for home gateway SIP (Session Initiation Protocol) configuration

Publications (2)

Publication Number Publication Date
CN103401742A CN103401742A (en) 2013-11-20
CN103401742B true CN103401742B (en) 2017-05-24

Family

ID=49565272

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310357555.7A Active CN103401742B (en) 2013-08-15 2013-08-15 Effective method and system for home gateway SIP (Session Initiation Protocol) configuration

Country Status (1)

Country Link
CN (1) CN103401742B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104618491B (en) * 2015-02-11 2017-11-21 四川银海天怡信息技术有限公司 A kind of proxy server and data forwarding method
CN105988687B (en) * 2015-06-16 2019-09-06 杭州迪普科技股份有限公司 A kind of control method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101140520A (en) * 2006-09-04 2008-03-12 中兴通讯股份有限公司 Configuring load application method and system of communication apparatus
CN101159722A (en) * 2007-11-08 2008-04-09 中兴通讯股份有限公司 Gateway equipment and method of implementing wide area network sharing connection on gateway equipment
CN101741625A (en) * 2010-01-29 2010-06-16 北京东土科技股份有限公司 Method for configuring command line
CN103227874A (en) * 2013-05-16 2013-07-31 太仓市同维电子有限公司 SIP (session initiation protocol)-protocol-based method for realizing hot line function of VOIP (voice over Internet protocol) home gateway

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4742981B2 (en) * 2006-05-19 2011-08-10 株式会社日立製作所 Home gateway device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101140520A (en) * 2006-09-04 2008-03-12 中兴通讯股份有限公司 Configuring load application method and system of communication apparatus
CN101159722A (en) * 2007-11-08 2008-04-09 中兴通讯股份有限公司 Gateway equipment and method of implementing wide area network sharing connection on gateway equipment
CN101741625A (en) * 2010-01-29 2010-06-16 北京东土科技股份有限公司 Method for configuring command line
CN103227874A (en) * 2013-05-16 2013-07-31 太仓市同维电子有限公司 SIP (session initiation protocol)-protocol-based method for realizing hot line function of VOIP (voice over Internet protocol) home gateway

Also Published As

Publication number Publication date
CN103401742A (en) 2013-11-20

Similar Documents

Publication Publication Date Title
WO2020192733A1 (en) Timed task configuration method, server, system and computer-readable storage medium
US9704503B2 (en) Command handling method, apparatus, and system
WO2020037918A1 (en) Risk control strategy determining method based on predictive model, and related device
CN103441861B (en) A kind of data record generation method and device
CN108667807A (en) A kind of protocol self-adapting method and system based on monitoring cloud platform and gateway
CN110086692A (en) A kind of automated testing method based on Internet of Things, device and computer equipment
CN102325036B (en) The method for diagnosing faults of a kind of network system, system and device
WO2014143879A2 (en) Using dynamic object modeling and business rules to dynamically specify and modify behavior
CN109194617A (en) The automatically parsing of XML message, packaging method and device
CN110020104A (en) News handles method, apparatus, storage medium and computer equipment
CN107819611B (en) Client test method based on IEC61850 multi-server simulation
CN103117900A (en) Configurable industrial Ethernet data parsing system and parsing method
CN109445837A (en) A kind of dissemination method and equipment of application program
CN110209700A (en) A kind of data stream association method, apparatus, electronic equipment and storage medium
CN103401742B (en) Effective method and system for home gateway SIP (Session Initiation Protocol) configuration
CN106210032A (en) The method and device reported based on terminal data batch
CN110134447A (en) The system and method for BMC immediate updating hard disk information based on operating system
CN111726255B (en) Processing method and device for network change
CN106899452B (en) Message circulation processing Internet of things terminal debugging method based on XM2M protocol
CN109862123A (en) Data processing method, Internet of Things module and equipment
CN109445384B (en) Multi-device control system
CN106897191A (en) A kind of method and apparatus being monitored to system
CN110276191A (en) A kind of equipment configuration method, device and electronic equipment
CN105915518A (en) Real-time parsing method and apparatus for ethernet data frame
CN103049342A (en) Method of accessing starting information

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
PP01 Preservation of patent right

Effective date of registration: 20180313

Granted publication date: 20170524

PP01 Preservation of patent right
PD01 Discharge of preservation of patent
PD01 Discharge of preservation of patent

Date of cancellation: 20210313

Granted publication date: 20170524

PP01 Preservation of patent right
PP01 Preservation of patent right

Effective date of registration: 20210313

Granted publication date: 20170524

PD01 Discharge of preservation of patent
PD01 Discharge of preservation of patent

Date of cancellation: 20240313

Granted publication date: 20170524