CN101860627B - Business management method of access gateway and access gateway - Google Patents

Business management method of access gateway and access gateway Download PDF

Info

Publication number
CN101860627B
CN101860627B CN201010192731.2A CN201010192731A CN101860627B CN 101860627 B CN101860627 B CN 101860627B CN 201010192731 A CN201010192731 A CN 201010192731A CN 101860627 B CN101860627 B CN 101860627B
Authority
CN
China
Prior art keywords
codec
business
atomic operation
slic
operating parameter
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
CN201010192731.2A
Other languages
Chinese (zh)
Other versions
CN101860627A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201010192731.2A priority Critical patent/CN101860627B/en
Publication of CN101860627A publication Critical patent/CN101860627A/en
Application granted granted Critical
Publication of CN101860627B publication Critical patent/CN101860627B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a business management method of an access gateway and the access gateway. In the above method, a business to be managed is analyzed by the access gateway AG into atomic operation and operation parameters, and operation parameters are obtained from configuration files, wherein the configuration files is stored with a data model; the data model is obtained abstractly from the operation parameters of the codec of AG; atomic operation is carried out on the obtained operation parameters to manage business. Through the technical scheme of the invention, the AG device supports new PSTN line card under the condition of not using updated version, so as to strengthen device maintainability and greatly save the consumption of AG device to physical resources of internal memory and the like to reduce device cost.

Description

