CN114205882A - 5G voice data transmission method and system - Google Patents

5G voice data transmission method and system Download PDF

Info

Publication number
CN114205882A
CN114205882A CN202111523739.7A CN202111523739A CN114205882A CN 114205882 A CN114205882 A CN 114205882A CN 202111523739 A CN202111523739 A CN 202111523739A CN 114205882 A CN114205882 A CN 114205882A
Authority
CN
China
Prior art keywords
network
voice data
target
electronic equipment
protocol
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.)
Granted
Application number
CN202111523739.7A
Other languages
Chinese (zh)
Other versions
CN114205882B (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.)
Shenzhen Sweet Tube Network Technology Co ltd
Original Assignee
Shenzhen Sweet Tube Network Technology 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 Shenzhen Sweet Tube Network Technology Co ltd filed Critical Shenzhen Sweet Tube Network Technology Co ltd
Priority to CN202111523739.7A priority Critical patent/CN114205882B/en
Publication of CN114205882A publication Critical patent/CN114205882A/en
Application granted granted Critical
Publication of CN114205882B publication Critical patent/CN114205882B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/14Reselecting a network or an air interface
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/03Protecting confidentiality, e.g. by encryption
    • H04W12/033Protecting confidentiality, e.g. by encryption of the user plane, e.g. user's traffic

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The embodiment of the application discloses a 5G voice data transmission method and a system, which are applied to electronic equipment, wherein the method comprises the following steps: acquiring target voice data; determining target attribute information of the target voice data; when the target attribute information meets a preset condition, detecting whether a communication network of the electronic equipment is a preset network or not; and when the communication network of the electronic equipment is the preset network, switching the network of the electronic equipment to a 5G network, and transmitting the target voice data to terminal equipment through the 5G network. By adopting the embodiment of the application, the 5G network can be automatically switched to transmit the voice data in the voice data transmission process.

Description

5G voice data transmission method and system
Technical Field
The present application relates to the field of communications technologies, and in particular, to a 5G voice data transmission method and system.
Background
With the rapid development of communication technology, 5G communication technology has also become popular, and 5G has been pursued by people because of its faster network speed. However, the current network switching is not intelligent enough, for example, in the current 4G network, the switching to the 5G network needs manual adjustment by a user, and especially in the process of transmitting voice data, since the voice data may relate to private information, a problem of how to switch to the 5G network to transmit the voice data in the process of transmitting the voice data needs to be solved urgently.
Disclosure of Invention
The embodiment of the application provides a 5G voice data transmission method and a system, which can automatically switch to a 5G network to transmit voice data in the voice data transmission process.
In a first aspect, an embodiment of the present application provides a 5G voice data transmission method, which is applied to an electronic device, and the method includes:
acquiring target voice data;
determining target attribute information of the target voice data;
when the target attribute information meets a preset condition, detecting whether a communication network of the electronic equipment is a preset network or not;
and when the communication network of the electronic equipment is the preset network, switching the network of the electronic equipment to a 5G network, and transmitting the target voice data to terminal equipment through the 5G network.
In a second aspect, an embodiment of the present application provides a 5G voice data transmission system, which is applied to an electronic device, and the system includes: an acquisition unit, a determination unit, a detection unit and a transmission unit, wherein,
the acquisition unit is used for acquiring target voice data;
the determining unit is used for determining target attribute information of the target voice data;
the detection unit is used for detecting whether the communication network of the electronic equipment is a preset network or not when the target attribute information meets a preset condition;
and the transmission unit is used for switching the network of the electronic equipment into a 5G network when the communication network of the electronic equipment is the preset network, and transmitting the target voice data to the terminal equipment through the 5G network.
The embodiment of the application has the following beneficial effects:
it can be seen that the 5G voice data transmission method and system described in the embodiments of the present application are applied to an electronic device, acquire target voice data, determine target attribute information of the target voice data, detect whether a communication network of the electronic device is a preset network when the target attribute information satisfies a preset condition, switch the network of the electronic device to a 5G network when the communication network of the electronic device is the preset network, and transmit the target voice data to a terminal device through the 5G network, so that security of voice transmission can be improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a 5G voice data transmission method according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 3 is a block diagram of functional units of a 5G voice data transmission apparatus according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," and the like in the description and claims of the present application and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
In this embodiment, the electronic device and the terminal device may each include at least one of the following: a mobile phone, a tablet computer, an in-vehicle device (e.g., a navigator, an in-vehicle refrigerator), a wearable device (e.g., a smart band, a smart watch, a smart headset, etc.), etc., which are not limited herein.
The following describes embodiments of the present application in detail.
Referring to fig. 1, fig. 1 is a schematic flow chart of a 5G voice data transmission method according to an embodiment of the present application, and as shown in the drawing, the 5G voice data transmission method is applied to an electronic device, and includes:
101. target voice data is acquired.
The target voice data may be a song, a recording, etc., and is not limited herein. The target voice data may be pre-stored in the electronic device or recorded in real time.
102. And determining target attribute information of the target voice data.
In this embodiment of the present application, the target attribute information may include at least one of the following: the source identifier of the target voice data, the memory size of the target voice data, the format of the target voice data, the sending address information of the target voice data, and the like, which are not limited herein.
In a specific implementation, target attribute information of the target voice data may be read.
103. And when the target attribute information meets a preset condition, detecting whether the communication network of the electronic equipment is a preset network.
The preset condition can be preset or default to the system. The preset network may be preset or default to the system, and may be a designated Wi-Fi network, such as a public Wi-Fi network, or a Wi-Fi network that contains some phishing programs. For another example, if the predetermined network is a non-5G network, the voice transmission rate may be affected due to the slow network speed.
104. And when the communication network of the electronic equipment is the preset network, switching the network of the electronic equipment to a 5G network, and transmitting the target voice data to terminal equipment through the 5G network.
In the embodiment of the application, when the communication network of the electronic device is a preset network, the network of the electronic device can be switched to a 5G network, the 5G network has the advantage of network speed, and target voice data are transmitted to the terminal device through the 5G network, so that the data can be transmitted quickly, and in addition, the 5G network is not the same as a public Wi-Fi network, so that the security is low, and the 5G network has high security, so that the data can be transmitted safely.
Optionally, in the step 104, the transmitting the target voice data through the 5G network may include the following steps:
a41, packing the target voice data through a packing protocol to obtain P data packets, wherein each data packet corresponds to one protocol, and P is an integer greater than 1;
a42, encrypting the packaging protocol through the target encryption parameters to obtain an encrypted packaging protocol;
a43, transmitting the encryption packaging protocol and the target encryption parameter to a cloud server through the 5G network, and instructing the cloud server to forward the target packaging protocol and the target encryption parameter to the terminal equipment;
and A44, sending the P data packets to the terminal equipment through the 5G network, and unpacking the P data packets through a decrypted packing protocol obtained after the terminal equipment decrypts the encrypted packing protocol by using the target encryption parameter to finally obtain the target voice data.
In this embodiment of the present application, the target encryption parameter may include at least one of the following: identification information of the encryption algorithm, control parameters of the encryption algorithm, a public key, and the like, which are not limited herein. The control parameters of the encryption algorithm are used to control the accuracy and complexity of the encryption algorithm. The packaging protocol may include at least one of: the length of the data packet, the length of the header, the length of the trailer, the time stamp, the padding of the header, the padding of the trailer, etc., are not limited herein. The filling content of the packet head and the filling content of the packet tail can be the same or different. The lengths of the headers of different data packets can be different; the tail lengths may be different for different packets. Of course, the time stamp can be bound to the header padding or the trailer padding, i.e. different time stamps can correspond to different padding. After the packetization protocol is encrypted, since it is not known which part of the content is voice data and which part of the content is padding content, it is of course impossible to distinguish the header or the trailer of the packet.
In specific implementation, target voice data can be packed through a packing protocol to obtain P data packets, each data packet corresponds to one protocol, P is an integer greater than 1, different data packets can correspond to different packing protocols, and each data packet can correspond to one number. Furthermore, the packaging protocol pair can be encrypted through the target encryption parameter to obtain an encrypted packaging protocol, the encrypted packaging protocol and the target encryption parameter are transmitted to the cloud server through the 5G network, the cloud server is instructed to forward the target packaging protocol to the terminal equipment, and the cloud server can be logged in only if the terminal equipment logs in the electronic equipment and an account number agreed in advance by the terminal equipment, so that the corresponding encrypted packaging protocol and the target encryption parameter are obtained, and of course, the cloud server can decrypt the encrypted packaging protocol according to the target encryption parameter to obtain the packaging protocol.
Further, the P data packets may be sent to the terminal device through the 5G network, and the P data packets are unpacked by the terminal device using the decrypted packetization protocol obtained after the target encryption parameter is used to decrypt the encrypted packetization protocol, so as to finally obtain the target voice data. Because only the packaging protocol is encrypted, the encryption complexity is reduced, and because the data packet is transmitted separately, and the packaging protocol and the encryption parameters are encrypted, the data packet cannot be decrypted even if other people intercept the data packet, and further, the data security is further ensured.
Optionally, the method may further include the following steps:
a1, establishing a first communication connection between the electronic equipment and the terminal equipment;
a2, establishing a second communication connection between the electronic device and the terminal device through the cloud server, wherein the electronic device and the terminal device both log in the cloud server through the same account.
In a specific implementation, a first communication connection, that is, direct communication, between the electronic device and the terminal device may be established, or a first communication connection between the electronic device and the terminal device may be established through the server, where the first communication connection is used to transmit a data packet. In addition, a second communication connection between the electronic equipment and the terminal equipment is established through the cloud server, the electronic equipment and the terminal equipment both log in the cloud server through the same account number, namely the second communication connection is used for transmitting an encryption packaging protocol and encryption parameters, and therefore protocol security can be guaranteed.
Optionally, in step 104, the transmitting the target voice data to the terminal device through the 5G network may include the following steps:
b41, sampling the target voice data to obtain a plurality of noise parameters;
b42, determining corresponding noise reduction processing parameters according to the noise parameters;
b43, performing noise reduction processing on the target voice data according to the noise reduction processing parameters to obtain first voice data;
and B44, transmitting the first voice data to the terminal equipment through the 5G network.
In the embodiment of the present application, the noise parameter may be a signal-to-noise ratio, and the target voice data may be sampled, that is, the signal-to-noise ratios at different time points are obtained, so as to obtain a plurality of noise parameters.
In specific implementation, a plurality of sampling points (sampling time or sampling period) of target voice data can be determined, each sampling point corresponds to one noise parameter, a corresponding noise reduction processing parameter is determined according to the plurality of noise parameters, and noise reduction processing is performed on the target voice data according to the noise reduction processing parameter to obtain first voice data, so that the quality of the voice data can be improved, and the quality of the voice data can be improved by transmitting the first voice data to a terminal device through a 5G network.
Optionally, in the step B42, determining the corresponding noise reduction processing parameter according to the plurality of noise parameters may include the following steps:
b421, determining a noise change curve according to the plurality of noise parameters, wherein the horizontal axis of the noise change curve is time, and the vertical axis of the noise change curve is a noise parameter;
b422, determining a target mean value according to the noise change curve;
b423, determining the target noise reduction processing algorithm corresponding to the target mean value
B424, dividing the noise change curve into a plurality of segments to obtain a segmented noise curve;
b425, determining an energy value of each segmented noise curve in the segmented noise curves to obtain a plurality of energy values;
b426, obtaining a plurality of increment values according to the energy increment corresponding to the plurality of energy values;
b427, determining target mean square deviations corresponding to the plurality of increment values;
b428, determining an algorithm adjusting parameter corresponding to the target noise reduction processing algorithm according to the target mean square error;
and B429, taking the target noise reduction processing algorithm and the corresponding algorithm adjusting parameter as the noise reduction processing parameter.
In the specific implementation, each noise parameter corresponds to a time point, the noise parameters are mapped to a coordinate system, fitting is performed to form a fitting function or a fitting curve, that is, a noise change curve can be determined according to a plurality of noise parameters, the horizontal axis of the noise change curve is time, and the vertical axis of the noise change curve is noise parameters. And determining a target mean value according to the noise change curve, and determining a target noise reduction processing algorithm corresponding to the target mean value according to a preset mapping relation between the mean value and the noise reduction processing algorithm. The denoising algorithm can be used in any algorithm capable of achieving the purpose of denoising, such as wavelet transform, non-downsampling contourlet transform, and the like, different denoising algorithms can correspond to different algorithm adjusting parameters, and the algorithm adjusting parameters are used for optimizing the denoising effect.
Then, the noise variation curve may be divided into a plurality of segments to obtain a segmented noise curve, an energy value of each segmented noise curve in the plurality of segmented noise curves is determined to obtain a plurality of energy values, and a plurality of increment values are obtained according to energy increments corresponding to the plurality of energy values, where an increment value = [ energy value (i + 1) -energy value i ]/energy value (i + 1), where i is the ith segment.
Further, target mean square deviations corresponding to the plurality of incremental values can be determined, algorithm adjusting parameters corresponding to the target noise reduction processing algorithm can be determined according to a mapping relation between preset mean square deviations and the algorithm adjusting parameters, and finally, the target noise reduction processing algorithm and the corresponding algorithm adjusting parameters can be used as the noise reduction processing parameters.
Optionally, the method may further include the following steps:
b1, extracting keywords from the target voice data to obtain at least one keyword;
and B2, when the at least one keyword comprises a preset keyword, executing the step of switching the network of the electronic equipment to a 5G network.
The preset keywords can be preset or default to the system, in a specific implementation, keyword extraction can be performed on target voice data to obtain at least one keyword, when the at least one keyword contains the preset keyword, the step of switching the network of the electronic device to the 5G network is executed, otherwise, when the at least one keyword does not contain the preset keyword, the network speeds of the 5G network and the non-5G network can be compared, and the voice data can be transmitted by adopting a faster network.
It can be seen that the 5G voice data transmission method described in the embodiment of the present application is applied to an electronic device, obtains target voice data, determines target attribute information of the target voice data, detects whether a communication network of the electronic device is a preset network when the target attribute information meets a preset condition, switches the network of the electronic device to a 5G network when the communication network of the electronic device is the preset network, and transmits the target voice data to a terminal device through the 5G network, so that the 5G network can be automatically switched to transmit the voice data in a voice data transmission process, and thus the security of voice transmission can be improved.
In accordance with the foregoing embodiments, please refer to fig. 2, fig. 2 is a schematic structural diagram of an electronic device according to an embodiment of the present application, where as shown, the electronic device includes a processor, a memory, a communication interface, and one or more programs, the one or more programs are stored in the memory and configured to be executed by the processor, and in an embodiment of the present application, the programs include instructions for performing the following steps:
acquiring target voice data;
determining target attribute information of the target voice data;
when the target attribute information meets a preset condition, detecting whether a communication network of the electronic equipment is a preset network or not;
and when the communication network of the electronic equipment is the preset network, switching the network of the electronic equipment to a 5G network, and transmitting the target voice data to terminal equipment through the 5G network.
Optionally, in the aspect of transmitting the target voice data to the terminal device through the 5G network, the program includes instructions for performing the following steps:
packaging the target voice data through a packaging protocol to obtain P data packets, wherein each data packet corresponds to one protocol, and P is an integer greater than 1;
encrypting the packaging protocol through a target encryption parameter to obtain an encrypted packaging protocol;
transmitting the encryption packaging protocol and the target encryption parameter to a cloud server through the 5G network, and instructing the cloud server to forward the target packaging protocol and the target encryption parameter to the terminal equipment;
and sending the P data packets to the terminal equipment through the 5G network, and unpacking the P data packets through a decrypted packing protocol obtained after the terminal equipment decrypts the encrypted packing protocol by using the target encryption parameter to finally obtain the target voice data.
Optionally, the program further includes instructions for performing the following steps:
establishing a first communication connection between the electronic equipment and the terminal equipment;
and establishing a second communication connection between the electronic equipment and the terminal equipment through the cloud server, wherein the electronic equipment and the terminal equipment both log in the cloud server through the same account.
Optionally, in the aspect of transmitting the target voice data to the terminal device through the 5G network, the program includes instructions for performing the following steps:
sampling the target voice data to obtain a plurality of noise parameters;
determining corresponding noise reduction processing parameters according to the plurality of noise parameters;
performing noise reduction processing on the target voice data according to the noise reduction processing parameter to obtain first voice data;
and transmitting the first voice data to the terminal equipment through the 5G network.
Optionally, the program further includes instructions for performing the following steps:
extracting keywords from the target voice data to obtain at least one keyword;
and when the at least one keyword comprises a preset keyword, executing the step of switching the network of the electronic equipment to a 5G network.
It can be seen that the 5G voice data transmission method described in the embodiment of the present application is applied to an electronic device, obtains target voice data, determines target attribute information of the target voice data, detects whether a communication network of the electronic device is a preset network when the target attribute information satisfies a preset condition, switches the network of the electronic device to a 5G network when the communication network of the electronic device is the preset network, and transmits the target voice data to a terminal device through the 5G network, so that the security of voice transmission can be improved.
Fig. 3 is a block diagram of functional units of a voice data transmission system 300 of 5G according to an embodiment of the present application. Applied to an electronic device, the system 300 includes: an acquisition unit 301, a determination unit 302, a detection unit 303 and a transmission unit 304, wherein,
the acquiring unit 301 is configured to acquire target voice data;
the determining unit 302 is configured to determine target attribute information of the target voice data;
the detecting unit 303 is configured to detect whether a communication network of the electronic device is a preset network when the target attribute information meets a preset condition;
the transmission unit 304 is configured to switch the network of the electronic device to a 5G network when the communication network of the electronic device is the preset network, and transmit the target voice data to the terminal device through the 5G network.
Optionally, in the aspect of transmitting the target voice data to the terminal device through the 5G network, the transmission unit 304 is specifically configured to:
packaging the target voice data through a packaging protocol to obtain P data packets, wherein each data packet corresponds to one protocol, and P is an integer greater than 1;
encrypting the packaging protocol through a target encryption parameter to obtain an encrypted packaging protocol;
transmitting the encryption packaging protocol and the target encryption parameter to a cloud server through the 5G network, and instructing the cloud server to forward the target packaging protocol and the target encryption parameter to the terminal equipment;
and sending the P data packets to the terminal equipment through the 5G network, and unpacking the P data packets through a decrypted packing protocol obtained after the terminal equipment decrypts the encrypted packing protocol by using the target encryption parameter to finally obtain the target voice data.
Optionally, the system 300 is further specifically configured to:
establishing a first communication connection between the electronic equipment and the terminal equipment;
and establishing a second communication connection between the electronic equipment and the terminal equipment through the cloud server, wherein the electronic equipment and the terminal equipment both log in the cloud server through the same account.
Optionally, in the aspect of transmitting the target voice data to the terminal device through the 5G network, the transmission unit 304 is specifically configured to:
sampling the target voice data to obtain a plurality of noise parameters;
determining corresponding noise reduction processing parameters according to the plurality of noise parameters;
performing noise reduction processing on the target voice data according to the noise reduction processing parameter to obtain first voice data;
and transmitting the first voice data to the terminal equipment through the 5G network.
Optionally, the system 300 is further specifically configured to:
extracting keywords from the target voice data to obtain at least one keyword;
and when the at least one keyword comprises a preset keyword, executing the step of switching the network of the electronic equipment to a 5G network.
It can be seen that the 5G voice data transmission system described in the embodiment of the present application is applied to an electronic device, acquires target voice data, determines target attribute information of the target voice data, detects whether a communication network of the electronic device is a preset network when the target attribute information satisfies a preset condition, switches the network of the electronic device to a 5G network when the communication network of the electronic device is the preset network, and transmits the target voice data to a terminal device through the 5G network, so that the security of voice transmission can be improved.
It can be understood that the functions of each program module of the 5G voice data transmission system in this embodiment may be specifically implemented according to the method in the foregoing method embodiment, and the specific implementation process may refer to the related description of the foregoing method embodiment, which is not described herein again.
Embodiments of the present application also provide a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program enables a computer to execute part or all of the steps of any one of the methods as described in the above method embodiments.
Embodiments of the present application also provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any of the methods as described in the above method embodiments. The computer program product may be a software installation package.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the above-described division of the units is only one type of division of logical functions, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some interfaces, devices or units, and may be an electric or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit may be stored in a computer readable memory if it is implemented in the form of a software functional unit and sold or used as a stand-alone product. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the above-mentioned method of the embodiments of the present application. And the aforementioned memory comprises: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable memory, which may include: flash Memory disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the above description of the embodiments is only provided to help understand the method and the core concept of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. A5G voice data transmission method is applied to electronic equipment, and is characterized in that the method comprises the following steps:
acquiring target voice data;
determining target attribute information of the target voice data;
when the target attribute information meets a preset condition, detecting whether a communication network of the electronic equipment is a preset network or not;
and when the communication network of the electronic equipment is the preset network, switching the network of the electronic equipment to a 5G network, and transmitting the target voice data to terminal equipment through the 5G network.
2. The method of claim 1, wherein transmitting the target voice data to a terminal device over the 5G network comprises:
packaging the target voice data through a packaging protocol to obtain P data packets, wherein each data packet corresponds to one protocol, and P is an integer greater than 1;
encrypting the packaging protocol through a target encryption parameter to obtain an encrypted packaging protocol;
transmitting the encryption packaging protocol and the target encryption parameter to a cloud server through the 5G network, and instructing the cloud server to forward the target packaging protocol and the target encryption parameter to the terminal equipment;
and sending the P data packets to the terminal equipment through the 5G network, and unpacking the P data packets through a decrypted packing protocol obtained after the terminal equipment decrypts the encrypted packing protocol by using the target encryption parameter to finally obtain the target voice data.
3. The method of claim 2, further comprising:
establishing a first communication connection between the electronic equipment and the terminal equipment;
and establishing a second communication connection between the electronic equipment and the terminal equipment through the cloud server, wherein the electronic equipment and the terminal equipment both log in the cloud server through the same account.
4. The method of claim 1, wherein transmitting the target voice data to a terminal device over the 5G network comprises:
sampling the target voice data to obtain a plurality of noise parameters;
determining corresponding noise reduction processing parameters according to the plurality of noise parameters;
performing noise reduction processing on the target voice data according to the noise reduction processing parameter to obtain first voice data;
and transmitting the first voice data to the terminal equipment through the 5G network.
5. The method according to any one of claims 1-4, further comprising:
extracting keywords from the target voice data to obtain at least one keyword;
and when the at least one keyword comprises a preset keyword, executing the step of switching the network of the electronic equipment to a 5G network.
6. A voice data transmission system of 5G is characterized in that the system is applied to electronic equipment and comprises: an acquisition unit, a determination unit, a detection unit and a transmission unit, wherein,
the acquisition unit is used for acquiring target voice data;
the determining unit is used for determining target attribute information of the target voice data;
the detection unit is used for detecting whether the communication network of the electronic equipment is a preset network or not when the target attribute information meets a preset condition;
and the transmission unit is used for switching the network of the electronic equipment into a 5G network when the communication network of the electronic equipment is the preset network, and transmitting the target voice data to the terminal equipment through the 5G network.
7. The system according to claim 6, wherein in said transmitting the target speech data to the terminal device via the 5G network, the transmission unit is specifically configured to:
packaging the target voice data through a packaging protocol to obtain P data packets, wherein each data packet corresponds to one protocol, and P is an integer greater than 1;
encrypting the packaging protocol through a target encryption parameter to obtain an encrypted packaging protocol;
transmitting the encryption packaging protocol and the target encryption parameter to a cloud server through the 5G network, and instructing the cloud server to forward the target packaging protocol and the target encryption parameter to the terminal equipment;
and sending the P data packets to the terminal equipment through the 5G network, and unpacking the P data packets through a decrypted packing protocol obtained after the terminal equipment decrypts the encrypted packing protocol by using the target encryption parameter to finally obtain the target voice data.
8. The system of claim 7, wherein the system is further specific to:
establishing a first communication connection between the electronic equipment and the terminal equipment;
and establishing a second communication connection between the electronic equipment and the terminal equipment through the cloud server, wherein the electronic equipment and the terminal equipment both log in the cloud server through the same account.
9. The system according to claim 6, wherein in said transmitting the target speech data to the terminal device via the 5G network, the transmission unit is specifically configured to:
sampling the target voice data to obtain a plurality of noise parameters;
determining corresponding noise reduction processing parameters according to the plurality of noise parameters;
performing noise reduction processing on the target voice data according to the noise reduction processing parameter to obtain first voice data;
and transmitting the first voice data to the terminal equipment through the 5G network.
10. The system according to any one of claims 6-9, wherein the system is further specific for:
extracting keywords from the target voice data to obtain at least one keyword;
and when the at least one keyword comprises a preset keyword, executing the step of switching the network of the electronic equipment to a 5G network.
CN202111523739.7A 2021-12-14 2021-12-14 5G voice data transmission method and system Active CN114205882B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111523739.7A CN114205882B (en) 2021-12-14 2021-12-14 5G voice data transmission method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111523739.7A CN114205882B (en) 2021-12-14 2021-12-14 5G voice data transmission method and system

Publications (2)

Publication Number Publication Date
CN114205882A true CN114205882A (en) 2022-03-18
CN114205882B CN114205882B (en) 2022-10-14

Family

ID=80653322

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111523739.7A Active CN114205882B (en) 2021-12-14 2021-12-14 5G voice data transmission method and system

Country Status (1)

Country Link
CN (1) CN114205882B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107734584A (en) * 2017-09-30 2018-02-23 广东欧珀移动通信有限公司 The method and apparatus of network connection switching, computer equipment, readable storage medium storing program for executing
CN110677855A (en) * 2019-09-03 2020-01-10 五邑大学 Automatic switching method and device for 5G network and storage medium
CN111405622A (en) * 2020-03-20 2020-07-10 Oppo广东移动通信有限公司 Switching method and device based on voice quality, terminal and storage medium
WO2020207229A1 (en) * 2019-04-08 2020-10-15 Oppo广东移动通信有限公司 Data transmission method and related apparatus
CN112333763A (en) * 2020-10-26 2021-02-05 维沃移动通信有限公司 Network selection method and device
CN112867074A (en) * 2020-12-30 2021-05-28 深圳酷派技术有限公司 Data transmission method, electronic device and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107734584A (en) * 2017-09-30 2018-02-23 广东欧珀移动通信有限公司 The method and apparatus of network connection switching, computer equipment, readable storage medium storing program for executing
WO2020207229A1 (en) * 2019-04-08 2020-10-15 Oppo广东移动通信有限公司 Data transmission method and related apparatus
CN110677855A (en) * 2019-09-03 2020-01-10 五邑大学 Automatic switching method and device for 5G network and storage medium
CN111405622A (en) * 2020-03-20 2020-07-10 Oppo广东移动通信有限公司 Switching method and device based on voice quality, terminal and storage medium
CN112333763A (en) * 2020-10-26 2021-02-05 维沃移动通信有限公司 Network selection method and device
CN112867074A (en) * 2020-12-30 2021-05-28 深圳酷派技术有限公司 Data transmission method, electronic device and storage medium

Also Published As

Publication number Publication date
CN114205882B (en) 2022-10-14

Similar Documents

Publication Publication Date Title
CN108738006B (en) Data transmission method and device based on Bluetooth
WO2018049940A1 (en) Network access method, related device and system
JP2020529807A5 (en)
US11310727B2 (en) Methods, devices and media for obtaining and for providing access information of wireless access points
US10341305B2 (en) Encrypted communications method and communications terminal, and computer storage medium
US20150026334A1 (en) Method for distinguishing type of communication network and method for providing content using same
CN104253714A (en) Monitoring method, system, browser and server
KR101568947B1 (en) Method and system for downloading font file
CN114339737B (en) Wireless communication instruction encryption method and related equipment
CN110875897B (en) Data transmission method, device, server and storage medium
CN113840266A (en) Bluetooth pairing method, device, system, electronic equipment and storage medium
CN105357229B (en) Video processing method and device
EP2922255A1 (en) Method and apparatus for providing content by selecting data acceleration algorithm
CN113726743B (en) Method, device, equipment and medium for detecting network replay attack
CN114205882B (en) 5G voice data transmission method and system
CN111031536A (en) Method and device for transmitting burning file and 5G small base station burning equipment
CN113382029A (en) File data processing method and device
CN109039994B (en) Method and equipment for calculating asynchronous time difference between audio and video
CN108460288B (en) Big data security encryption method and device, storage medium and mobile terminal
CN116155477B (en) IPsec anti-replay method and system based on dynamic sliding window
CN110519656B (en) Self-adaptive streaming media playing method, system and server
CN107800758B (en) Wind control data processing method, device and system
CN114339739A (en) Intelligent management system of wireless communication protocol
CN116055762A (en) Video synthesis method and device, electronic equipment and storage medium
CN115834192A (en) File ferrying method and device and computer readable storage medium

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