CN110034858A - Data package retransmission method, device, mobile terminal and storage medium - Google Patents

Data package retransmission method, device, mobile terminal and storage medium Download PDF

Info

Publication number
CN110034858A
CN110034858A CN201910314000.1A CN201910314000A CN110034858A CN 110034858 A CN110034858 A CN 110034858A CN 201910314000 A CN201910314000 A CN 201910314000A CN 110034858 A CN110034858 A CN 110034858A
Authority
CN
China
Prior art keywords
keyword
vop
voice
movement terminal
mobile terminal
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
CN201910314000.1A
Other languages
Chinese (zh)
Other versions
CN110034858B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201910314000.1A priority Critical patent/CN110034858B/en
Publication of CN110034858A publication Critical patent/CN110034858A/en
Application granted granted Critical
Publication of CN110034858B publication Critical patent/CN110034858B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • 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

Abstract

The embodiment of the present application discloses a kind of data package retransmission method, device, mobile terminal and storage medium, this method comprises: when first movement terminal and the second mobile terminal carry out voice communication, if first movement terminal transmits the failure of the first VoP to the second mobile terminal, first movement terminal extracts at least one first voice keyword from the first VoP;Whether first movement terminal detects at least one first voice keyword comprising important keyword;If comprising, first movement terminal generates the first re-transmission VoP comprising first object voice keyword, first re-transmission VoP is sent to the second mobile terminal, first object voice keyword includes the important keyword at least one first voice keyword.The embodiment of the present application promotes the voice communication effect of BLE network when BLE network is poor.

Description

