CN101860627A - 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
CN101860627A
CN101860627A CN201010192731A CN201010192731A CN101860627A CN 101860627 A CN101860627 A CN 101860627A CN 201010192731 A CN201010192731 A CN 201010192731A CN 201010192731 A CN201010192731 A CN 201010192731A CN 101860627 A CN101860627 A CN 101860627A
Authority
CN
China
Prior art keywords
codec
atomic operation
business
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.)
Granted
Application number
CN201010192731A
Other languages
Chinese (zh)
Other versions
CN101860627B (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

Images

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 also is faced with increasing competition, how keeping cheaply elevator system functional characteristic and performance index under the prerequisite, is a very important problem for the system design of AG equipment.
On the one hand, the ply-yarn drill ability of high power capacity, 64 road PSTN ply-yarn drills, the 32 arrowband unification ply-yarn drill of having a lot of social connections for example can promote the adaptability and the competitiveness of AG equipment greatly; Introduce how tame codec Codec supplier and can eliminate exclusive supply from commercial affairs, minimizing chip risk out of stock also reduces cost.
On the other hand, above-mentioned these behaves all can be introduced the Codec of multiple model, and in order to keep the AG compatibility of apparatus and to keep low-cost advantage, just wish can be under lower physical resource configuration (for example adopting the system of chip microprocessor) can continued support to the management of multiple Codec.
Public switched telephone network (the Public SwitchTelephone Network that in AG equipment, adopts at present, PSTN) the business management method situation that can not satisfy above-mentioned multiple ply-yarn drill, multiple Codec gradually and deposit, and along with the continuing to increase of Codec kind, original hardware system (for example adopting the system of chip microprocessor) physical resource deficiency (for example limited restriction of storage space) and the defective that causes is apparent more outstanding to code capacity.
Here in conjunction with the accompanying drawings existing P STN business management method is done an introduction, to describe the problems referred to above in detail.
As shown in Figure 1, Codec is descending to connect substation by chip monitoring SLIC, up by pcm bus access T net, provides control interface by universal serial bus for microprocessor simultaneously.Codec type or quantity difference that different ply-yarn drills uses, the number of users that different Codec can support are also different.With certain PSTN ply-yarn drill is example, every Codec is descending to insert No. 4 phones by SLIC, and every ply-yarn drill comprises 8 Codec, supports 32 tunnel users altogether, every road CU 64K time slot, 32 tunnel users converge the T net that inserts master control borad into 2M HW by backboard through pcm bus.
The logic relevant with Codec mainly comprises three parts:
(1) initialization: when system power-on reset or ply-yarn drill insert machine frame online after, need carry out initialization to Codec and SLIC, comprise that operator scheme setting, clock setting, PCM time slot connect settings, SLIC-IO initial setting up, filter parameter setting, gaining is provided with etc.
Processing logic during a kind of new ply-yarn drill type of every increase, need increase a kind of Codec initialization function of correspondence newly as shown in Figure 2 in code.
(2) SLIC is set: when CPU receives after activation, ring, subscriber line test, reversed polarity, howl ring sound etc. are provided with order, promptly finish relevant setting to the SLIC-IO data by Codec.
Processing logic during a kind of new ply-yarn drill type of every increase, need increase a kind of new processing function at every kind of function as shown in Figure 3.
(3) scanning User Status: CPU regularly to the SLIC-IO data scanning once judges user's current state (for example off-hook, on-hook etc.).
Processing logic during a kind of new ply-yarn drill type of every increase, needs to increase a kind of scanning input function of correspondence as shown in Figure 4.
As can be seen, in the existing PSTN business management method, a kind of new ply-yarn drill type of every increase or Codec type just need to increase the processing function of newtype.Like this, along with the increase of Codec type is enabled by system, code capacity can be increasing, after it breaks through the physical restriction of chip microprocessor system, just certainly will bring serious problem.And when when the AG of network operation equipment need be enabled novel line card owing to reasons such as maintenance or dilatations, the corresponding version of must upgrading has increased extra maintenance workload.
Summary of the invention
Main purpose of the present invention is to provide a kind of business management method and IAD of access gateway AG, to address the above problem.
According to an aspect of the present invention, provide a kind of business management method of access gateway AG, having comprised: the service resolution that AG will manage is atomic operation and operating parameter; Obtain operating parameter from configuration file, wherein, preserved data model in the configuration file, data model is by abstract the obtaining of operating parameter of the codec Codec of AG; The operating parameter that obtains is carried out atomic operation, with management service.
According to a further aspect in the invention, provide a kind of access gateway AG, having comprised: parsing module, the service resolution that is used for managing is atomic operation and operating parameter; First memory module is used to preserve atomic operation; Second memory module is used to preserve configuration file, wherein, has preserved data model in the configuration file, and data model is by abstract the obtaining of operating parameter of the codec Codec of AG; Acquisition module is used for obtaining operating parameter from the configuration file of second memory module storage; Executive Module is used for the operating parameter that obtains is carried out atomic operation, with management service.
By the present invention, on the basis of weight analysis voice encoding/decoding process chip Codec characteristic, employing resolves to data model and atomic operation two parts with the concrete operations of Codec and SLIC, thereby make up the PSTN Service Control Logic of a kind of brand-new AG, make AG equipment support under without the situation of upgraded version new PSTN ply-yarn drill with enhancing equipment maintainability, and save greatly AG equipment to the consumption of physical resources such as internal memory to reduce equipment cost.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes the application's a part, and illustrative examples of the present invention and explanation thereof are used to explain the present invention, do not constitute improper qualification 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 is that the SLIC according to correlation technique is provided with logical schematic;
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 invention one;
Fig. 6 is the parsing module structured flowchart according to the embodiment of the invention one;
Fig. 7 is the acquisition module structured flowchart according to the embodiment of the invention one;
Fig. 8 is the business management method flow chart according to the embodiment of the invention two;
Fig. 9 is the Codec initialization flowchart according to the embodiment of the invention three;
Figure 10 is that the SLIC according to the embodiment of the invention four is provided with flow chart;
Figure 11 is the User Status scanning flow chart according to the embodiment of the invention five.
Embodiment
Hereinafter will describe the present invention with reference to the accompanying drawings and in conjunction with the embodiments in detail.Need to prove that under the situation of not conflicting, embodiment and the feature among the embodiment among the application can make up mutually.
Embodiment one
In the present embodiment, provide a kind of access gateway AG, this AG is except that the function that possesses 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 that is used for managing is atomic operation and operating parameter; First memory module 52 is used to preserve atomic operation; Second memory module 54 is used to preserve configuration file, wherein, has preserved data model in the configuration file, and data model is by abstract the obtaining of operating parameter of the codec Codec of AG; Acquisition module 56 is used for obtaining operating parameter from the configuration file of second memory module storage; Executive Module 58 is used for the operating parameter that obtains is carried out atomic operation, with management service.
The AG that present embodiment provides, the above-mentioned register of going up Codec and SLIC at AG read with setting operation resolve to atomic operation and data model two parts, wherein, atomic operation is stored in above-mentioned first memory module 52, for example, can but be not limited in the software program of AG, realize, atomic operation partial code amount is less, only comprise some basic can not continue to cut apart to operation registers, comprise to the Codec serial port writing one or more designated values, and read one or more numerical value from the Codec serial port.A part of in addition, with the characteristic of Codec abstract be a kind of uniform data model, Codec for every type, with this data model is benchmark, at different trigger events, basic atomic operation parameter formation configuration information separately is set, and the configuration information that gathers last all Codec of AG forms configuration file, be stored in above-mentioned second memory module 54, like this after increasing a kind of ply-yarn drill type or Codec chip type in the AG equipment newly, need not to be modified in the processing function that increases in the software program of AG about new Codec, only need more new configuration file, and the configuration file behind the down loading updating gets final product to above-mentioned second memory module 54
Compare with existing AG, the AG that present embodiment provides, the software of the AG equipment that do not need to upgrade just can be realized 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 needn't upgrading just can support new ply-yarn drill.
In implementation process, above-mentioned parsing module 50, the service resolution that will manage is atomic operation and operating parameter, launch, promptly pre-estimate the business that to manage and can trigger which incident, what kind of operation the processor of these Event triggered AG carries out to the SLIC that Codec and each Codec connected on the AG, classify at the operation after the refinement, sort out atomic operation and operating parameter at different trigger events, resolving also, sorted atomic operation is stored in above-mentioned first memory module 52, resolve and sorted operating parameter, with the Codec data model that takes out is benchmark, form configuration information, gather and be configuration file, be stored in above-mentioned second memory module 54.
In implementation process, when certain Event triggered certain when operation (for example ply-yarn drill insert cause Codec initialization, timer trigger User Status scanning, control messages is set to reversed polarity etc.), acquisition module 56 need obtain the details of its corresponding Codec and this operates needed details according to managed object (for example Codec of the corresponding ply-yarn drill of certain slot number or certain road user wherein) inquiry in configuration file.Above-mentioned Executive Module 58 is according to the information that obtains from configuration file, and Codec is carried out concrete operations (for example initialization Codec, the SLIC pin status is set, reads the SLIC pin status).For the operation of reading the SLIC pin status, acquisition module 56 also needs to continue 58 pairs of concrete SLIC pin values of inquiry SLIC table of contents Executive Module and makes judgement, obtaining User Status, thereby realizes the management of current business.
Fig. 6 is the parsing module structured flowchart according to the embodiment of the invention one, and in implementation process, preferably, above-mentioned parsing module 50 can comprise: first resolution unit 500 is used to parse the professional Codec that triggers AG and carries out initialized atomic operation.In implementation process, pre-estimate the Codec that the business that will manage can trigger AG and carry out initialization, for example, the AG system powers on, AG system reset, masterslave switchover or on AG, insert ply-yarn drill, the Codec that AG is triggered in the capital carries out initialization, initialization at the Codec of AG, before AG manages concrete business, above-mentioned first resolution unit 500 parses at initialized atomic operation and operating parameter, to parse at initialized atomic operation and be stored in above-mentioned first memory module 52, parse at initialized operating parameter, with the Codec data model that takes out is benchmark, form configuration information, add in the 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 invention one, as shown in Figure 7, Codec at AG carries out initialized situation, preferably, acquisition module 56 can comprise: first acquiring unit 560, be used for obtaining the identification information of the Codec relevant with business from configuration file, and the initialization command sequence of obtaining the Codec relevant with business.
The above-mentioned preferred AG that provides, need not in the software program of AG, to write initialization process function at each Type C odec chip type, behind the Codec chip that increases newtype, need not in the software program of AG, to increase initialization process function about new Codec, only need more new configuration file, and the configuration file behind the down loading updating gets final product to above-mentioned second memory module 54, compare with existing AG, can reduce the requirement of software program greatly, save the memory space of AG physical resource.
In implementation process, preferably, as shown in Figure 6, parsing module 50 can also comprise: second resolution unit 502 is used to parse the professional Codec that triggers AG and carries out the atomic operation that chip monitoring SLIC pin status is provided with.In implementation process, pre-estimate the Codec that the business that will manage can trigger AG and carry out the setting of SLIC pin status, for example, the processor of AG receives activation, ring, subscriber line test, reversed polarity, howl ring sound etc. is provided with order, the Codec that trigger AG in the capital carries out the setting of SLIC pin status, SLIC pin status at AG is provided with, before AG manages concrete business, above-mentioned second resolution unit 502 parses atomic operation and the operating parameter that is provided with at the SLIC pin status, the atomic operation at the setting of SLIC pin status that parses is stored in above-mentioned first memory module 52, the operating parameter that parses at the setting of SLIC pin status, with the Codec data model that takes out is benchmark, form configuration information, add in the configuration file, be stored in above-mentioned second memory module 54.
As shown in Figure 7, at the SLIC pin status that carries out Codec situation is set, preferably, acquisition module 56 can comprise: second acquisition unit 562, be used for obtaining identification information with professional relevant Codec, and the SLIC pin status that obtains the Codec relevant with business is provided with command sequence from configuration file.
The above-mentioned preferred AG that provides, the SLIC pin status that need not to write in the software program of AG at each Type C odec chip type is provided with function, behind the Codec chip that increases newtype, the SLIC pin status that need not to increase about new Codec in the software program of AG is provided with function, only need more new configuration file, and the configuration file behind the down loading updating gets final product to above-mentioned second memory module 54, compare with existing AG, can reduce the requirement of software program greatly, save the memory space of AG physical resource.
In implementation process, preferably, as shown in Figure 6, parsing module 50 can also comprise: the 3rd resolution unit 504 is used to parse the professional Codec that triggers AG and carries out the atomic operation that the SLIC pin status reads.In implementation process, pre-estimate the business that will manage and can trigger Codec to AG and carry out the SLIC pin and read setting, for example, the CPU of AG regularly to the SLIC-IO data scanning once judges user's current state (for example off-hook, on-hook etc.).At this moment, the capital is triggered Codec to AG and is carried out the SLIC pin status and read, SLIC pin status at Codec reads, before AG manages concrete business, above-mentioned the 3rd resolution unit 504 parses atomic operation and the operating parameter that reads at the SLIC pin status, the atomic operation that reads at the SLIC pin status that parses is stored in above-mentioned first memory module 52, the operating parameter that reads at the SLIC pin status that parses, with the Codec data model that takes out is benchmark, form configuration information, add in the configuration file, be stored in above-mentioned second memory module 54.
As shown in Figure 7, read situation at the SLIC pin status that carries out Codec, preferably, acquisition module 56 can comprise: the 3rd acquiring unit 564, be used for obtaining the identification information of the Codec relevant with business from configuration file, and the SLIC pin status read command sequence of obtaining the Codec relevant with business.
The above-mentioned preferred AG that provides, need not in the software program of AG, to write SLIC pin status scanning function at each Type C odec chip type, behind the Codec chip that increases newtype, need not in the software program of AG, to increase SLIC pin status scanning function about new Codec, only need more new configuration file, and the configuration file behind the down loading updating gets final product to above-mentioned second memory module 54, compare with existing AG, can reduce the requirement of software program greatly, save the memory space of AG physical resource.
In implementation process, be stored in the configuration file of second memory module 54, can but the form that is not limited to by database table realizes configuration file, for example can but be not limited to comprise: the Codec information table, write down following information: the ply-yarn drill type of inserting all ply-yarn drills of AG, Codec type on each ply-yarn drill type, the quantity of respective type Codec, and the sheet of respective type Codec selects mode.In addition, common characteristic (corresponding to operating parameter) according to Codec to atomic operation, take out data model, at dissimilar Codec, all utilize this data model, adopt the operating parameter form of same form generation at different trigger events, Codec initial table for example, the SLIC set-up mode table of Codec and the SLIC of Codec read the mode table, write down the operating parameter (as above-mentioned corresponding operating command sequence) of corresponding atomic operation respectively, in addition, also comprise SILC pin list of values in the configuration file, write down the physical meaning of each pin value.
Embodiment two
In the present embodiment, provide a kind of business management method of access gateway AG, realized that the access gateway AG that embodiment one provides manages business.Fig. 8 is the business management method flow chart according to the embodiment of the invention two, and as shown in Figure 8, this method comprises:
Step S802, the service resolution that AG will manage are atomic operation and operating parameter;
Step S804 obtains operating parameter from configuration file, wherein, preserved data model in the configuration file, and data model is by abstract the obtaining of operating parameter of the codec Codec of AG;
Step S806 carries out atomic operation to the operating parameter that obtains, with management service.
The Codec kind that is used for the speech business signal processing is a lot, the databook that each producer provides is also varied, but can find by the labor to them: the realization mechanism of these Codec software interfaces all is consistent, promptly provides register to read and interface is set to ppu (CPU) by serial communication interface.Ppu by register be provided with interface finish initialization operation to Codec, to the setting of SLIC chip I pin and to the setting of number of C odec special parameter; Read interface by register and read the state of SLIC chip I pin to obtain User Status.
The said method that present embodiment provides, to read with setting operation at the register of last Codec of AG and SLIC and resolve to atomic operation and data model two parts, wherein, atomic operation partial code amount is less, only comprise some basic can not continue to cut apart to operation registers, comprise to the Codec serial port writing one or more designated values, and read one or more numerical value from the Codec serial port.A part of in addition, with the characteristic of Codec abstract be a kind of uniform data model, Codec for every type, with this data model is benchmark, at different trigger events, basic atomic operation parameter formation configuration information separately is set, and the configuration information that gathers last all Codec of AG forms configuration file, like this after increasing a kind of ply-yarn drill type or Codec chip type in the AG equipment newly, need not to be modified in the processing function that increases in the software program of AG about new Codec, only need more new configuration file, and the configuration file behind the down loading updating gets final product to above-mentioned second memory module 54.
Compare with the PSTN business management method of existing AG, the method that present embodiment provides, the software of the AG equipment that do not need to upgrade just can be realized 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 needn't upgrading just can support new ply-yarn drill.
In implementation process, among the above-mentioned steps S802, the service resolution that will manage is atomic operation and operating parameter, launch, promptly pre-estimate the business that to manage and can trigger which incident, what kind of operation the processor of these Event triggered AG carries out to the SLIC that Codec and each Codec connected on the AG, classify at the operation after the refinement, sort out atomic operation and operating parameter at different trigger events, in specific implementation process, can but be not limited to realize above-mentioned atomic operation with software program, with configuration file management aforesaid operations parameter.
In implementation process, when certain operation of certain Event triggered (for example ply-yarn drill insertion initiation Codec initialization, timer trigger User Status scanning, control messages is set to reversed polarity etc.), in the process of carrying out above-mentioned steps S804, need obtain the details of its corresponding Codec and this operates needed details according to managed object (for example Codec of the corresponding ply-yarn drill of certain slot number or certain road user wherein) inquiry in configuration file.In the process of carrying out above-mentioned steps S806,, Codec is carried out concrete operations (for example initialization Codec, the SLIC pin status is set, reads the SLIC pin status) according to the information that from configuration file, obtains.For the operation of reading the SLIC pin status, acquisition module 56 also needs to continue 58 pairs of concrete SLIC pin values of inquiry SLIC table of contents Executive Module and makes judgement, obtaining User Status, thereby realizes the management of current business.
Preferably, the service resolution that AG will manage is that atomic operation comprises: the professional Codec that triggers AG carries out initialized atomic operation, in implementation process, pre-estimate the Codec that the business that will manage can trigger AG and carry out initialization, for example, the AG system powers on, AG system reset, masterslave switchover or insert ply-yarn drill on AG, the Codec that AG is triggered in the capital carries out initialization, initialization at the Codec of AG, before AG manages concrete business, parse at initialized atomic operation and operating parameter.
Codec at AG carries out initialized situation, and the operating parameter that obtains comprises: the identification information of the Codec relevant with business, and the initialization command sequence of the Codec relevant with business.
The above-mentioned method for optimizing that provides, need not in the software program of AG, to write initialization process function at each Type C odec chip type, behind the Codec chip that increases newtype, need not in the software program of AG, to increase initialization process function about new Codec, only needing more, new configuration file gets final product, compare with existing AG, can reduce the requirement of software program greatly, save the memory space of AG physical resource.
Preferably, the service resolution that AG will manage is that atomic operation comprises: the professional Codec that triggers AG carries out the atomic operation that chip monitoring SLIC pin status is provided with, in implementation process, pre-estimate the Codec that the business that will manage can trigger AG and carry out the setting of SLIC pin status, for example, the processor of AG receives activation, ring, subscriber line test, reversed polarity, howl ring sound etc. is provided with order, the Codec that trigger AG in the capital carries out the setting of SLIC pin status, SLIC pin status at AG is provided with, before AG manages concrete business, parse the atomic operation and the operating parameter that are provided with at the SLIC pin status.
At the SLIC pin status that carries out Codec situation is set, the operating parameter that obtains comprises: the identification information of the Codec relevant with business, and the SLIC pin status of the Codec relevant with business is provided with command sequence.
The above-mentioned method for optimizing that provides, the SLIC pin status that need not to write in the software program of AG at each Type C odec chip type is provided with function, behind the Codec chip that increases newtype, the SLIC pin status that need not to increase about new Codec in the software program of AG is provided with function, only needing more, new configuration file gets final product, compare with existing AG, can reduce the requirement of software program greatly, save the memory space of AG physical resource.
Preferably, the service resolution that AG will manage is that atomic operation comprises: the professional Codec that triggers AG carries out the atomic operation that the SLIC pin status reads, in implementation process, pre-estimating the business that will manage can trigger Codec to AG and carry out the SLIC pin and read setting, for example, the CPU of AG regularly to the SLIC-IO data scanning once judges user's current state (for example off-hook, on-hook etc.).At this moment, all can trigger Codec to AG and carry out the SLIC pin status and read, read, before AG manages concrete business, parse the atomic operation and the operating parameter that read at the SLIC pin status at the SLIC pin status of Codec.
Read situation at the SLIC pin status that carries out Codec, the operating parameter that obtains comprises: the identification information of the Codec relevant with business, and the SLIC pin status read command sequence of the Codec relevant with business.
The above-mentioned method for optimizing that provides, need not in the software program of AG, to write SLIC pin status scanning function at each Type C odec chip type, behind the Codec chip that increases newtype, need not in the software program of AG, to increase SLIC pin status scanning function about new Codec, only needing more, new configuration file gets final product, compare with existing AG, can reduce the requirement of software program greatly, save the memory space of AG physical resource.
In implementation process, above-mentioned configuration file, can but the form that is not limited to by database table realizes configuration file, for example can but be not limited to comprise: the Codec information table, write down following information: the ply-yarn drill type of inserting all ply-yarn drills of AG, Codec type on each ply-yarn drill type, the quantity of respective type Codec, and the sheet of respective type Codec selects mode.In addition, common characteristic (corresponding to operating parameter) according to Codec to atomic operation, take out data model, at dissimilar Codec, all utilize this data model, adopt the operating parameter form of same form generation, for example the Codec initial table at different trigger events, the SLIC set-up mode table of Codec and the SLIC of Codec read the mode table, write down the operating parameter (as above-mentioned corresponding operating command sequence) of corresponding atomic operation respectively.
Preferably, described operating parameter also comprises: the physical meaning of SLIC pin status value.In implementation process, these SLIC pin status values can but be not limited to safeguard that by the SILC pin list of values in the configuration file SILC pin list of values writes down the physical meaning of each pin value.And the corresponding relation of ply-yarn drill type, Codec type, SLIC IO 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 will be described in further detail the enforcement of technical solution of the present invention, specifically comprise the management process of Event triggered in " Codec initialization ", " SLIC is set " and " the scanning User Status " three.
Embodiment three
When system power on or system reset or masterslave switchover or ply-yarn drill on the throne can the time, the Codec relevant with current business that triggers on the AG carries out initialization.In the present embodiment, obtain operating parameter, according to the atomic operation relevant in the operating parameter operation AG software program that inquires, to realize the initialization operation of relevant Codec with initialization by the query configuration file.
Fig. 9 is the Codec initialization flowchart according to the embodiment of the invention three, and as shown in Figure 9, this flow process comprises:
Step S902, " the Codec information table " in the query configuration file, as shown in table 1, by slot number inquiry ply-yarn drill-Codec information, acquisition ply-yarn drill type, Codec type, Codec number, Codec sheet select contents such as mode.For example, what insert in the groove position 2 in the current system is ply-yarn drill 1, and this ply-yarn drill comprises 4 Codec1, realizes the sheet choosing by GPIO0.
Table 1 Codec information table
Slot number The ply-yarn drill type The Codec type The Codec number The choosing of Codec sheet
??2 Ply-yarn drill 1 ??Codec1 ??4 ??GPIO0
??3 Ply-yarn drill 2 ??Codec2 ??8 ??GPIO2
??……
Step S904, " the Codec initial table " in the query configuration file, as shown in table 2, by Codec classification inquiry initialization command sequence, obtain the initialization command sequence of each Type C odec.For example, the command code 04H in the table 2 means reset operation to certain Type C odec; 4AH mean select subsequent operation at the user; 80H means the GX filter parameter is set.
Certain Type C odec initial table of table 2
?Index Command code Printenv is arranged Number of parameters Parameter 1 Parameter 2 Parameter 3 Parameter 4
??1 ??04H Do not have
??2 ??46H Have ??1 ??Value1
??3 ??4AH Have ??2 ??Value1 ??Value2
??4 ??80H Have ??1 ??Value1
??……
Step S906 carries out the initialization action sequence successively according to the Codec initial table.
Embodiment four
When the AG equipment manager issues the setting that can trigger when user's administration order or AG equipment issued administration order to the user automatically according to actual conditions the SLIC pin.In the present embodiment, obtain operating parameter, according to the SLIC pin relevant atomic operation being set in the operating parameter operation AG software program that inquires, to realize the SLIC pin setting operation of relevant Codec by the query configuration file.
Figure 10 is that the SLIC according to the embodiment of the invention four is provided with flow chart, and as shown in figure 10, this flow process comprises:
Step S1002, " the Codec information table " in the query configuration file, as shown in table 1, by slot number inquiry ply-yarn drill-Codec information, acquisition ply-yarn drill type, Codec type, Codec number, Codec sheet select contents such as mode.
Step S1004, " SLIC set-up mode table " is as shown in table 3 in the query configuration file, by Codec type inquiry SLIC set-up mode, to obtain SLIC command sequence is set, wherein, comprise the command code of designated user correspondence, in implementation process, the mode of operation of different Codec types is variant, for example among the Codec1, need to select earlier the user, SLIC is set then; And among the Codec2, only need an order just to realize the SLIC of designated user is provided with, but be different at the command code of different user this moment.
Table 3 SLIC set-up mode table
The Codec type User index The order number Command code 1 Order 1 value Command code 2
The Codec Class1 The user 1 ??2 ??4AH ??01H ??54H
The Codec Class1 The user 2 ??2 ??4AH ??02H ??54H
The Codec Class1 The user 3 ??2 ??4AH ??03H ??54H
The Codec Class1 The user 4 ??2 ??4AH ??04H ??54H
Codec type 2 The user 1 ??1 ??D0H
Codec type 2 The user 2 ??1 ??D4H
Codec type 2 The user 3 ??1 ??D8H
Codec type 2 The user 4 ??1 ??DCH
??……
Step S1006, " SLIC is provided with contents table " in the query configuration file, as shown in table 4, SLIC is provided with content by the type of message inquiry, obtains the concrete value that is provided with.For example, for the Codec1 of ply-yarn drill 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 is provided with contents table
The ply-yarn drill type The Codec type SLIC IO pin Value Corresponding type of message
Ply-yarn drill 1 ??Codec1 ??Bit0 ??1 Reversed polarity
Ply-yarn drill 1 ??Codec1 ??Bit1 ??0 Howl ring sound
Ply-yarn drill 1 ??Codec1 ??Bit2 ??1 Ring
??……
Step S1008, the SLIC that the information and executing that obtains according to above-mentioned inquiry is concrete is provided with atomic operation.
Need to prove that above-mentioned steps S1004 and step S1006 all are the preparation of carrying out atomic operation, do not have strict execution sequence, in implementation process, can first execution in step S1004, also can first execution in step S1006.
Embodiment five
The Timing Processing program of AG device interior operation can regularly trigger the scanning to User Status, in the present embodiment, obtain operating parameter by the query configuration file, according to reading relevant atomic operation with the SLIC pin in the operating parameter operation AG software program that inquires, to realize the SLIC pin read operation of relevant Codec.
Figure 11 is the User Status scanning flow chart according to the embodiment of the invention five, and as shown in figure 11, this flow process comprises:
Step S1102, " the Codec information table " in the query configuration file, as shown in table 1, by slot number inquiry ply-yarn drill-Codec information, acquisition ply-yarn drill type, Codec type, Codec number, Codec sheet select contents such as mode.
Step S1104, " SLIC reads the mode table " in the query configuration file, as shown in table 5, SLIC reads mode by the inquiry of Codec type, obtains the SLIC read command sequence, wherein, comprises the command code of designated user correspondence.The mode of operation of different Codec types is variant, for example among the Codec1, needs to select earlier the user, reads SLIC then; And among the Codec2, only need an order just to realize the reading of designated user SLIC pin status, but be different at the command code of different user this moment.
Table 5 SLIC reads the mode table
The Codec type User index The order number Command code 1 Command code 1 value Command code 2
??Codec1 The user 1 ??2 ??4AH ??01H ??55H
??Codec1 The user 2 ??2 ??4AH ??02H ??55H
??Codec1 The user 3 ??2 ??4AH ??03H ??55H
??Codec1 The user 4 ??2 ??4AH ??04H ??55H
??Codec2 The user 1 ??1 ??D3H
??Codec2 The user 2 ??1 ??D7H
??Codec2 The user 3 ??1 ??DBH
??Codec2 The user 4 ??1 ??DFH
??……
Step S1106, " the SLIC reading of content table " in the query configuration file, as shown in table 6, by ply-yarn drill/Codec type inquiry SLIC reading of content, obtain the physical meaning of designated user SLIC pin status.For example, for the Bit2 of user 1 corresponding SLIC among the Codec1 in the ply-yarn drill 1, value 1 means user's off-hook, and value 0 means user's on-hook.
Table 6 SLIC reading of content table
The ply-yarn drill type The Codec type SLIC IO pin Value User Status
Ply-yarn drill 1 ??Codec1 ??Bit2 ??1 User's off-hook
Ply-yarn drill 1 ??Codec1 ??Bit2 ??0 User's on-hook
The ply-yarn drill type The Codec type SLIC IO pin Value User Status
Ply-yarn drill 2 ??Codec2 ??Bit6 ??1 User's on-hook
Ply-yarn drill 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.
Need to prove that above-mentioned steps S1104 and step S1106 all are the preparation of carrying out atomic operation, do not have strict execution sequence, in implementation process, can first execution in step S1004, also can first execution in step S1006.
From above description, as can be seen, the present invention on the basis of weight analysis voice encoding/decoding process chip Codec characteristic, to resolve to data model and atomic operation two parts to the concrete operations of Codec and SLIC, make up the PSTN Service Control Logic of a kind of brand-new AG, the technical scheme that the embodiment of the invention provides, make AG equipment support under without the situation of upgraded version new PSTN ply-yarn drill with enhancing equipment maintainability, and save greatly AG equipment to the consumption of physical resources such as internal memory to reduce equipment cost.
Obviously, those skilled in the art should be understood that, above-mentioned each module of the present invention or each step can realize with the general calculation device, they can concentrate on the single calculation element, perhaps be distributed on the network that a plurality of calculation element forms, alternatively, they can be realized with the executable program code of calculation element, thereby, they can be stored in the storage device and carry out by calculation element, and in some cases, can carry out step shown or that describe with the order that is different from herein, perhaps they are made into each integrated circuit modules respectively, perhaps a plurality of modules in them or step are made into the single integrated circuit module and realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. the business management method of an access gateway AG is characterized in that, comprising:
The service resolution that described AG will manage is atomic operation and operating parameter;
Obtain described operating parameter from configuration file, wherein, preserved data model in the described configuration file, described data model is by abstract the obtaining of operating parameter of the codec Codec of described AG;
The described operating parameter that obtains is carried out described atomic operation, to manage described business.
2. method according to claim 1 is characterized in that,
The service resolution that described AG will manage is that atomic operation comprises: the described professional Codec that triggers described AG carries out initialized atomic operation;
The described operating parameter that obtains comprises: the identification information of the Codec relevant with described business, and the initialization command sequence of the Codec relevant with 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: the described professional Codec that triggers described AG carries out the atomic operation that chip monitoring SLIC pin status is provided with;
The described operating parameter that obtains comprises: the identification information of the Codec relevant with described business, and the SLIC pin status of the Codec relevant with described business is provided with command sequence.
4. method according to claim 1 is characterized in that,
The service resolution that described AG will manage is that atomic operation comprises: the described professional Codec that triggers described AG carries out the atomic operation that the SLIC pin status reads;
The described operating parameter that obtains comprises: the identification information of the Codec relevant with described business, and the SLIC pin status read command sequence of the Codec relevant with described business.
5. according to claim 3 or 4 described methods, it is characterized in that described operating parameter also comprises: the physical meaning of SLIC pin status value.
6. according to each described method of claim 2 to 4, it 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 that is used for managing is atomic operation and operating parameter;
First memory module is used to preserve described atomic operation;
Second memory module is used to preserve configuration file, wherein, has preserved data model in the described configuration file, and described data model is by abstract the obtaining of operating parameter of the codec Codec of described AG;
Acquisition module is used for obtaining operating parameter from the configuration file of described second memory module storage;
Executive Module is used for the described operating parameter that obtains is carried out described atomic operation, to manage described business.
8. AG according to claim 7 is characterized in that,
Described parsing module comprises: first resolution unit is used to parse the described professional Codec that triggers described AG and carries out initialized atomic operation;
Described acquisition module comprises: first acquiring unit, be used for obtaining the identification information of the Codec relevant with described business from described configuration file, and the initialization command sequence of obtaining the Codec relevant with described business.
9. AG according to claim 7 is characterized in that,
Described parsing module comprises: second resolution unit is used to parse the described professional Codec that triggers described AG and carries out the atomic operation that chip monitoring SLIC pin status is provided with;
Described acquisition module comprises: second acquisition unit be used for obtaining from described configuration file the identification information of the Codec relevant with described business, and the SLIC pin status that obtains the Codec relevant with described business is provided with command sequence.
10. AG according to claim 7 is characterized in that,
Described parsing module comprises: the 3rd resolution unit is used to parse the described professional Codec that triggers described AG and carries out the atomic operation that the SLIC pin status reads;
Described acquisition module comprises: the 3rd acquiring unit, be used for obtaining the identification information of the Codec relevant with described business from described configuration file, and the SLIC pin status read command sequence of obtaining the Codec relevant with 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 true CN101860627A (en) 2010-10-13
CN101860627B 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)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102932178A (en) * 2012-10-30 2013-02-13 北京奇虎科技有限公司 Method for realizing LVS (Linux virtual server) automatic operation and maintenance and operation and maintenance management equipment
CN104092630A (en) * 2014-07-18 2014-10-08 国家电网公司 Configuration file for automatic operation of switchboards and operation method thereof
CN104993950A (en) * 2012-10-30 2015-10-21 北京奇虎科技有限公司 Virtual server operation method and operation management system
CN109828742A (en) * 2019-02-01 2019-05-31 珠海全志科技股份有限公司 Voice-frequency-multichannel synchronism output method, computer installation and computer readable storage medium
CN111625568A (en) * 2020-05-22 2020-09-04 珠海玖零科技有限公司 Big data statistics collection algorithm