The business management method of IAD and IAD
Technical field
The present invention relates to the access technology of the communications field, in particular to a kind of business management method and IAD of IAD.
Background technology
Along with the development of mechanics of communication and the evolution of communication network, IAD (AccessGateWay, AG) equipment is also faced with increasing competition, how elevator system functional characteristic and performance index under the prerequisite keeping low cost, for AG equipment system be a very important problem.
On the one hand, the line card ability of high power capacity, such as 64 road PSTN line cards, 32 have a lot of social connections arrowband unification line card, greatly can promote adaptability and the competitiveness of AG equipment; Introduce many codec Codec suppliers and can eliminate exclusive supply from commercial affairs, reduce chip risk out of stock and reduce costs.
On the other hand, these behaves above-mentioned all can introduce the Codec of Multiple Type, and in order to keep the compatibility of AG equipment and maintain low-cost advantage, just wish can under the configuration of lower physical resource (such as adopting the system of chip microprocessor) can continued support to the management of multiple Codec.
Public switched telephone network (the Public SwitchTelephone Network adopted in AG equipment at present, PSTN) business management method can not meet above-mentioned multiple line card, multiple Codec the situation of depositing gradually, and continuing to increase along with Codec kind, original hardware system (such as adopting the system of chip microprocessor) physical resource deficiency (the limited restriction to code capacity of such as storage space) and the defect that causes is more aobvious outstanding.
Here by reference to the accompanying drawings an introduction is done, to describe the problems referred to above in detail to existing PSTN business management method.
As shown in Figure 1, Codec is descending connects substation by chip monitoring SLIC, up by pcm bus access T net, simultaneously by universal serial bus for microprocessor provides control interface.The Codec type that different line cards uses or quantity difference, the number of users that different Codec can support is also different.For certain PSTN line card, every sheet Codec is descending accesses No. 4 phones by SLIC, and every block line card comprises 8 Codec, amounts to support 32 tunnel user, every road CU 64K time slot, 32 tunnel users converge as 2M HW is by the T net of backboard access master control borad through pcm bus.
The logic relevant to Codec mainly comprises three parts:
(1) initialization: when system power-on reset or line card insert machine frame online after, need to carry out initialization to Codec and SLIC, comprise operator scheme setting, clock setting, PCM time slot connects settings, SLIC-IO initial setting up, filter parameter setting, gain arranges.
Processing logic as shown in Figure 2, when often increasing a kind of new line card type, needs the Codec initialization function of newly-increased a kind of correspondence in code.
(2) SLIC is set: receive the setting commands such as activation, ring, subscriber line test, reversed polarity, howl ring sound as CPU after, namely complete the relevant setting to SLIC-IO data by Codec.
Processing logic as shown in Figure 3, when often increasing a kind of new line card type, needs to increase a kind of process function newly for often kind of function.
(3) scan User Status: CPU timing to SLIC-IO data scanning once, judge user's current state (such as off-hook, on-hook etc.).
Processing logic as shown in Figure 4, when often increasing a kind of new line card type, needs the scanning input function increasing a kind of correspondence.
Can find out, in existing PSTN business management method, often increase a kind of new line card type or Codec type, just need the process function increasing newtype.Like this, along with system enables the increase of Codec type, code capacity can be increasing, after it breaks through the physical restriction of chip microprocessor system, just certainly will bring serious problem.Further, when needing to enable novel line card due to reasons such as maintenance or dilatations at the AG equipment of network operation, corresponding version of must upgrading, adds extra maintenance workload.
Summary of the invention
Main purpose of the present invention is the business management method and the IAD that provide a kind of access gateway AG, to solve the problem.
According to an aspect of the present invention, provide a kind of business management method of access gateway AG, comprising: the service resolution that AG will manage is atomic operation and operating parameter; From configuration file, obtain operating parameter, wherein, save data model in configuration file, data model obtains by the operating parameter of the codec Codec of AG is abstract; Atomic operation is performed, with management service to the operating parameter obtained.
According to a further aspect in the invention, provide a kind of access gateway AG, comprising: parsing module, the service resolution for managing is atomic operation and operating parameter; First memory module, for preserving atomic operation; Second memory module, for preserving configuration file, wherein, saves data model in configuration file, and data model obtains by the operating parameter of the codec Codec of AG is abstract; Acquisition module, for obtaining operating parameter in the configuration file from the second memory module storage; Executive Module, for performing atomic operation, with management service to the operating parameter obtained.
Pass through the present invention, on the basis of weight analysis voice encoding/decoding process chip Codec characteristic, adopt and the concrete operations of Codec and SLIC are resolved to data model and atomic operation two parts, thus build the PSTN Service Control Logic of a kind of brand-new AG, make AG equipment when without supporting when upgraded version that new PSTN line card is maintainable with enhancing equipment, and greatly save AG equipment to the consumption of the physical resources such as internal memory to reduce equipment cost.
Accompanying drawing explanation
Accompanying drawing described herein is used to provide a further understanding of the present invention, and form a application's part, schematic description and description of the present invention, for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the Codec operation principle schematic diagram according to correlation technique;
Fig. 2 is the Codec initialization logic schematic diagram according to correlation technique;
Fig. 3 arranges logical schematic according to the SLIC of correlation technique;
Fig. 4 is the User Status scanning logic schematic diagram according to correlation technique;
Fig. 5 is the AG structured flowchart according to the embodiment of the present invention one;
Fig. 6 is the parsing module structured flowchart according to the embodiment of the present invention one;
Fig. 7 is the acquisition module structured flowchart according to the embodiment of the present invention one;
Fig. 8 is the business management method flow chart according to the embodiment of the present invention two;
Fig. 9 is the Codec initialization flowchart according to the embodiment of the present invention three;
Figure 10 is the SLIC setting procedure figure according to the embodiment of the present invention four;
Figure 11 is the User Status scanning process figure according to the embodiment of the present invention five.
Embodiment
Hereinafter also describe the present invention in detail with reference to accompanying drawing in conjunction with the embodiments.It should be noted that, when not conflicting, the embodiment in the application and the feature in embodiment can combine mutually.
Embodiment one
In the present embodiment, provide a kind of access gateway AG, this AG is except possessing the function of existing AG equipment, as shown in Figure 5, comprise following functional module: parsing module 50, first memory module 52, second memory module 54, acquisition module 56 and Executive Module 58, wherein
Parsing module 50, the service resolution for managing is atomic operation and operating parameter; First memory module 52, for preserving atomic operation; Second memory module 54, for preserving configuration file, wherein, saves data model in configuration file, and data model obtains by the operating parameter of the codec Codec of AG is abstract; Acquisition module 56, for obtaining operating parameter in the configuration file from the second memory module storage; Executive Module 58, for performing atomic operation, with management service to the operating parameter obtained.
The AG that the present embodiment provides, the above-mentioned register read for Codec and SLIC on AG and setting operation are resolved to atomic operation and data model two parts, wherein, atomic operation is stored in above-mentioned first memory module 52, such as, can be, but not limited to realize in the software program of AG, atomic operation partial code amount is less, only comprise the operation to register that can not continue to split that some are basic, comprise and write one or more designated value to Codec serial port, and read one or more numerical value from Codec serial port.A part in addition, by abstract for the characteristic of Codec be a kind of unified data model, for the Codec of every type, with this data model for benchmark, for different trigger events, basic atomic operation parameter is set and forms respective configuration information, and the configuration information gathering all Codec on AG forms configuration file, be stored in above-mentioned second memory module 54, like this after newly increasing a kind of line card type or Codec chip type in AG equipment, without the need to be modified in AG software program in increase process function about new Codec, only need Reconfigurations file, and the configuration file after down loading updating is to above-mentioned second memory module 54,
Compared with existing AG, the AG that the present embodiment provides, does not need the software of upgrading AG equipment just can realize the upgrading of service management.What is more important, can reduce the requirement of software program to physical resource greatly, saves the memory space of AG, and makes original AG equipment control board hardware of need not upgrading just can support new line card.
In implementation process, above-mentioned parsing module 50, the service resolution that will manage is atomic operation and operating parameter, launch, namely pre-estimate the business that will manage and can trigger which event, what kind of operation the processor that these events trigger AG carries out to the SLIC that the Codec on AG and each Codec connects, classify for the operation after refinement, sort out the atomic operation for different trigger event and operating parameter, resolve and sorted atomic operation is stored in above-mentioned first memory module 52, resolve and sorted operating parameter, with the Codec data model taken out for benchmark, form configuration information, gather for configuration file, be stored in above-mentioned second memory module 54.
In implementation process, when certain event triggers certain operation (such as line card insert cause Codec initialization, timer activated user status scan, control message be set to reversed polarity etc.), acquisition module 56 needs the details obtaining required for the details of its corresponding Codec and this operation according to managed object (Codec of the corresponding line card of such as certain slot number or certain road user wherein) inquiry in configuration file.Above-mentioned Executive Module 58, according to the information obtained from configuration file, carries out concrete operations (such as initialization Codec, arrange SLIC pin status, read SLIC pin status) to Codec.For the operation of reading SLIC pin status, acquisition module 56 also needs to continue inquiry SLIC table of contents Executive Module 58 and judges concrete SLIC pin value, to obtain User Status, thus realizes the management of current business.
Fig. 6 is the parsing module structured flowchart according to the embodiment of the present invention one, and in implementation process, preferably, above-mentioned parsing module 50 can comprise: the first resolution unit 500, carries out initialized atomic operation for parsing business triggering to the Codec of AG.In implementation process, pre-estimate the Codec that the business that will manage can trigger AG and carry out initialization, such as, AG system electrification, AG system reset, masterslave switchover or insert line card on AG, the Codec that AG is triggered in capital carries out initialization, for the initialization of the Codec of AG, before AG manages concrete business, above-mentioned first resolution unit 500 parses for initialized atomic operation and operating parameter, to parse and be stored in above-mentioned first memory module 52 for initialized atomic operation, parse for initialized operating parameter, with the Codec data model taken out for benchmark, form configuration information, add in configuration file, be stored in above-mentioned second memory module 54.
Fig. 7 is the acquisition module structured flowchart according to the embodiment of the present invention one, as shown in Figure 7, Codec for AG carries out initialized situation, preferably, acquisition module 56 can comprise: the first acquiring unit 560, for obtaining the identification information of the Codec relevant to business from configuration file, and obtain the initialization command sequence of the Codec relevant to business.
The above-mentioned preferred AG provided, without the need to writing the initialization process function for each Type C odec chip type in the software program of AG, after the Codec chip increasing newtype, without the need to increasing the initialization process function about new Codec in the software program of AG, only need Reconfigurations file, and the configuration file after down loading updating is to above-mentioned second memory module 54, compared with existing AG, greatly can reduce the requirement of software program to physical resource, save the memory space of AG.
In implementation process, preferably, as shown in Figure 6, parsing module 50 can also comprise: the second resolution unit 502, triggers for parsing business the atomic operation Codec of AG being carried out to the setting of chip monitoring SLIC pin status.In implementation process, pre-estimate the business that will manage can trigger and carry out the setting of SLIC pin status to the Codec of AG, such as, the processor of AG receives activation, ring, subscriber line test, reversed polarity, the setting commands such as howl ring sound, capital is triggered and is carried out the setting of SLIC pin status to the Codec of AG, SLIC pin status for AG is arranged, before AG manages concrete business, above-mentioned second resolution unit 502 parses the atomic operation and operating parameter that arrange for SLIC pin status, the atomic operation for the setting of SLIC pin status parsed is stored in above-mentioned first memory module 52, the operating parameter arranged for SLIC pin status parsed, with the Codec data model taken out for benchmark, form configuration information, add in configuration file, be stored in above-mentioned second memory module 54.
As shown in Figure 7, for the SLIC pin status facilities carrying out Codec, preferably, acquisition module 56 can comprise: second acquisition unit 562, for obtaining the identification information of the Codec relevant to business from configuration file, and obtain the SLIC pin status setting command sequence of the Codec relevant to business.
The above-mentioned preferred AG provided, without the need to the SLIC pin status write in the software program of AG for each Type C odec chip type, function is set, after the Codec chip increasing newtype, without the need to the SLIC pin status increased in the software program of AG about new Codec, function is set, only need Reconfigurations file, and the configuration file after down loading updating is to above-mentioned second memory module 54, compared with existing AG, greatly can reduce the requirement of software program to physical resource, save the memory space of AG.
In implementation process, preferably, as shown in Figure 6, parsing module 50 can also comprise: the 3rd resolution unit 504, triggers for parsing business the atomic operation Codec of AG being carried out to the reading of SLIC pin status.In implementation process, pre-estimate the business that will manage and can trigger and carry out SLIC pin to the Codec of AG and read and arrange, such as, the CPU of AG timing to SLIC-IO data scanning once, judges user's current state (such as off-hook, on-hook etc.).Now, capital is triggered and is carried out the reading of SLIC pin status to the Codec of AG, SLIC pin status for Codec reads, before AG manages concrete business, above-mentioned 3rd resolution unit 504 parses the atomic operation and operating parameter that read for SLIC pin status, the atomic operation for the reading of SLIC pin status parsed is stored in above-mentioned first memory module 52, the operating parameter read for SLIC pin status parsed, with the Codec data model taken out for benchmark, form configuration information, add in configuration file, be stored in above-mentioned second memory module 54.
As shown in Figure 7, situation is read for the SLIC pin status carrying out Codec, preferably, acquisition module 56 can comprise: the 3rd acquiring unit 564, for obtaining the identification information of the Codec relevant to business from configuration file, and obtain the SLIC pin status read command sequence of the Codec relevant to business.
The above-mentioned preferred AG provided, without the need to writing the SLIC pin status scanning function for each Type C odec chip type in the software program of AG, after the Codec chip increasing newtype, without the need to increasing the SLIC pin status scanning function about new Codec in the software program of AG, only need Reconfigurations file, and the configuration file after down loading updating is to above-mentioned second memory module 54, compared with existing AG, greatly can reduce the requirement of software program to physical resource, save the memory space of AG.
In implementation process, be stored in the configuration file of the second memory module 54, can be, but not limited to realize configuration file by the form of database table, such as can be, but not limited to comprise: Codec information table, record following information: the line card type inserting all line cards of AG, Codec type in each line card type, the quantity of respective type Codec, and the sheet of respective type Codec selects mode.In addition, according to the common characteristic (corresponding to the operating parameter to atomic operation) of Codec, take out data model, for dissimilar Codec, all utilize this data model, adopt the generation of same form for the operating parameter form of different trigger event, such as Codec initial table, the SLIC set-up mode table of Codec and the SLIC reading manner table of Codec, record the operating parameter (corresponding operating command sequence described above) of corresponding atomic operation respectively, in addition, SILC pin value table is also comprised in configuration file, record the physical meaning of each pin value.
Embodiment two
In the present embodiment, provide a kind of business management method of access gateway AG, the access gateway AG that having realized embodiment one provides manages business.Fig. 8 is the business management method flow chart according to the embodiment of the present invention two, and as shown in Figure 8, the method comprises:
The service resolution that step S802, AG will manage is atomic operation and operating parameter;
Step S804, obtains operating parameter from configuration file, wherein, saves data model in configuration file, and data model obtains by the operating parameter of the codec Codec of AG is abstract;
Step S806, performs atomic operation, with management service to the operating parameter obtained.
Codec kind for speech business signal transacting is a lot, the databook that each producer provides is also varied, but by can find their labor: the realization mechanism of these Codec software interfaces is all consistent, namely by serial communication interface externally processor (CPU) register read is provided and interface is set.Ppu arranges interface by register and completes initialization operation to Codec, to the setting of SLIC chip I/O pin and the setting to some Codec special parameters; The state of SLIC chip I/O pin is read to obtain User Status by register read interface.
The said method that the present embodiment provides, atomic operation and data model two parts are resolved to by for the register read of Codec and SLIC on AG and setting operation, wherein, atomic operation partial code amount is less, only comprise the operation to register that can not continue to split that some are basic, comprise and write one or more designated value to Codec serial port, and read one or more numerical value from Codec serial port.A part in addition, by abstract for the characteristic of Codec be a kind of unified data model, for the Codec of every type, with this data model for benchmark, for different trigger events, basic atomic operation parameter is set and forms respective configuration information, and the configuration information gathering all Codec on AG forms configuration file, like this after newly increasing a kind of line card type or Codec chip type in AG equipment, without the need to be modified in AG software program in increase process function about new Codec, only need Reconfigurations file, and the configuration file after down loading updating is to above-mentioned second memory module 54.
Compared with the PSTN business management method of existing AG, the method that the present embodiment provides, does not need the software of upgrading AG equipment just can realize the upgrading of service management.What is more important, can reduce the requirement of software program to physical resource greatly, saves the memory space of AG, and makes original AG equipment control board hardware of need not upgrading just can support new line card.
In implementation process, in above-mentioned steps S802, the service resolution that will manage is atomic operation and operating parameter, launch, namely pre-estimate the business that will manage and can trigger which event, what kind of operation the processor that these events trigger AG carries out to the SLIC that the Codec on AG and each Codec connects, classify for the operation after refinement, sort out the atomic operation for different trigger event and operating parameter, in specific implementation process, can be, but not limited to realize above-mentioned atomic operation with software program, with configuration file management aforesaid operations parameter.
In implementation process, when certain event triggers certain operation (such as line card insertion initiation Codec initialization, timer activated user status scan, control message are set to reversed polarity etc.), in the process performing above-mentioned steps S804, need the details obtaining required for the details of its corresponding Codec and this operation according to managed object (Codec of the corresponding line card of such as certain slot number or certain road user wherein) inquiry in configuration file.In the process performing above-mentioned steps S806, according to the information obtained from configuration file, concrete operations (such as initialization Codec, arrange SLIC pin status, read SLIC pin status) are carried out to Codec.For the operation of reading SLIC pin status, acquisition module 56 also needs to continue inquiry SLIC table of contents Executive Module 58 and judges concrete SLIC pin value, to obtain User Status, thus realizes the management of current business.
Preferably, the service resolution that AG will manage is that atomic operation comprises: business triggers carries out initialized atomic operation to the Codec of AG, in implementation process, pre-estimate the Codec that the business that will manage can trigger AG and carry out initialization, such as, AG system electrification, AG system reset, masterslave switchover or insert line card on AG, the Codec that AG is triggered in capital carries out initialization, for the initialization of the Codec of AG, before AG manages concrete business, parse for initialized atomic operation and operating parameter.
Codec for AG carries out initialized situation, and the operating parameter of acquisition comprises: the identification information of the Codec relevant to business, and the initialization command sequence of the Codec relevant to business.
The above-mentioned method for optimizing provided, without the need to writing the initialization process function for each Type C odec chip type in the software program of AG, after the Codec chip increasing newtype, without the need to increasing the initialization process function about new Codec in the software program of AG, only need Reconfigurations file, compared with existing AG, greatly can reduce the requirement of software program to physical resource, save the memory space of AG.
Preferably, the service resolution that AG will manage is that atomic operation comprises: business triggers the atomic operation Codec of AG being carried out to the setting of chip monitoring SLIC pin status, in implementation process, pre-estimate the business that will manage can trigger and carry out the setting of SLIC pin status to the Codec of AG, such as, the processor of AG receives activation, ring, subscriber line test, reversed polarity, the setting commands such as howl ring sound, capital is triggered and is carried out the setting of SLIC pin status to the Codec of AG, SLIC pin status for AG is arranged, before AG manages concrete business, parse the atomic operation and operating parameter that arrange for SLIC pin status.
For the SLIC pin status facilities carrying out Codec, the operating parameter of acquisition comprises: the identification information of the Codec relevant to business, and the SLIC pin status setting command sequence of the Codec relevant to business.
The above-mentioned method for optimizing provided, without the need to the SLIC pin status write in the software program of AG for each Type C odec chip type, function is set, after the Codec chip increasing newtype, without the need to the SLIC pin status increased in the software program of AG about new Codec, function is set, only need Reconfigurations file, compared with existing AG, greatly can reduce the requirement of software program to physical resource, save the memory space of AG.
Preferably, the service resolution that AG will manage is that atomic operation comprises: business triggers the atomic operation Codec of AG being carried out to the reading of SLIC pin status, in implementation process, pre-estimate the business that will manage can trigger to the Codec of AG carry out SLIC pin read arrange, such as, the CPU timing of AG to SLIC-IO data scanning once, judges user's current state (such as off-hook, on-hook etc.).Now, all can trigger and carry out the reading of SLIC pin status to the Codec of AG, the SLIC pin status for Codec reads, and before AG manages concrete business, parses the atomic operation and operating parameter that read for SLIC pin status.
Read situation for the SLIC pin status carrying out Codec, the operating parameter of acquisition comprises: the identification information of the Codec relevant to business, and the SLIC pin status read command sequence of the Codec relevant to business.
The above-mentioned method for optimizing provided, without the need to writing the SLIC pin status scanning function for each Type C odec chip type in the software program of AG, after the Codec chip increasing newtype, without the need to increasing the SLIC pin status scanning function about new Codec in the software program of AG, only need Reconfigurations file, compared with existing AG, greatly can reduce the requirement of software program to physical resource, save the memory space of AG.
In implementation process, above-mentioned configuration file, can be, but not limited to realize configuration file by the form of database table, such as can be, but not limited to comprise: Codec information table, record following information: the line card type inserting all line cards of AG, Codec type in each line card type, the quantity of respective type Codec, and the sheet of respective type Codec selects mode.In addition, according to the common characteristic (corresponding to the operating parameter to atomic operation) of Codec, take out data model, for dissimilar Codec, all utilize this data model, adopt the generation of same form for the operating parameter form of different trigger event, such as Codec initial table, the SLIC set-up mode table of Codec and the SLIC reading manner table of Codec, record the operating parameter (corresponding operating command sequence described above) of corresponding atomic operation respectively.
Preferably, described operating parameter also comprises: the physical meaning of SLIC pin-like state value.In implementation process, these SLIC pin-like state value can be, but not limited to be safeguarded by the SILC pin value table in configuration file, the physical meaning of each pin value of SILC pin value table record.And the corresponding relation of line card type, Codec type, SLIC I/O pin and value.
Preferably, the identification information of above-mentioned Codec comprises: the sheet of the type of described Codec, the number of described Codec and described Codec selects mode, can but now do not utilized above-mentioned Codec information table to preserve the identification information of these Codec, and safeguard the corresponding relation of these flag informations.
Following examples are described in further detail to the enforcement of technical solution of the present invention, specifically comprise the management process that in " Codec initialization ", " arranging SLIC " and " scanning User Status " three, event triggers.
Embodiment three
When system electrification or system reset or masterslave switchover or line card in place can time, the Codec relevant to current business triggered on AG carries out initialization.In the present embodiment, obtain operating parameter by query configuration file, run the atomic operation relevant to initialization in AG software program, to realize the initialization operation of relevant Codec according to the operating parameter inquired.
Fig. 9 is the Codec initialization flowchart according to the embodiment of the present invention three, and as shown in Figure 9, this flow process comprises:
Step S902, " Codec information table " in query configuration file, as shown in table 1, inquire about line card-Codec information by slot number, acquisition line card type, Codec type, Codec number, Codec sheet select the contents such as mode.Such as, what insert in slot 2 in current system is line card 1, and this line card comprises 4 Codec1, realizes sheet choosing by GPIO0.
Table 1 Codec information table
Slot number Line card type Codec type Codec number Codec sheet selects
2 Line card 1 Codec1 4 GPIO0
3 Line card 2 Codec2 8 GPIO2
……
Step S904, " Codec initial table " in query configuration file, as shown in table 2, by Codec Query initialization command sequence, obtain the initialization command sequence of each Type C odec.Such as, the command code 04H in table 2 means reset operation to certain Type C odec; 4AH mean select subsequent operation for user; 80H means and arranges GX filter parameter.
Certain Type C odec initial table of table 2
Index Command code There is printenv Number of parameters Parameter 1 Parameter 2 Parameter 3 Parameter 4
1 04H Nothing
2 46H Have 1 Value1
3 4AH Have 2 Value1 Value2
4 80H Have 1 Value1
……
Step S906, performs initialization action sequence successively according to Codec initial table.
Embodiment four
The setting to SLIC pin can be triggered when AG equipment manager issues and automatically issues the administration order to user to the administration order of user or AG equipment according to actual conditions.In the present embodiment, obtain operating parameter by query configuration file, run in AG software program according to the operating parameter inquired and relevant atomic operation is set to SLIC pin, to realize the SLIC pin setting operation of relevant Codec.
Figure 10 is the SLIC setting procedure figure according to the embodiment of the present invention four, and as shown in Figure 10, this flow process comprises:
Step S1002, " Codec information table " in query configuration file, as shown in table 1, inquire about line card-Codec information by slot number, acquisition line card type, Codec type, Codec number, Codec sheet select the contents such as mode.
Step S1004, in query configuration file " SLIC set-up mode table ", as shown in table 3, by Codec type queries SLIC set-up mode, to obtain SLIC setting command sequence, wherein, the command code that designated user is corresponding is comprised, in implementation process, the mode of operation of different Codec type is variant, such as, in Codec1, need first to select user, then SLIC is set; And in Codec2, only need an order just to achieve and the SLIC of designated user is arranged, but be now different for the command code of different user.
Table 3 SLIC set-up mode table
Codec type User index Order number Command code 1 Order 1 value Command code 2
Codec Class1 User 1 2 4AH 01H 54H
Codec Class1 User 2 2 4AH 02H 54H
Codec Class1 User 3 2 4AH 03H 54H
Codec Class1 User 4 2 4AH 04H 54H
Codec type 2 User 1 1 D0H
Codec type 2 User 2 1 D4H
Codec type 2 User 3 1 D8H
Codec type 2 User 4 1 DCH
……
Step S1006, " SLIC arranges contents table " in query configuration file, as shown in table 4, inquire about SLIC by type of message and content is set, obtain and concrete value is set.Such as, for the Codec1 of line card 1, the Bit0 pin of SLIC is set to 1 and means reversed polarity; The Bit1 of SLIC is set to 0 and means howl ring sound; The Bit2 of SLIC is set to 1 and means ring.
Table 4 SLIC arranges contents table
Line card type Codec type SLIC I/O pin Value Corresponding type of message
Line card 1 Codec1 Bit0 1 Reversed polarity
Line card 1 Codec1 Bit1 0 Howl ring sound
Line card 1 Codec1 Bit2 1 Ring
……
Step S1008, the SLIC that the information and executing obtained according to above-mentioned inquiry is concrete arranges atomic operation.
It should be noted that, above-mentioned steps S1004 and step S1006 is all the preparation performing atomic operation, does not have strict execution sequence, in implementation process, first can perform step S1004, also first can perform step S1006.
Embodiment five
The timer handler meeting clocked flip that AG device interior runs is to the scanning of User Status, in the present embodiment, operating parameter is obtained by query configuration file, run in AG software program according to the operating parameter inquired and read relevant atomic operation to SLIC pin, to realize the SLIC pin read operation of relevant Codec.
Figure 11 is the User Status scanning process figure according to the embodiment of the present invention five, and as shown in figure 11, this flow process comprises:
Step S1102, " Codec information table " in query configuration file, as shown in table 1, inquire about line card-Codec information by slot number, acquisition line card type, Codec type, Codec number, Codec sheet select the contents such as mode.
Step S1104, " SLIC reading manner table " in query configuration file, as shown in table 5, by Codec type queries SLIC reading manner, obtain SLIC read command sequence, wherein, comprise the command code that designated user is corresponding.The mode of operation of different Codec type is variant, such as, in Codec1, needs first to select user, then reads SLIC; And in Codec2, only need one to order the reading just achieved designated user SLIC pin status, but be now different for the command code of different user.
Table 5 SLIC reading manner table
Codec type User index Order number Command code 1 Command code 1 value Command code 2
Codec1 User 1 2 4AH 01H 55H
Codec1 User 2 2 4AH 02H 55H
Codec1 User 3 2 4AH 03H 55H
Codec1 User 4 2 4AH 04H 55H
Codec2 User 1 1 D3H
Codec2 User 2 1 D7H
Codec2 User 3 1 DBH
Codec2 User 4 1 DFH
……
Step S1106, " SLIC reading of content table " in query configuration file, as shown in table 6, by line card/Codec type queries SLIC reading of content, obtain the physical meaning of designated user SLIC pin status.Such as, for the Bit2 of the corresponding SLIC of user 1 in Codec1 in line card 1, value 1 means user's off-hook, and value 0 means user's on-hook.
Table 6 SLIC reading of content table
Line card type Codec type SLIC I/O pin Value User Status
Line card 1 Codec1 Bit2 1 User's off-hook
Line card 1 Codec1 Bit2 0 User's on-hook
Line card 2 Codec2 Bit6 1 User's on-hook
Line card 2 Codec2 Bit6 0 User's off-hook
……
Step S1108, run user state machine processing logic, upgrades current user state.
Step S1110, if User Status changes, then reports, otherwise does not report.
It should be noted that, above-mentioned steps S1104 and step S1106 is all the preparation performing atomic operation, does not have strict execution sequence, in implementation process, first can perform step S1004, also first can perform step S1006.
From above description, can find out, the present invention on the basis of weight analysis voice encoding/decoding process chip Codec characteristic, data model and atomic operation two parts are resolved to by the concrete operations of Codec and SLIC, build the PSTN Service Control Logic of a kind of brand-new AG, the technical scheme that the embodiment of the present invention provides, make AG equipment when without supporting when upgraded version that new PSTN line card is maintainable with enhancing equipment, and greatly save AG equipment to the consumption of the physical resources such as internal memory to reduce equipment cost.
Obviously, those skilled in the art should be understood that, above-mentioned of the present invention each module or each step can realize with general calculation element, they can concentrate on single calculation element, or be distributed on network that multiple calculation element forms, alternatively, they can realize with the executable program code of calculation element, thus, they can be stored and be performed by calculation element in the storage device, and in some cases, step shown or described by can performing with the order be different from herein, or they are made into each integrated circuit modules respectively, or the multiple module in them or step are made into single integrated circuit module to realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. a business management method for access gateway AG, is characterized in that, comprising:
The service resolution that described AG will manage is atomic operation and operating parameter;
From configuration file, obtain described operating parameter, wherein, save data model in described configuration file, described data model obtains by the operating parameter of the codec Codec of described AG is abstract;
Described atomic operation is performed, to manage described business to the described operating parameter obtained.
2. method according to claim 1, is characterized in that,
The service resolution that described AG will manage is that atomic operation comprises: described business triggers carries out initialized atomic operation to the Codec of described AG;
The operating parameter of described acquisition comprises: the identification information of the Codec relevant to described business, and the initialization command sequence of the Codec relevant to described business.
3. method according to claim 1, is characterized in that,
The service resolution that described AG will manage is that atomic operation comprises: described business triggers the atomic operation Codec of described AG being carried out to the setting of chip monitoring SLIC pin status;
The operating parameter of described acquisition comprises: the identification information of the Codec relevant to described business, and the SLIC pin status setting command sequence of the Codec relevant to described business.
4. method according to claim 1, is characterized in that,
The service resolution that described AG will manage is that atomic operation comprises: described business triggers the atomic operation Codec of described AG being carried out to the reading of SLIC pin status;
The operating parameter of described acquisition comprises: the identification information of the Codec relevant to described business, and the SLIC pin status read command sequence of the Codec relevant to described business.
5. the method according to claim 3 or 4, is characterized in that, described operating parameter also comprises: the physical meaning of SLIC pin-like state value.
6. the method according to any one of claim 2 to 4, is characterized in that, the identification information of described Codec comprises: the sheet of the type of described Codec, the number of described Codec and described Codec selects mode.
7. an access gateway AG, is characterized in that, comprising:
Parsing module, the service resolution for managing is atomic operation and operating parameter;
First memory module, for preserving described atomic operation;
Second memory module, for preserving configuration file, wherein, saves data model in described configuration file, and described data model obtains by the operating parameter of the codec Codec of described AG is abstract;
Acquisition module, for obtaining operating parameter in the configuration file from described second memory module storage;
Executive Module, for performing described atomic operation, to manage described business to the described operating parameter obtained.
8. AG according to claim 7, is characterized in that,
Described parsing module, comprising: the first resolution unit, carries out initialized atomic operation for parsing the triggering of described business to the Codec of described AG;
Described acquisition module, comprising: the first acquiring unit, for obtaining the identification information of the Codec relevant to described business from described configuration file, and obtains the initialization command sequence of the Codec relevant to described business.
9. AG according to claim 7, is characterized in that,
Described parsing module, comprising: the second resolution unit, triggers for parsing described business the atomic operation Codec of described AG being carried out to the setting of chip monitoring SLIC pin status;
Described acquisition module, comprising: second acquisition unit, for obtaining the identification information of the Codec relevant to described business from described configuration file, and obtains the SLIC pin status setting command sequence of the Codec relevant to described business.
10. AG according to claim 7, is characterized in that,
Described parsing module, comprising: the 3rd resolution unit, triggers for parsing described business the atomic operation Codec of described AG being carried out to the reading of SLIC pin status;
Described acquisition module, comprising: the 3rd acquiring unit, for obtaining the identification information of the Codec relevant to described business from described configuration file, and obtains the SLIC pin status read command sequence of the Codec relevant to described business.
CN201010192731.2A 2010-05-25 2010-05-25 Business management method of access gateway and access gateway Active CN101860627B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010192731.2A CN101860627B (en) 2010-05-25 2010-05-25 Business management method of access gateway and access gateway

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010192731.2A CN101860627B (en) 2010-05-25 2010-05-25 Business management method of access gateway and access gateway

Publications (2)

Publication Number Publication Date
CN101860627A CN101860627A (en) 2010-10-13
CN101860627B true CN101860627B (en) 2015-01-28

Family

ID=42946276

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010192731.2A Active CN101860627B (en) 2010-05-25 2010-05-25 Business management method of access gateway and access gateway

Country Status (1)

Country Link
CN (1) CN101860627B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102916841B (en) * 2012-10-30 2015-07-22 北京奇虎科技有限公司 Operation system and operation management system of virtual server
CN102932178B (en) * 2012-10-30 2016-07-13 北京奇虎科技有限公司 A kind of method realizing LVS automatization O&M and a kind of operation management equipment
CN104092630B (en) * 2014-07-18 2017-04-12 国家电网公司 Configuration file for automatic operation of switchboards and operation method thereof
CN109828742B (en) * 2019-02-01 2022-02-18 珠海全志科技股份有限公司 Audio multi-channel synchronous output method, computer device and computer readable storage medium
CN111625568B (en) * 2020-05-22 2022-04-01 广东玖零科技有限公司 Big data statistics collection algorithm

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101217604A (en) * 2004-09-07 2008-07-09 华为技术有限公司 A packet domain service signal processing system and the corresponding method

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030214939A1 (en) * 2002-05-15 2003-11-20 Ismail I. Eldumiati Method and apparatus for providing life line service to access gateway telephony subscribers
US7193739B2 (en) * 2002-08-02 2007-03-20 Texas Instruments Incorporated Real time fax-over-packet for broadband access gateways
CN101075953A (en) * 2006-05-19 2007-11-21 华为技术有限公司 Method and system for controlling telecommunication equipment service
US8208516B2 (en) * 2006-07-14 2012-06-26 Qualcomm Incorporated Encoder initialization and communications
CN101339532B (en) * 2007-07-06 2012-09-05 中国银联股份有限公司 Web application system automatized test method and apparatus

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101217604A (en) * 2004-09-07 2008-07-09 华为技术有限公司 A packet domain service signal processing system and the corresponding method