Data package retransmission method, device, mobile terminal and storage medium
Technical field
This application involves fields of communication technology, and in particular to a kind of data package retransmission method, device, mobile terminal and storage Medium.
Background technique
Bluetooth low energy consumption (Bluetooth Low Energy, BLE), also referred to as low-power consumption bluetooth, are that bluetooth sig is set A kind of personal area network technology of meter and sale.BLE has the advantages that low-power consumption, low cost, can be with mobile phone, tablet computer etc. Mobile terminal is compatible with.
Currently, both call sides can carry out speech telephony by BLE network in terms of BLE can be used in voice communication. If the distance of both call sides is farther out, BLE network is poor, can frequently occur the case where VoP retransmits, VoP The case where transmission delay, both call sides can frequently feel voice Caton, voice call quality is poor, will lead to voice communication effect Fruit is bad.
Summary of the invention
The embodiment of the present application provides a kind of data package retransmission method, device, mobile terminal and storage medium, Ke Yi The voice communication effect of BLE network is promoted when BLE network is poor.
In a first aspect, the embodiment of the present application provides a kind of data package retransmission method, the method is applied to long range bluetooth Low energy consumption long range BLE network, first movement terminal and the second mobile terminal are connected to the network by the long range BLE, described Method includes:
When the first movement terminal and second mobile terminal carry out voice communication, if the first movement terminal to Second mobile terminal transmits the failure of the first VoP, and the first movement terminal is from first VoP Extract at least one first voice keyword;
Whether it includes important keyword that the first movement terminal detects at least one described first voice keyword;
If comprising the first movement terminal generates the first re-transmission voice data comprising first object voice keyword The first re-transmission VoP is sent to second mobile terminal by packet, and the first object voice keyword includes institute State the important keyword at least one first voice keyword.
Second aspect, the embodiment of the present application provide a kind of data packet retransmission device, the data packet retransmission device application In long range bluetooth low energy consumption long range BLE network, first movement terminal and the second mobile terminal pass through the long range BLE net Network connection, the data packet retransmission device include:
Extraction unit is used for when the first movement terminal and second mobile terminal carry out voice communication, in institute State first movement terminal to second mobile terminal transmit the first VoP failure in the case where, from first voice At least one first voice keyword is extracted in data packet;
Detection unit, for whether detecting at least one described first voice keyword comprising important keyword;
Generation unit, for detecting at least one described first voice keyword in the detection unit comprising described In the case where important keyword, generates first comprising first object voice keyword and retransmit VoP, first mesh Poster sound keyword includes the important keyword at least one described first voice keyword;
Communication unit, for the first re-transmission VoP to be sent to second mobile terminal.
The third aspect, the embodiment of the present application provide a kind of mobile terminal, including processor, memory, and the memory is used In storing one or more programs, one or more of programs are configured to be executed by the processor, and above procedure includes For executing the instruction of the step in the embodiment of the present application first aspect.
Fourth aspect, the embodiment of the present application provide a kind of computer readable storage medium, wherein above-mentioned computer-readable Storage medium storage is used for the computer program of electronic data interchange, wherein above-mentioned computer program executes computer such as Step some or all of described in the embodiment of the present application first aspect.
5th aspect, the embodiment of the present application provide a kind of computer program product, wherein above-mentioned computer program product Non-transient computer readable storage medium including storing computer program, above-mentioned computer program are operable to make to calculate Machine executes the step some or all of as described in the embodiment of the present application first aspect.The computer program product can be one A software installation packet.
As can be seen that data package retransmission method described in the embodiment of the present application, the data package retransmission method are applied to Long range bluetooth low energy consumption long range BLE network, first movement terminal and the second mobile terminal are connected by long range BLE network It connects, when first movement terminal and the second mobile terminal carry out voice communication, if first movement terminal is transmitted to the second mobile terminal The failure of first VoP, first movement terminal extract at least one first voice keyword from the first VoP; Whether first movement terminal detects at least one first voice keyword comprising important keyword;If comprising first movement is whole End generates the first re-transmission VoP of first object voice keyword, and it is mobile that the first re-transmission VoP is sent to second Terminal, first object voice keyword include the important keyword at least one first voice keyword.The embodiment of the present application It can regenerate when first movement terminal sends the first VoP to the second mobile terminal and fails comprising at least one First of important keyword in first voice keyword retransmits VoP, and when retransmitting data packet, only transmission includes key The first of information retransmits VoP, since the first re-transmission data packet is obviously less than the first VoP, can protect The size that the re-transmission data packet of transmission is reduced while demonstrate,proving the crucial voice messaging of the VoP of transmission, can be in BLE net Quickly transmission retransmits data packet when network is poor, to promote the voice communication effect of BLE network.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of application for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of network architecture schematic diagram of long range BLE network disclosed in the embodiment of the present application;
Fig. 2 is a kind of flow diagram of data package retransmission method disclosed in the embodiment of the present application;
Fig. 3 is the flow diagram of another kind data package retransmission method disclosed in the embodiment of the present application;
Fig. 4 is the flow diagram of another kind data package retransmission method disclosed in the embodiment of the present application;
Fig. 5 is a kind of structural schematic diagram of data packet retransmission device disclosed in the embodiment of the present application;
Fig. 6 is a kind of structural schematic diagram of mobile terminal disclosed in the embodiment of the present application.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present application Attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is only A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
Description and claims of this specification and term " first " in above-mentioned attached drawing, " second " etc. are for distinguishing Different objects, are not use to describe a particular order.In addition, term " includes " and " having " and their any deformations, it is intended that It is to cover and non-exclusive includes.Such as the process, method, system, product or equipment for containing a series of steps or units do not have It is defined in listed step or unit, but optionally further comprising the step of not listing or unit, or optionally also wrap Include other step or units intrinsic for these process, methods, product or equipment.
Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments Containing at least one embodiment of the present invention.Each position in the description occur the phrase might not each mean it is identical Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and Implicitly understand, embodiment described herein can be combined with other embodiments.
Mobile terminal involved by the embodiment of the present application may include the various handheld devices with wireless communication function, Mobile unit, wearable device calculate equipment or are connected to other processing equipments and various forms of radio modem User equipment (User Equipment, UE), mobile station (Mobile Station, MS), terminal device (terminal Device) etc..For convenience of description, apparatus mentioned above is referred to as mobile terminal.
It describes in detail below to the embodiment of the present application.
Referring to Fig. 1, Fig. 1 is a kind of network architecture schematic diagram of long range BLE network disclosed in the embodiment of the present application, it should Long range BLE network includes the BLE nodes such as first movement terminal, the second mobile terminal, third mobile terminal and BLE gateway.Its In, that the BLE node in long range BLE network is modulated is physical layer (PHY), therefore BLE node can also be used for different associations Negotiation heterogeneous networks framework (such as Mesh, Star, point-to-point).
(long range, Lora) over long distances is referred to as at a distance, is a kind of low-power consumption local area network wireless standard (IEEE 802.15.4g).Bluetooth low energy consumption (Bluetooth Low Energy, BLE), also referred to as low-power consumption bluetooth, are bluetooth skills A kind of personal area network technology of art alliance design and sale.BLE node can by the BLE gateway or other have relaying The BLE node pair of function is communicated with other BLE nodes.The communication distance of BLE node is generally several kms to more than ten kms, Compared to classical Bluetooth communication and WiFi communication, the communication distance of BLE node is farther.
BLE node may include BLE module (for example, BLE chip), BLE chip support 250kbps, 500kbps, 1Mbps, 2Mbps message transmission rate.BLE chip can not only support band spectrum modulation mode, can also support that other are more The modulation system of a standard such as frequency shift keying (Frequency-shift keying, FSK)/GFSK Gaussian Frequency Shift Keying (Gauss Frequency-shift keying, GFSK), and can mutually switch, not only realized remote modulation capability but also standard can be used FSK or bit on off keying (On-Off Keying, OOK) modulation technique.BLE node can any include BLE module Mobile terminal, for example, mobile phone, wearable device (for example, Intelligent bracelet, smartwatch, intelligence wear), tablet computer Deng.
Wherein, Mesh networking can be carried out between BLE node, first movement terminal and the second mobile terminal can be added together One group, the BLE node that same group is added can have preferential relaying power.Equipment in Mesh networking can be in Mesh networking Interior carry out multi-hop transmission.
First movement terminal and the second mobile terminal can directly establish bluetooth communication channel, and first movement terminal can also be with Bluetooth communication channel is established by BLE gateway and/or other BLE nodes.In general, when first movement terminal is mobile with second When terminal distance is less than the maximum distance for allowing bluetooth connection, if first movement terminal needs to carry out indigo plant with the second mobile terminal Tooth communication, first movement terminal and the second mobile terminal can directly establish bluetooth communication channel;When first movement terminal and the When two distance of mobile terminal are greater than the maximum distance for allowing bluetooth connection, if first movement terminal needs and the second mobile terminal Bluetooth communication is carried out, first movement terminal and the second mobile terminal can be established blue by BLE gateway and/or other BLE nodes Tooth communication channel.
In the embodiment of the present application, when carrying out voice communication using BLE network, it can quickly be passed when BLE network is poor Defeated re-transmission data packet, to promote the voice communication effect of BLE network.
Based on network architecture shown in FIG. 1, the embodiment of the present application discloses a kind of data package retransmission method.Referring to Fig. 2, Fig. 2 is a kind of flow diagram of data package retransmission method disclosed in the embodiment of the present application, as shown in Fig. 2, the data packet retransmission Method includes the following steps.
201, when first movement terminal and the second mobile terminal carry out voice communication, if first movement terminal is mobile to second The failure of the first VoP of terminal transmission, first movement terminal extract at least one first voice from the first VoP Keyword.
In the embodiment of the present application, first movement terminal, the second mobile terminal belong to the section of the BLE in long range BLE network Point.First movement terminal can be connect with the second mobile terminal by BLE gateway, can also be by other with relay function BLE node is attached, and can also be directly attached.First movement terminal and the second mobile terminal can support relaying function Energy.First movement terminal, the second mobile terminal can also carry out Mesh networking, and same group is added.
When first movement terminal needs to carry out blue tooth voice communication with the second mobile terminal, first movement terminal is moved with second Dynamic terminal is switched on low-power consumption bluetooth function, and first movement terminal can be built by long range BLE network and the second mobile terminal Vertical communication channel, realizes remote speech telephone communication.
When first movement terminal needs to carry out blue tooth voice communication with the second mobile terminal, the microphone of first movement terminal The voice signal of user's input can be acquired, the speech coder of first movement terminal can be by the voice signal of input according to one Fixed sample frequency is sampled, and the signal of sampling is encoded, and the signal of coding is compressed, by compressed signal It is packaged, obtains VoP.If first movement terminal and the BLE network of the second mobile terminal are poor, first movement Terminal is to the second mobile terminal transmitting audio data packet it is possible that packet loss, causes first movement terminal to the second mobile terminal Transmit the failure of the first VoP.
BLE network quality can indicate (Received by the Bluetooth received signals intensity of the first movement terminal Signal Strength Indication, RSSI) it determines.For example, the bluetooth RSSI of first movement terminal lower than- 130dBm, then it is assumed that BLE network is poor.
In the embodiment of the present application, if first movement terminal transmits the failure of the first VoP to the second mobile terminal, First movement terminal extracts at least one first voice keyword from the first VoP.First movement terminal can pass through Speech recognition algorithm identifies text information from the first VoP, and keyword is extracted from text information.For example, text Information is " I rest for a moment, 6 points are gone to the station XX ", then keyword include " I ", " rest ", " for a moment ", " 6 points ", " going ", " station XX " a total of six voice keyword.
202, whether first movement terminal detects at least one first voice keyword comprising important keyword.
In the embodiment of the present application, important keyword not only includes verb, can also comprising person names, place name, when Between equal nouns.Important keyword can also include some adjectives.
Optionally, important keyword includes verb, place name keyword, name keyword, at least one in time-critical word Kind.
203, if comprising first movement terminal generates the first re-transmission voice data comprising first object voice keyword First re-transmission VoP is sent to the second mobile terminal by packet, and first object voice keyword includes at least one first language Important keyword in sound keyword.
In the embodiment of the present application, if first movement terminal detects at least one first voice keyword comprising important Keyword then generates first according to the important keyword at least one first voice keyword and retransmits VoP.Due to The corresponding VoP of important keyword at least one first voice keyword is less than at least one first voice pass The corresponding VoP of keyword.
For example, the first voice keyword includes " I ", " rest ", " for a moment ", " 6 points ", " going ", " station XX " in total six A voice keyword.Important keyword therein includes " I ", " 6 points ", " going ", " station XX " this four voice keywords.It is aobvious So, the corresponding VoP of four voice keywords is less than the corresponding VoP of six voice keywords.And it is important The information of keyword is also able to reflect the content in first language data packet, and first object voice keyword can make up complete language Justice.After second mobile terminal receives the first re-transmission VoP, pass can be got from the first re-transmission VoP Key voice messaging, to promote the voice communication effect of BLE network.
In the embodiment of the present application, when retransmitting VoP, only transmission includes the first re-transmission voice number of important keyword It can guarantee the VoP of transmission since the first re-transmission data packet is obviously less than the first VoP according to packet The size of the re-transmission data packet of transmission is reduced while important keyword, can quickly be transmitted when BLE network is poor and be retransmitted number According to packet, to promote the voice communication effect of BLE network.
Optionally, method shown in Fig. 2 can also include step 204.
204, if not including, first movement terminal abandons the first VoP.
In the embodiment of the present application, if at least one first voice keyword does not include important keyword, show the first language The first VoP can be directly abandoned, directly in sound data packet and not comprising important information in order to improve voice communication effect Connect the VoPs to be transmitted such as transmission.
During voice communication, since the voice that user issues is usually continuous, if VoP transmits Failure, if selection retransmits, it will cause the delays of voice communication, if not including important keyword in VoP, The VoP is directly abandoned, next VoP is next transmitted, to improve the effect of voice communication.
Optionally, in step 201, first movement terminal extracts at least one first voice pass from the first VoP Keyword can specifically include following steps:
(11) the first VoP is converted to the first text information by first movement terminal;
(12) first movement terminal extracts the first voice keyword of at least one of the first text information.
In the embodiment of the present application, first movement terminal can be converted to the first VoP using speech recognition algorithm First text information.Speech recognition algorithm may include neural network algorithm.
Optionally, the first VoP is encoded according to the first coding mode, in step 203, first movement terminal It generates first comprising first object voice keyword and retransmits VoP, comprising:
(21) first movement terminal obtains at least one sound bite comprising first object voice keyword;
(22) first movement terminal splices at least one sound bite, obtains spliced sound bite;
(23) first movement terminal encodes spliced sound bite using the second coding mode, obtains the first weight Pass VoP, the corresponding encoder bit rate of the second coding mode encoder bit rate corresponding less than the first coding mode.
In the embodiment of the present application, each voice keyword can correspond to a sound bite.First object voice keyword There can be at least one, at least one corresponding sound bite of the available first object voice keyword of first movement terminal. For example, first object voice keyword has 4, then first movement terminal is available with 4 first object voice keywords pair 4 sound bites answered.
Sound bite is divided one section of voice signal of the microphone acquisition of first movement terminal.For example, voice is believed Number for 7 seconds, main points word therein is respectively " I ", " rest ", " for a moment ", " 6 points ", " going ", " station XX ", wherein " I " is 0-0.5 seconds sound bites in voice signal, " rest " is 0.5-1.5 seconds sound bites, " one in voice signal Meeting " is 1.5-2.5 seconds sound bites in voice signal, " 6 points " are 3-4 seconds sound bites in voice signal, " going " is language 4-4.5 seconds sound bites, the sound bite that " station XX " is 4.5-7 seconds in voice signal in sound signal.
0-0.5 seconds sound bites, 3-4 seconds sound bites, 4-4.5 in the available voice signal of first movement terminal The crucial sound bites of sound bite, 4.5-7 seconds sound bites this four of second, according to this four sound bites in voice signal In chronological order this four crucial sound bites are spliced, obtain spliced sound bite, spliced language Voice keyword in tablet section includes " I ", " 6 points ", " going ", " station XX ".
Voice signal is encoded before being transmitted.In general, the encoder bit rate of audio coding is lower, VoP after coding is smaller, and occupied memory space is smaller.Since the corresponding encoder bit rate of the second coding mode is small It is less than the size of the first VoP in the size of the corresponding encoder bit rate of the first coding mode, the first re-transmission data packet. The size that the re-transmission data packet of transmission can be reduced while guaranteeing that the VoP of transmission includes important keyword, can be with When BLE network is poor, quickly transmission retransmits data packet, to promote the voice communication effect of BLE network.
Referring to Fig. 3, Fig. 3 is the flow diagram of another kind data package retransmission method disclosed in the embodiment of the present application, Fig. 3 It is to be advanced optimized on the basis of Fig. 2.As shown in figure 3, the data package retransmission method includes the following steps.
301, when first movement terminal and the second mobile terminal carry out voice communication, if first movement terminal is mobile to second The failure of the first VoP of terminal transmission, first movement terminal extract at least one first voice from the first VoP Keyword.
302, whether first movement terminal detects at least one first voice keyword comprising important keyword.
303, if comprising first movement terminal generates the first re-transmission voice data comprising first object voice keyword First re-transmission VoP is sent to the second mobile terminal by packet, and first object voice keyword includes at least one first language Important keyword in sound keyword.
Wherein, the specific implementation of the step 301 in the embodiment of the present application to step 303 may refer to step shown in Fig. 2 201 to step 203 detailed description, details are not described herein again.
304, in voice call process, if first movement terminal reaches to the number that the second mobile terminal retransmits data packet Preset quantity threshold value, first movement terminal obtain the second speech data packet to be passed for transporting to the second mobile terminal.
In the embodiment of the present application, preset quantity threshold value can be set in advance and be stored in the memory of mobile terminal In (for example, nonvolatile memory).For example, preset quantity threshold value can be set to 10.First movement terminal is mobile to second The data packet that terminal retransmits can be the same data packet, be also possible to different data packets.
305, first movement terminal extracts at least one second voice keyword from second speech data packet.
306, whether first movement terminal detects at least one second voice keyword comprising important keyword.
307, if at least one second voice keyword including important keyword, it includes second that first movement terminal, which generates, Third VoP is sent to the second mobile terminal, the second target voice by the third VoP of target voice keyword Keyword includes the important keyword at least one second voice keyword.
Optionally, Fig. 3 can also include step 308.
308, if not including important keyword at least one second voice keyword, first movement terminal abandons the second language Sound data packet.
In the embodiment of the present application, when the data packet number that first movement terminal is retransmitted to the second mobile terminal reaches present count When measuring threshold value, show that current voice call quality is poor, the case where in order to avoid continuing to occur voice re-transmission.In subsequent transmission When VoP, semantic analysis is carried out to VoP to be transmitted in advance, if in the VoP to be transmitted It comprising important keyword, then regenerates smaller data packet and is transmitted, if not including important pass in the VoP Keyword then directly abandons the second speech data packet.The embodiment of the present application can judge that current speech speech quality is poor When, semantic analysis is carried out in advance, avoids being retransmitted again after transmitting for the first time, thus when saving the transmission of second speech data packet It is long, and then improve voice communication effect.
Referring to Fig. 4, Fig. 4 is the flow diagram of another kind data package retransmission method disclosed in the embodiment of the present application, Fig. 4 It is to be advanced optimized on the basis of Fig. 2.As shown in figure 4, the data package retransmission method includes the following steps.
401, when first movement terminal and the second mobile terminal carry out voice communication, if first movement terminal is mobile to second The failure of the first VoP of terminal transmission, it is pre- whether first movement terminal detection Bluetooth received signals intensity instruction RSSI is less than If signal strength threshold.
In the embodiment of the present application, when first movement terminal transmits the first VoP to the second mobile terminal and fails, Keyword extraction and key word analysis are not carried out directly, but first detection Bluetooth received signals intensity indicates RSSI, according to inspection The size of the bluetooth RSSI of survey is determining it is to carry out keyword extraction and key word analysis or directly retransmit the first voice data Packet.The size for obtaining bluetooth RSSI can be in order to quality that first movement terminal more accurately judges current speech quality.
402, if being less than, first movement terminal extracts at least one first voice keyword from the first VoP.
403, whether first movement terminal detects at least one first voice keyword comprising important keyword.
404, if comprising first movement terminal generates the first re-transmission voice data comprising first object voice keyword First re-transmission VoP is sent to the second mobile terminal by packet, and first object voice keyword includes at least one first language Important keyword in sound keyword.
Wherein, the specific embodiment of step 402 to step 404 may refer to step 201 shown in Fig. 2 to step 203 Detailed description, details are not described herein again.
Optionally, if Bluetooth received signals intensity instruction RSSI is greater than or equal to preset signal strength threshold value, first movement Terminal continues to transmit the first VoP to the second mobile terminal.
In the embodiment of the present application, if Bluetooth received signals intensity instruction RSSI is greater than or equal to preset signal strength threshold Value shows that the quality for the bluetooth communication channel established between in first movement terminal and the second movement is preferable, is not necessarily to after processing again It retransmits, i.e., without keyword extraction and key word analysis, directly transmits the first VoP again.The embodiment of the present application can Directly to retransmit the first VoP in current bluetooth RSSI higher, without carrying out voice keyword extraction and key Word analysis, can shorten the time that the first VoP is sent to the second mobile terminal by first movement terminal, to improve Voice communication effect.
It is above-mentioned that mainly the scheme of the embodiment of the present application is described from the angle of method side implementation procedure.It is understood that , in order to realize the above functions, it comprises execute the corresponding hardware configuration of each function and/or software mould for mobile terminal Block.Those skilled in the art should be readily appreciated that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure And algorithm steps, the present invention can be realized with the combining form of hardware or hardware and computer software.Some function actually with Hardware or computer software drive the mode of hardware to execute, the specific application and design constraint item depending on technical solution Part.Professional technician can specifically realize described function to each using distinct methods, but this reality Now it should not be considered as beyond the scope of the present invention.
The embodiment of the present application can carry out the division of functional unit according to above method example to mobile terminal, for example, can With each functional unit of each function division of correspondence, two or more functions can also be integrated in a processing unit In.Above-mentioned integrated unit both can take the form of hardware realization, can also realize in the form of software functional units.It needs It is noted that be schematical, only a kind of logical function partition to the division of unit in the embodiment of the present application, it is practical real It is current that there may be another division manner.
Referring to Fig. 5, Fig. 5 is a kind of structural schematic diagram of data packet retransmission device disclosed in the embodiment of the present application.Such as Fig. 5 Shown, data packet retransmission device is applied to long range bluetooth low energy consumption long range BLE network, and first movement terminal is mobile with second Terminal is connected to the network by long range BLE, which includes extraction unit 501, detection unit 502, generates Unit 503 and communication unit 504, in which:
Extraction unit 501 is used for when the first movement terminal and second mobile terminal carry out voice communication, In the case that the first movement terminal transmits the failure of the first VoP to second mobile terminal, from first language At least one first voice keyword is extracted in sound data packet;
Detection unit 502, for whether detecting at least one described first voice keyword comprising important keyword;
Generation unit 503 is wrapped for detecting at least one described first voice keyword in the detection unit 502 In the case where the important keyword, generates first comprising first object voice keyword and retransmit VoP, it is described First object voice keyword includes the important keyword at least one described first voice keyword;
Communication unit 504, for the first re-transmission VoP to be sent to second mobile terminal.
Optionally, which can also include discarding unit 505.
Discarding unit 505 is also used to detect at least one described first voice keyword not in the detection unit 502 In the case where the important keyword, first VoP is abandoned.
Optionally, extraction unit 501 extracts at least one first voice keyword from first VoP, tool Body are as follows: first VoP is converted into the first text information;Extract at least one of described first text information First voice keyword.
Optionally, which can also include acquiring unit 506.
Acquiring unit 506 is used in the voice call process, mobile to described second in the first movement terminal In the case that the number that terminal retransmits data packet reaches preset quantity threshold value, obtains and to be passed transport to the of second mobile terminal Two VoPs;
Extraction unit 501 is also used to extract at least one second voice keyword from the second speech data packet;
Whether detection unit 502 is also used to detect at least one described second voice keyword comprising the important pass Keyword;
Generation unit 503 is also used at least one second voice keyword described in the detection unit 502 comprising institute In the case where stating important keyword, the third VoP comprising the second target voice keyword is generated;
Communication unit 504 is also used to for the third VoP to be sent to second mobile terminal, second mesh Poster sound keyword includes the important keyword at least one described second voice keyword.
Optionally, detection unit 502 are also used to transmit first to second mobile terminal in the first movement terminal In the case where VoP failure, whether detected Bluetooth received signals intensity instruction RSSI is less than preset signal strength threshold Value;
Extraction unit 501 is also used to detect that Bluetooth received signals intensity instruction RSSI is less than in the detection unit 502 In the case where preset signal strength threshold value, at least one first voice keyword is extracted from first VoP.
Optionally, first VoP is encoded according to the first coding mode, and the generation of generation unit 503 includes The first of first object voice keyword retransmits VoP, specifically: it obtains comprising first object voice keyword extremely A few sound bite, splices at least one described sound bite, obtains spliced sound bite;It is compiled using second Code mode encodes the spliced sound bite, obtains described first and retransmits VoP, second coding The corresponding encoder bit rate of mode is less than the corresponding encoder bit rate of first coding mode.
The important keyword includes at least one of verb, place name keyword, name keyword, time-critical word.
Implement data packet retransmission device shown in fig. 5, carries out voice communication in first movement terminal and the second mobile terminal When, if first movement terminal sends the failure of the first VoP to the second mobile terminal, VoP re-transmission is carried out, When retransmitting VoP, only transmission includes the first re-transmission VoP of important keyword, due to the first re-transmission data packet Obviously it is less than the first VoP, transmission can be reduced while guaranteeing the important keyword of VoP of transmission Re-transmission data packet size, can when BLE network is poor quickly transmission retransmit data packet, to promote the language of BLE network Sound communication effect.
Referring to Fig. 6, Fig. 6 is a kind of structural schematic diagram of mobile terminal disclosed in the embodiment of the present application.As shown in fig. 6, The mobile terminal 600 includes processor 601 and memory 602, wherein mobile terminal 600 can also include bus 603, processing Device 601 and memory 602 can be connected with each other by bus 603, and bus 603 can be Peripheral Component Interconnect standard (Peripheral Component Interconnect, abbreviation PCI) bus or expanding the industrial standard structure (Extended Industry Standard Architecture, abbreviation EISA) bus etc..It is total that bus 603 can be divided into address bus, data Line, control bus etc..Only to be indicated with a thick line in Fig. 6, it is not intended that an only bus or a type convenient for indicating The bus of type.Wherein, mobile terminal 600 can also include input-output equipment 604, and input-output equipment 604 may include showing Display screen, such as liquid crystal display.Memory 602 is used to store one or more programs comprising instruction;Processor 601 is for adjusting With the above-mentioned Fig. 2 of the instruction execution method and step some or all of into Fig. 4 of storage in the memory 602.
Implement mobile terminal shown in fig. 6, when first movement terminal and the second mobile terminal carry out voice communication, if First movement terminal sends the failure of the first VoP to the second mobile terminal, then carries out VoP re-transmission, retransmitting Only transmission includes the first re-transmission VoP of important keyword when VoP, since the first re-transmission data packet is obviously wanted Less than the first VoP, the re-transmission of transmission can be reduced while guaranteeing the important keyword of VoP of transmission The size of data packet can quickly be transmitted when BLE network is poor and retransmit data packet, to promote the voice communication of BLE network Effect.
The embodiment of the present application also provides a kind of computer storage medium, wherein computer storage medium storage is for electricity The computer program of subdata exchange, it is as any in recorded in above method embodiment which execute computer A kind of some or all of data package retransmission method step.
The embodiment of the present application also provides a kind of computer program product, which includes storing computer The non-transient computer readable storage medium of program, the computer program are operable to execute computer as the above method is real Apply some or all of any data package retransmission method recorded in example step.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described because According to the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know It knows, the embodiments described in the specification are all preferred embodiments, and related actions and modules is not necessarily of the invention It is necessary.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed device, it can be by another way It realizes.For example, the apparatus embodiments described above are merely exemplary, such as the division of the unit, it is only a kind of Logical function partition, there may be another division manner in actual implementation, such as multiple units or components can combine or can To be integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Coupling, direct-coupling or communication connection can be through some interfaces, the indirect coupling or communication connection of device or unit, It can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer-readable access to memory.Based on this understanding, technical solution of the present invention substantially or Person says that all or part of the part that contributes to existing technology or the technical solution can body in the form of software products Reveal and, which is stored in a memory, including some instructions are used so that a computer equipment (can be personal computer, server or network equipment etc.) executes all or part of each embodiment the method for the present invention Step.And memory above-mentioned includes: USB flash disk, read-only memory (ROM, Read-Only Memory), random access memory The various media that can store program code such as (RAM, Random Access Memory), mobile hard disk, magnetic or disk.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can It is completed with instructing relevant hardware by program, which can store in a computer-readable memory, memory May include: flash disk, read-only memory (English: Read-Only Memory, referred to as: ROM), random access device (English: Random Access Memory, referred to as: RAM), disk or CD etc..
The embodiment of the present application is described in detail above, specific case used herein to the principle of the present invention and Embodiment is expounded, and the above description of the embodiment is only used to help understand the method for the present invention and its core ideas; At the same time, for those skilled in the art can in specific embodiments and applications according to the thought of the present invention There is change place, in conclusion the contents of this specification are not to be construed as limiting the invention.