Citations (6)

* 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
US20040021894A1 (en) * 2002-08-02 2004-02-05 Satish Mundra 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
CN101217604A (en) * 2004-09-07 2008-07-09 华为技术有限公司 A packet domain service signal processing system and the corresponding method
CN101339532A (en) * 2007-07-06 2009-01-07 中国银联股份有限公司 Web application system automatized test method and apparatus
CN101490992A (en) * 2006-07-14 2009-07-22 高通股份有限公司 Encoder initialization and communications

Patent Citations (6)

* 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
US20040021894A1 (en) * 2002-08-02 2004-02-05 Satish Mundra Real time fax-over-packet for broadband access gateways
CN101217604A (en) * 2004-09-07 2008-07-09 华为技术有限公司 A packet domain service signal processing system and the corresponding method
CN101075953A (en) * 2006-05-19 2007-11-21 华为技术有限公司 Method and system for controlling telecommunication equipment service
CN101490992A (en) * 2006-07-14 2009-07-22 高通股份有限公司 Encoder initialization and communications
CN101339532A (en) * 2007-07-06 2009-01-07 中国银联股份有限公司 Web application system automatized test method and apparatus

Cited By (10)

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

Also Published As

Publication number Publication date
CN101860627B (en) 2015-01-28

Similar Documents

