CN101005549B - Method, device and system for realizing voice list automatic distribution - Google Patents

Method, device and system for realizing voice list automatic distribution Download PDF

Info

Publication number
CN101005549B
CN101005549B CN2007100027752A CN200710002775A CN101005549B CN 101005549 B CN101005549 B CN 101005549B CN 2007100027752 A CN2007100027752 A CN 2007100027752A CN 200710002775 A CN200710002775 A CN 200710002775A CN 101005549 B CN101005549 B CN 101005549B
Authority
CN
China
Prior art keywords
distribution
ticket
module
conditions
storage
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.)
Expired - Fee Related
Application number
CN2007100027752A
Other languages
Chinese (zh)
Other versions
CN101005549A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN2007100027752A priority Critical patent/CN101005549B/en
Publication of CN101005549A publication Critical patent/CN101005549A/en
Priority to CNA2007800002734A priority patent/CN101518043A/en
Priority to PCT/CN2007/070869 priority patent/WO2008092347A1/en
Priority to EP08100939A priority patent/EP1954020A3/en
Application granted granted Critical
Publication of CN101005549B publication Critical patent/CN101005549B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP

Abstract

The method comprises: selecting call ticket according with the dispensing condition; dispensing the call ticket according to the corresponding relation between dispensing parameter and dispensing destination. The invention also provides an apparatus for automatically dispensing call ticket.

Description