Claims (10)

1. a kind of data package retransmission method, which is characterized in that the method is applied to long range bluetooth low energy consumption long range BLE net Network, first movement terminal and the second mobile terminal are connected to the network by the long range BLE, which comprises
When the first movement terminal and second mobile terminal carry out voice communication, if the first movement terminal is to described Second mobile terminal transmits the failure of the first VoP, and the first movement terminal is extracted from first VoP At least one first voice keyword;
Whether it includes important keyword that the first movement terminal detects at least one described first voice keyword;
If comprising the first movement terminal generates the first re-transmission VoP comprising first object voice keyword, will The first re-transmission VoP is sent to second mobile terminal, the first object voice keyword include it is described at least Important keyword in one the first voice keyword.
2. the method according to claim 1, wherein the method also includes:
If at least one described first voice keyword does not include the important keyword, described in the first movement terminal abandons First VoP.
3. the method according to claim 1, wherein the first movement terminal is from first VoP Middle at least one first voice keyword of extraction, comprising:
First VoP is converted to the first text information by the first movement terminal;
The first movement terminal extracts the first voice keyword of at least one of first text information.
4. the method according to claim 1, wherein the method also includes:
In the voice call process, if the first movement terminal retransmits the number of data packet to second mobile terminal Reach preset quantity threshold value, the first movement terminal obtains the second speech data to be passed for transporting to second mobile terminal Packet;
The first movement terminal extracts at least one second voice keyword from the second speech data packet;
Whether it includes the important keyword that the first movement terminal detects at least one described second voice keyword;
If comprising the first movement terminal generates the third VoP comprising the second target voice keyword, will be described Third VoP is sent to second mobile terminal, the second target voice keyword include it is described at least one second Important keyword in voice keyword.
5. the method according to claim 1, wherein the first movement terminal is from first VoP Before middle at least one first voice keyword of extraction, the method also includes:
If the first movement terminal transmits the failure of the first VoP to second mobile terminal, the first movement is whole Whether end detection Bluetooth received signals intensity instruction RSSI is less than preset signal strength threshold value;
If being less than, the execution of first movement terminal is described to extract at least one first voice key from first VoP The step of word.
6. the method according to claim 1, wherein first VoP according to the first coding mode into Row coding, the first movement terminal generate the first re-transmission VoP comprising first object voice keyword, comprising:
The first movement terminal obtains at least one sound bite comprising first object voice keyword, to described at least one A sound bite is spliced, and spliced sound bite is obtained;
The first movement terminal encodes the spliced sound bite using the second coding mode, obtains described the One retransmits VoP, and the corresponding encoder bit rate of second coding mode is less than the corresponding coding of first coding mode Code rate.
7. described in any item methods according to claim 1~6, which is characterized in that the important keyword includes verb, place name At least one of keyword, name keyword, time-critical word.
8. a kind of data packet retransmission device, which is characterized in that the data packet retransmission device is applied to the low energy consumption of long range bluetooth Long range BLE network, first movement terminal and the second mobile terminal are connected to the network by the long range BLE, the data packet Retransmission arrangement includes:
Extraction unit, for when the first movement terminal and second mobile terminal carry out voice communication, described the In the case that one mobile terminal transmits the failure of the first VoP to second mobile terminal, from first voice data At least one first voice keyword is extracted in packet;
Detection unit, for whether detecting at least one described first voice keyword comprising important keyword;
Generation unit, for detecting at least one described first voice keyword in the detection unit comprising described important In the case where keyword, generates first comprising first object voice keyword and retransmit VoP, the first object language Sound keyword includes the important keyword at least one described first voice keyword;
Communication unit, for the first re-transmission VoP to be sent to second mobile terminal.
9. a kind of mobile terminal, which is characterized in that including processor and memory, the memory is for storing one or more A program, one or more of programs are configured to be executed by the processor, and described program includes for executing such as right It is required that 1~7 described in any item methods.
10. a kind of computer readable storage medium, which is characterized in that the computer readable storage medium is for storing electron number According to the computer program of exchange, wherein the computer program executes computer as described in any one of claim 1~7 Method.
CN201910314000.1A 2019-04-18 2019-04-18 Data packet retransmission method and device, mobile terminal and storage medium Active CN110034858B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910314000.1A CN110034858B (en) 2019-04-18 2019-04-18 Data packet retransmission method and device, mobile terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910314000.1A CN110034858B (en) 2019-04-18 2019-04-18 Data packet retransmission method and device, mobile terminal and storage medium