Also Published As

Publication number Publication date
CN101860627A (en) 2010-10-13

Similar Documents

Publication Publication Date Title
CN101860627B (en) Business management method of access gateway and access gateway
US7739693B2 (en) Generic application program interface for native drivers
CN111625452A (en) Flow playback method and system
CN103631703B (en) Software performance testing method and device in Android device
CN104821954B (en) A kind of cross-platform remote procedure calling (PRC) method
CN101276271A (en) Method and interceptor system facing to tangent plane programming
CN109445949A (en) A kind of data collection system and collecting method
CN102054173B (en) Smart card and method for integrating multiple telecom applications on same
CN102495797A (en) Smart card testing device and method
CN102891918A (en) Method for configurating Bluetooth SAP (SIM Access Profile) of communicator
CN101383871A (en) Network element configuration implementing method and apparatus
CN107679718A (en) List distribution method, equipment and computer-readable recording medium
CN107451060A (en) A kind of across mobile terminal automated test frame system
CN103686788A (en) Terminal and network parameter configuration method and device thereof
CN103023984A (en) Terminal application server and application log filtering method thereof
CN103257893B (en) A kind of methods, devices and systems obtaining input state-event
CN101604290A (en) A kind of background module method of testing and background module test macro
CN109932588B (en) Avionics equipment verification test engine
CN112671878B (en) Block chain information subscription method, device, server and storage medium
CN103067909A (en) Method and device for achieving locking card
CN106020822B (en) Weak reference implementation method and device towards Pool object
CN101442539A (en) Method and apparatus for implementing field filtration
US20090302119A1 (en) Chip Card, and Method for the Software-Based Modification of a Chip Card
CN104394518A (en) Short message sending method and short message platform
CN106874191B (en) Intelligent database execution method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant