[go: up one dir, main page]

CN111836218B - Voice information forwarding method and device and data forwarding method and device - Google Patents

Voice information forwarding method and device and data forwarding method and device Download PDF

Info

Publication number
CN111836218B
CN111836218B CN202010948209.6A CN202010948209A CN111836218B CN 111836218 B CN111836218 B CN 111836218B CN 202010948209 A CN202010948209 A CN 202010948209A CN 111836218 B CN111836218 B CN 111836218B
Authority
CN
China
Prior art keywords
data
forwarding
voice information
voice
target
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.)
Active
Application number
CN202010948209.6A
Other languages
Chinese (zh)
Other versions
CN111836218A (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.)
Caltta Technologies Co ltd
Original Assignee
Caltta 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 Caltta Technologies Co ltd filed Critical Caltta Technologies Co ltd
Publication of CN111836218A publication Critical patent/CN111836218A/en
Application granted granted Critical
Publication of CN111836218B publication Critical patent/CN111836218B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • H04W4/10Push-to-Talk [PTT] or Push-On-Call services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing
    • H04W40/22Communication route or path selection, e.g. power-based or shortest path routing using selective relaying for reaching a BTS [Base Transceiver Station] or an access point
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The embodiment of the invention provides a method and a device for forwarding voice information and a method and a device for forwarding data, wherein the method comprises the following steps: receiving partial or all contents of voice information sent by a terminal through forwarding equipment, wherein the partial contents of the voice information comprise: a voice superframe; under the condition that the forwarding device receives part or all of the contents of the voice information, the forwarding device directly forwards part and all of the contents of the voice information to the target device, so that the problems that the forwarding device consumes certain time to cause delay in forwarding and the like due to the fact that the forwarding device receives, decodes and transmits the received voice information can be solved, and the effect of reducing the digital voice information forwarding delay is achieved.

Description

Voice information forwarding method and device and data forwarding method and device
Technical Field
The embodiment of the invention relates to the field of communication, in particular to a method and a device for forwarding voice information and a method and a device for forwarding data.
Background
In the existing narrow-band technology communication technology, domestic PDT (Police Digital Trunking, PDT for short) and international DMR (Digital Mobile Radio, DMR for short) are mainly used. In PDT/DMR digital transit mode, the forwarding device (including but not limited to the transit station) will forward the voice and data of the terminal to other terminals or other forwarding devices after receiving the voice and data of the terminal. The forwarding process of the forwarding device mainly comprises the following steps: and receiving the information of the terminal, receiving and decoding the information, transmitting and coding the information, and finally forwarding the information. Because receiving decoding and transmitting encoding in the forwarding process can consume certain time, delay can be generated in forwarding; if the information is forwarded once through a plurality of forwarding devices, the forwarding delay of the whole information is further extended.
In PDT/DMR protocol digital mode, fig. 1 is a schematic diagram of digital voice relay, where a voice transmitted by a terminal includes a voice header and a voice superframe (as shown in step a and step e in fig. 1), where the voice header carries voice attribute information, and the voice superframe carries voice and voice attribute information. The forwarding device forwards the voice header and the voice superframe to other terminals or other forwarding devices. Before forwarding, the forwarding device needs to receive, decode, transmit and encode information (step b and step f shown in fig. 1), and then forward the voice header and the voice super frame, where digital signal transmission in fig. 1 refers to wireless transmission, decoding and encoding (step b and step f shown in fig. 1), and particularly refers to channel encoding and decoding and source encoding and decoding in the digital voice communication process. Receiving the decoding and transmitting the encoding (such as the decoding and encoding in fig. 1) may cause a forwarding delay, which may further extend if there are multiple forwarding devices in the network, affecting the timeliness of the voice forwarding. As shown in fig. 1, step b and step f will generate a delay.
In the related art, an effective technical scheme is not provided yet for the problems that the forwarding device consumes a certain time to delay the forwarding and the like because the forwarding device can receive, decode and transmit the received voice information.
Disclosure of Invention
The embodiment of the invention provides a method and a device for forwarding voice information and a method and a device for forwarding data, which are used for at least solving the problems that certain time is consumed for receiving, decoding and transmitting codes in the forwarding process, so that the forwarding is delayed and the like in the related technology.
According to an embodiment of the present invention, there is provided a method for forwarding voice information, including: receiving partial or all contents of voice information sent by a terminal through forwarding equipment, wherein the partial contents of the voice information comprise: a voice superframe; and under the condition that the forwarding equipment receives part or all of the content of the voice information, directly forwarding the part and all of the content of the voice information to the destination equipment.
In an exemplary embodiment, in a case that the forwarding device receives a partial content of voice information sent by a terminal, directly forwarding the partial content of the voice information to a destination device includes: under the condition that the partial content of the voice information is not decoded and the partial content of the voice information is not coded, directly forwarding the partial content of the voice information to a destination device; under the condition that the partial content of the voice information is not decoded, directly forwarding the partial content of the voice information to a target device; and under the condition that the partial content of the voice information is not coded, directly forwarding the partial content of the voice information to a destination device.
In an exemplary embodiment, after the partial content of the voice information is directly forwarded to the destination device without decoding and encoding the partial content of the voice information, the method further includes: and decoding part of the content of the voice information through the forwarding equipment to obtain the decoded voice information.
In an exemplary embodiment, in a case that the forwarding device receives all contents of voice information sent by a terminal, the directly forwarding all contents of the voice information to a destination device includes: under the condition that the whole content of the voice information is not decoded and the whole content of the voice information is not coded, directly forwarding the whole content of the voice information to a target device; under the condition that the whole content of the voice information is not decoded, directly forwarding the whole content of the voice information to a target device; and under the condition that the whole content of the voice information is not coded, directly forwarding the whole content of the voice information to a target device.
In an exemplary embodiment, after the entire content of the voice information is not decoded and not encoded, the entire content of the voice information is directly forwarded to a destination device, the method further includes: and decoding all contents of the voice information through the forwarding equipment to obtain decoded voice information.
In an exemplary embodiment, receiving, by a forwarding device, part or all of content of voice information transmitted by a terminal includes: receiving a voice superframe sent by the terminal through the forwarding equipment; or receiving the voice header and the voice superframe sent by the terminal through the forwarding equipment.
According to another embodiment of the present invention, there is provided a data forwarding method including: after the forwarding equipment receives the data of the burst structure, analyzing the data; and under the condition that a target field exists in the analyzed data, forwarding the data to target equipment corresponding to the data, wherein the target field is a field predetermined by the forwarding equipment and a sending end of the data.
In an exemplary embodiment, forwarding the data to a destination device corresponding to the data includes: under the condition that the target field comprises a data type field, analyzing the data type field in the data, wherein the data type field meets a preset condition, and forwarding the data to a target device corresponding to the data; and under the condition that the target field comprises a color code field, analyzing the color code field in the data, wherein the color code field meets a preset condition, and forwarding the data to a target device corresponding to the data.
In an exemplary embodiment, before forwarding the data to a destination device corresponding to the data, the method further includes: determining that the data type field meets the preset condition by the following steps: determining that the data type field meets a preset condition under the condition that the value of the data type field is determined to be a preset first target value; and/or determining that the color code field meets a preset condition by: and under the condition that the value of the color code field is determined to be a preset second target value, determining that the color code field meets a preset condition.
According to another embodiment of the present invention, there is provided a forwarding apparatus for voice information, including: a receiving module, configured to receive, through a forwarding device, part or all of content of voice information sent by a terminal, where the part of content of the voice information includes: a voice superframe; and the forwarding module is used for directly forwarding part of or all of the content of the voice information to the destination equipment under the condition that the forwarding equipment receives part of or all of the content of the voice information.
According to another embodiment of the present invention, there is also provided a data forwarding apparatus including: the analysis module is used for analyzing the data after the forwarding equipment receives the data of the burst structure; and the forwarding module is used for forwarding the data to the destination device corresponding to the data under the condition that a target field exists in the analyzed data, wherein the target field is a field predetermined by the forwarding device and a sending end of the data.
In an exemplary embodiment, the forwarding module is further configured to forward the partial content of the voice information directly to a destination device without decoding the partial content of the voice information and without encoding the partial content of the voice information; under the condition that partial content of the voice information is not decoded, directly forwarding the partial content of the voice information to a target device; and under the condition that the partial content of the voice information is not coded, directly forwarding the partial content of the voice information to a destination device.
In an exemplary embodiment, the forwarding module is further configured to decode, by the forwarding device, a part of content of the voice information to obtain decoded voice information.
In an exemplary embodiment, the forwarding module is further configured to forward the entire content of the voice information to a destination device directly without decoding the entire content of the voice information and without encoding the entire content of the voice information; under the condition that the whole content of the voice information is not decoded, directly forwarding the whole content of the voice information to a target device; and under the condition that the whole content of the voice information is not coded, directly forwarding the whole content of the voice information to a target device.
In an exemplary embodiment, the forwarding module is further configured to decode, by the forwarding device, all contents of the voice information to obtain decoded voice information.
In an exemplary embodiment, the receiving module is further configured to receive, by the forwarding device, a voice superframe sent by the terminal; or receiving the voice header and the voice superframe sent by the terminal through the forwarding equipment.
According to a further embodiment of the present invention, there is also provided a computer-readable storage medium having a computer program stored thereon, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
According to yet another embodiment of the present invention, there is also provided an electronic device, including a memory in which a computer program is stored and a processor configured to execute the computer program to perform the steps in any of the above method embodiments.
By the invention, the forwarding of the voice information is advanced to the time before the coding and decoding of the voice information, so that the forwarding timeliness is ensured, and the aim of reducing the forwarding delay of the digital voice information is fulfilled. In the case of a plurality of forwarding devices, the effect is remarkable. Therefore, partial or all contents of the voice information sent by the terminal are received through the forwarding device, wherein the partial contents of the voice information comprise: a voice superframe; under the condition that the forwarding device receives part or all of the contents of the voice information, the forwarding device directly forwards part and all of the contents of the voice information to the target device, so that the problems that the forwarding device consumes certain time to cause delay in forwarding and the like due to the fact that the forwarding device receives, decodes and transmits the received voice information can be solved, and the effect of reducing the digital voice information forwarding delay is achieved.
Drawings
Fig. 1 is a diagram illustrating digital voice transit in the related art;
fig. 2 is a block diagram of a hardware structure of a forwarding device of a forwarding method of voice information according to an embodiment of the present invention;
fig. 3 is a flowchart of a forwarding method of voice information according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a voice superframe without encoding, decoding and sending only voice information by a forwarding device in transit of digital voice information according to an alternative embodiment of the present invention;
fig. 5 is a diagram illustrating a forwarding device forwarding a voice message before decoding in a digital voice message relay according to an alternative embodiment of the present invention;
FIG. 6 is a flow chart of a data forwarding method according to an embodiment of the present invention;
fig. 7 is a block diagram of a structure of a forwarding apparatus of voice information according to an embodiment of the present invention;
fig. 8 is a block diagram of a structure of a data forwarding apparatus according to an embodiment of the present invention.
Detailed Description
Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings in conjunction with the embodiments.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
The method embodiments provided in the embodiments of the present application may be executed in a mobile terminal, a forwarding device, or a similar computing device. Taking the example of running on a forwarding device, fig. 2 is a hardware structure block diagram of a forwarding device of a forwarding method of voice information according to an embodiment of the present invention. As shown in fig. 2, the forwarding device may include one or more processors 102 (only one is shown in fig. 2) (the processor 102 may include, but is not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA), and a memory 104 for storing data, wherein the forwarding device may further include a transmission device 106 for communication function and an input-output device 108. It will be understood by those skilled in the art that the structure shown in fig. 2 is only an illustration, and does not limit the structure of the forwarding device. For example, the forwarding device may also include more or fewer components than shown in FIG. 2, or have a different configuration than shown in FIG. 2.
The memory 104 may be used to store computer programs, for example, software programs and modules of application software, such as a computer program corresponding to the method for forwarding voice information in the embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the computer programs stored in the memory 104, so as to implement the above-mentioned method. The memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory located remotely from the processor 102, which may be connected to the forwarding device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used for receiving or transmitting data via a network. Specific examples of such networks may include wireless networks provided by communication providers of the forwarding devices. In one example, the transmission device 106 includes a Network adapter (NIC), which can be connected to other Network devices through a base station so as to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used to communicate with the internet in a wireless manner.
In this embodiment, a forwarding method of voice information running on the forwarding device is provided, and fig. 3 is a flowchart (a) of a forwarding method of voice information according to an embodiment of the present invention, as shown in fig. 3, the flowchart includes the following steps:
step S202, receiving partial or all contents of voice information sent by a terminal through forwarding equipment, wherein the partial contents of the voice information comprise: a voice superframe;
step S204, under the condition that the forwarding device has received part or all of the content of the voice information, directly forwarding the part and all of the content of the voice information to the destination device.
Through the steps, receiving partial or all contents of voice information sent by a terminal through forwarding equipment, wherein the partial contents of the voice information comprise: a voice superframe; under the condition that the forwarding device receives part or all of the contents of the voice information, the forwarding device directly forwards the part and all of the contents of the voice information to the target device, so that the problems that certain time is consumed for receiving, decoding and transmitting codes in the forwarding process, the forwarding of the voice information is delayed and the like are solved, and the forwarding efficiency of the voice information is improved.
In an exemplary embodiment, in a case that the forwarding device receives a partial content of voice information sent by a terminal, directly forwarding the partial content of the voice information to a destination device includes: under the condition that the partial content of the voice information is not decoded and encoded, directly forwarding the partial content of the voice information to a destination device; under the condition that partial content of the voice information is not decoded, directly forwarding the partial content of the voice information to a target device; and under the condition that the partial content of the voice information is not coded, directly forwarding the partial content of the voice information to a destination device.
For example, when the terminal sends the voice information, the terminal does not send the voice header in the voice information, and directly sends the voice superframe in the voice information to the forwarding device, and after receiving the voice information, the forwarding device directly forwards the received voice information without performing receiving, decoding, transmitting and encoding on the voice information.
In an exemplary embodiment, after the partial content of the voice information is directly forwarded to the destination device without decoding and encoding the partial content of the voice information, the method further includes: and decoding part of the content of the voice information through the forwarding equipment to obtain the decoded voice information.
After receiving the voice information, the forwarding device does not need to receive and decode the voice information and transmit and encode the processed voice information which needs to be sent, and the forwarding device directly forwards the voice information to the destination device after receiving the voice information and then decodes the forwarded voice information, wherein the decoding is mainly used for extracting useful information, for example, the useful information can be ID information of voice attribute information in a voice header, and the information authorization, the information legality confirmation and the like can be confirmed by decoding the forwarded voice information.
In an exemplary embodiment, in a case that the forwarding device receives all contents of voice information sent by a terminal, the directly forwarding all contents of the voice information to a destination device includes: under the condition that the whole content of the voice information is not decoded and the whole content of the voice information is not coded, directly forwarding the whole content of the voice information to a target device; under the condition that the whole content of the voice information is not decoded, directly forwarding the whole content of the voice information to a target device; and under the condition that the whole content of the voice information is not coded, directly forwarding the whole content of the voice information to a target device.
In an exemplary embodiment, after the entire content of the voice information is not decoded and not encoded, the entire content of the voice information is directly forwarded to a destination device, the method further includes: and decoding all contents of the voice information through the forwarding equipment to obtain the decoded voice information.
In an exemplary embodiment, receiving, by a forwarding device, part or all of content of voice information transmitted by a terminal includes: receiving a voice superframe sent by the terminal through the forwarding equipment; or receiving the voice header and the voice superframe sent by the terminal through the forwarding device.
It should be noted that the voice information includes a voice header and a voice superframe, the voice header is used to carry voice attribute information, the voice superframe carries voice and voice attribute information, and the voice attribute information in the voice superframe is embedded in the voice without affecting voice communication, and when the voice information is sent, the voice header is transmitted before the voice superframe on the time line.
The following describes a technical solution of the foregoing voice information forwarding method with reference to an exemplary optional embodiment, but the technical solution of the embodiment of the present invention is not limited thereto.
The invention provides an optimized forwarding mechanism through the optional embodiment, thereby achieving the purpose of rapidly forwarding the voice information.
The first optimization mechanism is as follows: the forwarding device does not perform encoding and decoding operations on the received voice information, and as shown in fig. 4, a schematic diagram of a voice superframe in which the forwarding device does not perform encoding and decoding and only transmits voice information in the digital voice information relay includes: 1) The terminal directly sends the voice superframe (as shown in step e of fig. 4) at the beginning of transmission, without sending the voice header; 2) The forwarding device does not perform receiving decoding and transmitting encoding, and directly forwards (as shown in step g and step h of fig. 4). The forwarding process of the voice information is changed into the following steps through the optimization mechanism: when the terminal sends the voice information, the terminal does not send the voice header in the voice information, directly sends the voice superframe in the voice information to the forwarding equipment, and the forwarding equipment directly forwards the received voice information without receiving, decoding, transmitting and encoding the voice information after receiving the voice information. The whole forwarding process omits the transmission of a voice header in the voice information, the receiving and decoding of the voice information and the transmitting and encoding of the voice information in the forwarding process of the forwarding equipment, thereby achieving the purpose of reducing the forwarding delay of the voice information.
In PDT/DMR digital relay communication, the signal codec of the repeater will generate a certain delay, which may cause a significant voice delay in a scenario where multiple repeaters are operating. Comparing fig. 1 and fig. 4, it can be seen that the PDT/DMR digital voice transit method provided by the alternative embodiment of the present invention greatly increases the forwarding speed and reduces the forwarding delay. The Voice superframe Voice contains elements such as an a frame and an embedded Voice header, which are used for replacing the original Voice header.
The second optimization mechanism: the forwarding device forwards the received voice signal to the digital signal and decodes the received voice signal. Fig. 5 is a schematic diagram illustrating that the forwarding device forwards the voice information first and then decodes the voice information in the digital voice information relay.
The forwarding equipment forwards the received voice information and then decodes the voice information. The decoding is mainly used to extract useful information, and may perform post-processing after forwarding the speech signal according to the useful information (for example, ID information in speech attribute information included in a speech header), and verify the validity and other attributes of the forwarded speech information.
In PDT/DMR digital relay communication, the signal codec of the repeater will generate a certain delay, which may cause a significant voice delay in a scenario where multiple repeaters are operating. Comparing fig. 1 and fig. 5, it can be seen that the PDT/DMR digital voice transit method provided by the alternative embodiment of the present invention greatly increases the forwarding speed and reduces the forwarding delay. Meanwhile, the decoding processing during the transfer of the PDT/DMR digital signal in FIG. 1 is reserved, (it should be noted that the encoding can also be reserved if necessary), and the decoding processing is arranged after the transfer, so that the transfer speed of the transfer device is not influenced, and the transfer delay of the digital voice information is reduced.
According to the optional embodiment of the invention, through the forwarding mechanism that the forwarding device does not encode and decode and only sends the voice superframe of the voice information or the forwarding device forwards the received voice signal first and then decodes the received voice signal, the signal forwarding of the voice information in PDT/DMR digital forwarding communication is advanced to the front of the signal encoding and decoding of the voice information, and the forwarding timeliness is ensured, so that the purpose of reducing the forwarding delay of the digital voice information is achieved, and the effect of reducing the voice information delay is obvious under the condition that a plurality of forwarding devices exist.
Fig. 6 is a flowchart (two) of a data forwarding method according to an embodiment of the present invention, and as shown in fig. 6, the flowchart includes the following steps:
step S602: after the forwarding equipment receives the data of the burst structure, analyzing the data;
step S604: and under the condition that a target field exists in the analyzed data, forwarding the data to a destination device corresponding to the data, wherein the target field is a field predetermined by the forwarding device and a sending end of the data.
Through the steps, after the forwarding equipment receives the data of the burst structure, the data is analyzed; and under the condition that a target field exists in the analyzed data, forwarding the data to a target device corresponding to the data, wherein the target field is a field predetermined by the forwarding device and a sending end of the data, that is, whether the target field exists in the data is analyzed, and if the target field exists, the data is forwarded to the target device corresponding to the data, so that the problems that the receiving of the data of the burst structure is to be completed, and then useful information is extracted for forwarding judgment, so that certain time is consumed, the forwarding of voice information is delayed and the like are caused can be solved, and the forwarding efficiency of the voice information is improved.
In an exemplary embodiment, when the target field includes a data type field, the data type field is parsed into the data, and the data type field meets a preset condition, and the data is forwarded to a destination device corresponding to the data; and under the condition that the target field comprises a color code field, analyzing the color code field in the data, wherein the color code field meets a preset condition, and forwarding the data to a target device corresponding to the data.
In an exemplary embodiment, before forwarding the data to a destination device corresponding to the data, the method further includes: determining that the data type field meets the preset condition by the following steps: determining that the data type field meets a preset condition under the condition that the value of the data type field is determined to be a preset first target value; and/or determining that the color code field meets a preset condition by: and under the condition that the value of the color code field is determined to be a preset second target value, determining that the color code field meets a preset condition.
The following describes a technical solution of the foregoing forwarding method for voice information with reference to an exemplary optional embodiment, but the technical solution of the embodiment of the present invention is not limited thereto.
The optional embodiment of the invention provides an optimized forwarding mechanism, thereby achieving the purpose of quickly forwarding and judging the data of the burst structure.
The third optimization mechanism: the forwarding device decodes the data part information of the burst structure and makes a decision of forwarding quickly in advance.
In PDT/DMR digital communications, the air interface frame format is performed in burst (PDU) format. For example, a generic burst structure, each burst includes 27.5 ms of data over the air interface, i.e., 264bits. In the burst of voice forwarding decision, the existing communication technology needs the forwarding device to complete receiving 264bits of data, then extract useful information (such as ID information in the voice header LC) and make forwarding decision.
But part of the information in the burst is a component in the 264bits, but it can be decoded in advance without receiving the 264bits completely, e.g. DATA _ TYPE, CC (color code), etc. in the burst.
Examples may be given of: the DATA _ TYPE is located in the first 166bits of the 264bits. The DATA _ TYPE to be forwarded is defined first, so that in the call, the forwarding device only needs to solve the DATA _ TYPE, and can make a quick forwarding judgment in advance. When the forwarding device finishes receiving the first 166bits of the 264bits, it can extract DATA _ TYPE for forwarding decision, as shown in table one below, which can save the forwarding decision time of 98bits (about 37%) at least.
98bits 10bits 48bits 10bits 98bits
Watch 1
According to the optional embodiment of the invention, after the forwarding equipment receives the data of the burst structure, the data is analyzed; and under the condition that a target field exists in the analyzed data, forwarding the data to a destination device corresponding to the data, wherein the target field is a field predetermined by the forwarding device and a sending end of the data, so that the problems that a certain time is consumed, the forwarding of voice information is delayed and the like due to the fact that useful information is extracted for forwarding judgment when all data of a burst structure is received can be solved, and the forwarding efficiency of the voice information is improved.
In the invention, before forwarding judgment in PDT/DMR digital signal communication mode, 264bits burst does not need to be received, and fast forwarding judgment is carried out according to partial information in burst, thereby improving the forwarding efficiency of voice information.
Through the description of the foregoing embodiments, it is clear to those skilled in the art that the method according to the foregoing embodiments may be implemented by software plus a necessary general hardware platform, and certainly may also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
In this embodiment, a forwarding apparatus for voice information is further provided, and the apparatus is used to implement the foregoing embodiments and preferred embodiments, and details of which have been already described are omitted. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware or a combination of software and hardware is also possible and contemplated.
Fig. 7 is a block diagram (one) of a forwarding apparatus for voice information according to an embodiment of the present invention, and as shown in fig. 7, the forwarding apparatus includes:
(1) A receiving module 72, configured to receive, through a forwarding device, part or all of content of voice information sent by a terminal, where the part of content of the voice information includes: a voice superframe;
(2) A forwarding module 74, configured to, in a case where the forwarding device has received part or all of the content of the voice information, directly forward part or all of the content of the voice information to a destination device.
By the device, partial or all contents of the voice information sent by the terminal are received through the forwarding equipment, wherein the partial contents of the voice information comprise: a voice superframe; under the condition that the forwarding device receives part or all of the contents of the voice information, the forwarding device directly forwards the part and all of the contents of the voice information to the target device, so that the problems that certain time is consumed for receiving, decoding and transmitting codes in the forwarding process, the forwarding of the voice information is delayed and the like are solved, and the forwarding efficiency of the voice information is improved.
In an exemplary embodiment, the forwarding module is further configured to forward the partial content of the voice information directly to a destination device without decoding the partial content of the voice information and without encoding the partial content of the voice information; under the condition that partial content of the voice information is not decoded, directly forwarding the partial content of the voice information to a target device; and under the condition that the partial content of the voice information is not coded, directly forwarding the partial content of the voice information to a destination device.
For example, when the terminal sends the voice information, the terminal does not send the voice header in the voice information, and directly sends the voice superframe in the voice information to the forwarding device, and after receiving the voice information, the forwarding device directly forwards the received voice information without performing receiving, decoding, transmitting and encoding on the voice information.
In an exemplary embodiment, the forwarding module is further configured to decode, by the forwarding device, a part of content of the voice information to obtain decoded voice information.
After receiving the voice information, the forwarding device does not need to receive and decode the voice information and transmit and encode the processed voice information which needs to be sent, the forwarding device directly forwards the voice information to the destination device after receiving the voice information, and then decodes the forwarded voice information, wherein the decoding is mainly used for extracting useful information, for example, the useful information can be ID information of voice attribute information in a voice header, and the information authorization, the information legality confirmation and the like can be confirmed by decoding the forwarded voice information.
In an exemplary embodiment, the forwarding module is further configured to forward the entire content of the voice information to a destination device directly without decoding the entire content of the voice information and without encoding the entire content of the voice information; under the condition that the whole content of the voice information is not decoded, directly forwarding the whole content of the voice information to a target device; and under the condition that the whole content of the voice information is not coded, directly forwarding the whole content of the voice information to a target device.
In an exemplary embodiment, the forwarding module is further configured to decode all contents of the voice information through the forwarding device to obtain decoded voice information.
In an exemplary embodiment, the receiving module is further configured to receive, by the forwarding device, a voice superframe sent by the terminal; or receiving the voice header and the voice superframe sent by the terminal through the forwarding equipment.
It should be noted that the voice information includes a voice header and a voice superframe, the voice header is used to carry voice attribute information, the voice superframe carries voice and voice attribute information, and the voice attribute information in the voice superframe is embedded in the voice without affecting voice communication, and when the voice information is sent, the voice header is transmitted before the voice superframe on the time line.
Fig. 8 is a block diagram (ii) of the forwarding apparatus of voice information according to the embodiment of the present invention, and as shown in fig. 8, the forwarding apparatus includes:
(1) The parsing module 82: the device is used for analyzing the data after the forwarding equipment receives the data of the burst structure;
(2) The forwarding module 84: and the target field is a field predetermined by the forwarding device and a sending end of the data.
Through the steps, after the forwarding equipment receives the data of the burst structure, the data is analyzed; and under the condition that a target field exists in the analyzed data, forwarding the data to a target device corresponding to the data, wherein the target field is a field predetermined by the forwarding device and a sending end of the data, that is, whether the target field exists in the data is analyzed, and if the target field exists, the data is forwarded to the target device corresponding to the data, so that the problems that the receiving of the data of the burst structure is to be completed, and then useful information is extracted for forwarding judgment, so that certain time is consumed, the forwarding of voice information is delayed and the like are caused can be solved, and the forwarding efficiency of the voice information is improved.
In an exemplary embodiment, the forwarding module is further configured to, when the target field includes a data type field, parse the data type field in the data, and the data type field meets a preset condition, and forward the data to a destination device corresponding to the data; and under the condition that the target field comprises a color code field, analyzing the color code field in the data, wherein the color code field meets a preset condition, and forwarding the data to a target device corresponding to the data.
In an exemplary embodiment, before forwarding the data to a destination device corresponding to the data, the method further includes: determining that the data type field meets the preset condition by the following steps: determining that the data type field meets a preset condition under the condition that the value of the data type field is determined to be a preset first target value; and/or determining that the color code field meets a preset condition by: and under the condition that the value of the color code field is determined to be a preset second target value, determining that the color code field meets a preset condition.
It should be noted that the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in different processors in any combination.
An embodiment of the present invention further provides a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to perform the steps in any of the above method embodiments when executed.
In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
In an exemplary embodiment, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary embodiments, and details of this embodiment are not repeated herein.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented in a general purpose computing device, they may be centralized in a single computing device or distributed across a network of multiple computing devices, and they may be implemented in program code that is executable by a computing device, such that they may be stored in a memory device and executed by a computing device, and in some cases, the steps shown or described may be executed in an order different from that shown or described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple modules or steps therein may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.

Claims (6)

1. A method for forwarding data, comprising:
after the forwarding equipment receives the data of the burst structure, analyzing the data;
under the condition that the complete data of the burst structure is not received, analyzing a target field existing in the data, and forwarding the data to a target device corresponding to the data, wherein the target field is a field predetermined by the forwarding device and a sending end of the data;
when the forwarding device analyzes that the target field exists in the data, the forwarding device immediately extracts the target field to make a forwarding decision, wherein the forwarding decision is used for indicating that the data is forwarded to a destination device corresponding to the data.
2. The method according to claim 1, wherein forwarding the data to a destination device corresponding to the data comprises:
under the condition that the target field comprises a data type field, analyzing the data type field in the data, wherein the data type field meets a preset condition, and forwarding the data to a target device corresponding to the data;
and under the condition that the target field comprises a color code field, analyzing the color code field in the data, wherein the color code field meets a preset condition, and forwarding the data to a target device corresponding to the data.
3. The method according to claim 2, wherein before forwarding the data to a destination device corresponding to the data, the method further comprises:
determining that the data type field meets the preset condition by the following steps: determining that the data type field meets a preset condition under the condition that the value of the data type field is determined to be a preset first target value; and/or
Determining that the color code field meets a preset condition by: and under the condition that the value of the color code field is determined to be a preset second target value, determining that the color code field meets a preset condition.
4. The method according to claim 1, wherein in a case that the target field exists in the parsed data, forwarding the data to a destination device corresponding to the data comprises:
forwarding the data directly to a destination device without decoding the data and without encoding the data;
forwarding the data directly to a destination device without decoding the data;
forwarding the data directly to a destination device without encoding the data.
5. The method of claim 4, wherein after forwarding the data directly to a destination device without decoding and encoding the data, the method further comprises:
and decoding the data through the forwarding equipment to obtain decoded data.
6. A data forwarding apparatus, comprising:
the analysis module is used for analyzing the data after the forwarding equipment receives the data of the burst structure;
a forwarding module, configured to, when the complete data of the burst structure is not received, parse a target field existing in the data, and forward the data to a destination device corresponding to the data, where the target field is a field predetermined by the forwarding device and a sending end of the data;
the parsing module is further configured to, when the forwarding device parses that the target field exists in the data, immediately extract the target field to make a forwarding decision, where the forwarding decision is used to indicate that the data is forwarded to a destination device corresponding to the data.
CN202010948209.6A 2020-06-02 2020-09-10 Voice information forwarding method and device and data forwarding method and device Active CN111836218B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2020104907761 2020-06-02
CN202010490776 2020-06-02

Publications (2)

Publication Number Publication Date
CN111836218A CN111836218A (en) 2020-10-27
CN111836218B true CN111836218B (en) 2022-12-09

Family

ID=72919010

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010948209.6A Active CN111836218B (en) 2020-06-02 2020-09-10 Voice information forwarding method and device and data forwarding method and device

Country Status (1)

Country Link
CN (1) CN111836218B (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2405052A (en) * 2003-08-12 2005-02-16 Orange Personal Comm Serv Ltd Packet data communications
US7729380B2 (en) * 2007-01-21 2010-06-01 Motorola, Inc. Method and device for selectively transmitting voice bursts and regenerated header bursts
CN107148057B (en) * 2017-06-23 2021-01-19 哈尔滨海能达科技有限公司 Link information processing method and system and link machine
CN110475311B (en) * 2019-10-12 2020-07-03 展讯通信(上海)有限公司 Voice or data transmission method, device, system and storage medium
CN111031497B (en) * 2019-12-25 2021-10-12 公安部第一研究所 Method for solving interference crosstalk of narrow-band digital trunking system

Also Published As

Publication number Publication date
CN111836218A (en) 2020-10-27

Similar Documents

Publication Publication Date Title
KR102035259B1 (en) Apparatus and method for transmitting and receiving signalling information in a digital broadcast system
KR102216252B1 (en) Encoding and decoding method and device
CN103369593B (en) A kind of method compressing reconciliation compressed ethernet message and network element device
CN106685827B (en) Downlink message forwarding method and AP (access point) equipment
CN104349290A (en) Methods and equipment for sending and receiving paging message in MTC (machine type communication)
US9036530B2 (en) Method and device for carrying MBMS notification information
CN101277316A (en) An interactive error correction method and system for file download
CN103516788A (en) Data pushing method and Flash client terminal and server thereof
CN111836218B (en) Voice information forwarding method and device and data forwarding method and device
CN104601284A (en) Method, device and system for transmitting data information
CN113163428B (en) 5G data transmission method with low complexity, low time delay and low signaling overhead
CN112188562B (en) Multicast scheduling method and device for relay base station, storage medium and electronic device
CN108986828B (en) Call establishment method and device, storage medium and electronic device
CN108365911B (en) Information encoding method and device
CN112114838A (en) Software version upgrading method, terminal and base station
CN103415075A (en) Wireless relay synchronous transmitting method and device
CN116232422A (en) Short message sending method, device, non-volatile storage medium and electronic equipment
CN110572237B (en) Signal sending and relaying method and related equipment
CN116567551A (en) Bluetooth communication method, device, equipment, system and storage medium
CN103179094B (en) Sending, receiving method, sending device and the reception device of IP packet head
US11963245B2 (en) Identifier update method, apparatus, device and system, and storage medium
CN102843345A (en) Remote communication method and computer program product thereof
CN113727409A (en) Message transmission method, node and LORA ad hoc network
CN100502577C (en) Method for broadcasting short message in PHS system, structure of short message and system thereof
CN101453406B (en) Processing method, system and relay station for terminal sleep request in relay network

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant