WO2016180174A1 - Procédé et appareil permettant de synchroniser des fichiers vocaux - Google Patents
Procédé et appareil permettant de synchroniser des fichiers vocaux Download PDFInfo
- Publication number
- WO2016180174A1 WO2016180174A1 PCT/CN2016/079588 CN2016079588W WO2016180174A1 WO 2016180174 A1 WO2016180174 A1 WO 2016180174A1 CN 2016079588 W CN2016079588 W CN 2016079588W WO 2016180174 A1 WO2016180174 A1 WO 2016180174A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- voice
- storage address
- file
- updated
- update file
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 49
- 238000012795 verification Methods 0.000 claims description 27
- 230000001360 synchronised effect Effects 0.000 claims description 8
- 238000007726 management method Methods 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 230000002159 abnormal effect Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000013024 troubleshooting Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1097—Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M3/00—Automatic or semi-automatic exchanges
- H04M3/42—Systems providing special services or facilities to subscribers
Definitions
- This document relates to, but is not limited to, core network technology, and more particularly to a method and apparatus for voice file synchronization.
- the operator records certain voice files according to the service needs, and then loads the voice files into the media gateway, and the media gateway plays the corresponding voice according to the service.
- a carrier's communication station has multiple service modules, and each service module has multiple storage units.
- the communication station needs to use thousands of voice files when conducting business daily. The same voice will be distributed. In different storage units of multiple business modules. If the service of the communication station needs to be changed and the voice file needs to be updated and synchronized, it is necessary to find out which service modules are stored in the storage unit of the voice file, and then replace them one by one. In the related art, the replacement operation of the voice file is completed manually, the workload is large, and the probability of misoperation is large; and it is difficult to directly know whether the voice file stored in the storage unit is correct by manual operation, and whether the stored voice file is correct or not is required. After the voice file in the storage unit is downloaded and manually checked, the efficiency is low.
- the embodiment of the invention provides a method and a device for synchronizing a voice file, which can reduce the workload and the probability of misoperation in the process of synchronizing the voice file, and improve the synchronization efficiency of the voice file.
- An embodiment of the present invention provides a method for synchronizing a voice file, where the method includes:
- the voice file to be updated saved in the storage address of the voice file to be updated is replaced with the voice update file according to a preset storage address arrangement order.
- the method further includes:
- the voice update files saved in the storage address are sequentially verified according to the preset storage address arrangement order
- the voice update file verification in the at least one storage address fails, the voice update file is replaced with a storage address where the voice update file verification fails.
- the method when the receiving a voice update file, the method further includes: acquiring a check code of the received voice update file;
- the verification of the voice update file saved in the storage address according to the preset storage address arrangement order includes:
- the method further includes:
- the preset storage address arrangement order is an arrangement order of the storage addresses held in the storage address queue.
- the method further includes: clearing the storage address queue.
- an embodiment of the present invention provides a device for synchronizing a voice file, where the device includes: a receiving unit, a searching unit, and a replacement unit;
- the receiving unit is configured to receive a voice update file
- the searching unit is configured to search for a storage address of the voice file to be updated according to an association relationship between the pre-stored voice file and the voice file storage address;
- the replacing unit is configured to, according to a preset storage address arrangement order, the to-be-updated voice
- the voice file to be updated saved in the storage address of the file is replaced with the voice update file.
- the device further includes a check unit and a determining unit; wherein
- the verification unit is configured to sequentially verify the voice update file saved in the storage address according to a preset storage address arrangement order; and trigger the determination unit when the voice update file in all the storage addresses is successfully verified; And triggering the replacement unit when the voice update file verification in the at least one storage address fails;
- the determining unit is configured to determine that the voice file is successfully synchronized
- the replacement unit is further configured to replace the voice update file with a storage address where the voice update file verification fails.
- the device further includes an acquiring unit, configured to obtain a check code of the received voice update file;
- the check unit is configured to obtain a check code of the voice update file saved in the storage address of the voice file to be updated according to a preset storage address arrangement order, and the check code is received by the check code The checksum of the voice update file is compared.
- the device further includes: the generating unit further configured to: generate, according to the queried storage address of the to-be-updated voice file, a storage address queue;
- the preset storage address arrangement order is an arrangement order of the storage addresses held in the storage address queue.
- the determining unit is further configured to clear the storage address queue.
- the technical solution provided by the present invention includes: searching for a storage address of a voice file to be updated according to an association relationship between a pre-stored voice file and a voice file storage address; and ranking according to a preset storage address.
- the voice file to be updated stored in the storage address of the voice file to be updated is replaced with a voice update file, thereby reducing manual participation in the voice file synchronization process, reducing the erroneous operation rate during the voice file synchronization process, and improving the voice file. Synchronization efficiency.
- FIG. 1 is a schematic flowchart of a method for synchronizing a voice file according to an embodiment of the present invention
- FIG. 2 is a schematic flowchart of a method for synchronizing a voice file according to an embodiment of the present invention
- FIG. 3 is a schematic structural diagram of an apparatus for synchronizing a voice file according to an embodiment of the present invention
- FIG. 4 is a schematic structural diagram of another apparatus for synchronizing voice files according to an embodiment of the present invention.
- the method may be applied to a network management system, and the method may include:
- Step 101 Receive a voice update file.
- Step 102 Search for a storage address of the voice file to be updated according to an association relationship between the pre-stored voice file and the voice file storage address.
- Step 103 Replace the to-be-updated voice file saved in the storage address of the voice file to be updated into a voice update file according to a preset storage address arrangement order.
- whether the voice file synchronization process of step 101 to step 103 is successful may be determined by verifying the replaced voice update file, optionally, the file to be updated in the storage address of the voice file to be updated.
- the voice file is replaced with a voice update file, it can also include:
- the voice update files saved in the storage address are sequentially verified according to the preset storage address arrangement order
- the voice update file verification in the at least one storage address fails, the voice update file is replaced with the storage address of the voice update file verification failure; understandably, the voice update file is replaced with the voice update file verification failure storage.
- the voice update file of the storage address replaced with the voice update file verification failure may continue to be verified until the voice update file replaced in all the storage addresses is successfully verified; or after multiple verification failures, An abnormal alert can be fed back, prompting the network administrator to troubleshoot.
- the method may further obtain a check code of the received voice update file, for example, a message digest algorithm (MD5) code, a secure hash algorithm (SHA, Secure Hash Algorithm)
- MD5 code a message digest algorithm
- SHA Secure Hash Algorithm
- the voice update file saved in the storage address is sequentially verified according to the preset storage address arrangement order, and may include:
- the storage address of the to-be-updated voice file is saved or cached in a normal manner; after the storage address of the voice file to be updated is searched according to the relationship between the pre-stored voice file and the voice file storage address, It can also include:
- the queue is a storage form of the storage address of the voice file to be updated, and each item in the storage address queue corresponds to a storage address of the voice file to be updated;
- the service corresponding to each service The storage unit in the module saves the voice file used by the service; thus, a single voice file is stored in a storage unit in multiple service modules, that is, there are multiple storage addresses; therefore, the storage of the voice file to be updated.
- the number of the addresses is at least one, and the association between the pre-stored voice file and the voice file storage address in step 102 may also be a voice file address information table in which the voice file and the corresponding saved storage address are saved. ;
- those skilled in the art can also save the storage address of the updated voice file by using a data structure having a sequence relationship, such as a list, a linked list, an array, and the like, which is not described in detail in the embodiment of the present invention.
- the preset storage address arrangement order may be an arrangement order of the storage addresses stored in the storage address queue.
- the method further includes: clearing the storage address queue.
- This embodiment provides a voice file synchronization method by using a pre-stored voice file and a language
- the association between the storage addresses of the audio files is used to find the storage address of the voice file to be updated; and the voice file to be updated stored in the storage address of the voice file to be updated is replaced with the voice update file according to the preset storage address arrangement order, thereby
- the manual participation in the process of synchronizing voice files is reduced, the misoperation rate in the process of synchronizing voice files is reduced, and the synchronization efficiency of voice files is improved.
- the embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the voice file synchronization method.
- FIG. 2 a detailed process of a voice file synchronization method according to an embodiment of the present invention is shown.
- the process may be applied to a network management system, and the process may include:
- Step 201 Receive a voice update file, and generate an MD5 value corresponding to the voice update file.
- Step 202 Search for an association relationship between the pre-stored voice file and the voice file storage address according to the identifier of the voice update file, and obtain a storage address of the voice file to be updated.
- the file identifier between the two is generally the same, so that after the replacement, the network management system program does not affect the file. Call.
- Step 203 Generate a storage address queue according to the stored storage address of the voice file to be updated.
- the queue is a storage form of the storage address of the voice file to be updated, and a person skilled in the art can also save the storage address of the updated voice file by using a data structure having a sequence relationship such as a list, a linked list, an array, and the like. The embodiments of the invention do not describe this.
- Step 204 Replace the to-be-updated voice file saved in the storage address of the voice file to be updated with the voice update file according to the order of the storage addresses stored in the storage address queue, and generate the voice saved in the current storage address after the replacement is completed. Update the MD5 value of the file;
- Step 205 Obtain the MD5 value of the voice update file saved in the storage address of the voice file to be updated according to the order of the storage addresses stored in the storage address queue, and perform the MD5 value and the MD5 value of the received voice update file. Alignment; when the two are consistent, all storage locations are indicated If the voice update file in the address is successfully verified, go to step 206; when the two are inconsistent, the voice update file in the at least one storage address fails to be verified, then go to step 207;
- Step 206 Determine that the voice file is successfully synchronized, and clear the storage address queue.
- Step 207 Replace the voice update file with the storage address where the voice update file verification fails.
- the voice update file replaced with the storage address of the voice update file verification failure may be further verified until all the storage is performed.
- the voice update file replaced in the address is successfully verified; or after multiple verification failures, an abnormal alarm can be fed back, prompting the network administrator to perform troubleshooting.
- the embodiment provides a detailed process of the voice file synchronization method, and searches for the storage address of the voice file to be updated according to the association relationship between the pre-stored voice file and the voice file storage address; and according to the preset storage address arrangement order
- the voice file to be updated stored in the storage address of the voice file to be updated is replaced with a voice update file, thereby reducing manual participation in the voice file synchronization process, reducing the erroneous operation rate during the voice file synchronization process, and improving the voice file. Synchronization efficiency.
- a voice file synchronization device 30 according to an embodiment of the present invention is shown.
- the device 30 can be integrated into a network management system, and the device 30 can include: a receiving unit. 301, a search unit 302 and a replacement unit 303; wherein
- the receiving unit 301 is configured to receive a voice update file
- the searching unit 302 is configured to search for a storage address of the voice file to be updated according to an association relationship between the pre-stored voice file and the voice file storage address;
- the replacing unit 303 is configured to replace the to-be-updated voice file saved in the storage address of the voice file to be updated with the voice update file according to a preset storage address arrangement order.
- the apparatus 30 may further include a check unit 304 and a determining unit 305;
- the verification unit 304 is configured to sequentially verify the voice update file stored in the storage address according to a preset storage address arrangement order; and, when all the storage addresses are voice update files, Successfully, trigger determination unit 305; and, when the voice update file verification in at least one storage address fails, trigger replacement unit 303;
- the determining unit 305 is configured to determine that the voice file is successfully synchronized
- the replacement unit 303 is further arranged to replace the voice update file with a storage address at which the voice update file verification failed.
- the apparatus 30 may further include an obtaining unit 306 configured to obtain a check code of the received voice update file.
- the verification unit 304 is configured to obtain a verification code of the voice update file saved in the storage address of the voice file to be updated according to a preset storage address arrangement order, and check the verification code and the received voice update file. The checksums are compared.
- the device 30 may further include: a generating unit 307, configured to generate a storage address queue according to the stored storage address of the voice file to be updated;
- the preset storage address is arranged in the order in which the storage addresses held in the storage address queue are arranged.
- the determining unit 305 is further configured to clear the storage address queue.
- the above technical solution reduces manual participation in the process of synchronizing voice files, reduces the misoperation rate in the process of synchronizing voice files, and improves the synchronization efficiency of voice files.
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Telephonic Communication Services (AREA)
Abstract
La présente invention porte sur un procédé et un appareil permettant de synchroniser des fichiers vocaux. Le procédé consiste : à recevoir des fichiers de mise à jour vocaux ; à rechercher les adresses de stockage des fichiers vocaux à mettre à jour selon une relation d'association pré-stockée entre les fichiers vocaux et les adresses de stockage des fichiers vocaux ; et à remplacer, conformément à une séquence de disposition d'adresses de stockage prédéterminée, les fichiers à mettre à jour stockés dans les adresses de stockage des fichiers à mettre à jour, à l'intérieur des fichiers de mise à jour vocaux. Dans un mode de réalisation, le procédé de la présente invention réduit la participation manuelle dans le processus de synchronisation de fichiers vocaux, réduit le taux d'erreurs de fonctionnement dans le processus de synchronisation de fichiers vocaux, et améliore l'efficacité de la synchronisation de fichiers vocaux.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510486013.9 | 2015-08-10 | ||
CN201510486013.9A CN106453455A (zh) | 2015-08-10 | 2015-08-10 | 一种语音文件同步方法和装置 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2016180174A1 true WO2016180174A1 (fr) | 2016-11-17 |
Family
ID=57247752
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2016/079588 WO2016180174A1 (fr) | 2015-08-10 | 2016-04-18 | Procédé et appareil permettant de synchroniser des fichiers vocaux |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN106453455A (fr) |
WO (1) | WO2016180174A1 (fr) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109510678B (zh) * | 2018-09-30 | 2020-10-27 | 武汉武钢绿色城市技术发展有限公司 | 一种通过中间件实现ip语音广播控制的方法 |
CN111611208A (zh) * | 2020-05-27 | 2020-09-01 | 北京太极华保科技股份有限公司 | 文件存储与查询的方法及装置、存储介质 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6523022B1 (en) * | 1997-06-09 | 2003-02-18 | Allen Hobbs | Method and apparatus for selectively augmenting retrieved information from a network resource |
CN1561059A (zh) * | 2004-02-23 | 2005-01-05 | 中兴通讯股份有限公司 | 一种通讯***中语音数据的加载方法 |
CN101119414A (zh) * | 2007-09-19 | 2008-02-06 | 华为技术有限公司 | 访问数据库的方法及*** |
CN103179219A (zh) * | 2011-12-20 | 2013-06-26 | ***通信集团公司 | 一种内容寻址方法及*** |
CN104462141A (zh) * | 2013-09-24 | 2015-03-25 | ***通信集团重庆有限公司 | 一种数据存储与查询的方法、***及存储引擎装置 |
-
2015
- 2015-08-10 CN CN201510486013.9A patent/CN106453455A/zh active Pending
-
2016
- 2016-04-18 WO PCT/CN2016/079588 patent/WO2016180174A1/fr active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6523022B1 (en) * | 1997-06-09 | 2003-02-18 | Allen Hobbs | Method and apparatus for selectively augmenting retrieved information from a network resource |
CN1561059A (zh) * | 2004-02-23 | 2005-01-05 | 中兴通讯股份有限公司 | 一种通讯***中语音数据的加载方法 |
CN101119414A (zh) * | 2007-09-19 | 2008-02-06 | 华为技术有限公司 | 访问数据库的方法及*** |
CN103179219A (zh) * | 2011-12-20 | 2013-06-26 | ***通信集团公司 | 一种内容寻址方法及*** |
CN104462141A (zh) * | 2013-09-24 | 2015-03-25 | ***通信集团重庆有限公司 | 一种数据存储与查询的方法、***及存储引擎装置 |
Also Published As
Publication number | Publication date |
---|---|
CN106453455A (zh) | 2017-02-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11086825B2 (en) | Telemetry system for a cloud synchronization system | |
US8719386B2 (en) | System and method for providing configuration synchronicity | |
CN109522363B (zh) | 基于区块链的云平台同步方法、***、设备及存储介质 | |
US11182403B2 (en) | Systems and methods of launching new nodes in a blockchain network | |
WO2020224238A1 (fr) | Équipement, dispositif et procédé de déploiement de nœuds de chaîne de blocs, et support d'informations | |
WO2017202224A1 (fr) | Procédé de gestion de mot de passe d'accès à une base de données | |
WO2020199713A1 (fr) | Procédé de vérification de données, système, appareil, et dispositif | |
US20120324279A1 (en) | Method and Apparatus of Backing up Subversion Repository | |
CN113626416A (zh) | 数据校验的方法、装置、计算设备和存储介质 | |
WO2017107984A1 (fr) | Procédé et dispositif de récupération de données | |
CN106850724B (zh) | 数据推送方法及装置 | |
WO2016180174A1 (fr) | Procédé et appareil permettant de synchroniser des fichiers vocaux | |
US9031969B2 (en) | Guaranteed in-flight SQL insert operation support during an RAC database failover | |
US20240061754A1 (en) | Management of logs and cache for a graph database | |
CN112579591B (zh) | 数据校验方法、装置、电子设备及计算机可读存储介质 | |
CN111427864A (zh) | 数据的分批归档方法、装置、设备及存储介质 | |
CN101616002B (zh) | 一种用户身份验证方法及装置 | |
CN111339100B (zh) | 数据核对方法及装置 | |
TW201344574A (zh) | 多點同步儲存之檔案下載異常處理系統及方法 | |
CN110347609B (zh) | 一种测试区块链软件的方法及装置 | |
CN105765908A (zh) | 一种多站点自动更新方法、客户端和*** | |
WO2015127758A1 (fr) | Procédé, dispositif et système de retransmission de données d'un fichier de sauvegarde | |
US9912727B1 (en) | Multiple concurrent in-flight replies in a distributed state system | |
CN112241332A (zh) | 一种接口补偿的方法和装置 | |
WO2022253125A1 (fr) | Procédé et dispositif de récupération de données, et support de stockage |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 16792024 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 16792024 Country of ref document: EP Kind code of ref document: A1 |