A kind of ticket method, device and system of distribution automatically of realizing
Technical field
The present invention relates to the charging field, particularly a kind of ticket method, device and system of distribution automatically of realizing.
Background technology
Telecom operators use telecommunications service note expense to the user, and generally the service service recorder with the user takes foundation as note, and these service service recorders are exactly ticket.Charge system is carried out distributed treatment by multiple host, and the main frame that for example charges carries out the preliminary treatment of ticket and once criticizes valency, the account main frame to ticket carry out secondary criticize valency, make up accounts and account preferential, the inquiry main frame ticket is carried out inventory warehouse-in etc.Ticket gets into a main frame in the charge system in process, ticket can be distributed in the different storage directories of this main frame, also can be distributed to other main frames of charge system through this main frame.The storage mode of ticket in each main frame comprises database storage and document form storage, and wherein document form is stored corresponding different files storage directory.
At present; On each main frame, store the program that possesses distribution function, this program forms by writing to the coding of different ticket distribution rules, in each section coding; All the key element of in-process ticket is analyzed; Confirm the distribution destination and the storage mode of this in-process ticket, after the coding compiling was reached the standard grade, this program that possesses distribution function just can be moved.When carrying out the ticket distribution; At first move the program that possesses distribution function of storing on the main frame,, in-process ticket formation is transmitted with FTP (FTP) through script again according to the program running result; Or use FTP to transmit through manual work, be distributed to the designated destination.When the distribution destination host variation of ticket, perhaps storage mode conversion is when perhaps the storage directory in same main frame changes; Must write coding again to ticket; And again coding is compiled and reach the standard grade, could make the program running that possesses distribution function of writing, and then the operation through program is distributed to the main frame after the variation with ticket by new coding; Or with ticket according to the storage of new storage mode, or ticket stored in the different directories of same main frame.When operator carries out a certain new business, or during newly-increased a kind of new ways of distribution, all must write coding, and again coding compiled and reach the standard grade.For operator and attendant; To coding compile the process of reaching the standard grade be complicated with have risk; Therefore available technology adopting is write coding again, and reaches the standard grade through the coding of newly writing is compiled, and realizes possessing the program running of distribution function; Thereby realize the mode of ticket distribution, can not adapt to the polytropy of ticket distribution and distribution automatically.
Summary of the invention
The embodiment of the invention provides a kind of ticket method of distribution automatically that realizes, this method can adapt to the polytropy of ticket distribution, realizes the automatic distribution of ticket.
The embodiment of the invention provides a kind of ticket device of distribution automatically of realizing, this device can adapt to the polytropy of ticket distribution, realizes the automatic distribution of ticket.
The embodiment of the invention provides a kind of ticket system of distribution automatically that realizes, this system can adapt to the polytropy of ticket distribution, realizes the automatic distribution of ticket.
The realization ticket that the embodiment of the invention provides is the method for distribution automatically; Use the distribution conditions character string or the distribution conditions set identification distribution conditions of coupling ticket key element, use distribution conditions, distribution destination name and purpose type configuration to have the distribution parameters of distribution conditions; The corresponding relation of distribution parameters and distribution destination is set, and this method comprises:
Compile and carry out the set of said distribution conditions character string or distribution conditions; Use distribution conditions character string or distribution conditions sets match ticket key element after compiling and carrying out; The ticket that coupling is successful is distributed ticket as the ticket that meets distribution conditions according to the distribution parameters under this distribution conditions and the corresponding relation of distribution destination.
The realization ticket that the embodiment of the invention provides is the device of distribution automatically, and this device comprises foreground configuration module and distribution processor module;
Said foreground configuration module; Be used to use the distribution conditions character string or the distribution conditions set identification distribution conditions of coupling ticket key element; Use distribution conditions, distribution destination name and purpose type to have the distribution parameters of distribution conditions, the corresponding relation of distribution parameters and distribution destination is set as the distribution processor block configuration;
Said distribution processor module; Be used to store the distribution parameters with distribution conditions of foreground configuration module configures and the corresponding relation of distribution parameters and distribution destination; Selection meets the ticket of distribution conditions; Ticket is distributed according to the corresponding relation between distribution parameters under this distribution conditions and the distribution destination, comprised distribution module and regulation engine;
Said distribution module; Be used to store the distribution parameters with distribution conditions of foreground configuration module configures; And the corresponding relation of distribution parameters and distribution destination; To the ticket that meets distribution conditions that regulation engine provides, distribute according to the corresponding relation between distribution parameters under the distribution conditions and the distribution destination;
Said regulation engine; Be used for storing the distribution conditions identical of foreground configuration module configures with distribution parameters; The distribution conditions of compiling and execution configuration; Use the distribution conditions coupling ticket key element after compiling and carrying out, the successful ticket of coupling is offered distribution module as the ticket that meets distribution conditions.
The realization ticket that the embodiment of the invention provides is the system of distribution automatically; Comprise at least one main frame; Comprise foreground configuration module, main frame transport module and distribution processor module in the main frame, comprise transmission channel parameter module, distribution module, regulation engine and storage parameter module in the distribution processor module;
Said foreground configuration module; Be used to use the distribution conditions character string or the distribution conditions set identification distribution conditions of coupling ticket key element; Use distribution conditions, distribution destination name and purpose type to have the distribution parameters of distribution conditions and the corresponding relation of distribution parameters and distribution destination as the configuration of the distribution module in the distribution processor module; Be the storage parameter module configuration data stored parameter in the distribution processor module; Be the transmission channel parameter block configuration transmission channel parameter in the distribution processor module, be identical distribution conditions in the regulation engine in distribution processor module configuration and the said distribution parameters;
Said main frame transport module is used to the transmission channel parameter of using the transmission channel parameter module to provide, from other main frames, reads the file of this main frame of storage ticket;
Transmission channel parameter module in the said distribution processor module is used for the transmission channel parameter of storage is offered the use of main frame transport module;
Distribution module in the said distribution processor module; Be used to store the distribution parameters with distribution conditions of foreground configuration module configures; With the ticket that meets distribution conditions that regulation engine provides, distribute according to the distribution parameters under the distribution conditions and the corresponding relation of distribution destination;
Regulation engine in the said distribution processor module; Be used for storing the distribution conditions identical of foreground configuration with said distribution parameters; The distribution conditions of compiling and execution configuration; Use the distribution conditions coupling ticket key element after compiling and carrying out, the ticket that coupling is successful offers said distribution module as the ticket that meets distribution conditions;
Storage parameter module in the said distribution processor module is used to store the storage parameter of foreground configuration module configures, and the storage parameter is offered distribution module.
Visible by technique scheme; The realization ticket that the embodiment of the invention provides is the method for distribution automatically, because distribution parameters can be according to concrete needs dynamic-configuration, the process of configuration can be realized by the foreground; As far as the ticket distribution procedure is transparent, therefore can adapt to the polytropy of ticket distribution.Owing to before each distribution, will be that distribution parameters is selected ticket all according to the distribution conditions in the distribution parameters, just ticket is distributed after selecting to finish according to the distribution parameters and the corresponding relation of distribution destination, therefore can realize the automatic distribution of ticket.
The realization ticket that the embodiment of the invention provides is the device of distribution automatically, because distribution parameters can be transparent as far as the ticket distribution procedure, so can adapt to the polytropy of ticket distribution according to concrete needs through foreground configuration module dynamic-configuration.Because before the each distribution of distribution module; All to be that distribution parameters is selected ticket according to the distribution conditions of distribution parameters in the distribution module; Just ticket is distributed after selection finishes, therefore can be realized the automatic distribution of ticket according to the distribution parameters and the corresponding relation of distribution destination.
The realization ticket that the embodiment of the invention provides is the system of distribution automatically; Comprise at least one main frame; Comprise main frame transport module and distribution processor module in the main frame, comprise the transmission channel parameter module in the distribution processor module, the transmission channel parameter that the main frame transport module in the main frame provides according to the transmission channel parameter module; From other main frames, read the file of this main frame of storage ticket, realize the automatic distribution of ticket between main frame.
Description of drawings
Fig. 1 realizes the ticket apparatus structure sketch map of distribution automatically for the embodiment of the invention;
Fig. 2 realizes distribution parameters structural representation in the automatic device of distributing of ticket for the embodiment of the invention;
Fig. 3 realizes the ticket system configuration sketch map of distribution automatically for the embodiment of the invention;
Fig. 4 realizes the ticket method preferred embodiments flow chart of distribution automatically for the embodiment of the invention;
Fig. 5 realizes the flow chart of the method for the automatic distribution of ticket based on Fig. 3 system for the embodiment of the invention.
Embodiment
For the goal of the invention, the technical scheme that make the embodiment of the invention is clearer, the embodiment of the invention is done further detailed explanation below in conjunction with accompanying drawing.
The embodiment of the invention provides a kind of ticket method of distribution automatically that realizes, this method selects to meet the ticket of distribution conditions, and ticket is distributed according to the distribution parameters under the distribution conditions and the relation of distribution destination.
The embodiment of the invention provides a kind of ticket device of distribution automatically of realizing, this device comprises distribution processor module and foreground configuration module.May further include in the distribution processor module: distribution module, storage parameter module, regulation engine and transmission channel parameter module.
The embodiment of the invention provides a kind of ticket system of distribution automatically that realizes, this system comprises at least one main frame, comprises main frame transport module and distribution processor module in the main frame, comprises the transmission channel parameter module in the distribution processor module.
Method, device and system that the realization ticket that provides in the face of the embodiment of the invention is down distributed automatically describe in detail.
At first, the device that the realization ticket that the embodiment of the invention is provided is distributed is automatically described in detail.
Referring to Fig. 1, Fig. 1 realizes the ticket apparatus structure sketch map of distribution automatically for the embodiment of the invention, and this device is main frame, comprising: distribution processor module 102 and foreground configuration module 109.May further include in the distribution processor module 102: regulation engine 104, distribution module 105, transmission channel parameter module 106 and storage parameter module 108.In main frame, can further include transport module 103, transport module 110.The file storage catalogue of ticket distribution is in queue file 111.
Foreground configuration module 109; Be used for to regulation engine 104 configuration distribution conditions character strings or distribution conditions set; Give distribution module 105 configuration distribution parameters, give storage parameter module 108 configuration data stored parameters, give the transmission channel parameter module 106 configuration transmission channel parameter.
Foreground configuration module 109, the storage parameter of disposing for storage parameter module 108 comprises storage name, filename rule, host identification and file storage catalogue.Wherein host identification is to be the sign of each host configuration in advance, corresponding to the IP address of this main frame, can be used as the sign of the different main frames of identification.Use the storage name to distinguish different storage parameters; It is each storage name; The all corresponding destination host sign that belongs to this storage name, and file storage catalogue in the destination host of this host identification correspondence and file storage catalogue corresponding file name rule.
Foreground configuration module 109, the transmission channel parameter of disposing for transmission channel parameter module 106 comprises the host identification of this main frame and other main frames, the IP address of host identification correspondence and the relation of IP address respective hosts and storage parameter.The relation of IP address respective hosts and storage parameter wherein is meant the filename rule in the storage parameter that the corresponding main frame in an IP address comprises, and the file storage catalogue of file in the respective hosts of IP address that possesses this filename rule.
Foreground configuration module 109, the distribution parameters of disposing for distribution module 105 comprises distribution destination name, purpose type, distribution type, priority and distribution conditions.Referring to Fig. 2, Fig. 2 realizes the structural representation of distribution parameters in the automatic device of distributing of ticket for the embodiment of the invention.As shown in Figure 2, distribution module 105 disposes fractions and sends out parameter, can be the distribution parameters of the different number groups of distribution module 105 configurations as required.Can also be as required, the nested distribution module of configuration in distribution module 105 is as subordinate's distribution module of distribution module 105.Each component in the distribution module 105 is sent out parameter and is comprised: distribution destination name, purpose type, distribution type, priority and distribution conditions.Comprise database table name or storage name in the distribution destination name, wherein, but the database of the corresponding memory ticket of each database table name; Comprise database table, storage or subordinate's distribution module in the purpose type; The purpose type is that database table indicates ticket is stored in the database; The purpose type is that storage representes will be with ticket according to document form; Be distributed to the file storage in the storage parameter catalogue, the purpose type is represented to handle the distribution parameters in nested subordinate's distribution module earlier for subordinate's distribution module, returns after the completion according to the distribution parameters in this distribution module again and continues ticket is distributed; Distribution type comprises mobile or copy; After mobile expression ticket is sent out the parameter distribution according to this component; No longer sending out parameter according to other components distributes; Copy expression ticket copies ticket earlier after sending out the parameter distribution according to this component, and the ticket of copy continues to send out parameter according to other components and distributes; Priority comprises that each component in the distribution module sends out the priority treatment order of parameter, and the component that promptly priority is the highest is sent out parameter and at first handled, and the rest may be inferred; Distribution conditions comprises the distribution conditions character string that is provided with according to syntax rule, and the condition in the expression formula can be judged the attribute of ticket, perhaps is set to the distribution conditions set.Each component in subordinate's distribution module is sent out parameter, all with distribution module 105 in the distribution parameters structure identical.According to actual needs; An above distribution module also can be arranged, and each distribution module all disposes sign, as the sign of the different distribution modules of identification; All right nested subordinate distribution module in each distribution module, the structure of distribution parameters is identical with foregoing description.In the present embodiment, suppose to have only a distribution module 105 in the distribution processor module 102, and distribution module 105 there is not nested subordinate's distribution module.
In distribution module, the structure of distribution parameters, also show storage parameter that provides by storage parameter module 108 and the transmission channel parameter that provides by transmission channel parameter module 106 among Fig. 2.Storage name in the distribution destination name is identical with the storage name in the storage parameter, promptly according to the storage name in the distribution destination name, can from the storage parameter, find the pairing storage parameter of identical data storage name.Host identification in the storage parameter; Host identification IP address in the corresponding transmission channel parameter; Promptly, can in transmission channel parameter, find the corresponding IP address of this host identification, and then find the relation between this main frame and the storage parameter by the host identification in the storage parameter.
Foreground configuration module 109 is given regulation engine 104 configuration distribution conditions character strings or distribution conditions set, and is identical with distribution conditions character string or distribution conditions set that the distribution conditions of configuration in the distribution module 105 comprises.Distribution conditions character string or distribution conditions set must and be carried out through compiling, and these distribution conditions character strings or distribution set could be used by regulation engine 104.Regulation engine 104 compiles and carries out the distribution conditions character string or the distribution conditions set of configuration, after compiling and execution finish, can use the set of distribution conditions character string or distribution conditions.After ticket distribution process begins; Regulation engine 104 is in running status; With ticket key element and distribution conditions character string or distribution conditions sets match, the ticket that coupling is successful is as gathering the ticket that affiliated distribution parameters is selected for coupling successful distribution conditions character string or distribution conditions.
Above-mentioned foreground configuration module 109 is the storage parameter of storage parameter module 108 configurations; Transmission channel parameter for 106 configurations of transmission channel parameter module; Distribution parameters for distribution module 105 configurations; And be the distribution conditions character string or the distribution conditions set of regulation engine 104 configurations, constitute the foundation of embodiment of the invention distribution ticket jointly.
Regulation engine 104 is used for distribution conditions character string or distribution set with 109 configurations of foreground configuration module, compiles and carries out, and after compiling and carrying out end, regulation engine 104 can use the distribution conditions character string or the distribution conditions set of configuration.After ticket distribution process begins; Regulation engine 104 is with the key element of ticket in the in-process ticket formation of transport module 103 transmission; With distribution conditions character string or distribution conditions sets match; The ticket that coupling is successful as gathering the ticket that affiliated distribution parameters is selected for coupling successful distribution conditions expression formula or distribution conditions, offers distribution module 105 with the ticket of selecting.
Storage parameter module 108 is used for the storage parameter with 109 configurations of foreground configuration module, offers distribution module 105 and uses.
Transmission channel parameter module 106 is used for the transmission channel parameter with 109 configurations of foreground configuration module, offers distribution module 105 and uses.
Distribution module 105; Be used for according to the distribution parameters of foreground configuration module 109 configurations, the storage parameter that storage parameter module 108 provides, the transmission channel parameter that transmission channel parameter module 106 provides; The ticket that regulation engine 104 is provided is according to being distributed to transport module 110 with successful distribution conditions character string or the affiliated distribution parameters of distribution conditions set of ticket coupling.Specifically; Be exactly that distribution module 105 receives the ticket that regulation engine 104 provides; When being called the database table name with successful distribution conditions character string of ticket coupling or the distribution purpose in the distribution parameters under the distribution conditions set; Distribution module 105 directly is distributed to database storage with ticket, and when being called the storage name with successful distribution conditions character string of ticket coupling or the distribution purpose in the distribution parameters under the distribution conditions set, distribution module 105 is in the storage parameter that storage parameter module 108 provides; Find with distribute destination name in the identical storage parameter of storage name; According to the corresponding host identification of this storage name, file storage catalogue and filename rule, from the transmission channel parameter that transmission channel parameter module 106 provides, find this corresponding host IP address of this host identification; According to the relation of this IP address respective hosts and storage parameter, carry out the ticket distribution.
Transport module 103 is used for in-process ticket formation is transferred to regulation engine 104.
Transport module 110 is used for the ticket of distribution module 105 distributions is transferred to queue file 111.
Queue file 111; Comprise that storage meets the file storage catalogue of this host data stored parameter file name rule; And meet the special directory of other host data stored parameter file names rule; Be used for the ticket that meets this host data stored parameter of transport module 110 transmission is stored into the file of the file storage catalogue that meets this host data stored parameter file name rule,, store the file under the special directory into the ticket that does not meet this host data stored parameter.
In the embodiment of the invention, suppose to have only a distribution module 105 in the distribution processor module 102, and do not have nested subordinate's distribution module in the distribution module 105.Except above-mentioned situation, can also comprise a plurality of distribution modules in the distribution processor module 102, each distribution module has a sign, and as the sign of each distribution module of identification, the distribution parameters structure in each distribution module is same as shown in Figure 2.As required, can also be in each distribution module, nested subordinate distribution module.
The realization ticket that the invention described above embodiment provides is the device of distribution automatically; Distribution parameters in the distribution module 105 can be according to concrete needs by foreground configuration module 109 dynamic-configuration; As far as the ticket distribution procedure is transparent, therefore can adapt to the polytropy of ticket distribution.Because before distribution module 105 each distributions; All to be that distribution parameters is selected ticket according to the distribution conditions of distribution parameters; Just ticket is distributed after selection finishes, therefore can be realized the automatic distribution of ticket according to the distribution parameters and the corresponding relation of distribution destination.Need not revise coding like this, can implement easily, adapt to the variation of distribution fast.The embodiment of the invention also can be other devices with identical function with the preferred embodiments of main frame as this device.
The system that the realization ticket that provides in the face of the embodiment of the invention is down distributed automatically elaborates.
Referring to Fig. 3; Fig. 3 realizes the ticket system configuration sketch map of distribution automatically for the embodiment of the invention; Comprise in the system in main frame 301, main frame 311 and 321, three main frames of main frame all comprising main frame transport module and distribution processor module, comprise the transmission channel parameter module in the distribution processor module; May further include the foreground configuration module in the main frame, may further include distribution module, regulation engine and storage parameter module in the distribution processor module.The file storage catalogue of ticket distribution is in queue file in the main frame.Ticket is distributed between these three main frames, and owing to the ticket that for the purpose type is database storage will directly be distributed to specified database, the ticket distribution between the main frame therefore described here is the ticket of storage to the purpose type only.
Main frame transport module 302 in the main frame 301; Transmission channel parameter according to the transmission channel parameter module in the distribution processor module provides regularly connects main frame 311 and main frame 321, the queue file 313 from main frame 311; In the special directory of queue file 323 in the main frame 321; Read the file that meets the storage parameter of storing in the storage parameter module in the main frame 301, according to the transmission channel parameter that the transmission channel parameter module provides, send into the file that reads in the queue file 303.Main frame transport module 312 in the main frame 311; The transmission channel parameter that provides according to the transmission channel parameter module in the distribution processor module; Regularly connect main frame 301 and main frame 321; In the queue file 303 from main frame 301 and the special directory of the queue file 323 in the main frame 321, read the file that meets the storage parameter of storing in the storage parameter module in the main frame 311; According to the transmission channel parameter that the transmission channel parameter module provides, send into the file that reads in the queue file 313.Main frame transport module 322 in the main frame 321; Transmission channel parameter according to the transmission channel parameter module in the distribution processor module provides regularly connects main frame 311 and main frame 301, the queue file 313 from main frame 311; In the special directory of queue file 303 in the main frame 301; Read the file that meets the storage parameter of storing in the storage parameter module in the main frame 321, according to the transmission channel parameter that the transmission channel parameter module provides, send into the file that reads in the queue file 323.Wherein, the main frame transport module of each main frame connects the time interval of other main frames, sets according to actual needs.
In the prior art, possessing after the distribution ticket functional programs of main frame operation storage through script or artificial mode, is transferred to other main frames with ticket from this main frame according to operation result.Compared with prior art; The realization ticket that the embodiment of the invention provides is the system of distribution automatically; The relation of each IP address respective hosts of definition and storage parameter in the transmission channel parameter of transmission channel parameter module, the transmission channel parameter that the main frame transport module utilizes the transmission channel parameter module to provide, regularly other main frames in the connected system; Read the file that meets this host data stored parameter from other main frames, realized the automatic distribution of ticket between system host.
According to actual needs, in the system that the realization ticket that the embodiment of the invention provides is distributed automatically, can comprise that number is different from 3 main frame, repeats no more here.
The method that the realization ticket that at last embodiment of the invention is provided is distributed automatically is elaborated.
Referring to Fig. 4; Fig. 4 realizes the ticket method preferred embodiments flow chart of distribution automatically for the embodiment of the invention; Distribution parameters with distribution conditions is set in advance; The corresponding relation of distribution parameters and distribution destination is set, and this setting up procedure can realize that this flow process is further comprising the steps of through the foreground:
Step 401: the ticket of selecting to meet distribution conditions.
In this step, the distribution conditions in the distribution parameters that begins to be provided with in advance before according to flow process, selection meets the ticket of distribution conditions.Distribution conditions can be distribution conditions character string or distribution conditions set.The concrete method of selecting can and be carried out the distribution conditions character string or the distribution conditions set of configuration for: compiling; And distribution conditions character string or distribution conditions sets match ticket key element after use compiling and the execution; The ticket that coupling is successful is as the ticket that meets distribution conditions.If comprise priority in the distribution parameters that is provided with in advance, then can select to meet the ticket that every component is sent out distribution conditions in the parameter successively according to the priority of distribution parameters.
Step 402: the ticket of selecting is distributed according to the distribution parameters under the distribution conditions and the corresponding relation of distribution destination.
In this step,, distribute according to the distribution parameters under this distribution conditions that is provided with in advance and the corresponding relation of distribution destination with the ticket of selecting in the step 401 that meets distribution conditions.
The realization ticket that the invention described above embodiment provides is the method preferred embodiments of distribution automatically; Because distribution parameters can be according to concrete needs dynamic-configuration; The process of configuration can be realized by the foreground, is transparent as far as the ticket distribution procedure, therefore can adapt to the polytropy of ticket distribution.Owing to before each distribution, all will select to meet the ticket of the distribution conditions in the distribution parameters, just ticket is distributed after selecting to finish according to the distribution parameters under the distribution conditions and the corresponding relation of distribution destination, therefore can realize the automatic distribution of ticket.Need not to write and revise coding, the convenient variation of implementing and can adapting to distribution.
Said method can be applied in the system shown in Figure 3, below to be example based on system shown in Figure 3, to specify the embodiment of the invention and realizes the ticket method of distribution automatically, and beginning from main frame 301 with the ticket process is that example describes.Referring to Fig. 5, Fig. 5 realizes the flow chart of the method for the automatic distribution of ticket based on Fig. 3 system for the embodiment of the invention, and this flow process may further comprise the steps:
Step 501: through foreground configuration module configures distribution parameters, storage parameter, transmission channel parameter and distribution conditions character string or distribution conditions set.
In this step, through the distribution parameters in the configuration module configures distribution module of foreground, the distribution parameters structure that is disposed is same as shown in Figure 2; Through the storage parameter in the configuration module configures storage parameter module of foreground, comprise storage name, filename rule, host identification and file storage catalogue; Through the transmission channel parameter in the configuration module configures transmission channel parameter module of foreground; Comprise the host identification of each main frame, the IP address of host identification correspondence and the relation of this IP address respective hosts and storage parameter; The relation of IP address respective hosts and storage parameter wherein; Be meant the filename rule in the storage parameter that the corresponding main frame in IP address comprises, and the storage directory of file in main frame that possesses this filename rule; Through distribution conditions character string in the configuration module configures regulation engine of foreground or distribution conditions set.
Step 502: regulation engine uses the distribution conditions character string or the distribution conditions set of configuration, judges whether ticket meets distribution conditions, if meet distribution conditions execution in step 504, if do not meet distribution conditions execution in step 503.
In this step; Distribution conditions character string that disposes in the regulation engine or distribution conditions set; Identical with the foreground configuration module to the distribution conditions character string that distribution conditions comprised or the distribution conditions set of the distribution parameters of distribution module configuration; Distribution conditions with the not highest distribution parameters of distribution module medium priority is an example, and regulation engine can use the set of distribution conditions character string or distribution conditions accomplishing after distribution conditions character string or distribution conditions set compiling and carrying out; After the ticket process begins; Use corresponding distribution conditions character string or the distribution conditions set of distribution conditions with the highest distribution parameters of above-mentioned priority level, the key element of mating in-process ticket is with mating successful ticket as the ticket that is the highest distribution parameters selection of this priority level; Continue execution in step 504, execution in step 503 if coupling is unsuccessful.
Step 503: judge whether ticket meets the distribution conditions of other distribution parameters.
In this step,, judge whether it meets the distribution conditions of other distribution parameters to the unsuccessful ticket of coupling in the step 502; The method of judging is identical with step 502; If in step 502, ticket meets the distribution conditions of distribution parameters, then skips the direct execution in step 504 of this step.
Step 504: regulation engine will mate successful ticket, offer distribution module, and distribution module is judged the purpose type in the distribution parameters, if database storage execution in step 505, if storage execution in step 506.
In this step, regulation engine will be sent out distribution conditions character string or the successful ticket of distribution conditions sets match in the parameter with the highest component of corresponding priority level, offer distribution module, and distribution module is handled ticket according to the highest distribution parameters of this priority level.If the purpose type in this distribution parameters is a database, continue execution in step 505; If the purpose type in this distribution parameters is a storage, then execution in step 506.
Step 505: distribution module is distributed to ticket in the database of distribution destination name definition.
In this step; If be database in the purpose type of the distribution parameters that priority level is the highest; The database table name that distribution module defines in will the distribution destination name according to this distribution parameters directly is distributed to this database with ticket, if be storage in the purpose type of the highest distribution parameters of priority level; Then do not carry out this step, directly execution in step 506.
Step 506: distribution module in the storage parameter that the storage parameter module provides, find with distribute destination name in the identical storage parameter of storage name that defines.
In this step; The purpose type of distribution parameters is a storage, has defined the storage name in the distribution destination name, and distribution module is through this storage name; Can in the storage parameter that the storage parameter module provides, find storage parameter with identical data storage name.
Step 507: distribution module from the transmission channel parameter that the transmission channel parameter module provides, finds the corresponding IP address of this host identification according to the host identification in the storage parameter.
In this step; In the transmission channel parameter that the transmission channel parameter module provides, defined the storage parameter that comprises in host identification, IP address that host identification is corresponding, the IP address respective hosts, and IP address respective hosts in meet the file storage catalogue of file in main frame of storage Parameter File name rule.Distribution module from transmission channel parameter, can find the corresponding IP address of this host identification according to the host identification in the storage parameter.
Step 508: distribution module is judged the IP address that host identification is corresponding, if the corresponding IP address of host identification is this main frame, and execution in step 509, if the corresponding IP address of host identification is other main frames, execution in step 510.
In this step, the IP address that the host identification that finds in the distribution module determining step 507 is corresponding, this IP address maybe corresponding this main frame, also corresponding other main frames of possibility.If corresponding this main frame in IP address, execution in step 509, if corresponding other main frames in IP address, then execution in step 510.
Step 509: distribution module is distributed to ticket in this main frame queue file, the file in the storage parameter catalogue.
In this step, the transmission channel parameter that distribution module provides according to the transmission channel parameter module, in this main frame of ticket queue file, the file in the storage Parameter File name rule corresponding file storage directory.
Step 510: distribution module is distributed to the file under the special directory in this main frame queue file with ticket.
In this step, have special storage not meet the special directory file of this host data stored parameter ticket in the queue file of main frame, the ticket that distribution module will not meet this host data stored parameter is distributed to the file in this catalogue.
In step 502~step 510; Distribution module has been described to the highest distribution parameters of priority level; The storage parameter of using the storage parameter module to provide simultaneously, and the transmission channel parameter that provides of transmission channel parameter module, the flow process that the ticket that regulation engine is provided is distributed.Regulation engine can be followed successively by the corresponding distribution parameters of these distribution conditions character strings or distribution conditions set and select ticket according to the distribution conditions character string or the distribution conditions set of configuration, and the ticket in in-process ticket formation all has been selected.Distribution module is distributed the ticket that regulation engine provides according to each bar distribution parameters, and all flow process is identical therewith.
Step 511: distribution module is judged the distribution type in the distribution parameters, if for moving, execution in step 512 is if be copy, execution in step 513.
In this step, distribution module distributes according to a distribution parameters branch after the ticket, through the distribution type in the distribution parameters, judges whether to continue to handle this ticket according to other tickets, if for moving, execution in step 512 is if be copy, execution in step 513.
Step 512: ticket is distributed not according to other distribution parameters.
Step 513: distribution module copy ticket, continue ticket according to other distribution parameters distributions.
In this step; With the ticket copy, the ticket after will copying then offers regulation engine to distribution module earlier, and regulation engine is according to the method described in the step 502; Ticket behind the coupling copy; It is chosen as meets the ticket that other distribution conditions character strings or distribution conditions are gathered corresponding distribution parameters, proceed distribution again, distribution flow is identical with step 503~step 510.
In above-mentioned steps 501~step 513, ticket has been accomplished the distribution in main frame 301, because ticket also need be distributed between intrasystem main frame, above-mentioned steps further comprises:
Step 514: the main frame transport module reads and meets the file that this main frame is respectively organized the filename rule of storage parameter from other main frames.
In this step; Main frame transport module 312 in the main frame 311, and the main frame transport module 322 in the main frame 321, the transmission channel parameter that the transmission channel parameter module of main frame provides under using respectively; Regularly connect the queue file 303 in the main frame 301; From main frame 301 in the special directory of queue file 303, read the file of the filename rule that meets each storage parameter of this main frame, again according to disposing in the transmission channel parameter; The relation of corresponding IP address of each host identification and storage parameter is transferred to the directory stores in the main frame queue file separately with the ticket that reads.Wherein, the relation of the corresponding IP of host identification address and storage parameter i.e. filename in the storage parameter that comprises of corresponding main frame in IP address is regular, and possesses the regular storage directory of file in the respective hosts of IP address of this filename.
Each main frame in the system shown in Figure 3 can comprise a plurality of distribution modules, and can comprise nested subordinate's module in each distribution module, and then the said method flow process has some variations.Specifically, if comprise a plurality of distribution modules in the device, before step 501, through the foreground configuration module, for sign of each distribution module configuration, as the sign of each distribution module of identification; In step 501, be each distribution module configuration distribution parameters; Before step 502, the first distribution module sign through configuration, the distribution module of selecting needs to handle, regulation engine matees the ticket key element according to distribution conditions character string or distribution conditions set in the distribution parameters in should distribution module.If system is comprising under the situation with a plurality of distribution modules; Comprise nested subordinate's distribution module in each distribution module; In step 503, when distribution module is judged purpose type in the distribution parameters and is subordinate's distribution module, with the distribution parameters of handling earlier in subordinate's distribution module; After the distribution parameters in handling subordinate's distribution module, return the processing that distribution module at the corresponding levels continues distribution parameters.
In embodiments of the present invention, suppose the ticket process from main frame 301 beginnings, in the practical application, the ticket process also can be from main frame 311 or main frame 312 beginnings, and the flow process of ticket distribution is identical with above-mentioned flow process.
In sum, more than being merely preferred embodiment of the present invention, is not to be used to limit protection scope of the present invention.All within spirit of the present invention and principle, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (17)

