Weak signal call method, mobile terminal and computer readable storage medium
Technical field
The present invention relates to technical field of mobile terminals more particularly to a kind of weak signal call methods, mobile terminal and calculating
Machine readable storage medium storing program for executing.
Background technique
Global system for mobile communications (Global System for Mobile Communication) is exactly well-known
GSM, be the most commonly used mobile phone standard of current application.GSM is one worked out by European Telecommunications Standards Organization ETSI
Digital mobile communication standard, GSM are global system for mobile communications (Global System for Mobile
Communications abbreviation).Its air interface uses time division multiple access technology.Since the mid-90 puts it into commercial operation,
By more than 100, the whole world, country is used.The equipment of GSM standard occupy Present Global cellular mobile communication equipment Market 80% with
On.
GSM is the most commonly used mobile phone standard of current application.Global more than 200 countries and regions are more than 1,000,000,000 people
GSM phone is used.All users can endorsed free-roaming between " Roaming agreements " mobile-phone carrier.GSM
The signaling for not being both it and voice channel compared with its pervious standard maximum are all digital, therefore GSM is counted as
Two generations (2G) mobile telephone system.This illustrates digital communication from having been built up very early into system.GSM be one currently by
The open standard of 3GPP exploitation.
From User Perspective, the main advantage of GSM is that user can be from higher digital speech quality and low expense
Short message between make a choice.The advantage of network operator is that they their equipment can match according to different customizations
It sets, because GSM provides easier interoperability as open standard.It is overflow in this way, standard allows for network operator to provide
Trip service, user can use their mobile phone in the whole world.
CDMA (CDMA) is the branch in digital technology -- grow up on spread spectrum technic one kind it is brand-new and
Mature wireless communication technique.The principle of CDMA technology is that have certain signal bandwidth for what need to be transmitted based on spread spectrum
Information data, the high speed pseudo noise code with a bandwidth much larger than signal bandwidth are modulated, and make the bandwidth quilt of former data-signal
Extension, then it is carrier-modulated and send.Receiving end uses identical pseudo noise code, makees phase with received bandwidth signal
Pass processing, that is, de-spread the narrow band signal that broadband signal changes prime information data into, to realize that information communicates.CDMA refers to a kind of expansion
The frequency CDMA digital formula communication technology, establishes channel by unique code sequence, can be used in two generations and three generations's wireless communication
Any agreement.CDMA is a kind of multi-channel approach, and multiple signals only take up a channel, bandwidth utilization rate is greatly improved, answers
Hyperfrequency (UHF) mobile telephone system for 800MHz and 1.9GHz.CDMA uses the analog-to-digital conversion with spread spectrum
(ADC), input audio is digitized as binary element first.Frequency transmission signal is encoded by specified type, therefore only frequency is rung
Consistent receiver, which should be encoded, could intercept signal.Due to there is countless frequency order to encode, it is difficult to duplicate, enhances
Confidentiality.Nominally CDMA channel width 1.23MHz uses soft handoff scheme in network, reduces to the greatest extent in mobile phone communication and believe
Number interrupt.The connected applications of number and spread spectrum make unit bandwidth number of signals than being multiplied under analog form, CDMA
It is compatible with other cellular technologies, realize whole nation roaming.It is used initially only in CMDAOne standard in American cellular phone and single-pass is only provided
The transmission speed of road 14.4Kbps and eight channel 115Kbps.CDMA2000 and wideband CDMA speed have significantly improved.
The current end-to-end call of mobile phone is typically all that GSM or CDMA mode is used to be communicated, when people are in ground library
Or under other weak signal environments, in the state that communication effect is not fine, other side can't hear ground people from library sound of speaking, or even can break
Line, very the call experience of influence people.
Summary of the invention
It is a primary object of the present invention to propose a kind of weak signal call method, mobile terminal and computer-readable storage medium
Matter, it is intended to which when solving mobile terminal in the prior art and entering ground library, the spaces such as elevator, speech signal is very poor, leads to call absolutely
Continuous the problem of can not even conversing.
To achieve the above object, a kind of weak signal call method provided by the invention is applied to first movement terminal, described
Method the following steps are included:
After first movement terminal and the call starting of the second mobile terminal sound, real-time detection first movement terminal mobile communication
The intensity of signal;
If the intensity of the mobile communication signal is lower than given threshold, start weak signal call mode;
Starting recorded program enrolls the voice data of first movement terminal user in real time;
The voice data of the admission is sent to the second mobile terminal, the voice number by radio data network in real time
It is played automatically according in the second mobile terminal by earpiece.
Further, the voice data of the admission is sent to by the step of the method in real time by radio data network
Second mobile terminal, the voice data is played in the second mobile terminal by earpiece automatically further comprises:
The second mobile terminal is sent to by radio data network in real time after the voice data noise reduction of the admission is compressed,
The voice data is the second mobile terminal is decoded, is played automatically after signal amplification by earpiece.
Further, the mobile communication signal is GSM signal or CDMA signal.
Further, if the intensity of the step of the method mobile communication signal is lower than given threshold, start
Include: after weak signal call mode
Judge whether radio data network is opened, if radio data network is not opened, automatically turns on wireless data network
Network.
Further, the method voice data described in step is after the second mobile terminal is played automatically by earpiece
Include:
Real-time detection terminal signaling intensity is closed if the intensity of the mobile communication signal is higher than given threshold
Close weak signal call mode.
Further, the radio data network is mobile data network or Wi-Fi.
In addition, to achieve the above object, the present invention also proposes a kind of weak signal call method, it is mobile whole to be applied to second
End, the described method comprises the following steps,
After first movement terminal and the starting of the second mobile terminal call, detect whether that receiving first movement terminal passes through
The voice data that radio data network is sent;
If it is, being played automatically to after the contracting of received voice data decompression by earpiece.
Further, the method is in step if it is, to automatic by earpiece after the contracting of received voice data decompression
Include: after playing
Starting recorded program enrolls the voice data of the second mobile terminal user in real time;
The voice data of the admission is sent to first movement terminal, the voice number by radio data network in real time
It is played automatically according in first movement terminal by earpiece.
In addition, to achieve the above object, the present invention also proposes a kind of mobile terminal, including memory, processor and at least
One is stored in the memory and is configured as the application program executed by the processor, at least one described application
Program is configurable for executing weak signal call method described in any of the above-described claim.
In addition, to achieve the above object, the present invention also proposes a kind of computer readable storage medium, described computer-readable
Weak signal voice procedure is stored on storage medium, the weak signal voice procedure realizes any of the above-described when being executed by processor
The step of described weak signal call method.
Weak signal call method, mobile terminal and computer readable storage medium proposed by the present invention, by logical in voice
The quality of real-time detection speech signal during crossing starts weak signal call mode if speech signal is poor, and admission is used
The voice data at family simultaneously sends opposite end by wireless network for the voice data of the admission, and opposite end decoding passes through after playing to be listened
Cylinder plays, and can make communication effect as when speech signal is normal, and the voice under very good solution speech signal weak environment is logical
The problem of talking about poor quality.
Detailed description of the invention
The hardware structural diagram of Fig. 1 mobile terminal of each embodiment to realize the present invention;
Fig. 2 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is the weak signal call method implementation process diagram that first embodiment of the invention provides;
Fig. 4 is the weak signal call method implementation process diagram that second embodiment of the invention provides;
Fig. 5 is the weak signal call method implementation process diagram that third embodiment of the invention provides;
Fig. 6 is the weak signal call method implementation process diagram that fourth embodiment of the invention provides;
Fig. 7 is the weak signal call method implementation process diagram that fifth embodiment of the invention provides.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of element
Be conducive to explanation of the invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix
Ground uses.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as mobile phone, plate
Computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable
Media player (Portable Media Player, PMP), navigation device, wearable device, Intelligent bracelet, pedometer etc. move
The fixed terminals such as dynamic terminal, and number TV, desktop computer.
It will be illustrated by taking mobile terminal as an example in subsequent descriptions, it will be appreciated by those skilled in the art that in addition to special
Except element for moving purpose, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, a kind of hardware structural diagram of its mobile terminal of each embodiment to realize the present invention, the shifting
Dynamic terminal 100 may include: RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit
103, A/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit
108, the components such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1
Mobile terminal structure does not constitute the restriction to mobile terminal, and mobile terminal may include components more more or fewer than diagram,
Perhaps certain components or different component layouts are combined.
It is specifically introduced below with reference to all parts of the Fig. 1 to mobile terminal:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, by base station
Downlink information receive after, to processor 110 handle;In addition, the data of uplink are sent to base station.In general, radio frequency unit 101
Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating
Frequency unit 101 can also be communicated with network and other equipment by wireless communication.Any communication can be used in above-mentioned wireless communication
Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications
System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code
Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division
Multiple Access, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous Code
Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division
Duplexing-Long Term Evolution, frequency division duplex long term evolution) and TDD-LTE (Time Division
Duplexing-Long Term Evolution, time division duplex long term evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102
Sub- mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 1 shows
Go out WiFi module 102, but it is understood that, and it is not belonging to must be configured into for mobile terminal, it completely can be according to need
It to omit within the scope of not changing the essence of the invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100
When under the isotypes such as formula, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or WiFi module 102 it is received or
The audio data stored in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103
Audio output relevant to the specific function that mobile terminal 100 executes can also be provided (for example, call signal receives sound, disappears
Breath receives sound etc.).Audio output unit 103 may include loudspeaker, buzzer etc..
A/V input unit 104 is for receiving audio or video signal.A/V input unit 104 may include graphics processor
(Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode
Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out
Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited
Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike
Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042
Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can
To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case where telephone calling model.
Microphone 1042 can be implemented various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition)
The noise generated during frequency signal or interference.
Mobile terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment
The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 is moved in one's ear
Display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general
For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify the application of mobile phone posture
(such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;
The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer,
The other sensors such as hygrometer, thermometer, infrared sensor, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap
Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used
Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with mobile terminal
Family setting and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071 with
And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect the touch operation of user on it or nearby
(for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel 1071
Neighbouring operation), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch detection
Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band
The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it
It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.In addition, can
To realize touch panel 1071 using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel
1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap
It includes but is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc.
It is one or more, specifically herein without limitation.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or
After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing
The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel
1061 be the function that outputs and inputs of realizing mobile terminal as two independent components, but in certain embodiments, it can
The function that outputs and inputs of mobile terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not done herein specifically
It limits.
Interface unit 108 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example,
External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing
Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end
Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number
It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with
For transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can mainly include storing program area
The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function
Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as
Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, it can also include non-easy
The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection
A part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in storage
Data in device 109 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place
Managing device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated
Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main
Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111
Can be logically contiguous by power-supply management system and processor 110, to realize management charging by power-supply management system, put
The functions such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also be including bluetooth module etc., and details are not described herein.
Embodiment to facilitate the understanding of the present invention, the communications network system that mobile terminal of the invention is based below into
Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system architecture diagram provided in an embodiment of the present invention, the communication network system
System be universal mobile communications technology LTE system, the LTE system include successively communication connection UE (User Equi pment,
User equipment) 201, E-UTRAN (Evolved UMTS Terrestrial Radio Access Network, evolved UMTS
Land radio access web) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP industry
Business 204.
Specifically, UE201 can be above-mentioned terminal 100, and details are not described herein again.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning
Journey (backhaul) (such as X2 interface) is connect with other eNodeB2022, and eNodeB2021 is connected to EPC203,
ENodeB2021 can provide the access of UE201 to EPC203.
EPC203 may include MME (Mobility Management Entity, mobility management entity) 2031, HSS
(Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way,
Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and
Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and
The control node of signaling, provides carrying and connection management between EPC203.HSS2032 is all to manage for providing some registers
Such as the function of home location register (not shown) etc, and preserves some related service features, data rates etc. and use
The dedicated information in family.All customer data can be sent by SGW2034, and PGW2035 is with can providing the IP of UE201
Location distribution and other functions, PCRF2036 are strategy and the charging control strategic decision-making of business data flow and IP bearing resource
Point, it selects and provides available strategy and charging control decision with charge execution function unit (not shown) for strategy.
IP operation 204 may include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia
System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art should know the present invention is not only
Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with
And the following new network system etc., herein without limitation.
Based on above-mentioned mobile terminal hardware configuration and communications network system, each embodiment of the method for the present invention is proposed.
Embodiment one
First embodiment of the invention provides a kind of weak signal call method, is applied to first movement terminal, as shown in figure 3,
It the described method comprises the following steps:
After S11, first movement terminal and the call starting of the second mobile terminal sound, real-time detection first movement terminal is mobile
The intensity of communication signal;
The voice communication of first movement terminal and the second mobile terminal can be based on GSM communication network at present, can also be with base
In CDMA communication network, and GSM communication network and CDMA communication network interconnection.GSM is by European Telecommunications Standards Organization
The digital mobile communication standard that ETSI is worked out, GSM is global system for mobile communications (Global System for Mobile
Communications abbreviation) is the most commonly used mobile phone standard of current application.Its air interface is more using the time-division
Location technology.Since the mid-90 puts it into commercial operation, by more than 100, the whole world, country is used.The equipment of GSM standard occupies currently
80% or more global cellular mobile communication equipment market.CDMA (CDMA) is the branch in digital technology -- spread spectrum communication skill
The brand-new and mature wireless communication technique of the one kind to grow up in art.The principle of CDMA technology that is, will based on spread spectrum
What need to be transmitted has certain signal bandwidth information data, and the high speed pseudo noise code with a bandwidth much larger than signal bandwidth is adjusted
System, extends the bandwidth of former data-signal, then carrier-modulated and send.Receiving end uses identical pseudorandom
Code, makees relevant treatment with received bandwidth signal, the narrow band signal that broadband signal changes prime information data into is de-spread, to realize
Information communication.CDMA is compatible with other cellular technologies, realizes whole nation roaming.
The voice communication in mobile communication is all based on GSM or CDMA mobile communication signal at present.GSM or CDMA is mobile
Regular signal is bad often entering the spaces such as basement, elevator for communication signal, if user is just making a phone call, phone letter
Number will be intermittent, the phone signal strength on mobile terminal shows that mark also can be by turning by force weak, therefore according to mobile terminal
The Strength Changes of upper telephone signal can directly judge whether current speech quality can ensure.
S12 starts weak signal call mode if the intensity of the mobile communication signal is lower than given threshold;
Therefore, the mobile communication signal threshold value for being able to maintain normal talking an of bottom line is set, first movement is worked as
After terminal is initiated or receives the telephone relation with the second mobile terminal, the intensity of real-time monitoring mobile communication signal, when Forward
The intensity of dynamic communication signal starts weak signal call mode lower than after the given threshold.For example, under normal circumstances, mobile communication
Signal strength indication is 100, then being determined as weak signal when the intensity value of mobile communication signal falls to 40 or less, is started
Weak signal call mode.Or under normal circumstances, the communication signal intensity of mobile terminal is 5 lattice, when the communication of mobile terminal is interrogated
Number fall to 2 lattice or it is following when, be determined as weak signal, start weak signal call mode.
S13, starting recorded program enroll the voice data of first movement terminal user in real time;
After the starting of weak signal call mode, recorded program is immediately turned on, enrolls the voice communication of first movement terminal user
Then the data of admission are transferred to the second mobile terminal by other communication channels by data.
The voice data of the admission is sent to the second mobile terminal, institute's predicate by radio data network by S14 in real time
Sound data are played in the second mobile terminal by earpiece automatically.
Specifically, the voice data of first movement terminal of admission is sent in real time, the channel that can be taken have 4G channel,
Wi-Fi channel.Because 4G signal belongs to different communication channels from GSM and CDMA, when GSM signal or CDMA poor signal
When, mobile data network may can be used, and WIFI may also can be used.
Therefore, after opening weak signal call mode, judge whether radio data network is opened immediately, if wireless data network
Network is not opened, then automatically turns on radio data network.Then the voice data of the admission is real-time by radio data network
It is sent to the second mobile terminal, the voice data is played in the second mobile terminal by earpiece automatically.
Specifically, recorded speech communicating data, the data that record is arrived are by Speex algorithm noise reduction, such as pass through the algorithm
The initial data of the 59K of mobile phone record, after noise reduction compression, the size of data becomes 4K, and compression effectiveness is quite obvious, can be fine
Saving data usage, also can be very good ensure data transmission speed.
If the existing mobile data network of available data transfer channel has Wi-Fi again, preferably passed by Wi-Fi
Defeated recording, the voice data compressed to the second mobile terminal.Second mobile terminal receives the voice of first movement terminal transmission
After data, data are decoded, optionally, are played while being decoded with data of the AudioTrack to received 4K, and
And by acdb gain, the sound that record is arrived amplifies, and the user of the second mobile terminal is enable to hear the sound of call.
The weak signal call method that above embodiments are realized, by detecting mobile communication signal during telephone relation,
If mobile communication signal dies down, that is, starts weak signal Tonghua mode, get off the voice recording of user to pass through mobile data network
Network or WIFI are sent to the mobile terminal of call opposite end, and the opposite end conversed plays out, to make call can be in weak signal
In the case where be normally carried out, once solving in the prior art, signal is by turning by force weak, the problem of call can not carry out.
Embodiment two
Second embodiment of the invention provides a kind of weak signal call method, is applied to first movement terminal, as shown in figure 4,
It the described method comprises the following steps:
After S21, first movement terminal and the call starting of the second mobile terminal sound, real-time detection first movement terminal is mobile
The intensity of communication signal;
The voice communication of first movement terminal and the second mobile terminal can be based on GSM communication network at present, can also be with base
In CDMA communication network, and GSM communication network and CDMA communication network interconnection.GSM is by European Telecommunications Standards Organization
The digital mobile communication standard that ETSI is worked out, GSM is global system for mobile communications (Global System for Mobile
Communications abbreviation) is the most commonly used mobile phone standard of current application.Its air interface is more using the time-division
Location technology.Since the mid-90 puts it into commercial operation, by more than 100, the whole world, country is used.The equipment of GSM standard occupies currently
80% or more global cellular mobile communication equipment market.CDMA (CDMA) is the branch in digital technology -- spread spectrum communication skill
The brand-new and mature wireless communication technique of the one kind to grow up in art.The principle of CDMA technology that is, will based on spread spectrum
What need to be transmitted has certain signal bandwidth information data, and the high speed pseudo noise code with a bandwidth much larger than signal bandwidth is adjusted
System, extends the bandwidth of former data-signal, then carrier-modulated and send.Receiving end uses identical pseudorandom
Code, makees relevant treatment with received bandwidth signal, the narrow band signal that broadband signal changes prime information data into is de-spread, to realize
Information communication.CDMA is compatible with other cellular technologies, realizes whole nation roaming.
The voice communication in mobile communication is all based on GSM or CDMA mobile communication signal at present.GSM or CDMA is mobile
Regular signal is bad often entering the spaces such as basement, elevator for communication signal, if user is just making a phone call, phone letter
Number will be intermittent, the phone signal strength on mobile terminal shows that mark also can be by turning by force weak, therefore according to mobile terminal
The Strength Changes of upper telephone signal can directly judge whether current speech quality can ensure.
S22 starts weak signal call mode if the intensity of the mobile communication signal is lower than given threshold;
Therefore, the mobile communication signal threshold value for being able to maintain normal talking an of bottom line is set, first movement is worked as
After terminal is initiated or receives the telephone relation with the second mobile terminal, the intensity of real-time monitoring mobile communication signal, when Forward
The intensity of dynamic communication signal starts weak signal call mode lower than after the given threshold.For example, under normal circumstances, mobile communication
Signal strength indication is 100, then being determined as weak signal when the intensity value of mobile communication signal falls to 40 or less, is started
Weak signal call mode.Or under normal circumstances, the communication signal intensity of mobile terminal is 5 lattice, when the communication of mobile terminal is interrogated
Number fall to 2 lattice or it is following when, be determined as weak signal, start weak signal call mode.
S23, judges whether radio data network is opened, if radio data network is not opened, automatically turns on without line number
According to network;
The radio data network includes 4G network and Wi-Fi network.
S24, starting recorded program enroll the voice data of first movement terminal user in real time;
After the starting of weak signal call mode, recorded program is immediately turned on, enrolls the voice communication of first movement terminal user
Then the data of admission are transferred to the second mobile terminal by other communication channels by data.
The voice data of the admission is sent to the second mobile terminal, institute's predicate by radio data network by S25 in real time
Sound data are played in the second mobile terminal by earpiece automatically.
Specifically, the voice data of first movement terminal of admission is sent in real time, the channel that can be taken have 4G channel,
Wi-Fi channel.Because 4G signal belongs to different communication channels from GSM and CDMA, when GSM signal or CDMA poor signal
When, mobile data network may can be used, and WIFI may also can be used.
Therefore, after opening weak signal call mode, judge whether radio data network is opened immediately, if wireless data network
Network is not opened, then automatically turns on radio data network.Then the voice data of the admission is real-time by radio data network
It is sent to the second mobile terminal, is sent to second in real time by radio data network after the voice data noise reduction compression of the admission
Mobile terminal, the voice data is the second mobile terminal is decoded, is played automatically after signal amplification by earpiece.
Specifically, the voice communication data recorded, the data that record is arrived are by Speex algorithm noise reduction, such as pass through the calculation
The initial data for the 59K that method records mobile phone, after noise reduction compression, the size of data becomes 4K, and compression effectiveness is quite obvious, can be very
Good saving data usage also can be very good the speed for ensureing data transmission.
If the existing mobile data network of available data transfer channel has Wi-Fi again, preferably passed by Wi-Fi
Defeated recording, the voice data compressed to the second mobile terminal.Second mobile terminal receives the voice of first movement terminal transmission
After data, data are decoded, optionally, are played while being decoded with data of the AudioTrack to received 4K, and
And by acdb gain, the sound that record is arrived amplifies, and the user of the second mobile terminal is enable to hear the sound of call.
Real-time detection terminal signaling intensity is closed if the intensity of the mobile communication signal is higher than given threshold
Close weak signal call mode.
The weak signal call method that above embodiments are realized, by detecting mobile communication signal during telephone relation,
If mobile communication signal dies down, that is, starts weak signal Tonghua mode, get off the voice recording of user to pass through mobile data network
Network or Wi-Fi are sent to the mobile terminal of call opposite end, and the opposite end conversed plays out, to make call can be in weak signal
In the case where be normally carried out, once solving in the prior art, signal is by turning by force weak, the problem of call can not carry out.
Embodiment three
Third embodiment of the invention provides a kind of weak signal call method, is applied to first movement terminal, as shown in figure 5,
It the described method comprises the following steps:
After S31, first movement terminal and the call starting of the second mobile terminal sound, real-time detection first movement terminal is mobile
The intensity of communication signal;
The voice communication of first movement terminal and the second mobile terminal can be based on GSM communication network at present, can also be with base
In CDMA communication network, and GSM communication network and CDMA communication network interconnection.GSM is by European Telecommunications Standards Organization
The digital mobile communication standard that ETSI is worked out, GSM is global system for mobile communications (Global System for Mobile
Communications abbreviation) is the most commonly used mobile phone standard of current application.Its air interface is more using the time-division
Location technology.Since the mid-90 puts it into commercial operation, by more than 100, the whole world, country is used.The equipment of GSM standard occupies currently
80% or more global cellular mobile communication equipment market.CDMA (CDMA) is the branch in digital technology -- spread spectrum communication skill
The brand-new and mature wireless communication technique of the one kind to grow up in art.The principle of CDMA technology that is, will based on spread spectrum
What need to be transmitted has certain signal bandwidth information data, and the high speed pseudo noise code with a bandwidth much larger than signal bandwidth is adjusted
System, extends the bandwidth of former data-signal, then carrier-modulated and send.Receiving end uses identical pseudorandom
Code, makees relevant treatment with received bandwidth signal, the narrow band signal that broadband signal changes prime information data into is de-spread, to realize
Information communication.CDMA is compatible with other cellular technologies, realizes whole nation roaming.
The voice communication in mobile communication is all based on GSM or CDMA mobile communication signal at present.GSM or CDMA is mobile
Regular signal is bad often entering the spaces such as basement, elevator for communication signal, if user is just making a phone call, phone letter
Number will be intermittent, the phone signal strength on mobile terminal shows that mark also can be by turning by force weak, therefore according to mobile terminal
The Strength Changes of upper telephone signal can directly judge whether current speech quality can ensure.
S32 starts weak signal call mode if the intensity of the mobile communication signal is lower than given threshold;
Therefore, the mobile communication signal threshold value for being able to maintain normal talking an of bottom line is set, first movement is worked as
After terminal is initiated or receives the telephone relation with the second mobile terminal, the intensity of real-time monitoring mobile communication signal, when Forward
The intensity of dynamic communication signal starts weak signal call mode lower than after the given threshold.For example, under normal circumstances, mobile communication
Signal strength indication is 100, then being determined as weak signal when the intensity value of mobile communication signal falls to 40 or less, is started
Weak signal call mode.Or under normal circumstances, the communication signal intensity of mobile terminal is 5 lattice, when the communication of mobile terminal is interrogated
Number fall to 2 lattice or it is following when, be determined as weak signal, start weak signal call mode.
S33, judges whether radio data network is opened, if radio data network is not opened, automatically turns on without line number
According to network;
The radio data network includes 4G network and Wi-Fi network.
S34, starting recorded program enroll the voice data of first movement terminal user in real time;
After the starting of weak signal call mode, recorded program is immediately turned on, enrolls the voice communication of first movement terminal user
Then the data of admission are transferred to the second mobile terminal by other communication channels by data.
S35 is sent to the second movement by radio data network after compressing the voice data noise reduction of the admission in real time
Terminal, the voice data is the second mobile terminal is decoded, is played automatically after signal amplification by earpiece;
Specifically, the voice data of first movement terminal of admission is sent in real time, the channel that can be taken have 4G channel,
Wi-Fi channel.Because 4G signal belongs to different communication channels from GSM and CDMA, when GSM signal or CDMA poor signal
When, mobile data network may can be used, and WIFI may also can be used.
Therefore, after opening weak signal call mode, judge whether radio data network is opened immediately, if wireless data network
Network is not opened, then automatically turns on radio data network.Then the voice data of the admission is real-time by radio data network
It is sent to the second mobile terminal, the voice data is played in the second mobile terminal by earpiece automatically.
Specifically, the voice communication data recorded, the data that record is arrived are by Speex algorithm noise reduction, such as pass through the calculation
The initial data for the 59K that method records mobile phone, after noise reduction compression, the size of data becomes 4K, and compression effectiveness is quite obvious, can be very
Good saving data usage also can be very good the speed for ensureing data transmission.
If the existing mobile data network of available data transfer channel has Wi-Fi again, preferably passed by Wi-Fi
Defeated recording, the voice data compressed to the second mobile terminal.Second mobile terminal receives the voice of first movement terminal transmission
After data, data are decoded, optionally, are played while being decoded with data of the AudioTrack to received 4K, and
And by acdb gain, the sound that record is arrived amplifies, and the user of the second mobile terminal is enable to hear the sound of call.
S36, real-time detection terminal signaling intensity, if the intensity of the mobile communication signal is higher than given threshold,
Then close weak signal call mode.
During weak signal call mode carries out, the former voice communication carried out by GSM or cdma network is not turned off,
But it is underway simultaneously, if detecting that mobile communication signal changes from weak to strong, i.e. mobile communication signal during call
Intensity be higher than given threshold, in order to save communication resources and save electricity, then close weak signal call mode, make the first shifting
Dynamic terminal and the second mobile terminal restore the call of original GSM or cdma network.
The weak signal call method that above embodiments are realized, by detecting mobile communication signal during telephone relation,
If mobile communication signal dies down, that is, starts weak signal Tonghua mode, get off the voice recording of user to pass through mobile data network
Network or Wi-Fi are sent to the mobile terminal of call opposite end, and the opposite end conversed plays out, to make call can be in weak signal
In the case where be normally carried out, once solving in the prior art, signal is by turning by force weak, the problem of call can not carry out;Start weak
After signal call mode, by during continue real-time detection terminal signaling intensity, if the mobile communication believe
It number grows in strength and is higher than given threshold, then close weak signal call mode, restore normal talking mode.
Example IV
Fourth embodiment of the invention provides a kind of weak signal call method, is applied to the second mobile terminal, as shown in fig. 6,
It the described method comprises the following steps:
S41 detects whether to receive first movement terminal after first movement terminal and the starting of the second mobile terminal call
The voice data sent by radio data network;
When first movement terminal starts weak signal call mode, in the second mobile terminal with first movement terminal call
It usually all in normal speech signal environment, therefore is needed during call as the second mobile terminal, detection is
The no voice data for receiving first movement terminal and being sent by radio data network determines whether to cooperate first movement whole with this
The weak signal call mode at end.
S42, if it is, being played automatically to after the contracting of received voice data decompression by earpiece.
If the second mobile terminal receives the voice data that first movement terminal is sent by radio data network, really
Determine first movement terminal to be in weak signal call environment, the second mobile terminal passes through after contracting to the voice data decompression received
Earpiece plays automatically, for example, being played while being decoded with AudioTrack to received data, and is increased by acdb
Benefit, the sound that record is arrived amplify, and the user of the second mobile terminal is enable to hear the sound of call.
Whether the weak signal call method of implementation above has by real-time detection from opposite end (the first shifting during passing through
Dynamic terminal) the voice communication data that send, it if it is decompresses and is played automatically by earpiece, so that the second mobile terminal energy
The communication strategy that identification first movement terminal is under weak signal environment in time changes and is adapted therewith, completes normal talking.
Embodiment five
Fifth embodiment of the invention provides a kind of weak signal call method, is applied to the second mobile terminal, as shown in fig. 7,
It the described method comprises the following steps,
S51 detects whether to receive first movement terminal after first movement terminal and the starting of the second mobile terminal call
The voice data sent by radio data network;
When first movement terminal starts weak signal call mode, in the second mobile terminal with first movement terminal call
It usually all in normal speech signal environment, therefore is needed during call as the second mobile terminal, detection is
The no voice data for receiving first movement terminal and being sent by radio data network determines whether to cooperate first movement whole with this
The weak signal call mode at end.
S52, if it is, being played automatically to after the contracting of received voice data decompression by earpiece.
If the second mobile terminal receives the voice data that first movement terminal is sent by radio data network, really
Determine first movement terminal to be in weak signal call environment, the second mobile terminal passes through after contracting to the voice data decompression received
Earpiece plays automatically, for example, being played while being decoded with AudioTrack to received data, and is increased by acdb
Benefit, the sound that record is arrived amplify, and the user of the second mobile terminal is enable to hear the sound of call.
S53, starting recorded program enroll the voice data of the second mobile terminal user in real time;
First movement terminal start weak signal call mode after, if the second mobile terminal still by GSM or CDMA to
First movement terminal sends voice data, then first movement terminal can not also normally receive, therefore the second mobile terminal also answers phase
The starting weak signal call mode answered.Second mobile terminal receives the voice data that first movement terminal is sent, it is determined that first
Mobile terminal is in weak signal call mode, with that is, also starting weak signal call mode in the second mobile terminal.After starting, stand
It carves and opens recorded program, enroll the voice communication data of the second mobile terminal user, then lead to the data of admission by other
News channel is transferred to first movement terminal.
S54 is sent to first movement by radio data network after compressing the voice data noise reduction of the admission in real time
Terminal, the voice data is first movement terminal is decoded, is played automatically after signal amplification by earpiece.
Specifically, the voice data of the second mobile terminal of admission is sent in real time, the channel that can be taken have 4G channel,
Wi-Fi channel.Because 4G signal belongs to different communication channels from GSM and CDMA, when GSM signal or CDMA poor signal
When, mobile data network may can be used, and WIFI may also can be used.
Therefore, after the second mobile terminal opens weak signal call mode, judge whether radio data network is opened immediately, such as
Fruit radio data network is not opened, then automatically turns on radio data network.Then the voice data of the admission is passed through wireless
Data network is sent to first movement terminal in real time, and the voice data is played in first movement terminal by earpiece automatically.It will
First movement terminal, the voice number are sent to by radio data network in real time after the voice data noise reduction compression of the admission
According to first movement terminal is decoded, is played automatically after signal amplification by earpiece.
Specifically, the voice communication data recorded, the data that record is arrived are by Speex algorithm noise reduction, such as pass through the calculation
The initial data for the 59K that method records mobile phone, after noise reduction compression, the size of data becomes 4K, and compression effectiveness is quite obvious, can be very
Good saving data usage also can be very good the speed for ensureing data transmission.
If the existing mobile data network of available data transfer channel has Wi-Fi again, preferably passed by Wi-Fi
Defeated recording, the voice data compressed to first movement terminal.First movement terminal receives the voice of the second mobile terminal transmission
After data, data are decoded, optionally, are played while being decoded with data of the AudioTrack to received 4K, and
And by acdb gain, the sound that record is arrived amplifies, and the user of the second mobile terminal is enable to hear the sound of call.
Since the weak signal call mode of the second mobile terminal depends on the weak signal call mode of first movement terminal
Starting, so need to detect whether also persistently to receive the voice number sent from first movement terminal during conversing progress
According to, if no longer receive within the set time from first movement terminal send voice data, assert weak signal converse mould
Formula terminates, and restores the call of normal GSM or cdma network.
The weak signal call method that above embodiments are realized, by detecting mobile communication signal during telephone relation,
If mobile communication signal dies down, that is, starts weak signal Tonghua mode, get off the voice recording of user to pass through mobile data network
Network or Wi-Fi are sent to the mobile terminal of call opposite end, and the opposite end conversed plays out, to make call can be in weak signal
In the case where be normally carried out, the second mobile terminal accordingly also start weak signal call mode, by the voice of the second mobile terminal
Data recording is simultaneously sent to first movement terminal by wireless communication networks, if first movement terminal closes weak signal call mould
Formula, the second mobile terminal are also switched off weak signal call mode.
Embodiment six
Sixth embodiment of the invention provides a kind of mobile terminal, and the structure of the mobile terminal is as shown in Figure 1, include storage
Device 109, processor 110 and at least one be stored in the memory 109 and be configured as being executed by the processor
Application program, the application program be configurable for execute execute embodiment one, embodiment two, embodiment three, example IV,
Any one weak signal call method described in embodiment five.
Embodiment seven
Seventh embodiment of the invention provides a kind of computer readable storage medium, deposits on the computer readable storage medium
Weak signal voice procedure is contained, embodiment one is realized when the weak signal voice procedure is executed by processor, embodiment two, is implemented
Example three, example IV, any one weak signal call method described in embodiment five.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in a storage medium
In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service
Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific
Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art
Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much
Form, all of these belong to the protection of the present invention.