CN105677418B - The method and system of multiple and different voice protocols are realized in access device - Google Patents

The method and system of multiple and different voice protocols are realized in access device Download PDF

Info

Publication number
CN105677418B
CN105677418B CN201610011290.9A CN201610011290A CN105677418B CN 105677418 B CN105677418 B CN 105677418B CN 201610011290 A CN201610011290 A CN 201610011290A CN 105677418 B CN105677418 B CN 105677418B
Authority
CN
China
Prior art keywords
ngn
voice
protocols
configuration information
access device
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
CN201610011290.9A
Other languages
Chinese (zh)
Other versions
CN105677418A (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.)
Fiberhome Telecommunication Technologies Co Ltd
Original Assignee
Fiberhome Telecommunication Technologies 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 Fiberhome Telecommunication Technologies Co Ltd filed Critical Fiberhome Telecommunication Technologies Co Ltd
Priority to CN201610011290.9A priority Critical patent/CN105677418B/en
Publication of CN105677418A publication Critical patent/CN105677418A/en
Application granted granted Critical
Publication of CN105677418B publication Critical patent/CN105677418B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Communication Control (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention discloses a kind of to realize the method and system of multiple and different voice protocols in access device, is related to the voice technology field in access device.This method includes:Basic function software module, multiple and different NGN voice protocol software modules are compiled into corresponding executable file;Executable file is merged into a system file, and increases the header file for describing each module relevant information;According to the information in header file, the corresponding executable file of each module is preserved into the corresponding Flash partition of access device;After the system for starting access device, parses header file and run basic function software module;According to different service conditions in operation, increase, replacement and the delete operation of corresponding NGN voice protocols are completed.The present invention can effectively reduce the workload in systemic software development, test, maintenance process while meeting multiplicity of subscriber demand.

Description

The method and system of multiple and different voice protocols are realized in access device
Technical field
The present invention relates to the voice technology fields in access device, are realized in access device more particularly to one kind multiple The method and system of different phonetic agreement.
Background technology
In today that Internet technology is popularized, voice, data, video traffic have become for the main business demand of user. Speech business is one of important need in 3 big business demands and essential.With the development of the communication technology, voice Technology also develops therewith, from original PSTN (Public Switched Telephone Network, public switch telephone network Network) flexible exchanging network till now, from the packet switch of original circuit switching till now.
In flexible exchanging network, NGN (Next Generation Network, next generation network) soft switch voice protocol There are many, such as:Session Initiation Protocol, H.248 agreement, H.323 agreement etc..Different users has not NGN soft switch voice protocols Same requirement, and different NGN soft switch voice protocols can be selected, but the voice protocol used in a system software can be only One.Therefore, as access device supplier, such as (Multi-Service Access Network, integrated service connect MSAN Network) supplier of equipment, then the equipment that must develop can support different NGN soft switch voice protocols could meet the more of user Sample demand.Current solution is:Different system softwares is provided for different voice protocols.This solution makes The main control unit (voice protocol processing disk) of access device will be due to the difference of voice protocol, corresponding different system software.This Sample will result in the workload that system software code is developed, tests, safeguarded and increase exponentially, and be mainly manifested in the following aspects:
The main control unit of (1) access device need to be opened accordingly due to the difference of voice protocol, corresponding different software The system software for sending out version multiple, development amount is big, and safeguard it is inconvenient.
(2) system software of the access device of outbound may be inconsistent with the demand of client, causes access device to now Must upgrading software version could open speech business.
(3) debugging work load in developing increases, each test all must carry out test verification to multiple software versions.
(4) it makes troubles to the use of user, if user switches voice protocol type, it is necessary to upgrade software and replace user The software version of the voice protocol needed could normal use.
Therefore, how multiple and different voice protocols are realized in access device, convenient for the exploitation, test, fortune of system software Dimension, is this field urgent problem to be solved.
Invention content
The purpose of the invention is to overcome the shortcomings of above-mentioned background technology, provide it is a kind of realized in access device it is multiple The method and system of different phonetic agreement can effectively reduce systemic software development, survey while meeting multiplicity of subscriber demand Workload in examination, maintenance process.
To achieve the above objectives, the present invention provides a kind of method for realizing multiple and different voice protocols in access device, The access device includes the basic function software module for realizing access device basic function, and with various voice protocol phases Corresponding multiple and different NGN voice protocol software modules, this approach includes the following steps:
S1:Basic function software module, multiple and different NGN voice protocol software modules are compiled into corresponding executable File;The executable file of each module is merged into a system file, and is increased for describing each mould in the system file The header file of block relevant information, is transferred to S2;
S2:According to the information in header file, the corresponding executable file of each module is preserved corresponding to access device In Flash partition, it is transferred to S3;
S3:After the system for starting access device, parses header file and run basic function software module;In operation, if working as Any NGN voice protocols are not configured in preceding system, and need to use phonetic function in follow-up use, then by loading required NGN Voice protocol software module completes the increase of NGN voice protocols, and realizes corresponding NGN phonetic functions, terminates;If current system System has selected a kind of NGN voice protocols, and is needed replacing during follow-up use as another NGN voice protocols, then passes through weight It is new to load required NGN voice protocols software module to complete the replacement of NGN voice protocols, and realize corresponding NGN phonetic functions, Terminate;If current system has used a kind of voice protocol, and does not use phonetic function during follow-up use, then pass through unloading Currently used NGN voice protocols software module completes the deletion of NGN voice protocols, so that the system is no longer supported NGN voice work( Can, terminate.
Based on the above technical solution, the access device uses VxWorks operating system;Described in S1 Basic function software module, multiple and different NGN voice protocol software modules are compiled into corresponding executable file, it is specific to wrap Include following steps:Basic software modules are compiled into the executable file that suffix is bin by operating system compiler;It will be multiple Different NGN voice protocols software modules is compiled into the executable file that multiple suffix are out by operating system compiler.
Based on the above technical solution, by loading required NGN voice protocol software modules come complete described in S3 It at the increase of NGN voice protocols, and realizes corresponding NGN phonetic functions, specifically includes following steps:
S301a:Voice configuration information is set according to user demand, which includes the required NGN languages used The type information of Association of Musicians's view and relevant speech parameter information;The configuration information is preserved into Flash, S301b is transferred to;
S301b:The type information for reading NGN voice protocols in configuration information, will NGN languages corresponding with the type information Sound protocol software module is loaded onto in system, is transferred to S301c;
S301c:Internal initialization is carried out to the NGN voice protocol software modules of load, is transferred to S301d;
S301d:The speech parameter information taken in configuration information is issued to NGN voice protocol software modules;Joined according to voice Number information, completes corresponding NGN phonetic functions.
Based on the above technical solution, described in S3 by reload required NGN voice protocols software module come The replacement of NGN voice protocols is completed, and realizes corresponding NGN phonetic functions, specifically includes following steps:
S302a:The voice configuration information for emptying setting early period, sets voice configuration information according to user demand again It sets;Newly-installed configuration information is preserved to Flash;After the completion of preservation, system is restarted automatically, is transferred to S302b;
S302b:The type information of newly-installed NGN voice protocols in query configuration information;It will be opposite with the type information The NGN voice protocol software modules answered are loaded onto in system, are transferred to S302c;
S302c:Internal initialization is carried out to the NGN voice protocol software modules of load, is transferred to S302d;
S302d:After the completion of to be initiated, the speech parameter taken in configuration information is issued to NGN voice protocol software modules Information;According to speech parameter information, corresponding NGN phonetic functions are completed.
Based on the above technical solution, by unloading currently used NGN voice protocol software modules described in S3 The deletion of NGN voice protocols is completed, so that system is no longer supported NGN phonetic functions, specifically includes following steps:
S303a:The type information of NGN voice protocols in the voice configuration information of setting early period is set as empty, and clear Speech parameter information in empty voice configuration information;The configuration information is preserved to Flash, S303b is transferred to;
S303b:Currently used NGN voice protocol software modules are unloaded, make system that will no longer support NGN phonetic functions.
The system that multiple and different voice protocols are realized in access device based on the above method that the present invention also provides a kind of, Including system file combining unit, module storage unit and voice protocol processing unit;
The system file combining unit is used for:By basic function software module, multiple and different NGN voice protocol softwares Module is compiled into corresponding executable file;The executable file of each module is merged into a system file, and in the system Increase the header file for describing each module relevant information in file;
The module storage unit is used for:The system file is downloaded in access device, according to the letter in header file Breath, each module is preserved into corresponding Flash partition;
The voice protocol processing unit is used for:After starting access device system, parses header file and run basic function Software module;In operation, if any NGN voice protocols are not configured in current system, and need to use phonetic function in follow-up use, The increase of NGN voice protocols then is completed by loading required NGN voice protocols software module, and realizes corresponding NGN languages Sound function;If current system has selected a kind of NGN voice protocols, and is needed replacing as another NGN kinds language during follow-up use The Association of Musicians discusses, then completes the replacement of NGN voice protocols by reloading required NGN voice protocols software module, and realize phase The NGN phonetic functions answered;If current system has used a kind of voice protocol, and does not use voice work(during follow-up use Can, then the deletion of NGN voice protocols is completed by unloading currently used NGN voice protocols software module, makes system no longer Support NGN phonetic functions.
Based on the above technical solution, the access device uses VxWorks operating system;The system Basic function software module, multiple and different NGN voice protocol software modules are compiled into corresponding hold by Piece file mergence unit Style of writing part detailed process be:Basic software modules are compiled into the executable text that suffix is bin by operating system compiler Part;It is holding for out that multiple and different NGN voice protocols software modules is compiled into multiple suffix by operating system compiler Style of writing part.
Based on the above technical solution, the voice protocol processing unit is by loading required NGN voice protocols Software module completes the increase of NGN voice protocols, and realizes that the detailed process of corresponding NGN phonetic functions is:According to user Voice configuration information is arranged in demand, which includes the type information and correlation of the required NGN voice protocols used Speech parameter information;The configuration information is preserved into Flash;After the completion of preservation, NGN voice protocols in configuration information are read Type information, NGN voice protocol software modules corresponding with the type information are loaded onto in system;To the NGN of load Voice protocol software module carries out internal initialization;After the completion of initialization, issues and taken with confidence to NGN voice protocol software modules Speech parameter information in breath;According to speech parameter information, corresponding NGN phonetic functions are completed.
Based on the above technical solution, the voice protocol processing unit is assisted by reloading required NGN voices Software module is discussed to complete the replacement of NGN voice protocols, and realizes that the detailed process of corresponding NGN phonetic functions is:Before emptying The voice configuration information of phase setting, resets voice configuration information according to user demand;Match confidence by newly-installed Breath is preserved to Flash;After the completion of preservation, system is restarted automatically;After the completion of restarting, newly-installed NGN languages in query configuration information The type information of Association of Musicians's view;NGN voice protocol software modules corresponding with the type information are loaded onto in system;To load NGN voice protocol software modules carry out internal initialization;After the completion of to be initiated, issued to NGN voice protocol software modules Take the speech parameter information in configuration information;According to speech parameter information, corresponding NGN phonetic functions are completed.
Based on the above technical solution, the voice protocol processing unit is by unloading currently used NGN voices Protocol software module completes the deletion of NGN voice protocols, so that the system is no longer supported that the detailed process of NGN phonetic functions is:It will The type information of NGN voice protocols in the voice configuration information of setting early period is set as empty, and empties in voice configuration information Speech parameter information;The configuration information is preserved to Flash;After the completion of preservation, it is soft to unload currently used NGN voice protocols Part module makes system that will no longer support NGN phonetic functions.
The beneficial effects of the present invention are:
(1) in the present invention, basic function software module, multiple and different NGN voice protocol software modules are merged into one A system file, when access device carries out starting operation according to the system file, service condition that can be different according to user, phase The increase, replacement and delete operation of NGN voice protocols should be completed, so that access device can support multiple and different voices to assist View.
Compared with prior art, the present invention revolutionizes a kind of previous voice protocol and corresponds to a kind of doing for system software Method so that access device can effectively reduce systemic software development, test, safeguarded while meeting multiplicity of subscriber demand Workload in journey.
Specifically, the version development amount of system software is reduced, and the common portion that different phonetic agreement is related to is only It need to develop once, later development also need to only carry out in a system software;System software test, verification workload largely subtract It is few, it is only necessary to which that pilot scale test, verification are carried out to a system software;The maintenance workload of system software is reduced, it is only necessary to One system software is safeguarded;The operation and maintenance of access device simply, conveniently, need to only match acording to the requirement of user Different NGN voice protocol patterns are set, it is not necessary that upgrade different systems soft because user has selected different voice protocols Part.
(2) in the present invention, system is made to only use the NGN voice protocols of user's needs by the way of dynamic link, i.e., According to the demand of user, by configuring the type informations of the NGN voice protocols needed for user so that system is only right by one every time It answers the NGN voice protocol software modules of type to be loaded onto in memory to run, not used other kinds of NGN voice protocols software Module is not required to run in memory, effectively saves memory source, improves running efficiency of system.
Description of the drawings
Fig. 1 is the flow chart for the method for realizing multiple and different voice protocols in the embodiment of the present invention in access device;
Fig. 2 is the particular flow sheet for increasing NGN voice protocols in the embodiment of the present invention;
Fig. 3 is the particular flow sheet that NGN voice protocols are replaced in the embodiment of the present invention;
Fig. 4 is the particular flow sheet that NGN voice protocols are deleted in the embodiment of the present invention.
Specific implementation mode
Below in conjunction with the accompanying drawings and specific embodiment the present invention is described in further detail.
Shown in Figure 1, the embodiment of the present invention provides a kind of side realizing multiple and different voice protocols in access device Method includes the following steps:
S1:By existing basic function software module, multiple and different NGN voice protocols software modules (such as:SIP is assisted View software module, H.248 protocol software module, H.323 protocol software module etc.) it is compiled into accordingly by operating system compiler Executable file, wherein the basic function software module refers in addition to phonetic function for realizing access device base The software module of this function;The executable file of each module is merged into a system file, and is increased in the system file Header file for describing each module relevant information, the header file include module name, block length, module storage Flash point Zone position is transferred to S2.
S2:The system file is downloaded in access device (such as MSAN equipment), according to module name, the mould in header file Block length and the FLASH district locations of module storage, the corresponding executable file of each module are preserved corresponding to access device Flash partition in, be transferred to S3.
S3:After the system for starting access device, parses header file and run the basic function software in corresponding Flash partition Module (executable file for running basic function software module);In operation, if any NGN voices association is not configured in current system It discusses (i.e. current system does not support NGN phonetic functions), and needs to use phonetic function in follow-up use, then it is required by load NGN voice protocols software module completes the increase of NGN voice protocols, and realizes corresponding NGN phonetic functions, terminates (after if Also phonetic function need not be used in continuous use, then is not loaded with any NGN voice protocols software module, system will not also be supported NGN phonetic functions);If current system has selected a kind of NGN voice protocols, and is needed replacing as another kind during follow-up use NGN voice protocols then complete the replacement of NGN voice protocols by reloading required NGN voice protocols software module, and real Now corresponding NGN phonetic functions terminate;If current system has used a kind of voice protocol, and no longer makes during follow-up use With phonetic function, then the deletion of NGN voice protocols is completed by unloading currently used NGN voice protocols software module, made System no longer supports NGN phonetic functions, terminates.
Wherein, it needed for being loaded described in S3 when NGN voice protocol software modules, can specify as needed needed for load Memory headroom can also be distributed the memory headroom needed for load by system default.
When practical operation, for the access device (such as MSAN equipment) for using VxWorks operating system, S1 Described in basic function software module, multiple and different NGN voice protocols software modules are compiled by operating system compiler At corresponding executable file, following steps are specifically included:After basic software modules are compiled by operating system compiler Sew the executable file for bin;Multiple and different NGN voice protocols software modules is compiled by operating system compiler more A suffix is the executable file of out.
More specifically, it is assumed that basic function software module is A, needs the NGN voice protocols of the SIP types of later stage load soft Part module is B, and it is C to need the NGN voice protocol software modules of the H.248 type of later stage load, and each module, which will pass through to operate, is System compiler is compiled into different executable code files.In Vxworks operating systems, module B or module C are compiled into B.out or C.out, since module B and module C is not necessarily to link block A, so module B or module C can directly invoke mould The function of block A.Modules A is compiled into A.bin, passes through modules A link module B or module C.If only module B or mould The function of block C calling modules A, modules A never call module B or module C, and when System build is not necessarily to specially treated.But if mould Block A needs the function of calling module B or module C, will compile and not pass through, it is necessary to do specially treated.This specially treated is just Still calling module B functions to be called when being modules A compiling, but function prototype is only to look for the symbol table of object function, The object code of modules A institute call function is only in module B.If module B is not loaded, sky is returned, if module B has been loaded, Function call then can be completed by call sign table mode.
It is shown in Figure 2, when specific operation, by loading required NGN voice protocol software modules come complete described in S3 It at the increase of NGN voice protocols, and realizes corresponding NGN phonetic functions, specifically includes following steps:
S301a:Voice configuration information is set according to user demand, which includes the required NGN languages used The type information of Association of Musicians's view and relevant speech parameter information;The configuration information is preserved into Flash, S301b is transferred to;
S301b:The type information for reading NGN voice protocols in configuration information, will NGN languages corresponding with the type information Sound protocol software module is loaded onto in system, is transferred to S301c;
S301c:Internal initialization is carried out to the NGN voice protocol software modules of load, is transferred to S301d;
S301d:The speech parameter information taken in configuration information is issued to NGN voice protocol software modules;Joined according to voice Number information, completes corresponding NGN phonetic functions.
It is shown in Figure 3, when specific operation, described in S3 by reload required NGN voice protocols software module come The replacement of NGN voice protocols is completed, and realizes corresponding NGN phonetic functions, specifically includes following steps:
S302a:The voice configuration information for emptying setting early period, sets voice configuration information according to user demand again It sets;Newly-installed configuration information is preserved to Flash;After the completion of preservation, system is restarted automatically, is transferred to S302b;
S302b:The type information of newly-installed NGN voice protocols in query configuration information;It will be opposite with the type information The NGN voice protocol software modules answered are loaded onto in system, are transferred to S302c;
S302c:Internal initialization is carried out to the NGN voice protocol software modules of load, is transferred to S302d;
S302d:After the completion of to be initiated, the speech parameter taken in configuration information is issued to NGN voice protocol software modules Information;According to speech parameter information, corresponding NGN phonetic functions are completed.
It is shown in Figure 4, when specific operation, by unloading currently used NGN voice protocol software modules described in S3 The deletion of NGN voice protocols is completed, so that system is no longer supported NGN phonetic functions, specifically includes following steps:
S303a:The type information of NGN voice protocols in the voice configuration information of setting early period is set as empty, and clear Speech parameter information in empty voice configuration information;The configuration information is preserved to Flash, S303b is transferred to;
S303b:Currently used NGN voice protocol software modules are unloaded, make system that will no longer support NGN phonetic functions.
The embodiment of the present invention also provides a kind of system for realizing multiple and different voice protocols in access device, including system Piece file mergence unit, module storage unit and voice protocol processing unit.
System file combining unit is used for:By basic function software module, multiple and different NGN voice protocol software modules It is compiled into corresponding executable file by operating system compiler;The executable file of each module is merged into a system text Part, and header file of the increase for describing each module relevant information in the system file, which includes module name, module The Flash partition position that length, module are stored;
Wherein, system file combining unit is by basic function software module, multiple and different NGN voice protocol software modules The detailed process that corresponding executable file is compiled by operating system compiler is:It is by operating by basic software modules System compiler is compiled into the executable file that suffix is bin;It is by operating by multiple and different NGN voice protocols software modules System compiler is compiled into the executable file that multiple suffix are out.
Module storage unit is used for:The system file is downloaded in access device, according in header file module name, Block length and the FLASH district locations of module storage, each module is preserved into corresponding Flash partition.
Voice protocol processing unit is used for:After starting access device system, parses header file and run corresponding Flash partition In basic function software module;In operation, if any NGN voice protocols are not configured in current system, and needed in follow-up use Using phonetic function, then the increase of NGN voice protocols is completed by loading required NGN voice protocols software module, and real Now corresponding NGN phonetic functions;If current system has selected a kind of NGN voice protocols, and is needed replacing during follow-up use For another NGN kinds voice protocol, then NGN voice protocols are completed by reloading required NGN voice protocols software module It replaces, and realizes corresponding NGN phonetic functions;If current system has used a kind of voice protocol, and during follow-up use not Phonetic function is reused, then completes deleting for NGN voice protocols by unloading currently used NGN voice protocols software module It removes, system is made no longer to support NGN phonetic functions.
Wherein, it can specify and add as needed when NGN voice protocol software modules needed for the load of voice protocol processing unit Memory headroom needed for carrying can also be distributed the memory headroom needed for load by system default.
Further, voice protocol processing unit completes NGN languages by loading required NGN voice protocols software module The increase of Association of Musicians's view, and realize that the detailed process of corresponding NGN phonetic functions is:Voice is set according to user demand and matches confidence Breath, the voice configuration information include the type information of the required NGN voice protocols used and relevant speech parameter information;It should Configuration information is preserved into Flash;After the completion of preservation, the type information of NGN voice protocols in configuration information is read, it will be with such The corresponding NGN voice protocols software module of type information is loaded onto in system;The NGN voice protocol software modules of load are carried out Internal initialization;After the completion of initialization, the speech parameter information taken in configuration information is issued to NGN voice protocol software modules; According to speech parameter information, corresponding NGN phonetic functions are completed.
Further, voice protocol processing unit is completed by reloading required NGN voice protocols software module The replacement of NGN voice protocols, and realize that the detailed process of corresponding NGN phonetic functions is:Empty the voice configuration of setting early period Information resets voice configuration information according to user demand;Newly-installed configuration information is preserved to Flash;It protects After the completion of depositing, system is restarted automatically;After the completion of restarting, the type information of newly-installed NGN voice protocols in query configuration information; NGN voice protocol software modules corresponding with the type information are loaded onto in system;To the NGN voice protocol softwares of load Module carries out internal initialization;After the completion of to be initiated, the voice taken in configuration information is issued to NGN voice protocol software modules Parameter information;According to speech parameter information, corresponding NGN phonetic functions are completed.
Further, voice protocol processing unit is by unloading currently used NGN voice protocol software modules come complete At the deletion of NGN voice protocols, system is made no longer to support that the detailed process of NGN phonetic functions is:The voice that early period is arranged is matched The type information of NGN voice protocols in confidence breath is set as empty, and empties the speech parameter information in voice configuration information;It will The configuration information is preserved to Flash;After the completion of preservation, currently used NGN voice protocol software modules are unloaded, make system will not NGN phonetic functions are supported again.
The present invention is not limited to the above-described embodiments, for those skilled in the art, is not departing from Under the premise of the principle of the invention, several improvements and modifications can also be made, these improvements and modifications are also considered as the protection of the present invention Within the scope of.The content not being described in detail in this specification belongs to the prior art well known to professional and technical personnel in the field.

Claims (10)

1. a kind of method for realizing multiple and different voice protocols in access device, the access device include being set for realizing access The basic function software module of standby basic function, and multiple and different NGN voice protocols corresponding with various voice protocols Software module, which is characterized in that this approach includes the following steps:
S1:Basic function software module, multiple and different NGN voice protocol software modules are compiled into corresponding executable text Part;The executable file of each module is merged into a system file, and is increased for describing each module in the system file The header file of relevant information, is transferred to S2;
S2:According to the information in header file, the corresponding executable file of each module is preserved to the corresponding Flash of access device In subregion, it is transferred to S3;
S3:After the system for starting access device, parses header file and run basic function software module;
In operation, if any NGN voice protocols are not configured in current system, and needs to use phonetic function in follow-up use, then lead to The NGN voice protocols software module needed for load is crossed to complete the increase of NGN voice protocols, and realizes corresponding NGN voices work( Can, terminate;
If current system has selected a kind of NGN voice protocols, and needs replacing during follow-up use and assisted for another NGN voices View then completes the replacement of NGN voice protocols by reloading required NGN voice protocols software module, and realizes corresponding NGN phonetic functions terminate;
If current system has used a kind of voice protocol, and does not use phonetic function during follow-up use, then pass through unloading Currently used NGN voice protocols software module completes the deletion of NGN voice protocols, so that the system is no longer supported NGN voice work( Can, terminate.
2. the method for realizing multiple and different voice protocols in access device as described in claim 1, it is characterised in that:It is described Access device uses VxWorks operating system;By basic function software module, multiple and different NGN languages described in S1 Sound protocol software module is compiled into corresponding executable file, specifically includes following steps:Basic software modules are passed through into operation System compiler is compiled into the executable file that suffix is bin;Multiple and different NGN voice protocol software modules are passed through into operation System compiler is compiled into the executable file that multiple suffix are out.
3. the method for realizing multiple and different voice protocols in access device as described in claim 1, it is characterised in that:In S3 It is described to complete the increase of NGN voice protocols by loading required NGN voice protocols software module, and realize corresponding NGN Phonetic function specifically includes following steps:
S301a:Voice configuration information is set according to user demand, which includes the required NGN voices association used The type information of view and relevant speech parameter information;The configuration information is preserved into Flash, S301b is transferred to;
S301b:The type information of NGN voice protocols in configuration information is read, it will NGN voices association corresponding with the type information View software module is loaded onto in system, is transferred to S301c;
S301c:Internal initialization is carried out to the NGN voice protocol software modules of load, is transferred to S301d;
S301d:The speech parameter information taken in configuration information is issued to NGN voice protocol software modules;Believed according to speech parameter Breath, completes corresponding NGN phonetic functions.
4. the method for realizing multiple and different voice protocols in access device as described in claim 1, it is characterised in that:In S3 It is described to complete the replacement of NGN voice protocols by reloading required NGN voice protocols software module, and realize corresponding NGN phonetic functions, specifically include following steps:
S302a:The voice configuration information for emptying setting early period, resets voice configuration information according to user demand; Newly-installed configuration information is preserved to Flash;After the completion of preservation, system is restarted automatically, is transferred to S302b;
S302b:The type information of newly-installed NGN voice protocols in query configuration information;It will be corresponding with the type information NGN voice protocol software modules are loaded onto in system, are transferred to S302c;
S302c:Internal initialization is carried out to the NGN voice protocol software modules of load, is transferred to S302d;
S302d:After the completion of to be initiated, the speech parameter information taken in configuration information is issued to NGN voice protocol software modules; According to speech parameter information, corresponding NGN phonetic functions are completed.
5. the method for realizing multiple and different voice protocols in access device as described in claim 1, it is characterised in that:In S3 It is described to complete the deletion of NGN voice protocols by unloading currently used NGN voice protocols software module, so that system is no longer propped up NGN phonetic functions are held, following steps are specifically included:
S303a:The type information of NGN voice protocols in the voice configuration information of setting early period is set as empty, and empties language Speech parameter information in sound configuration information;The configuration information is preserved to Flash, S303b is transferred to;
S303b:Currently used NGN voice protocol software modules are unloaded, make system that will no longer support NGN phonetic functions.
6. a kind of system for realizing multiple and different voice protocols in access device based on claim 1 the method, special Sign is:Including system file combining unit, module storage unit and voice protocol processing unit;
The system file combining unit is used for:By basic function software module, multiple and different NGN voice protocol software modules It is compiled into corresponding executable file;The executable file of each module is merged into a system file, and in the system file Header file of the middle increase for describing each module relevant information;
The module storage unit is used for:The system file is downloaded in access device, it, will according to the information in header file Each module is preserved into corresponding Flash partition;
The voice protocol processing unit is used for:After starting access device system, parses header file and run basic function software Module;In operation, if any NGN voice protocols are not configured in current system, and needs to use phonetic function in follow-up use, then lead to The NGN voice protocols software module needed for load is crossed to complete the increase of NGN voice protocols, and realizes corresponding NGN voices work( Energy;If current system has selected a kind of NGN voice protocols, and needs replacing during follow-up use and assisted for another NGN kinds voice View then completes the replacement of NGN voice protocols by reloading required NGN voice protocols software module, and realizes corresponding NGN phonetic functions;If current system has used a kind of voice protocol, and does not use phonetic function during follow-up use, then The deletion of NGN voice protocols is completed by unloading currently used NGN voice protocols software module, system is made no longer to support NGN phonetic functions.
7. the system for realizing multiple and different voice protocols in access device as claimed in claim 6, it is characterised in that:It is described Access device uses VxWorks operating system;The system file combining unit is by basic function software module, multiple The detailed process that different NGN voice protocol software modules are compiled into corresponding executable file is:Basic software modules are led to It crosses operating system compiler and is compiled into the executable file that suffix is bin;Multiple and different NGN voice protocol software modules are led to It crosses operating system compiler and is compiled into the executable file that multiple suffix are out.
8. the system for realizing multiple and different voice protocols in access device as claimed in claim 6, it is characterised in that:It is described Voice protocol processing unit completes the increase of NGN voice protocols by loading required NGN voice protocols software module, and real Now the detailed process of corresponding NGN phonetic functions is:According to user demand, voice configuration information, the voice configuration information packet are set The type information of the NGN voice protocols used needed for including and relevant speech parameter information;The configuration information is preserved to Flash In;After the completion of preservation, the type information of NGN voice protocols in configuration information is read, it will NGN languages corresponding with the type information Sound protocol software module is loaded onto in system;Internal initialization is carried out to the NGN voice protocol software modules of load;It has initialized Cheng Hou issues the speech parameter information taken in configuration information to NGN voice protocol software modules;It is complete according to speech parameter information At corresponding NGN phonetic functions.
9. the system for realizing multiple and different voice protocols in access device as claimed in claim 6, it is characterised in that:It is described Voice protocol processing unit completes the replacement of NGN voice protocols by reloading required NGN voice protocols software module, and Realize that the detailed process of corresponding NGN phonetic functions is:The voice configuration information for emptying setting early period, according to user demand to language Sound configuration information is reset;Newly-installed configuration information is preserved to Flash;After the completion of preservation, system is restarted automatically; After the completion of restarting, the type information of newly-installed NGN voice protocols in query configuration information;It will be corresponding with the type information NGN voice protocol software modules are loaded onto in system;Internal initialization is carried out to the NGN voice protocol software modules of load;It waits for After the completion of initialization, the speech parameter information taken in configuration information is issued to NGN voice protocol software modules;According to speech parameter Information completes corresponding NGN phonetic functions.
10. the system for realizing multiple and different voice protocols in access device as claimed in claim 6, it is characterised in that:Institute It states voice protocol processing unit and completes deleting for NGN voice protocols by unloading currently used NGN voice protocols software module It removes, system is made no longer to support that the detailed process of NGN phonetic functions is:By the NGN voices in the voice configuration information of setting early period The type information of agreement is set as empty, and empties the speech parameter information in voice configuration information;By the configuration information preserve to Flash;After the completion of preservation, currently used NGN voice protocol software modules are unloaded, make system that will no longer support NGN voice work( Energy.
CN201610011290.9A 2016-01-08 2016-01-08 The method and system of multiple and different voice protocols are realized in access device Active CN105677418B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610011290.9A CN105677418B (en) 2016-01-08 2016-01-08 The method and system of multiple and different voice protocols are realized in access device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610011290.9A CN105677418B (en) 2016-01-08 2016-01-08 The method and system of multiple and different voice protocols are realized in access device

Publications (2)

Publication Number Publication Date
CN105677418A CN105677418A (en) 2016-06-15
CN105677418B true CN105677418B (en) 2018-10-23

Family

ID=56299511

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610011290.9A Active CN105677418B (en) 2016-01-08 2016-01-08 The method and system of multiple and different voice protocols are realized in access device

Country Status (1)

Country Link
CN (1) CN105677418B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108228185B (en) * 2017-12-29 2021-11-23 北京经纬恒润科技股份有限公司 Embedded software modularization generation method and device
CN112800004B (en) * 2019-10-28 2023-06-16 浙江宇视科技有限公司 License plate algorithm library control method, device, equipment and medium
CN112860582A (en) * 2021-03-26 2021-05-28 成都启英泰伦科技有限公司 Local voice recognition module production test method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102137395A (en) * 2010-09-09 2011-07-27 华为技术有限公司 Method, device and system for configuring access device
CN102207887A (en) * 2011-05-04 2011-10-05 中兴通讯股份有限公司 Method and device for rapidly transplanting embedded operation system
CN103532929A (en) * 2013-09-17 2014-01-22 烽火通信科技股份有限公司 Voice terminal equipment and voice double-protocol switching method
CN105024833A (en) * 2015-07-03 2015-11-04 上海斐讯数据通信技术有限公司 Communication method and system based on voice protocol, server, and client

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102137395A (en) * 2010-09-09 2011-07-27 华为技术有限公司 Method, device and system for configuring access device
CN102207887A (en) * 2011-05-04 2011-10-05 中兴通讯股份有限公司 Method and device for rapidly transplanting embedded operation system
CN103532929A (en) * 2013-09-17 2014-01-22 烽火通信科技股份有限公司 Voice terminal equipment and voice double-protocol switching method
CN105024833A (en) * 2015-07-03 2015-11-04 上海斐讯数据通信技术有限公司 Communication method and system based on voice protocol, server, and client

Also Published As

Publication number Publication date
CN105677418A (en) 2016-06-15

Similar Documents

Publication Publication Date Title
CN105100191B (en) The method, apparatus and system of Java application installations are realized in a kind of cloud compiling
CN102411506B (en) Java-system business-unit plug-in type managing system and dynamic business-function changing method
CN105677418B (en) The method and system of multiple and different voice protocols are realized in access device
CN111796860B (en) Micro front end scheme implementation method and device
CN106569794A (en) Application developing device
CN101115214B (en) Method, equipment and system for intelligent call routing
JP2004537895A (en) System and method for peer-to-peer handset communication
CN101355610B (en) Method for providing client service information, self-help client service module and system
CN109889377A (en) The method and apparatus of VNF are disposed in NFV system based on Openstack
CN103605529B (en) The treating method and apparatus of application program
CN109597604B (en) iOS platform based APP modularization development method, device and equipment
CN110308999A (en) Method, storage medium and the mobile terminal for relying on packet are dynamically shared between a kind of application
CN109683973A (en) A kind of Insyde product BIOS method for customizing, device, terminal and storage medium
CN110347445A (en) SDK call method, device, server and storage medium
CN109460250A (en) A kind of generation method and equipment of application program
CN109726020A (en) System docking method, system docking equipment, storage medium and device
CN109639818A (en) Service discovery method, device, server and storage medium under a kind of cloud environment
CN111158987B (en) Health check method and device for micro-service architecture
CN115291946A (en) Hongmong system transplanting method, device, electronic equipment and readable medium
CN108287735A (en) A kind of method, apparatus and server obtaining UEFI OS startup items
CN108334360A (en) Method, apparatus, storage medium and the computer equipment of application program dynamic load
CN111488286B (en) Method and device for independently developing Android modules
CN110659022B (en) Method for automatically calling Python script based on Java
CN100358302C (en) Method for testing network element interface by state apparatus
CN116915700A (en) Front-end micro-service aggregation technology solution

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