1. realize the ticket method of distribution automatically for one kind; It is characterized in that; Use the distribution conditions character string or the distribution conditions set identification distribution conditions of coupling ticket key element, use distribution conditions, distribution destination name and purpose type configuration to have the distribution parameters of distribution conditions; The corresponding relation of distribution parameters and distribution destination is set, and this method comprises:
Compile and carry out the set of said distribution conditions character string or distribution conditions; Use distribution conditions character string or distribution conditions sets match ticket key element after compiling and carrying out; The ticket that coupling is successful is distributed ticket as the ticket that meets distribution conditions according to the distribution parameters under this distribution conditions and the corresponding relation of distribution destination.
2. the method for claim 1; It is characterized in that; Said purpose type is a storage; The said corresponding relation that distribution parameters and distribution destination are set is: configuration comprises the storage parameter of storage name, and the corresponding relation of storage parameter and distribution destination is set, the distribution destination name in the said distribution parameters be set to said storage parameter in the storage name identical;
Saidly will mate successful ticket as the ticket that meets distribution conditions; Ticket is distributed as according to the corresponding relation of the distribution parameters under this distribution conditions with the distribution destination: according to the said storage name that disposes in the distribution parameters; Search the storage parameter of identical data storage name, ticket is distributed according to the storage parameter and the corresponding relation of distribution destination.
3. method as claimed in claim 2; It is characterized in that; Said configuration comprises the storage parameter of storage name; The corresponding relation that storage parameter and distribution destination are set is: be every group of storage parameter configuration data storage name and destination host sign, and destination host identifies corresponding file storage directory and filename rule;
Said corresponding relation according to storage parameter and distribution destination is distributed as ticket: according to the sign of the destination host in the storage parameter, ticket is distributed to corresponding the meeting in the file under the regular file storage catalogue of filename of this destination host sign.
4. method as claimed in claim 3; It is characterized in that; Saidly identify according to the destination host in the storage parameter; Ticket is distributed to corresponding the meeting in the file under the regular file storage catalogue of filename of this destination host sign is: configuration comprises that destination host sign, destination host identify the transmission channel parameter of corresponding Internet protocol IP address and destination host and storage parameter corresponding relation; Identify according to the destination host in the storage parameter; Search the transmission channel parameter that comprises identical destination host sign, ticket is distributed in the file under the corresponding file storage catalogue that meets the filename rule of this destination host sign according to the transmission channel parameter that finds.
5. method as claimed in claim 4 is characterized in that, the corresponding relation of said destination host and storage parameter is:
The storage parameter that comprises in the destination host of said IP address correspondence, and the file storage catalogue of file in destination host that meets storage parameter file name rule.
6. method as claimed in claim 4; It is characterized in that; Corresponding other main frames in the IP address of said destination host, said according to transmission channel parameter, ticket is distributed in the file of the file storage catalogue in the corresponding destination host and is: ticket is distributed to the file under this main frame special directory.
7. method as claimed in claim 6 is characterized in that, this method further comprises:
Other main frames from the special directory of said main frame, read the file that meets the storage parameter that disposes in other main frames according to the transmission channel parameter of its configuration.
8. the method for claim 1; It is characterized in that; Said purpose type is a database storage; The said distribution parameters that is provided with the corresponding relation of distributing the destination is: the distribution destination name of distribution parameters is set to database name, through the database name associated distribution parameter and the distribution destination of this setting;
Saidly will mate successful ticket, ticket will be distributed as with the corresponding relation of distributing the destination according to the distribution parameters under this distribution conditions: ticket directly is distributed in the corresponding database of said database name as the ticket that meets distribution conditions.
9. the method for claim 1 is characterized in that, further comprises after said use distribution conditions, distribution destination name and the purpose type configuration distribution parameters: configuration preference rank in distribution parameters;
Saidly will mate successful ticket and be:, select to meet the ticket of distribution conditions in the distribution parameters successively according to the priority level of distribution parameters as the ticket of distribution conditions.
10. the method for claim 1 is characterized in that, further comprises after said use distribution conditions, distribution destination name and the purpose type configuration distribution parameters: configuration comprises the distribution type that moves or copy in distribution parameters;
Saidly will mate successful ticket and further comprise after distributing: if the distribution type of distribution parameters is for moving according to the corresponding relation of the distribution parameters under the distribution conditions with the distribution destination; Ticket does not carry out the distribution of other distribution parameters; If the distribution type of distribution parameters is copy; With the ticket copy, again the ticket of copy is distributed according to other distribution parameters earlier.
11. method as claimed in claim 10 is characterized in that, said distribution type for the distribution parameters configuration is subordinate's distribution parameters, is the pre-configured nested subordinate of distribution parameters distribution parameters;
Saidly will mate successful ticket as the ticket that meets distribution conditions; Ticket is further comprised before distributing according to the corresponding relation of the distribution parameters under this distribution conditions with the distribution destination: handle subordinate's distribution parameters earlier, return distribution parameters at the corresponding levels after the completion.
12. realize the ticket device of distribution automatically, it is characterized in that this device comprises foreground configuration module and distribution processor module for one kind;
Said foreground configuration module; Be used to use the distribution conditions character string or the distribution conditions set identification distribution conditions of coupling ticket key element; Use distribution conditions, distribution destination name and purpose type to have the distribution parameters of distribution conditions, the corresponding relation of distribution parameters and distribution destination is set as the distribution processor block configuration;
Said distribution processor module; Be used to store the distribution parameters with distribution conditions of foreground configuration module configures; And the corresponding relation of distribution parameters and distribution destination; Selection meets the ticket of distribution conditions, and ticket is distributed according to the corresponding relation between distribution parameters under this distribution conditions and the distribution destination, comprises distribution module and regulation engine;
Said distribution module; Be used to store the distribution parameters with distribution conditions of foreground configuration module configures; And the corresponding relation of distribution parameters and distribution destination; To the ticket that meets distribution conditions that regulation engine provides, distribute according to the corresponding relation between distribution parameters under the distribution conditions and the distribution destination;
Said regulation engine; Be used for storing the distribution conditions identical of foreground configuration module configures with distribution parameters; The distribution conditions of compiling and execution configuration; Use the distribution conditions coupling ticket key element after compiling and carrying out, the successful ticket of coupling is offered distribution module as the ticket that meets distribution conditions.
13. device as claimed in claim 12; It is characterized in that, in the said distribution processor module, further comprise the storage parameter module; Be used to store the storage parameter of foreground configuration module configures, the storage parameter offered said distribution module use.
14. device as claimed in claim 12; It is characterized in that, in the said distribution processor module, further comprise the transmission channel parameter module; Be used to store the transmission channel parameter of foreground configuration module configures, transmission channel parameter offered said distribution module use.
15. device as claimed in claim 12 is characterized in that, further comprises nested subordinate's distribution module in the said distribution module.
16. device as claimed in claim 12 is characterized in that, further comprises two transport modules in the device, said distribution processor module receives ticket through a transport module, and ticket is distributed through another transport module.
17. realize the ticket system of distribution automatically for one kind; It is characterized in that; This system comprises at least one main frame; Comprise foreground configuration module, main frame transport module and distribution processor module in the main frame, comprise transmission channel parameter module, distribution module, regulation engine and storage parameter module in the distribution processor module;
Said foreground configuration module; Be used to use the distribution conditions character string or the distribution conditions set identification distribution conditions of coupling ticket key element; Use distribution conditions, distribution destination name and purpose type to have the distribution parameters of distribution conditions and the corresponding relation of distribution parameters and distribution destination as the configuration of the distribution module in the distribution processor module; Be the storage parameter module configuration data stored parameter in the distribution processor module; Be the transmission channel parameter block configuration transmission channel parameter in the distribution processor module, be identical distribution conditions in the regulation engine in distribution processor module configuration and the said distribution parameters;
Said main frame transport module is used to the transmission channel parameter of using the transmission channel parameter module to provide, from other main frames, reads the file of this main frame of storage ticket;
Transmission channel parameter module in the said distribution processor module is used for the transmission channel parameter of storage is offered the use of main frame transport module;
Distribution module in the said distribution processor module; Be used to store the distribution parameters with distribution conditions of foreground configuration module configures; With the ticket that meets distribution conditions that regulation engine provides, distribute according to the distribution parameters under the distribution conditions and the corresponding relation of distribution destination;
Regulation engine in the said distribution processor module; Be used for storing the distribution conditions identical of foreground configuration with said distribution parameters; The distribution conditions of compiling and execution configuration; Use the distribution conditions coupling ticket key element after compiling and carrying out, the ticket that coupling is successful offers said distribution module as the ticket that meets distribution conditions;
Storage parameter module in the said distribution processor module is used to store the storage parameter of foreground configuration module configures, and the storage parameter is offered distribution module.
CN2007100027752A 2007-01-30 2007-01-30 Method, device and system for realizing voice list automatic distribution Expired - Fee Related CN101005549B (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
CN2007100027752A CN101005549B (en) 2007-01-30 2007-01-30 Method, device and system for realizing voice list automatic distribution
CNA2007800002734A CN101518043A (en) 2007-01-30 2007-10-10 Method, device and system for realizing automatic dispatch of call bills
PCT/CN2007/070869 WO2008092347A1 (en) 2007-01-30 2007-10-10 Method, apparatus and system for distributing charging list automatically
EP08100939A EP1954020A3 (en) 2007-01-30 2008-01-25 Method and apparatus for distributing call detail record

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007100027752A CN101005549B (en) 2007-01-30 2007-01-30 Method, device and system for realizing voice list automatic distribution

Publications (2)

Publication Number Publication Date
CN101005549A CN101005549A (en) 2007-07-25
CN101005549B true CN101005549B (en) 2012-04-25

Family

ID=38704394

Family Applications (2)

Application Number Title Priority Date Filing Date
CN2007100027752A Expired - Fee Related CN101005549B (en) 2007-01-30 2007-01-30 Method, device and system for realizing voice list automatic distribution
CNA2007800002734A Pending CN101518043A (en) 2007-01-30 2007-10-10 Method, device and system for realizing automatic dispatch of call bills

Family Applications After (1)

Application Number Title Priority Date Filing Date
CNA2007800002734A Pending CN101518043A (en) 2007-01-30 2007-10-10 Method, device and system for realizing automatic dispatch of call bills

Country Status (2)

Country Link
CN (2) CN101005549B (en)
WO (1) WO2008092347A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101547104A (en) * 2008-03-25 2009-09-30 中兴通讯股份有限公司 Database entering method for wireless application protocol service diary

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5675798A (en) * 1993-07-27 1997-10-07 International Business Machines Corporation System and method for selectively and contemporaneously monitoring processes in a multiprocessing server
US6629237B2 (en) * 2000-09-01 2003-09-30 Intel Corporation Solving parallel problems employing hardware multi-threading in a parallel processing environment
CN1649376A (en) * 2004-01-19 2005-08-03 华为技术有限公司 Communication charging information feedback method and its system
CN1787588A (en) * 2005-12-01 2006-06-14 大唐软件技术有限责任公司 Method for processing multiprogress message and method for processing multiprogress talk ticket

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102005001905A1 (en) * 2005-01-14 2006-07-27 Siemens Ag Multimedia service fees charging method for e.g. cellular mobile radio network, involves evaluating parameter of signaling message when sending message between two network units and forwarding evaluation result to fees charging center

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5675798A (en) * 1993-07-27 1997-10-07 International Business Machines Corporation System and method for selectively and contemporaneously monitoring processes in a multiprocessing server
US6629237B2 (en) * 2000-09-01 2003-09-30 Intel Corporation Solving parallel problems employing hardware multi-threading in a parallel processing environment
CN1649376A (en) * 2004-01-19 2005-08-03 华为技术有限公司 Communication charging information feedback method and its system
CN1787588A (en) * 2005-12-01 2006-06-14 大唐软件技术有限责任公司 Method for processing multiprogress message and method for processing multiprogress talk ticket

Also Published As

Publication number Publication date
CN101518043A (en) 2009-08-26
CN101005549A (en) 2007-07-25
WO2008092347A1 (en) 2008-08-07

Similar Documents

Publication Publication Date Title
CN101034990B (en) Right management method and device
CN100478956C (en) Method and corresponding system for creating and obtaining report forms
CN1074229C (en) Queue managing system and method
CN101699479B (en) Method and system for process management
CN101150585A (en) A method, system and client device for controlling digital content
CN1131859A (en) Subscriber information service system
CN102137205A (en) Account recharging method and device and charging method, device and system
CN101267341A (en) A distributed network management system, network management server and method
CN103281787A (en) Service resource allocating method, service resource allocating server, service resource allocating terminal and service resource allocating system
CN101005549B (en) Method, device and system for realizing voice list automatic distribution
CN101556540B (en) Unified management method for a plurality of backup software and system thereof
CN101340370B (en) Link selection method and apparatus
CN101159972B (en) Traffic processing method and system and traffic control point
CN1236637C (en) Radio communication system with function of data changing and renewing
CN102694803A (en) Method and system for providing SOA (service-oriented architecture) services
CN100407623C (en) Method and system for user data transaction in communication system
CN105812411A (en) Customization information recommendation method and device
CN101576908A (en) Method and system for acquiring file handle by file name
CN104079963A (en) System and method for achieving remote control over smart television set
CN101141526A (en) Method of implementing voice navigation
CN1567932A (en) A method for automatic call initiation by terminal
US8180035B2 (en) Dialing plan removal
CN102624959A (en) Methods and devices for inquiring and using extension number in wireless equipment
JP4982522B2 (en) Relay server, content distribution system, and content distribution method
CN107197073A (en) A kind of method, storage device and mobile terminal for extending usim card phone directory

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120425

Termination date: 20130130

CF01 Termination of patent right due to non-payment of annual fee