Method for rapidly transmitting large vocabulary voice in warehouse

文档序号:142313 发布日期:2021-10-22 浏览:28次 中文

阅读说明:本技术 一种仓库内大词汇语音快速传输方法 (Method for rapidly transmitting large vocabulary voice in warehouse ) 是由 陈旭 施甘图 庭治宏 徐韬 于 2021-07-12 设计创作,主要内容包括:本发明公开了一种仓库内大词汇语音快速传输方法,包括:第一平台发起语音请求数据;网关服务将语音请求数据发送到第二平台;第二平台解析请求数据大小并将接收到的数据进行OUI标识和网关虚拟链路开启请求;网关服务生成Vnet;第一平台将原始大词汇语音数据编码得到语音数据段;网关服务再次发送Vnet到第一平台,第一平台核对后将语音数据包发送到第二平台;第二平台解析OUI标识并对语音数据进行反编码得到原始语音数据;本发明通过标记传输过程,可有效的利用其监控传输过程及传输耗时;通过虚拟链路能精确分配及保证语音传输所占网络资源大小,提高大词汇语音传输速度;使用虚拟链路作为标签和标识进行关联,有效的确定多语因数据传输时链路的唯一性。(The invention discloses a method for quickly transmitting large vocabulary voice in a warehouse, which comprises the following steps: the first platform initiates voice request data; the gateway service sends the voice request data to the second platform; the second platform analyzes the size of the request data and carries out OUI identification and a gateway virtual link opening request on the received data; the gateway service generates Vnet; the method comprises the steps that a first platform encodes original large-vocabulary voice data to obtain a voice data section; the gateway service sends the Vnet to the first platform again, and the first platform sends the voice data packet to the second platform after checking; the second platform analyzes the OUI identification and performs inverse coding on the voice data to obtain original voice data; the invention can effectively utilize the transmission process to monitor the transmission process and the transmission time through marking the transmission process; the virtual link can accurately distribute and ensure the network resource occupied by voice transmission, and the large vocabulary voice transmission speed is improved; the virtual link is used as a label and an identifier for association, so that the uniqueness of the link in multi-language data transmission is effectively determined.)

1. A method for quickly transmitting large vocabulary voice in a warehouse is characterized by comprising the following steps: the first platform initiates voice request data to a gateway service; the gateway service sends the voice request data sent by the first platform to the second platform; the second platform analyzes the size of the request data, if the size meets the preset value, the OUI identification and the gateway virtual link opening request are carried out on the received data, then the data are sent to the gateway service, and if the size does not meet the preset value, ordinary transmission is carried out; after receiving the request of the second platform, the gateway service generates a temporary line tag Vnet and sends the line tag and the OUI identifier to the first platform; the first platform encodes the original large vocabulary voice data to obtain voice data segments, and then forms a Tag head by the received OUI and Vnet to be added to each segment of voice data segment; the gateway service sends Vnet to the first platform again after preparing the virtual link, the first platform checks whether the Vnet is consistent with the Vnet twice before and after, if so, the voice data packet is sent to the second platform, and if not, the voice data packet is checked again; the gateway service receives the voice data and then sends the voice data to the second platform through the virtual link; and after receiving the voice data, the second platform analyzes the OUI identifier in the Tag, verifies whether the OUI identifier is generated by the platform, performs inverse coding on the voice data according to the number to obtain original voice data if the OUI identifier is generated by the platform, completes transmission, and performs the OUI identifier again if the OUI identifier is not generated.

2. The in-warehouse large-vocabulary speech rapid transmission method according to claim 1, wherein the speech request data includes a size of the large-vocabulary speech data to be transmitted, a request address, and a requested address.

3. The in-warehouse large-vocabulary speech fast transmission method of claim 1, wherein the OUI id is a unique id received this time by the second platform; the gateway virtual link open request is a notification that the gateway requests virtual link open.

4. The in-warehouse large-vocabulary voice fast transmission method according to claim 1, wherein the Vnet tag is to be used as a credential for using a virtual link; after the gateway service sends the Vnet and the OUI identification to the first platform, the first platform will start to prepare a temporary virtual network link.

5. The method as claimed in claim 1, wherein the encoding of the original large-vocabulary speech data is based on up-converting the large-vocabulary speech data to obtain the partitionable points of the original speech data.

6. The in-warehouse large-vocabulary speech fast transmission method according to claim 5, wherein the speech data is segmented into speech data segments of a desired size according to the segmentation points of the speech data, and the speech data segments are sorted and numbered.

7. The method as claimed in claim 1, wherein the virtual link uses a two-layer technology, and the first platform to the gateway uses the virtual link to transmit all data segments added with Tag headers at the same time.

8. The method of claim 1 wherein the second platform sends the OUI id and a gateway virtual link close request to the gateway service after the OUI id is verified.

9. The method as claimed in claim 8, wherein after sending the request to the gateway service, the second platform down-converts the voice data to obtain the same division point of the data packet, and arranges the division points according to the sequence number to obtain the original large-vocabulary voice data file.