Publication Publication Date Title
CN101860627B (en) Business management method of access gateway and access gateway
CN110597531B (en) Distributed module upgrading method and device and storage medium
CN102891918A (en) Method for configurating Bluetooth SAP (SIM Access Profile) of communicator
CN104199691B (en) A kind of method and terminal of the start self-starting APK based on Android platform
CN102027453A (en) System and method for optimizing interrupt processing in virtualized environments
CN103023984A (en) Terminal application server and application log filtering method thereof
CN103631688A (en) Method and system for testing interface signal
CN111737742B (en) Sensitive data scanning method and system
CN105427098A (en) Method and device for realizing information sharing among different applications
CN109783390A (en) PSU firmware promotion and demotion stability test method, apparatus, terminal and storage medium
CN105515811A (en) USB wireless network card configuration method, host, USB wireless network card and communication system
CN111984505A (en) Operation and maintenance data acquisition engine and acquisition method
CN101604290A (en) A kind of background module method of testing and background module test macro
CN103544098A (en) Method and device for testing pressure
CN101621396B (en) Single board automatic management device and method
CN101102230A (en) A method for implementing automatic configuration of integrated access device
CN102073521A (en) Software updating system of plug-in card type machine and software updating method
CN116089477B (en) Distributed training method and system
CN106020822B (en) Weak reference implementation method and device towards Pool object
CN106874191B (en) Intelligent database execution method and system
CN114895879B (en) Management system design scheme determining method, device, equipment and storage medium
CN115438020A (en) Database resource scheduling method, device, equipment and medium
CN106021004A (en) User behavior simulation unit, test system and test method
CN103309827A (en) Terminal equipment parameter reading and writing method and device
CN113612671B (en) Binding configuration method of bus adapter and channel, mapping manager and connection 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