CN100579252C - Method and system for reporting service voice code - Google Patents

Method and system for reporting service voice code Download PDF

Info

Publication number
CN100579252C
CN100579252C CN200610001568A CN200610001568A CN100579252C CN 100579252 C CN100579252 C CN 100579252C CN 200610001568 A CN200610001568 A CN 200610001568A CN 200610001568 A CN200610001568 A CN 200610001568A CN 100579252 C CN100579252 C CN 100579252C
Authority
CN
China
Prior art keywords
service voice
voice code
code
service
compression
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
CN200610001568A
Other languages
Chinese (zh)
Other versions
CN1859593A (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 CN200610001568A priority Critical patent/CN100579252C/en
Publication of CN1859593A publication Critical patent/CN1859593A/en
Application granted granted Critical
Publication of CN100579252C publication Critical patent/CN100579252C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

The present invention discloses reporting business sound coded method and system. Said method includes A, business sound resource processing system in turn reading business sound encoding from file server file server, encoding compression and storing; B, business sound resource processing system compressing and encoding stored code, according to business sound coded message carried business sound coded capacity, carrying in one more than one business sound coded message to transmit to resource management system. The present invention provided method and system save data space and reporting time.

Description

A kind of method and system of reporting service voice code
Technical field
The technology of sound coding, particularly a kind of method and system of reporting service voice code the present invention relates to manage business in professional sound resource processing system.
Background technology
In existing professional sound resource processing system, on narrowband speech playback market, occupied critical role with good reliable rows and extensibility as speech processing device (VP) or voice resource system (VRS).Intelligent call center ICD that professional sound resource processing system is supported and intelligent network business provide the different choice space for the resource management system at client place, wherein in intelligent network playback business, professional sound is the basic playback unit in the intelligent playback agreement, and the huge professional sound number of number and kind flexibly provide colourful playback to select for the resource management system at client place.
At present, the playback file of file server storage is called professional sound resource, the professional sound resource that file server will be stored reports resource management system with the form of service voice code by professional sound resource processing system, resource management system can be searched professional sound resource by professional sound resource processing system according to the service voice code that reports in file server, and the professional sound resource that will find offers the client of being administered.For example: what file server was stored is voice document, then file server reports resource management system with the form of speech coding by professional sound resource processing system with the voice document of storage, resource management system can be searched voice document by professional sound resource processing system according to the speech coding that reports in file server, and the voice document that finds is offered the client of being administered.Therefore, the speech coding that reports to resource management system plays crucial effect for resource management system for client provides professional sound resource.
Be that speech coding is illustrated below with service voice code.Each speech coding that reports to resource management system takies four bytes, Fig. 1 is the data structure schematic diagram of speech coding: the class of business of first this speech coding of byte-identifier, the category of language of second byte-identifier speech coding, latter two byte-identifier encoded radio.Each speech coding is totally 8 hexadecimal digits, takies four bytes, can be 1020BCDE as speech coding.
At present, the data structure of the speech coding message that reports by professional sound resource processing system of file server as shown in Figure 2: speech coding message comprises coded frame frame head and region frame data, and wherein the speech coding that will report in the region frame data writes successively.The speech coding message that file server will carry a plurality of speech codings sends to professional sound resource processing system, and the voice resource processing is transmitted the speech coding message that receives again and given resource management system.
It is simple to operation that file server adopts this mode to report the maximum characteristics of speech coding, but when reporting speech coding message, this speech coding message to take the lot of data space and on the long shortcoming that calls time also be conspicuous.For example: if file server has the speech coding of 64 * 1024 * 2 bytes to report, each 64K of speech coding byte of voice document suffix name VOX and literary composition language convert file suffix name TTS type wherein, the region frame data data capacity that each speech coding message is set is 272 bytes, and the number that then needs the speech coding message that reports is 64 * 1024 * 2/272=482.
In addition, in the process of transmitting of this very long speech coding message, if the incorrect order of message frame appears in the resource management system that receives message when decoding, to cause wholely reporting the procedure failure of speech coding, and must carry out the whole speech that reports again by professional sound resource processing system by professional sound resource processing system.Therefore, file server adopt this mode to report speech coding to increase greatly to report the speech coding failed probability and strengthen with the interacting message of professional sound resource processing system in the expense of system resource.
Similarly, when reporting other service voice code, also exist take the lot of data space and on the long shortcoming that calls time, and in case receive message frame appears in the resource management system of the service voice code message of carrying service voice code when decoding incorrect order, also can cause whole procedure failure by professional sound resource processing system reporting service voice code, will increase file server reporting service voice code failed probability so greatly and strengthen with the interacting message of professional sound resource processing system in the expense of system resource.
Summary of the invention
In view of this, main purpose of the present invention is to provide a kind of method of reporting service voice code, and this method can be at file server during to the resource management system reporting service voice code, save the data space that takies and on call time.
The present invention provides a kind of system of reporting service voice code on the other hand, this system at file server when resource management system reports speech coding, save the data space take and on call time.
According to above-mentioned purpose, technical scheme of the present invention is achieved in that
A kind of method of reporting service voice code, this method comprises:
A, professional sound resource processing system read service voice code from file server, carry out storing after the encoding compression;
B, the professional sound resource processing system service voice code after with the encoding compression of being stored carries the capacity of service voice code according to service voice code message, is carried in the one or more service voice code message and sends to resource management system.
Steps A is described carry out encoding compression before, this method also comprises: after service voice code is stored, obtain the service voice code of being stored.
Steps A is described carry out encoding compression before, the described process that service voice code is stored is: storage again after sorting according to ascending order or descending according to the encoded radio of the service voice code that reads.
Steps A is described carry out encoding compression before, carry out and describedly service voice code is carried out storing process be: judge that whether the service voice code that reads repeats with the service voice code of having stored, if repeat, abandons the service voice code that reads; If do not repeat, the service voice code that storage is read.
When carrying out the described encoding compression of steps A, also the service voice code that is compressed is carried out record, be specially:
A1, from the service voice code after the ordering of being stored, obtain current speech coding;
A2, obtain the next speech coding of current speech coding according to the order of the service voice code after the ordering of being stored;
A3, judge whether the class of business of described two service voice codes identical, if inequality, record ordering is the class of business of service voice code the preceding, with ordering after professional blue or green coding as current business sound coding, return steps A 2; Otherwise, execution in step A4;
A4, judge whether the category of language of described two service voice codes identical, if inequality, record ordering is the class of business and the category of language of service voice code the preceding, with ordering after service voice code as current business sound coding, return steps A 2; Otherwise, execution in step A5;
A5, judge whether the encoded radio of described two service voice codes differs 1, if not, record ordering is class of business, category of language and the encoded radio of service voice code the preceding, with ordering after service voice code as current business sound coding, return steps A 2; Otherwise, start the continuous programming code counter that is provided with and add 1 for this continuous programming code counter, with the next service voice code of current business sound coding as the current speech coding after, returning steps A 2 continues to carry out, all service voice codes after the ordering that will store are all handled, and class of business, language code and the encoded radio of the speech coding that starts the continuous programming code counter write down and recording gauge numerical value.
Described service voice code is a speech coding.
The described encoding compression of carrying out of steps A adopts the run-length encoding algorithm.
A kind of system of reporting service voice code, comprise file server and resource management system, between file server and resource management system, also comprise professional sound resource processing system, be used for to be treated to the service voice code data structure of setting from the service voice code that file server reads, carry out being carried in the one or more service voice code message after the encoding compression and send to resource management system.
Described professional sound resource processing system is made up of service voice code pretreatment module and service voice code compression, reporting module, wherein,
The service voice code pretreatment module is connected with service voice code compression, reporting module with file server respectively, be used for from file server read the service voice code reprocessing for the service voice code data structure of setting after, send to service voice code compression, reporting module;
Service voice code compresses, reports mould certainly to be connected with the service voice code pretreatment module with resource management system respectively, after being used for to carry out encoding compression from the service voice code after treatment that the service voice code pretreatment module receives, will being carried at through the service voice code of encoding compression in the one or more service voice code message again and sending to resource management system.
Described service voice code pretreatment module also comprises storage area, is used to preserve service voice code after treatment, and the service voice code of being preserved is after treatment sent to service voice code compression, reporting module.
Described service voice code compression, reporting module also comprise buffer area, be used to preserve service voice code, the service voice code after the process encoding compression of being preserved be carried in the one or more service voice code message send to resource management system through after the encoding compression.
Described service voice code pretreatment module is an input and output IO module;
Described service voice code compression, reporting module are speech processes management VM module.From such scheme as can be seen, the present invention is provided with professional sound resource processing system, make the professional sound resource system of resetting to carry out encoding compression to the service voice code that from file server, reads, when sending service voice code message, carry the service voice code after the encoding compression, thereby can at file server during, save the data space and the time that take to the resource management system reporting service voice code.A nearlyer step ground, the present invention can also carry out record to the service voice code that carries out encoding compression that will report resource management system, when sending service voice code message, can be carried in the service voice code message according to the service voice code that the record order will be carried out encoding compression, thereby the probability of the incorrect order of message frame appears in the resource management system that reduce to receive service voice code message when decoding, further reduce file server reporting service voice code failed probability and reduce with the interacting message of professional sound resource processing system in the expense of system resource.
Description of drawings
Fig. 1 is the data structure schematic diagram of prior art speech coding.
Fig. 2 is the data structure schematic diagram of prior art file server to the speech coding message of professional sound resource processing system transmission.
Fig. 3 is the method flow diagram of reporting service voice code of the present invention.
Fig. 4 is the system schematic of reporting service voice code of the present invention.
Fig. 5 is the method embodiment flow chart of the present invention to obtaining speech coding and handle from file server.
Fig. 6 writes down the flow chart of embodiment to the speech coding of encoding compression for the present invention.
Embodiment
In order to make the purpose, technical solutions and advantages of the present invention clearer, below lift specific embodiment and, the present invention is described in more detail with reference to accompanying drawing.
For file server when the resource management system reporting service voice code, data space that saving takies and time, the present invention will reset the professional sound resource processing system that file server need pass through when the resource management system reporting service voice code, make this system no longer as prior art, just transmit the speech coding message of carrying service voice code, but, again the service voice code after the encoding compression processing is sent to resource management system to after carrying out encoding compression processing from the next service voice code of file server reception.
In the present invention, service voice code is carried out the run-length encoding algorithm that encoding compression can adopt prior art.
Fig. 3 is the method flow diagram of reporting service voice code of the present invention, and its concrete steps are:
Step 300, professional sound resource processing system read the service voice code that will report resource management system successively from file server after, store successively.
After the service voice code that step 301, professional sound resource processing system will be stored successively carries out successively encoding compression, the service voice code after the encoding compression is successively stored.
Step 302, the professional sound resource processing system service voice code after with the encoding compression of being stored carries the capacity of service voice code according to service voice code message, is carried at successively in order in the one or more service voice code message and sends to resource management system.
In step 300, can not store, and after the service voice code that directly will read successively carries out successively encoding compression yet, the service voice code after the encoding compression is successively stored, execution in step 302 again.
In step 300, successively the mode of Cun Chu service voice code can for: the encoded radio according to each service voice code sorts, as after sorting according to ascending order or descending again the storage.
In step 300, before the service voice code that will read is stored successively, can also carry out a determining step, judge that promptly whether the service voice code that reads repeats with the service voice code of having stored, if repeat, then abandons the service voice code that reads; If do not repeat, then store the service voice code that reads.
If the mode of Cun Chu service voice code is storage again after sorting according to the encoded radio of each service voice code successively, in step 301, when the service voice code of being stored is carried out encoding compression, can also carry out record to the service voice code of each encoding compression, thereby the service voice code after the assurance encoding compression is carried in the service voice code message in order, and the method for record is:
First step scans service voice code successively according to the coding direct motion, successively two adjacent service voice codes is analyzed;
Second step, for two adjacent service voice codes, whether the class of business of judging these two service voice codes is consistent, judge promptly whether the byte that is used for the identification service kind in these two service voice codes is identical, if it is inequality, then the class of business that is positioned at the service voice code in order prostatitis in two service voice codes is carried out record, the service voice code that will be positioned at the order rank rear carries out class of business relatively again with the next service voice code of service voice code that is positioned at the order rank rear, in this manner that the service voice code of being stored is all intacter, finish record; If identical, judge whether the category of language of these two service voice codes is consistent, judge promptly whether the byte that is used for identifiable language's kind in these two service voice codes is identical.
The 3rd step, if category of language is inequality, then, return second step and relatively be positioned at the service voice code of order rank rear and the next service voice code of the service voice code that is positioned at the order rank rear once more after being positioned at the class of business of service voice code in order prostatitis and speech category in two service voice codes and writing down; If category of language is identical, then compare the encoded radio of these two service voice codes, promptly compare the byte that is used for the identification code value in these two service voice codes.
The 4th step, if differing, the encoded radio of these two service voice codes is not 1, after class of business, speech category and the encoded radio of service voice code that then will be positioned at the order prostatitis writes down, return second step and relatively be positioned at the service voice code of order rank rear and the next service voice code of the service voice code that is positioned at the order rank rear once more; If it is 1 that the encoded radio of these two service voice codes differs, after then starting the continuous programming code counter and adding 1, return the next speech coding that second step relatively is positioned at service voice code with the service voice code that is positioned at the order rank rear of order rank rear once more, differ up to comparative result and not to be at 1 o'clock, class of business, speech category and the encoded radio of the initial service voice code that starts this coding counter and the number that counter is counted are carried out record.
Because the present invention has carried out record to the service voice code that carries out encoding compression that will report resource management system, when the service voice code message of the service voice code that carries out encoding compression is carried in transmission, can be carried in the service voice code message according to the service voice code that the record order will be carried out encoding compression, thereby the probability of the incorrect order of message frame appears in the resource management system that reduce to receive the service voice code message of carrying service voice code when decoding, further reduce file server reporting service voice code failed probability and reduce with the interacting message of professional sound resource processing system in the expense of system resource.
The present invention also provides the system of reporting service voice code, as shown in Figure 4.This system comprises file server 400, professional sound resource processing system 401 and resource management system 402, wherein, also comprises the compression of service voice code pretreatment module 403 and service voice code, reporting module 404 in the professional sound resource processing system 401.
Service voice code pretreatment module 403 is connected with service voice code compression, reporting module 404 with file server 400 respectively, be used for reading the service voice code reprocessing for the service voice code data structure set and after preserving service voice code, the service voice code of preserving is sent to service voice code compression, reporting module 404 from file server 400.
Service voice code compression, reporting module 404 are connected with service voice code pretreatment module 403 with resource management system respectively, after being used for to carry out encoding compression and buffer memory from the service voice code of being preserved that service voice code pretreatment module 403 receives, the service voice code of the process encoding compression of institute's buffer memory being carried in the more than one service voice code message sending to resource management system again.
Service voice code pretreatment module 403 of the present invention can not stored treated service voice code yet, and the service voice code after directly will handling sends to service voice code compression, reporting module 404.
Service voice code pretreatment module 403 of the present invention can also load and finish message to service voice code compression, reporting module 404 transmission service voice codes earlier before the service voice code that will preserve sends.
Service voice code pretreatment module 403 can also comprise a storage area in order to preserve service voice code, is used to preserve service voice code after treatment.At this moment, service voice code compression, the memory block of reporting module 404 from service voice code pretreatment module 403 obtain the service voice code of being preserved after treatment.
For the buffer memory service voice code of encoding compression, can also comprise a buffer area in service voice code compression, the reporting module 404, be used to preserve service voice code through after the encoding compression.At this moment, when service voice code compression, reporting module 404 will send service voice code after carrying encoding compression, can from buffer area, obtain the service voice code after the process encoding compression of being preserved.
In the present invention, service voice code pretreatment module 403 can be input and output (IO) module, and service voice code compression, reporting module 404 can be managed (VM) module for speech processes.
Adopt the professional sound resource processing system of setting of the present invention to report through behind the service voice code of encoding compression to resource management system when file server, resource management system will be provided with the coding decompressing function, service voice code to the process encoding compression that receives is decoded, and obtains service voice code.The algorithm that the coding decompressing function that resource management system is provided with adopts is identical with the algorithm that professional sound resource processing system adopts, as all adopting the run-length encoding algorithm of prior art.Like this, resource management system can have been searched professional sound file by the professional sound resource processing system among the present invention according to the decoded speech coding in file server.Searching professional sound file by the professional sound resource processing system among the present invention in the file server for how is not the scheme that the present invention will protect, so no longer be elaborated.
When service voice code was speech coding, the professional sound resource processing system of setting of the present invention was the voice resource treatment system.
Below lift a specific embodiment system and method provided by the invention is described.
Suppose that the service voice code of storing in the file server is a speech coding, and the type of this speech coding is VOX.Certainly, the speech coding of other types is that the speech coding of TTS also can adopt present embodiment to finish the process that reports to resource management system as type.
Present embodiment is divided into the two large divisions: first is for to obtain speech coding and to carry out processing procedure from file server; Second portion is that speech coding is carried out encoding compression and reported the resource management system process.Below this two large divisions is described in detail.
Obtain speech coding and carry out processing procedure from file server
This process is finished by the IO module, and IO module and file server carry out alternately, and the voice document of file server storage is operated.
The IO module is that the filename of .VOX reads successively and handles with filename suffix in a plurality of voice documents of file server storage, and it is treated to the speech coding that type is four bytes of unsigned int (unsigned long).For example: the voice document that stores a 1234ABCD.VOX by name in the file server, then the IO module reads this document name with character string forms, then suffix name .VOX is removed, become " 1234ABCD " character string of totally 8 characters, account for the principle of 4 bits again with each character, 8 characters are set to the speech coding of a nybble, i.e. 8 hexadecimal numerals, per two hexadecimal numerals take a byte, wherein, the class of business 12 of this speech coding accounts for a byte, and category of language 34 accounts for a byte, and voice coder code value ABCD accounts for two bytes.
It is after the speech coding after the storage area of 64 * 1024 * 4 byte-sized is used for depositing processing, to judge whether the speech coding of being stored repeats that the IO module is provided with memory capacity, if, then abandon, otherwise, the speech coding after the stores processor then.When storaged voice is encoded, can also according to the encoded radio of the speech coding after handling carry out ascending order from small to large and arrange storage, finish up to the encoded radio of the speech coding of all storages is all arranged and stored, finish to obtain speech coding and carry out processing procedure from file server.
Fig. 5 is the method embodiment flow chart of the present invention to obtaining speech coding and handle from file server, and its concrete steps are:
Step 500, IO module read the filename that the filename suffix is the voice document of .VOX from file server.
Step 501, IO module are treated to speech coding with the filename that is read.
The speech coding that step 502, IO module determining step 501 handled whether with the speech coding of storing at self storage area in one identical, if then change step 504 over to; Otherwise, execution in step 503.
The speech coding that step 503, IO module are provided with step 501 is arranged according to the encoded radio ascending order and is inserted in self storage area execution in step 504.
Step 504, IO module accesses file server judge whether that the filename suffix is the voice document of .VOX in addition, if change step 500 over to; Otherwise, process ends.
Speech coding is carried out encoding compression and is reported the resource management system process
Speech coding carries out encoding compression and reports the resource management system process being finished by the VM module, after finishing the process of obtaining speech coding from file server and handling when the IO module, send the speech coding loading to the VM module and finish message, the VM that receives this message obtains the speech coding of being stored from the storage area of IO, adopt the run-length encoding algorithm to carry out after the encoding compression speech coding after the encoding compression being stored in the buffer area that self is provided with.
By the time all speech codings of being stored that from the storage area of IO, read all be encoded compression and be stored in the buffer area that the VM module is provided with after, the speech coding after the encoding compression of carrying out with institute's buffer memory is carried in the set speech coding message and sends to resource management system again, and this speech coding message can be carried the speech coding after the encoding compression of 272 bytes.
In the compression process of carrying out speech coding, correct for the class of business sign indicating number and the category of language sign indicating number of the speech coding that guarantees each encoding compression, can carry out class of business, category of language and encoded radio to the speech coding of each encoding compression and carry out record.This be because, when the encoded radio of certain two speech coding equates, but type of service is or/and category of language is different certainly, as: two speech codings are respectively 10101A2B and 201B1A2B.
Fig. 6 writes down the flow chart of embodiment for the present invention to the speech coding of encoding compression, and its concrete steps are:
Step 600, VM are obtained a speech coding in the storage area that is stored in the IO module according to the ascending order order and are encoded as current speech.
Step 601, VM obtain the next speech coding of the current speech coding in the storage area that is stored in the IO module according to the ascending order order.
Step 602, VM judge whether the class of business of two speech codings being obtained equates that if not, then execution in step 603; Otherwise, execution in step 604;
Step 603, VM write down the class of business of current speech coding, after the next speech coding of current speech coding is encoded as current speech, return step 601 and continue execution.
Step 604, VM judge whether the category of language of two speech codings being obtained equates that if not, then execution in step 605; Otherwise, execution in step 606.
Step 605, VM write down the class of business and the phonetic code of current speech coding, after the next speech coding of current speech coding is encoded as current speech, return step 601 and continue execution.
Step 606, VM judge whether the encoded radio of two speech codings being obtained differs 1, if not, then execution in step 607; Otherwise, execution in step 608.
Step 607, VM write down class of business, phonetic code and the encoded radio of current speech coding, after the next speech coding of current speech coding is encoded as current speech, return step 601 and continue execution.
Step 607, VM start the continuous programming code counter and add 1 for this continuous programming code counter, with the next speech coding of current speech coding as the current speech coding after, returning step 601 continues to carry out, up to all speech codings of IO module stores are all handled, class of business, language code and the encoded radio of the speech coding that starts the continuous programming code counter write down and recording gauge numerical value.
The present invention also can be optimized setting with the filename of the professional sound file of file server storage, and promptly the filename that the different business sound file of identical services kind and category of language is used adds 1 in proper order.As: the file of these professional sound files is respectively: 10110001,10110002,10110003,10110004,10110005,10110006,10110007,10110008,10110009,10110010,10110011,10110012,10110013,10110014,10110015,10110016,10110017,10110018,10110019,10110020,10110021,10110022,10110023 and 10110024.If according to the prior art reporting service voice code, then need to take the data space of 4 * 24=96 byte, and after adopting system and method provided by the invention, in interior shared data space 9 bytes only, compression ratio was up to 10.6: 1 together with the coded frame frame head.Therefore, system and method provided by the invention can greatly reduce the data volume that reports, and reduces the number that sends service voice code message.Further, system and method provided by the invention can improve the efficient of reporting service voice code, minimizing causes reporting failure because of the frame incorrect order risk.
Both made and in file server, the service voice code that will report has been deleted or increased, because most in practice speech codings with identical class of business and category of language that will report are to add 1 continuously to arrange in some interval, therefore, method and system provided by the invention are compared still with the scheme that prior art provides can keep about 8.7: 1 compression ratio, has shown good performance when reporting speech coding actually.
The above only is preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of being made within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.

Claims (12)

1, a kind of method of reporting service voice code is characterized in that, this method comprises:
A, professional sound resource processing system read service voice code from file server, carry out storing after the encoding compression;
B, the professional sound resource processing system service voice code after with the encoding compression of being stored carries the capacity of service voice code according to service voice code message, is carried in the one or more service voice code message and sends to resource management system.
2, the method for claim 1 is characterized in that, steps A is described carry out encoding compression before, this method also comprises: after service voice code is stored, obtain the service voice code of being stored.
3, method as claimed in claim 2 is characterized in that, steps A is described carry out encoding compression before, the described process that service voice code is stored is: storage again after sorting according to ascending order or descending according to the encoded radio of the service voice code that reads.
4, method as claimed in claim 2 is characterized in that, steps A is described carry out encoding compression before, carry out and describedly service voice code is carried out storing process be:
Judge that whether the service voice code that reads repeats with the service voice code of having stored, if repeat, abandons the service voice code that reads; If do not repeat, the service voice code that storage is read.
5, method as claimed in claim 3 is characterized in that, when carrying out the described encoding compression of steps A, also the service voice code that is compressed is carried out record, is specially: A1, obtain current speech coding from the service voice code after the ordering of being stored; A2, obtain the next speech coding of current speech coding according to the order of the service voice code after the ordering of being stored;
A3, judge whether the class of business of described two service voice codes identical, if inequality, record ordering is the class of business of service voice code the preceding, with ordering after service voice code as current business sound coding, return steps A 2; Otherwise, execution in step A4;
A4, judge whether the category of language of described two service voice codes identical, if inequality, record ordering is the class of business and the category of language of service voice code the preceding, with ordering after service voice code as current business sound coding, return steps A 2; Otherwise, execution in step A5;
A5, judge whether the encoded radio of described two service voice codes differs 1, if not, record ordering is class of business, category of language and the encoded radio of service voice code the preceding, with ordering after service voice code as current business sound coding, return steps A 2; Otherwise, start the continuous programming code counter that is provided with and add 1 for this continuous programming code counter, with the next service voice code of current business sound coding as the current speech coding after, returning steps A 2 continues to carry out, all service voice codes after the ordering that will store are all handled, and class of business, language code and the encoded radio of the speech coding that starts the continuous programming code counter write down and recording gauge numerical value.
As claim 1,2,3,4 or 5 described methods, it is characterized in that 6, described service voice code is a speech coding.
7, the method for claim 1 is characterized in that, the described encoding compression of carrying out of steps A adopts the run-length encoding algorithm.
8, a kind of system of reporting service voice code, comprise file server and resource management system, it is characterized in that, between file server and resource management system, also comprise professional sound resource processing system, be used for to be treated to the service voice code data structure of setting from the service voice code that file server reads, carry out being carried in the one or more service voice code message after the encoding compression and send to resource management system.
9, system as claimed in claim 8 is characterized in that, described professional sound resource processing system is made up of service voice code pretreatment module and service voice code compression, reporting module, wherein,
The service voice code pretreatment module is connected with service voice code compression, reporting module with file server respectively, be used for from file server read the service voice code reprocessing for the service voice code data structure of setting after, send to service voice code compression, reporting module;
Service voice code compression, reporting module are connected with the service voice code pretreatment module with resource management system respectively, after being used for to carry out encoding compression from the service voice code after treatment that the service voice code pretreatment module receives, will being carried at through the service voice code of encoding compression in the one or more service voice code message again and sending to resource management system.
10, system as claimed in claim 9, it is characterized in that, described service voice code pretreatment module also comprises storage area, is used to preserve service voice code after treatment, and the service voice code of being preserved is after treatment sent to service voice code compression, reporting module.
11, system as claimed in claim 9, it is characterized in that, described service voice code compression, reporting module also comprise buffer area, be used to preserve service voice code, the service voice code after the process encoding compression of being preserved be carried in the one or more service voice code message send to resource management system through after the encoding compression.
12, system as claimed in claim 9 is characterized in that, described service voice code pretreatment module is an input and output IO module;
Described service voice code compression, reporting module are speech processes management VM module.
CN200610001568A 2006-01-24 2006-01-24 Method and system for reporting service voice code Expired - Fee Related CN100579252C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200610001568A CN100579252C (en) 2006-01-24 2006-01-24 Method and system for reporting service voice code

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200610001568A CN100579252C (en) 2006-01-24 2006-01-24 Method and system for reporting service voice code

Publications (2)

Publication Number Publication Date
CN1859593A CN1859593A (en) 2006-11-08
CN100579252C true CN100579252C (en) 2010-01-06

Family

ID=37298447

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200610001568A Expired - Fee Related CN100579252C (en) 2006-01-24 2006-01-24 Method and system for reporting service voice code

Country Status (1)

Country Link
CN (1) CN100579252C (en)

Also Published As

Publication number Publication date
CN1859593A (en) 2006-11-08

Similar Documents

Publication Publication Date Title
US7924183B2 (en) Method and system for reducing required storage during decompression of a compressed file
US7770091B2 (en) Data compression for use in communication systems
CN109120272B (en) RFID tag data compression method for discrete manufacturing workshop
US8824560B2 (en) Virtual frame buffer system and method
US20090016453A1 (en) Combinatorial coding/decoding for electrical computers and digital data processing systems
US7650040B2 (en) Method, apparatus and system for data block rearrangement for LZ data compression
US7511639B2 (en) Data compression for communication between two or more components in a system
US5650783A (en) Data coding/decoding device and method
US6919826B1 (en) Systems and methods for efficient and compact encoding
TWI273779B (en) Method and apparatus for optimized lossless compression using a plurality of coders
US7786903B2 (en) Combinatorial coding/decoding with specified occurrences for electrical computers and digital data processing systems
US6748520B1 (en) System and method for compressing and decompressing a binary code image
US8463759B2 (en) Method and system for compressing data
CN100579252C (en) Method and system for reporting service voice code
US5915041A (en) Method and apparatus for efficiently decoding variable length encoded data
CN114500670B (en) Encoding compression method, decoding method and device
CN115765754A (en) Data coding method and coded data comparison method
CN112506876B (en) Lossless compression query method supporting SQL query
US20020001414A1 (en) System for building a data compression encoder
US6415061B1 (en) Method of updating dictionaries in a data transmission system using data compression
CN108848383A (en) A kind of compression method of video, image data
CN108573069A (en) A kind of Twins methods accelerating compression flow regular expression matching
CN1964496A (en) A coder and method and device to realize adaptive arithmetic code
CN110401458B (en) Data check coding method and system
CN1334948A (en) Chip card loadable with compressed data

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: 20100106

Termination date: 20180124

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