10. The method of claim 8, wherein the gateway service closes the corresponding virtual link according to the OUI id after receiving the request for closing the virtual link of the second platform, thereby completing the transmission.

Technical Field

The invention relates to the field of information transmission, in particular to a method for quickly transmitting large vocabulary voice in a warehouse.

Background

With the rapid development of the logistics industry, the interaction and operation inside the warehouse by voice becomes one of the indispensable ways to improve efficiency.

In the prior art, the large vocabulary voice data has a large data volume, and has the problems of slow transmission and large occupied bandwidth, so a method for quickly transmitting the large vocabulary voice data from a warehouse platform A to a warehouse platform B is needed, and the large vocabulary voice data between the platforms can be quickly, accurately and effectively transmitted.

Disclosure of Invention

The invention aims to: aiming at the existing problems, a method for quickly transmitting large vocabulary voice in a warehouse is provided; the invention solves the problem of slow transmission of large vocabulary voice data; the problem that large vocabulary voice data occupy more loans is solved.

The technical scheme adopted by the invention is as follows:

a method for quickly transmitting large vocabulary voice in a warehouse comprises the following steps: the first platform initiates voice request data to a gateway service; the gateway service sends the voice request data sent by the first platform to the second platform; the second platform analyzes the size of the request data, if the size meets the preset value, the OUI identification and the gateway virtual link opening request are carried out on the received data, then the data are sent to the gateway service, and if the size does not meet the preset value, ordinary transmission is carried out; after receiving the request of the second platform, the gateway service generates a temporary line tag Vnet and sends the line tag and the OUI identifier to the first platform; the first platform encodes the original large vocabulary voice data to obtain voice data segments, and then forms a Tag head by the received OUI and Vnet to be added to each segment of voice data segment; the gateway service sends Vnet to the first platform again after preparing the virtual link, the first platform checks whether the Vnet is consistent with the Vnet twice after receiving the Vnet again, if so, the voice data packet is sent to the second platform, and if not, the voice data packet is checked again; the gateway service receives the voice data and then sends the voice data to the second platform through the virtual link; and after receiving the voice data, the second platform analyzes the OUI identifier in the Tag, verifies whether the OUI identifier is generated by the platform, performs inverse coding on the voice data according to the number to obtain original voice data if the OUI identifier is generated by the platform, completes transmission, and performs the OUI identifier again if the OUI identifier is not generated.

Further, the voice request data comprises the size of the large vocabulary voice data to be transmitted, the request address and the requested address.

Further, the OUI identifier is a unique identifier for the second platform to receive the OUI identifier at this time; the gateway virtual link open request is a notification that the gateway requests virtual link open.

Further, the Vnet tag will be used as a credential for using a virtual link; after the gateway service sends the Vnet and the OUI identification to the first platform, the first platform will start to prepare a temporary virtual network link.

Furthermore, the encoding of the original large-vocabulary speech data is based on the up-conversion of the large-vocabulary speech data to obtain the partitionable points of the original speech data.

Further, the voice data can be divided into voice data segments of desired sizes according to the division points of the voice data, and the voice data segments can be sorted and numbered.

Furthermore, the virtual link uses a two-layer technology, and the first platform to the gateway can simultaneously transmit all data segments added with Tag headers by using the virtual link.

Further, after the OUI identifier is verified, the second platform sends the OUI identifier and a gateway virtual link close request to the gateway service.

Further, after the request is sent to the gateway service, the second platform reduces the frequency of the voice data to obtain the same division points of the data packet, and arranges the division points according to the number to obtain the original large-vocabulary voice data file.

Further, after receiving the virtual link closing request of the second platform, the gateway service closes the corresponding virtual link according to the OUI identifier, and completes the transmission.

In summary, due to the adoption of the technical scheme, the invention has the beneficial effects that:

1. the invention marks the whole transmission process through the OUI identification, and can effectively utilize the parameters of monitoring the transmission process, the transmission time consumption and the like.

2. The invention can accurately distribute and ensure the network resource size occupied by voice transmission through the virtual link, effectively improve the speed of large vocabulary voice transmission and reduce the bottleneck of large vocabulary voice transmission.

3. The invention uses the virtual link Vnet as a label to be associated with the OUI identification, effectively determines the uniqueness of the link during multi-language data transmission, and well controls the timeliness of the link

Drawings

The invention will now be described, by way of example, with reference to the accompanying drawings, in which:

FIG. 1 is a flow chart of a method for fast transmission of large vocabulary speech.

FIG. 2 is a platform send request data walk graph.

Detailed Description

All of the features disclosed in this specification, or all of the steps in any method or process so disclosed, may be combined in any combination, except combinations of features and/or steps that are mutually exclusive.

Any feature disclosed in this specification (including any accompanying claims, abstract) may be replaced by alternative features serving equivalent or similar purposes, unless expressly stated otherwise. That is, unless expressly stated otherwise, each feature is only an example of a generic series of equivalent or similar features.

Example 1

A method for fast transmitting large vocabulary speech in a warehouse, as shown in fig. 1 and fig. 2, includes:

s1: the first platform initiates a voice request for data to the gateway service.

In the above step, the voice request data includes the size of the large vocabulary voice data to be transmitted, the request address, and the requested address.

S2: the gateway service transmits the voice request data transmitted by the first platform to the second platform.

In the above step, the second platform is a requested address.

S3: the second platform analyzes the size of the request data, if the size meets a preset value, S4 is executed, and if the size does not meet the preset value, ordinary transmission is performed.

In the above steps, the second platform receives the request file and then analyzes the data size therein, and judges whether the data size meets a preset value, and if so, a large vocabulary voice transmission mode is performed.

S4: and carrying out OUI identification and a gateway virtual link opening request on the received data, and then sending the data to the gateway service.

In the above step, the OUI identifier is a unique identifier received by the second platform at this time, and can mark the transmission at this time, and has uniqueness; the gateway virtual link open request is a notification that the gateway requests virtual link open.

S5: and after receiving the request of the second platform, the gateway service generates a temporary line tag Vnet and sends the line tag and the OUI identifier to the first platform.

In the above steps, after receiving the virtual link opening request of the second platform, the gateway service will generate a temporary line tag Vnet, which will be used as a credential for using the virtual link; after the gateway service sends the Vnet and the OUI identification to the first platform, the first platform will start to prepare a temporary virtual network link.

S6: the first platform encodes the original large vocabulary voice data to obtain voice data segments, and then forms a Tag head by the received OUI and Vnet to be added to each segment of voice data segment.

In the above steps, platform a will prepare to encode the original large vocabulary voice data after receiving OUI tag and Vnet sent by the gateway service, and encode to obtain a voice data segment, specifically, the encoding of the original large vocabulary voice data is to perform frequency up processing on the large vocabulary voice data to obtain a partitionable point of the original voice data, and the voice data can be partitioned into voice data segments of ideal size according to the partitionable point of the voice data; after the voice data segments are obtained, sequencing each segment of voice data according to the sequence of the segmentation points of the original voice data, and coding a corresponding serial number; after generating the voice data segment with sequence number, the received OUI and Vnet form a Tag head to be added to each voice data segment.

S7: the gateway service will send Vnet to the first platform again after the virtual link is ready.

In the above steps, the virtual link uses a two-layer technology, and the platform to the gateway may transmit the data segment of step S6, that is, all the data segments to which the Tag header is added, simultaneously using the virtual link.

S8: the first platform checks whether Vnet is consistent with each other twice before and after, if so, S9 is executed, and if not, the check is performed again.

In the above steps, the gateway service sends Vnet twice to notify the first platform that the virtual link is completed, and the first platform verifies whether the two previous and subsequent Vnet values are consistent after receiving the Vnet.

S9: the voice data packet is sent to the second platform.

In the above steps, after the first platform verifies that the Vnet values received twice before and after the first platform verifies are the same, all the data segments added with the Tag headers in step S6 are sent to the virtual link, the data segments are sent to the gateway service through the virtual link, and after receiving the voice data, the gateway server sends the voice data to the second platform through the virtual link.

S10: and after receiving the voice data, the second platform analyzes the OUI identification in the Tag, verifies whether the OUI identification is generated by the platform, if so, executes S11, and otherwise, re-executes the OUI identification.

In the above steps, after the second platform receives all data segments with Tag headers, it verifies the OUI identifiers on all data segments.

S11: and performing inverse coding on the voice data according to the sequence number to obtain original voice data, and finishing transmission.

In the above steps, after the OUI authentication is completed, the second platform sends the OUI identifier and the gateway virtual link closing request to the gateway service; after the request is sent to the gateway service, the second platform reduces the frequency of the voice data to obtain division points with the same data packet, and arranges the division points according to the serial numbers to obtain an original large-vocabulary voice data file; and after receiving the virtual link closing request of the second platform, the gateway service closes the corresponding virtual link according to the OUI identification to complete the transmission.

The invention marks the whole transmission process through the OUI mark, and can effectively utilize the parameters of monitoring the transmission process, the transmission time consumption and the like; meanwhile, the network resource size occupied by voice transmission can be accurately distributed and ensured through the two-layer virtual link, the speed of large-vocabulary voice transmission is effectively improved under a two-layer network, and the bottleneck of large-vocabulary voice transmission is reduced; the virtual link Vnet is used as a label to be associated with the OUI identification, so that the uniqueness of the link during multi-language data transmission is effectively determined, and meanwhile, the timeliness of the link is well controlled.

The invention is not limited to the foregoing embodiments. The invention extends to any novel feature or any novel combination of features disclosed in this specification and any novel method or process steps or any novel combination of features disclosed.

8页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:图像处理装置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!