Publications (2)

Publication Number Publication Date
CN110034858A true CN110034858A (en) 2019-07-19
CN110034858B CN110034858B (en) 2021-08-17

Family

ID=67239121

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910314000.1A Active CN110034858B (en) 2019-04-18 2019-04-18 Data packet retransmission method and device, mobile terminal and storage medium

Country Status (1)

Country Link
CN (1) CN110034858B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111885027A (en) * 2020-07-10 2020-11-03 北京百家视联科技有限公司 Voice transmission method under weak network condition

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6137864A (en) * 1997-07-25 2000-10-24 Lucent Technologies Inc. Specifiable delete times for voice messaging
CN101272216A (en) * 2007-03-20 2008-09-24 北京中创信测科技股份有限公司 Speech analyzing method and system, speech capturing front end machine
CN103945281A (en) * 2014-04-29 2014-07-23 中国联合网络通信集团有限公司 Method, device and system for video transmission processing
CN108039169A (en) * 2017-12-26 2018-05-15 海能达通信股份有限公司 Audio signal processing method, communicating terminal and the computer-readable storage medium that group is exhaled
CN109003618A (en) * 2018-08-14 2018-12-14 Oppo广东移动通信有限公司 Coding control method, device, electronic equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6137864A (en) * 1997-07-25 2000-10-24 Lucent Technologies Inc. Specifiable delete times for voice messaging
CN101272216A (en) * 2007-03-20 2008-09-24 北京中创信测科技股份有限公司 Speech analyzing method and system, speech capturing front end machine
CN103945281A (en) * 2014-04-29 2014-07-23 中国联合网络通信集团有限公司 Method, device and system for video transmission processing
CN108039169A (en) * 2017-12-26 2018-05-15 海能达通信股份有限公司 Audio signal processing method, communicating terminal and the computer-readable storage medium that group is exhaled
CN109003618A (en) * 2018-08-14 2018-12-14 Oppo广东移动通信有限公司 Coding control method, device, electronic equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111885027A (en) * 2020-07-10 2020-11-03 北京百家视联科技有限公司 Voice transmission method under weak network condition

Also Published As

Publication number Publication date
CN110034858B (en) 2021-08-17

Similar Documents

Publication Publication Date Title
CN109117361B (en) Remote debugging method, related equipment and system for small program
CN106550490B (en) A kind for the treatment of method and apparatus of Radio Link Failure
CN109246671A (en) Data transmission method, apparatus and system
TWI396398B (en) Method and apparatus of transmission time interval bundling management
US11304211B2 (en) Power allocation method and device
CN109005527B (en) Data transmission method and terminal
US11601923B2 (en) UCI transmission method and mobile terminal
CN109996351A (en) A kind of transmission method and relevant device of configuration information
WO2020057312A1 (en) Transmission time indication method for unlicensed band, network device, and terminal
CN111262672B (en) Transmission method, network equipment and terminal
CN110149167A (en) Method and device for dynamically adjusting codes, mobile terminal and storage medium
WO2021228132A1 (en) Information sending method, resource processing method, apparatus, and electronic device
WO2016119687A1 (en) Signal sending method, receiving method and device
WO2021228131A1 (en) Information transmission method and apparatus, and electronic device
JP7196281B2 (en) Reference signal transmission method, reference signal reception method, and device
CN111629452A (en) Data transmission control method and device, storage medium and electronic equipment
CN109104900A (en) Transmission method, device and the computer readable storage medium of system information
CN110391885B (en) Information transmission method of unauthorized frequency band, network equipment and terminal
CN103944821A (en) Path selection method for mixing multiple heterogeneous networks
CN110034858A (en) Data package retransmission method, device, mobile terminal and storage medium
CN106031269A (en) Signal sending method, signal receiving method and relevant device therefor
US8594279B2 (en) Communication apparatus
CN106713171A (en) Server and delay-queue-based current-limiting protection system and method
CN109756972A (en) A kind of method, network side equipment and terminal waking up application program
US9414014B2 (en) Communication control system, communication control method, communication control program, terminal, and program for terminal

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