CN107154807B - Data transmission control method and device and mobile terminal - Google Patents

Data transmission control method and device and mobile terminal Download PDF

Info

Publication number
CN107154807B
CN107154807B CN201710341438.XA CN201710341438A CN107154807B CN 107154807 B CN107154807 B CN 107154807B CN 201710341438 A CN201710341438 A CN 201710341438A CN 107154807 B CN107154807 B CN 107154807B
Authority
CN
China
Prior art keywords
antenna
data transmission
main
standby
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.)
Active
Application number
CN201710341438.XA
Other languages
Chinese (zh)
Other versions
CN107154807A (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.)
Qiku Internet Technology Shenzhen Co Ltd
Original Assignee
Qiku Internet Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qiku Internet Technology Shenzhen Co Ltd filed Critical Qiku Internet Technology Shenzhen Co Ltd
Priority to CN201710341438.XA priority Critical patent/CN107154807B/en
Publication of CN107154807A publication Critical patent/CN107154807A/en
Application granted granted Critical
Publication of CN107154807B publication Critical patent/CN107154807B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/005Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission adapting radio receivers, transmitters andtransceivers for operation on two or more bands, i.e. frequency ranges
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01QANTENNAS, i.e. RADIO AERIALS
    • H01Q1/00Details of, or arrangements associated with, antennas
    • H01Q1/12Supports; Mounting means
    • H01Q1/22Supports; Mounting means by structural association with other equipment or articles
    • H01Q1/24Supports; Mounting means by structural association with other equipment or articles with receiving set
    • H01Q1/241Supports; Mounting means by structural association with other equipment or articles with receiving set used in mobile communications, e.g. GSM
    • H01Q1/242Supports; Mounting means by structural association with other equipment or articles with receiving set used in mobile communications, e.g. GSM specially adapted for hand-held use
    • H01Q1/243Supports; Mounting means by structural association with other equipment or articles with receiving set used in mobile communications, e.g. GSM specially adapted for hand-held use with built-in antennas
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/38Transceivers, i.e. devices in which transmitter and receiver form a structural unit and in which at least one part is used for functions of transmitting and receiving
    • H04B1/3827Portable transceivers
    • H04B1/3833Hand-held transceivers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/30Monitoring; Testing of propagation channels
    • H04B17/309Measuring or estimating channel quality parameters
    • H04B17/318Received signal strength

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The invention provides a data transmission control method, a device and a mobile terminal, which relate to the technical field of mobile communication, wherein the method is applied to the mobile terminal, the mobile terminal is provided with a main antenna and a standby antenna, and the method comprises the following steps: when the data transmission performance of the mobile terminal is abnormal, detecting the signal intensity of the main antenna and the standby antenna; and when the signal strength of the standby antenna is better than that of the main antenna, the standby antenna is used for replacing the main antenna for data transmission. The invention effectively improves the reliability and the fluency of the data transmission of the mobile terminal, thereby better improving the problem of abnormal data transmission caused by the antenna, and does not need a user to replace or maintain the main antenna when the main antenna fails, thereby bringing convenience for the user and comprehensively improving the user experience.

Description

Data transmission control method and device and mobile terminal
Technical Field
The present invention relates to the field of mobile communications technologies, and in particular, to a data transmission control method, an apparatus, and a mobile terminal.
Background
When data transmission is abnormal, most mobile terminals show that data transmission delay or data retransmission rate is high, and user experience is influenced. The main reason for the data transmission abnormality is that the air interface signal coverage is poor, and is related to the antenna abnormality of the mobile terminal.
In the prior art, the mobile terminal is improved in the aspect of pure software so as to relieve the abnormal degree of data transmission. Such software improvement requires a high expenditure of time and effort on the part of the developers. In addition, when the antenna is abnormal and the use of the user is seriously affected, the problem of abnormal data transmission cannot be solved by pure software improvement, and the user needs to maintain the antenna or replace the mobile terminal, so that inconvenience is brought to the user.
Aiming at the problem that the data transmission abnormal condition caused by the antenna is difficult to be well relieved and the user experience is influenced by the pure software improvement mode, an effective solution is not provided at present.
Disclosure of Invention
In view of the above, an object of the present invention is to provide a data transmission control method, an apparatus and a mobile terminal, so as to solve the problem that it is difficult to better alleviate the abnormal condition of data transmission caused by an antenna and affect user experience by relying on a software improvement method in the prior art.
In order to achieve the above purpose, the embodiment of the present invention adopts the following technical solutions:
in a first aspect, an embodiment of the present invention provides a data transmission control method, where the method is applied to a mobile terminal, where the mobile terminal is configured with a main antenna and a standby antenna, and includes: when the data transmission performance of the mobile terminal is abnormal, detecting the signal intensity of the main antenna and the standby antenna; and when the signal strength of the standby antenna is better than that of the main antenna, the standby antenna is used for replacing the main antenna for data transmission.
In a preferred embodiment of the present invention, the method further includes: determining that data transmission performance of the mobile terminal is abnormal when at least one of the following conditions exists: detecting that the error rate of the mobile terminal is greater than a set error rate threshold value; detecting that a data transmission delay parameter of the mobile terminal is greater than a set delay threshold value; and detecting that the data retransmission rate parameter of the mobile terminal is greater than the set retransmission rate threshold value.
In a preferred embodiment of the present invention, the step of detecting the signal strength of the main antenna and the backup antenna includes: respectively acquiring the signal strength of a main antenna set and a diversity antenna set of a main antenna and the signal strength of a standby antenna; when the signal strength of the backup antenna is better than the signal strength of the primary antenna and/or the diversity antenna, the signal strength of the backup antenna is determined to be better than the signal strength of the primary antenna.
In a preferred embodiment of the present invention, the step of performing data transmission by using the backup antenna to replace the main antenna includes: and when the signal strength of the standby antenna is better than that of the main set antenna, the standby antenna is used for replacing the main set antenna for data transmission.
In a preferred embodiment of the present invention, the step of performing data transmission by using the backup antenna to replace the main antenna includes: and when the signal strength of the standby antenna is better than that of the diversity antenna, the standby antenna is used for replacing the diversity antenna for data transmission.
In a preferred embodiment of the present invention, the step of performing data transmission by using the backup antenna to replace the main antenna includes: and when the signal strength of the standby antenna is superior to that of the main set antenna and that of the diversity antenna, the standby antenna is used for replacing the main set antenna for data transmission.
In the preferred embodiment of the present invention, the main antenna, the diversity antenna and the spare antenna are all connected to the antenna switch; the step of using the backup antenna to replace the main antenna for data transmission includes: and the standby antenna replaces the main antenna to carry out data transmission through the switching operation of the antenna switch.
In a second aspect, an embodiment of the present invention further provides a data transmission control apparatus, where the apparatus is applied to a mobile terminal, where the mobile terminal is configured with a main antenna and a standby antenna, and the apparatus includes: the mobile terminal comprises a detection module, a receiving module and a processing module, wherein the detection module is used for detecting the signal intensity of a main antenna and a standby antenna when the data transmission performance of the mobile terminal is abnormal; and the replacing module is used for replacing the main antenna with the standby antenna for data transmission when the signal strength of the standby antenna is superior to that of the main antenna.
In a third aspect, an embodiment of the present invention provides a mobile terminal, where the mobile terminal is configured with a main antenna and a standby antenna; the device also comprises a memory and a processor; the memory is used for storing a program for supporting the processor to execute the data transmission control method provided by any embodiment of the first aspect, and the processor is configured to execute the program stored in the memory.
In a fourth aspect, an embodiment of the present invention provides a computer storage medium for storing computer software instructions for a data transmission control apparatus provided in any one of the embodiments of the second aspect.
Compared with the prior art, the embodiment of the invention provides a data transmission control method, a data transmission control device and a mobile terminal. The mode can be directly switched to the standby antenna with higher signal strength to transmit data when data transmission is abnormal, so that the reliability and the smoothness of data transmission of the mobile terminal are effectively improved, the problem of data transmission abnormality caused by the antenna is better solved, a user does not need to replace or maintain the main antenna when the main antenna fails, convenience is brought to the user, and the user experience degree is comprehensively improved.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a flowchart illustrating a first data transmission control method according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a second data transmission control method according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating a third method for controlling data transmission according to an embodiment of the present invention;
fig. 4 is a schematic diagram illustrating an antenna switch connection according to an embodiment of the present invention;
fig. 5 is a block diagram illustrating a first data transmission control apparatus according to an embodiment of the present invention;
fig. 6 is a block diagram showing a second data transmission control apparatus according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a first mobile terminal according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a second mobile terminal according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a third mobile terminal according to an embodiment of the present invention.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
When the antenna of the mobile terminal is abnormal, such as poor coverage of an air interface signal, data transmission delay, a high data retransmission rate or a high error rate may be caused. Such abnormal data transmission conditions can seriously affect the data transmission experience of the user. In consideration of the problems that the data transmission abnormal condition caused by the antenna is difficult to be well relieved by a pure software improvement mode in the prior art, and the user experience is poor because the user may need to maintain or replace the antenna, the data transmission control method, the data transmission control device and the mobile terminal provided by the embodiment of the invention can well solve the problem of the data transmission abnormal condition caused by the antenna. The technology can be applied to any mobile terminal device with an antenna, such as a smart phone, a tablet computer, a PDA (Personal Digital Assistant), a vehicle-mounted computer, and the like.
The first embodiment is as follows:
referring to a flowchart of a first data transmission control method shown in fig. 1, the method is applied to a mobile terminal, and the mobile terminal is configured with a main antenna and a standby antenna, and specifically includes the following steps:
step S102, when the data transmission performance of the mobile terminal is abnormal, the signal intensity of the main antenna and the signal intensity of the standby antenna are detected;
the data transmission performance abnormality may be caused by poor coverage of an air interface, and has a direct association with an antenna of the mobile terminal, and a scenario of high data delay and high data retransmission rate, such as 3 times of standard delay and 5 times of retransmission, may occur. Under normal conditions, the mobile terminal detects an error rate, a data transmission delay parameter and a data retransmission rate parameter in a data transmission process, and if one of the error rate, the data transmission delay parameter and the data retransmission rate parameter exceeds a corresponding set threshold value, it is determined that the data transmission performance is abnormal.
And step S104, when the signal intensity of the standby antenna is better than that of the main antenna, replacing the main antenna with the standby antenna for data transmission.
For example, when the signal strength of the main antenna is detected to be close to the demodulation threshold, such as-120 dbm, and the backup antenna is 3db, i.e., -117dbm, higher than the main antenna, meaning that the signal strength of the backup antenna is better than the signal strength of the main antenna, the backup antenna can be switched to transmit data.
According to the data transmission control method provided by the embodiment of the invention, when the data transmission performance of the mobile terminal is abnormal, the signal strength of the main antenna and the signal strength of the standby antenna are detected, and if the signal strength of the standby antenna is better than that of the main antenna, the standby antenna is made to replace the main antenna for data transmission. The mode can be directly switched to the standby antenna with higher signal strength to transmit data when data transmission is abnormal, so that the reliability and the smoothness of data transmission of the mobile terminal are effectively improved, the problem of data transmission abnormality caused by the antenna is better solved, a user does not need to replace or maintain the main antenna when the main antenna fails, convenience is brought to the user, and the user experience degree is comprehensively improved.
Example two:
referring to a flow chart of a second data transmission control method shown in fig. 2, the method is implemented on the basis of the data transmission control method provided in the first embodiment, and the method is applied to a mobile terminal, and specifically includes the following steps:
step S202, detecting the error rate, data transmission delay parameter and data retransmission rate parameter of the mobile terminal in the data transmission process;
step S204, judging whether the data transmission performance of the mobile terminal is abnormal; if so, step S206 is performed. If not, executing step S212;
specifically, when the detected error rate is greater than a set error rate threshold, or the detected data transmission delay parameter is greater than a set delay threshold, or the detected data retransmission rate parameter is greater than a set retransmission rate threshold, it may be determined that the data transmission performance of the mobile terminal is abnormal.
Step S206, respectively detecting the signal intensity of the main antenna and the spare antenna;
step S208, judging whether the signal intensity of the standby antenna is superior to that of the main antenna, if so, executing step S210; if not, executing step S212;
and step S210, replacing the main antenna with the standby antenna for data transmission.
Step S212, the main antenna is maintained for data transmission.
The data transmission control method provided by the embodiment can accurately judge whether the mobile terminal has a data transmission abnormal condition according to the bit error rate, the data transmission delay parameter or the data retransmission rate parameter of the mobile terminal in the data transmission process, can further judge whether the signal intensity of the standby antenna is superior to that of the main antenna when the mobile terminal is judged to be abnormal, and directly adopts the standby antenna to replace the main antenna to transmit data when the mobile terminal is judged to be abnormal, so that the reliability and the fluency of data transmission are ensured, a user does not need to replace or maintain the antenna, and the user experience degree is comprehensively improved.
Example three:
considering that the main antenna may specifically include a main set antenna and a diversity antenna, this embodiment provides a flowchart of a third data transmission control method shown in fig. 3, where the method is applied to a mobile terminal and includes the following steps:
step S302, monitoring transmission parameters of the mobile terminal in the data transmission process; wherein, the transmission parameter comprises one or more of error rate, data transmission delay parameter or data retransmission rate parameter.
Step S304, judging whether the data transmission performance of the mobile terminal is abnormal or not according to the transmission parameters; if yes, go to step S306; if not, go to step S316;
specifically, it may be determined whether the transmission parameter is within a normal threshold range, and if the transmission parameter value exceeds a corresponding threshold (threshold), it may be determined that the data transmission performance is abnormal.
Step S306, respectively obtaining the signal intensity of a main antenna set and a diversity antenna set of the main antenna, and the signal intensity of a standby antenna;
step S308, judging whether the signal intensity of the standby antenna is superior to that of the main set antenna; if yes, go to step S310; if not, go to step S312;
and step S310, replacing the main set antenna with the standby antenna for data transmission.
Step S312, judging whether the signal intensity of the standby antenna is superior to that of the diversity antenna; if yes, go to step S314; if not, go to step S316;
and step S314, replacing the diversity antenna with the standby antenna for data transmission.
Of course, in a specific application, it may also be possible to simultaneously detect whether the signal strength of the backup antenna is better than the signal strength of the main set antenna and the diversity antenna of the main antenna, and when determining that the signal strength of the backup antenna is better than the signal strength of the main set antenna and the signal strength of the diversity antenna, it is preferable to use the backup antenna to replace the main set antenna for data transmission.
Step S316, maintaining the main antenna for data transmission.
In practical applications, this embodiment provides a specific implementation manner of replacing the main antenna, that is, the standby antenna replaces the main antenna for data transmission through the switching operation of the antenna switch. One end of the antenna switch may be connected to a data transmission path inside the mobile terminal, and the other end of the antenna switch is used to switch between the main antenna and the standby antenna. The main antenna and the diversity antenna of the main antenna and the standby antenna are connected with the antenna switch. Preferably, the spare antenna may be disposed between the main set antenna and the diversity antenna, so that the antenna switch may conveniently switch the spare antenna with the main set antenna or the diversity antenna.
Specifically, the antenna switch may have various forms, such as, when the main antenna includes a main diversity antenna and a diversity antenna, one end of the antenna switch may be fixedly connected to the data transmission path, and the other end of the antenna switch may be provided with two connecting portions, namely, a first connecting portion and a second connecting portion; when the data transmission is normal, the antenna switch is respectively connected with the main set antenna and the data transmission path through the first connecting part and the second connecting part, and is connected with the diversity antenna and the data transmission path. When data transmission abnormality is detected, whether the main set antenna or the diversity antenna is replaced by the standby antenna can be determined according to the detected signal strength of the main set antenna, the diversity antenna and the standby antenna. Such as when the backup antenna is caused to replace the primary set antenna, then the first connection section switches the connection direction for connecting the backup antenna and the data transmission path.
For ease of understanding, this embodiment presents a schematic connection diagram of the antenna switch as shown in fig. 4, which shows that one end of the antenna switch is connected to the main set antenna, the diversity antenna, and the backup antenna, respectively, and the other end is connected to the data transmission path. Wherein the backup antenna is located between the main set antenna and the diversity antenna. A, B and C are marked on the connection points of the main antenna, the diversity antenna and the spare antenna at the antenna switch respectively; a first connecting part and a second connecting part are arranged in the antenna switch, one end of the first connecting part is fixedly connected with the data transmission channel, and the other end of the first connecting part can be switched between A and C; one end of the second connecting part is fixedly connected with the data transmission path, and the other end of the second connecting part can be switched between B and C.
Of course, the above only shows one implementation, and the connection relationship between the main set antenna, the diversity antenna and the spare antenna and the data transmission path is controlled by one antenna switch. In addition, can also realize through setting up two antenna switch, also promptly, can regard first connecting portion and second connecting portion in fig. 4 as two discrete antenna switch to set up in mobile terminal alone, realize the principle and no longer give unnecessary details.
In summary, the data transmission control method provided in this embodiment can obtain the signal strengths of the main set antenna and the diversity antenna of the standby antenna and the main antenna respectively when the data transmission performance of the mobile terminal is judged to be abnormal according to the transmission parameters, and replace the main set antenna with the standby antenna when the signal strength of the standby antenna is better than that of the main set antenna; when the signal strength of the standby antenna is better than that of the diversity antenna, the standby antenna is adopted to replace the diversity antenna, and the antennas can be switched in an antenna switch mode. The mode can replace the main antenna or the diversity antenna inside the main antenna in a targeted manner, the main antenna or the diversity antenna with weak signal strength is replaced by the standby antenna with good signal strength, the reliability and the fluency of data transmission can be better improved, and the user does not need to replace or maintain the antenna when the antenna fails, so that the user experience is comprehensively improved.
Example four:
as to the data transmission control method provided in the foregoing embodiment, an embodiment of the present invention provides a data transmission control apparatus, referring to a block diagram of a first data transmission control apparatus shown in fig. 5, where the apparatus is disposed in a mobile terminal, and the mobile terminal is configured with a main antenna and a standby antenna, and includes the following parts:
a detecting module 502, configured to detect signal strengths of a main antenna and a standby antenna when data transmission performance of the mobile terminal is abnormal;
and a replacing module 504, configured to replace the main antenna with the backup antenna for data transmission when the signal strength of the backup antenna is better than the signal strength of the main antenna.
Referring to a block diagram of a second data transmission control device shown in fig. 6, the device is disposed in a mobile terminal, and the mobile terminal is configured with a main antenna and a standby antenna, and on the basis of fig. 5, the device further includes the following parts:
an anomaly determination module 602, configured to determine that data transmission performance of the mobile terminal is abnormal when at least one of the following conditions exists:
(1) detecting that the error rate of the mobile terminal is greater than a set error rate threshold value;
(2) detecting that a data transmission delay parameter of the mobile terminal is greater than a set delay threshold value;
(3) and detecting that the data retransmission rate parameter of the mobile terminal is greater than the set retransmission rate threshold value.
The detection module 502 shown in fig. 6 is configured to:
respectively acquiring the signal strength of a main antenna set and a diversity antenna set of a main antenna and the signal strength of a standby antenna;
when the signal strength of the backup antenna is better than the signal strength of the primary antenna and/or the diversity antenna, the signal strength of the backup antenna is determined to be better than the signal strength of the primary antenna.
An alternative module 504 shown in FIG. 6 for: and when the signal strength of the standby antenna is better than that of the main set antenna, the standby antenna is used for replacing the main set antenna for data transmission.
Further, the replacement module 504 is further configured to: and when the signal strength of the standby antenna is better than that of the diversity antenna, the standby antenna is used for replacing the diversity antenna for data transmission.
Further, the replacement module 504 is further configured to: and when the signal strength of the standby antenna is superior to that of the main set antenna and that of the diversity antenna, the standby antenna is used for replacing the main set antenna for data transmission.
In addition, the main set antenna, the diversity antenna and the standby antenna are all connected with the antenna switch. The replacement module 504 is further configured to: and the standby antenna replaces the main antenna to carry out data transmission through the switching operation of the antenna switch.
In summary, the data transmission control apparatus provided in the embodiments of the present invention detects the signal strength of the main antenna and the backup antenna when the data transmission performance of the mobile terminal is abnormal, and if the signal strength of the backup antenna is better than that of the main antenna, the backup antenna replaces the main antenna to perform data transmission. The mode can be directly switched to the standby antenna with higher signal strength to transmit data when data transmission is abnormal, so that the reliability and the smoothness of data transmission of the mobile terminal are effectively improved, the problem of data transmission abnormality caused by the antenna is better solved, a user does not need to replace or maintain the main antenna when the main antenna fails, convenience is brought to the user, and the user experience degree is comprehensively improved.
The device provided by the embodiment has the same implementation principle and technical effect as the foregoing embodiment, and for the sake of brief description, reference may be made to the corresponding contents in the foregoing method embodiment for the portion of the embodiment of the device that is not mentioned.
Example five:
referring to a schematic structural diagram of a first mobile terminal shown in fig. 7, fig. 7 shows that the mobile terminal is configured with a main antenna 10 and a standby antenna 20; also included are memory 30 and processor 40. The main antenna 10 and the standby antenna 20 may be switched under the control of the processor 40, for example, when the processor 40 detects that the signal strength of the standby antenna 20 is better than that of the main antenna 10, the standby antenna 20 is used for data transmission. The memory 30 is used to store a program that supports the processor 40 to execute the data transmission control method provided by the foregoing embodiment, and the processor 40 is configured to execute the program stored in the memory 30.
In addition, the mobile terminal is also provided with an antenna switch which is respectively connected with the main antenna, the standby antenna and the processor; the antenna switch is used for switching the main antenna and the standby antenna under the control of the processor.
Specifically, the main antenna includes a main set antenna and a diversity antenna, referring to the schematic structural diagram of the second mobile terminal shown in fig. 8, on the basis of fig. 7, fig. 8 further shows that the mobile terminal is further configured with an antenna switch 50, the antenna switch 50 is connected to the main set antenna 10a and the diversity antenna 10b, the standby antenna 20 and the processor 40, and the processor 40 is further connected to the memory 30 for storing a program that supports the processor 40 to execute the data transmission control method provided in the foregoing embodiment. Wherein the backup antenna 20 may be disposed between the main set antenna 10a and the diversity antenna 10 b.
When the processor 40 detects that the data transmission is abnormal and the signal strength of the standby antenna 20 is better than that of the main antenna 10a, the main antenna 10a is switched to the standby antenna 20 through the antenna switch 50 to transmit data;
when the processor 40 detects that the data transmission is abnormal and the signal strength of the standby antenna 20 is better than that of the diversity antenna 10b, the diversity antenna 10b is switched to the standby antenna 20 by the antenna switch 50 to transmit the data;
in practical applications, if processor 40 detects that the signal strength of backup antenna 20 is better than the signal strength of main set antenna 10a and the signal strength of diversity antenna 10b, processor 40 preferably replaces main set antenna 10a with backup antenna 20 for data transmission.
Referring to the schematic structural diagram of the third mobile terminal shown in fig. 9, a main set antenna, a diversity antenna, a standby antenna, an antenna switch, a radio frequency path, a multi-mode multi-frequency signal transceiver, a processor and a memory are respectively shown. The rf path and the multi-mode multi-band transceiver may correspond to a data transmission path.
The processor can be associated with the main antenna, the diversity antenna and the standby antenna through the radio frequency path and the multi-mode multi-frequency signal transceiver, and the antenna for data transmission is switched through the antenna switch. For the specific working process, reference may be made to the foregoing embodiments, which are not described herein again.
The memory mainly comprises a storage program area and a storage data area, wherein the storage program area can store an operating system, and an application program corresponding to the communication exception handling method and the communication exception handling device in the embodiment of the invention. The storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the mobile terminal, and the like. Further, the memory may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor is a control center of the mobile terminal, connects various parts of the whole mobile terminal by various interfaces and lines, and executes various functions and processes data of the mobile terminal by running or executing software programs and/or modules stored in the memory and calling the data stored in the memory, thereby performing overall monitoring on the mobile terminal. Alternatively, the processor may include one or more processing units; preferably, the processor may be integrated with an application processor, wherein the application processor mainly handles operating systems, user interfaces, application programs, and the like.
Those skilled in the art will appreciate that the components shown in fig. 9 may be implemented in hardware, software, or a combination thereof. The block diagram of the structure of the mobile terminal shown in fig. 9 does not constitute a limitation on the structure of the mobile terminal, and the mobile terminal may include more or less components than those shown, or combine some components, or a different arrangement of components. For example, the mobile terminal may further include an input unit and a display unit. The input unit may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the input unit may include a touch panel and other input devices. The display unit may be used to display information input by a user or information provided to the user and various menus of the mobile terminal. The display unit may include a display panel, and optionally, the display panel may be configured in the form of a liquid crystal display or an organic light emitting diode, or the like. Further, the touch panel may cover the display panel, and when the touch panel detects a touch operation on or near the touch panel, the touch panel transmits the touch operation to the processor to determine the type of the touch event, and then the processor performs processing according to the type of the touch event.
In addition, the mobile terminal may further include at least one sensor, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel according to the brightness of ambient light, and a proximity sensor that may turn off the display panel and/or the backlight when the mobile terminal is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), detect the magnitude and direction of gravity when stationary, and can be used for applications (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration) for recognizing the attitude of the mobile terminal, and related functions (such as pedometer and tapping) for vibration recognition; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile terminal, further description is omitted here.
The mobile terminal also includes a power supply (e.g., a battery) for powering the various components, and preferably, the power supply may be logically coupled to the processor via a power management system such that functions such as managing charging, discharging, and power consumption are performed via the power management system.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, each functional module or unit in each embodiment of the present invention may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present invention, which are used for illustrating the technical solutions of the present invention and not for limiting the same, and the protection scope of the present invention is not limited thereto, although the present invention is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present invention, and they should be construed as being included therein. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.
The embodiment of the invention also discloses:
A1. a data transmission control method is applied to a mobile terminal, wherein the mobile terminal is configured with a main antenna and a standby antenna, and comprises the following steps:
when the data transmission performance of the mobile terminal is abnormal, detecting the signal intensity of the main antenna and the standby antenna;
and when the signal strength of the standby antenna is better than that of the main antenna, the standby antenna is used for replacing the main antenna for data transmission.
A2. The method of a1, the method further comprising:
determining that data transmission performance of the mobile terminal is abnormal when at least one of the following conditions exists:
detecting that the error rate of the mobile terminal is greater than a set error rate threshold value;
detecting that the data transmission delay parameter of the mobile terminal is greater than a set delay threshold value;
and detecting that the data retransmission rate parameter of the mobile terminal is greater than a set retransmission rate threshold value.
A3. The method of a1, wherein the step of detecting the signal strength of the primary antenna and the backup antenna comprises:
respectively acquiring the signal strength of a main antenna set and a diversity antenna set of the main antenna, and the signal strength of the standby antenna;
determining that the signal strength of the backup antenna is better than the signal strength of the primary antenna when the signal strength of the backup antenna is better than the signal strength of the primary antenna and/or the diversity antenna.
A4. The method of a3, wherein the step of replacing the main antenna with the spare antenna for data transmission comprises:
and when the signal strength of the standby antenna is better than that of the main set antenna, the standby antenna is used for replacing the main set antenna for data transmission.
A5. The method of a3, wherein the step of replacing the main antenna with the spare antenna for data transmission comprises:
and when the signal strength of the spare antenna is better than that of the diversity antenna, the spare antenna is used for replacing the diversity antenna for data transmission.
A6. The method of a3, wherein the step of replacing the main antenna with the spare antenna for data transmission comprises:
and when the signal strength of the standby antenna is superior to that of the main set antenna and that of the diversity antenna, the standby antenna is used for replacing the main set antenna for data transmission.
A7. The method of a3, wherein the primary set of antennas, the diversity antennas, and the backup antennas are each connected to an antenna switch;
the step of using the backup antenna to replace the main antenna for data transmission includes:
and through the switching operation of the antenna switch, the standby antenna replaces the main antenna to carry out data transmission.
B8. A data transmission control apparatus applied to a mobile terminal, wherein the mobile terminal is configured with a main antenna and a standby antenna, comprising:
the detection module is used for detecting the signal intensity of the main antenna and the standby antenna when the data transmission performance of the mobile terminal is abnormal;
and the replacing module is used for replacing the main antenna with the standby antenna for data transmission when the signal strength of the standby antenna is superior to that of the main antenna.
B9. The apparatus of B8, the apparatus further comprising an anomaly determination module for determining that the data transmission performance of the mobile terminal is anomalous when at least one of:
detecting that the error rate of the mobile terminal is greater than a set error rate threshold value;
detecting that the data transmission delay parameter of the mobile terminal is greater than a set delay threshold value;
and detecting that the data retransmission rate parameter of the mobile terminal is greater than a set retransmission rate threshold value.
B10. The apparatus of B8, the detection module to:
respectively acquiring the signal strength of a main antenna set and a diversity antenna set of the main antenna, and the signal strength of the standby antenna;
determining that the signal strength of the backup antenna is better than the signal strength of the primary antenna when the signal strength of the backup antenna is better than the signal strength of the primary antenna and/or the diversity antenna.
B11. The apparatus of B10, the replacement module to:
and when the signal strength of the standby antenna is better than that of the main set antenna, the standby antenna is used for replacing the main set antenna for data transmission.
B12. The apparatus of B10, the replacement module to:
and when the signal strength of the spare antenna is better than that of the diversity antenna, the spare antenna is used for replacing the diversity antenna for data transmission.
B13. The apparatus of B10, the replacement module to:
and when the signal strength of the standby antenna is superior to that of the main set antenna and that of the diversity antenna, the standby antenna is used for replacing the main set antenna for data transmission.
B14. The apparatus of B10, the primary set antenna, the diversity antenna, and the backup antenna each connected to an antenna switch;
the replacement module is to:
and through the switching operation of the antenna switch, the standby antenna replaces the main antenna to carry out data transmission.
C15. A mobile terminal configured with a primary antenna and a backup antenna; the device also comprises a memory and a processor;
the memory is for storing a program that enables the processor to perform the method of any of a1-a7, the processor being configured for executing the program stored in the memory.
C16. The mobile terminal according to C15, further configured with an antenna switch, the antenna switch being connected to the main antenna, the backup antenna, and the processor, respectively;
the antenna switch is used for switching the main antenna and the standby antenna under the control of the processor.
C17. The mobile terminal of C16, wherein the primary antennas comprise a primary set antenna and a diversity antenna respectively connected to the antenna switch;
the backup antenna is disposed between the main set antenna and the diversity antenna.
D18. A computer storage medium storing computer software instructions for use with an apparatus according to any one of B8 to B14.

Claims (17)

1. A data transmission control method is characterized in that the method is applied to a mobile terminal, wherein the mobile terminal is provided with a main antenna, a standby antenna, an antenna switch and a data transmission path, the main antenna comprises a main antenna set and a diversity antenna, the standby antenna is arranged between the main antenna set and the diversity antenna, one end of the antenna switch is connected with the data transmission path, the other end of the antenna switch is provided with a first connecting part and a second connecting part, one end of the first connecting part is selectively connected with the main antenna set or the standby antenna, and one end of the second connecting part is selectively connected with the diversity antenna or the standby antenna;
the method comprises the following steps:
when the data transmission performance of the mobile terminal is abnormal, detecting the signal intensity of the main antenna and the standby antenna;
when the signal strength of the standby antenna is better than that of the main antenna, the standby antenna is used for replacing the main antenna for data transmission;
when data transmission is normal, the antenna switch is connected with the main antenna and the data transmission path through the first connecting part, and is connected with the diversity antenna and the data transmission path through the second connecting part;
when data transmission is abnormal, switching the connection direction of the first connection part or the second connection part according to the detected signal strength of the main set antenna, the diversity antenna and the spare antenna, so that the spare antenna replaces the main set antenna or the diversity antenna to carry out data transmission.
2. The method of claim 1, further comprising:
determining that data transmission performance of the mobile terminal is abnormal when at least one of the following conditions exists:
detecting that the error rate of the mobile terminal is greater than a set error rate threshold value;
detecting that the data transmission delay parameter of the mobile terminal is greater than a set delay threshold value;
and detecting that the data retransmission rate parameter of the mobile terminal is greater than a set retransmission rate threshold value.
3. The method of claim 1, wherein the step of detecting the signal strength of the primary antenna and the backup antenna comprises:
respectively acquiring the signal strength of a main antenna set and a diversity antenna set of the main antenna, and the signal strength of the standby antenna;
determining that the signal strength of the backup antenna is better than the signal strength of the primary antenna when the signal strength of the backup antenna is better than the signal strength of the primary antenna and/or the diversity antenna.
4. The method of claim 3, wherein the step of using the backup antenna to replace the primary antenna for data transmission comprises:
and when the signal strength of the standby antenna is better than that of the main set antenna, the standby antenna is used for replacing the main set antenna for data transmission.
5. The method of claim 3, wherein the step of using the backup antenna to replace the primary antenna for data transmission comprises:
and when the signal strength of the spare antenna is better than that of the diversity antenna, the spare antenna is used for replacing the diversity antenna for data transmission.
6. The method of claim 3, wherein the step of using the backup antenna to replace the primary antenna for data transmission comprises:
and when the signal strength of the standby antenna is superior to that of the main set antenna and that of the diversity antenna, the standby antenna is used for replacing the main set antenna for data transmission.
7. The method of claim 1, wherein the primary set antenna, the diversity antenna, and the backup antenna are all connected to an antenna switch;
the step of using the backup antenna to replace the main antenna for data transmission includes:
and through the switching operation of the antenna switch, the standby antenna replaces the main antenna to carry out data transmission.
8. A data transmission control device is characterized in that the device is applied to a mobile terminal, wherein the mobile terminal is provided with a main antenna, a standby antenna, an antenna switch and a data transmission path, the main antenna comprises a main antenna set and a diversity antenna, the standby antenna is arranged between the main antenna set and the diversity antenna, one end of the antenna switch is connected with the data transmission path, the other end of the antenna switch is provided with a first connecting part and a second connecting part, one end of the first connecting part is selectively connected with the main antenna set or the standby antenna, and one end of the second connecting part is selectively connected with the diversity antenna or the standby antenna;
the device comprises:
the detection module is used for detecting the signal intensity of the main antenna and the standby antenna when the data transmission performance of the mobile terminal is abnormal;
the replacing module is used for replacing the main antenna with the standby antenna for data transmission when the signal strength of the standby antenna is superior to that of the main antenna;
when data transmission is normal, the antenna switch is connected with the main antenna and the data transmission path through the first connecting part, and is connected with the diversity antenna and the data transmission path through the second connecting part;
when the data transmission is abnormal, the replacement module is configured to switch the connection direction of the first connection portion or the second connection portion according to the detected signal strengths of the main set antenna, the diversity antenna, and the backup antenna, so that the backup antenna replaces the main set antenna or the diversity antenna for data transmission.
9. The apparatus according to claim 8, wherein the apparatus further comprises an anomaly determination module configured to determine that the data transmission performance of the mobile terminal is anomalous when at least one of the following conditions exists:
detecting that the error rate of the mobile terminal is greater than a set error rate threshold value;
detecting that the data transmission delay parameter of the mobile terminal is greater than a set delay threshold value;
and detecting that the data retransmission rate parameter of the mobile terminal is greater than a set retransmission rate threshold value.
10. The apparatus of claim 8, wherein the detection module is configured to:
respectively acquiring the signal strength of a main antenna set and a diversity antenna set of the main antenna, and the signal strength of the standby antenna;
determining that the signal strength of the backup antenna is better than the signal strength of the primary antenna when the signal strength of the backup antenna is better than the signal strength of the primary antenna and/or the diversity antenna.
11. The apparatus of claim 10, wherein the replacement module is configured to:
and when the signal strength of the standby antenna is better than that of the main set antenna, the standby antenna is used for replacing the main set antenna for data transmission.
12. The apparatus of claim 10, wherein the replacement module is configured to:
and when the signal strength of the spare antenna is better than that of the diversity antenna, the spare antenna is used for replacing the diversity antenna for data transmission.
13. The apparatus of claim 10, wherein the replacement module is configured to:
and when the signal strength of the standby antenna is superior to that of the main set antenna and that of the diversity antenna, the standby antenna is used for replacing the main set antenna for data transmission.
14. The apparatus of claim 8, wherein the primary set antenna, the diversity antenna, and the backup antenna are all connected to an antenna switch;
the replacement module is to:
and through the switching operation of the antenna switch, the standby antenna replaces the main antenna to carry out data transmission.
15. A mobile terminal is characterized in that the mobile terminal is provided with a main antenna, a standby antenna, an antenna switch and a data transmission path, wherein the main antenna comprises a main antenna set and a diversity antenna, the standby antenna is arranged between the main antenna set and the diversity antenna, one end of the antenna switch is connected with the data transmission path, the other end of the antenna switch is provided with a first connecting part and a second connecting part, one end of the first connecting part is selectively connected with the main antenna set or the standby antenna, and one end of the second connecting part is selectively connected with the diversity antenna set or the standby antenna; the device also comprises a memory and a processor;
the memory for storing a program that enables the processor to perform the method of any one of claims 1-7, the processor being configured to execute the program stored in the memory.
16. The mobile terminal of claim 15, wherein the mobile terminal is further configured with an antenna switch, and the antenna switch is respectively connected to the main antenna, the standby antenna and the processor;
the antenna switch is used for switching the main antenna and the standby antenna under the control of the processor.
17. A computer storage medium storing computer software instructions for use by the apparatus of any one of claims 8 to 14.
CN201710341438.XA 2017-05-12 2017-05-12 Data transmission control method and device and mobile terminal Active CN107154807B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710341438.XA CN107154807B (en) 2017-05-12 2017-05-12 Data transmission control method and device and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710341438.XA CN107154807B (en) 2017-05-12 2017-05-12 Data transmission control method and device and mobile terminal

Publications (2)

Publication Number Publication Date
CN107154807A CN107154807A (en) 2017-09-12
CN107154807B true CN107154807B (en) 2020-10-30

Family

ID=59793032

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710341438.XA Active CN107154807B (en) 2017-05-12 2017-05-12 Data transmission control method and device and mobile terminal

Country Status (1)

Country Link
CN (1) CN107154807B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108493578B (en) * 2018-03-19 2020-09-08 Oppo广东移动通信有限公司 Antenna assembly, electronic equipment and antenna switching method
CN110350952A (en) * 2018-04-02 2019-10-18 仁宝电脑工业股份有限公司 Communication device, electronic device and its antenna adjusting method
CN110768705B (en) * 2018-07-27 2021-06-15 华为技术有限公司 Method for configuring antenna channel, receiving apparatus and computer-readable storage medium
CN112189378B (en) * 2019-01-21 2022-04-12 华为技术有限公司 Vehicle-mounted antenna system and communication method applied to same
CN109995441B (en) * 2019-04-10 2022-03-25 惠州Tcl移动通信有限公司 Communication information processing method, device and storage medium
CN111327336B (en) * 2020-02-28 2022-05-17 维沃移动通信有限公司 Radio frequency receiving circuit, signal receiving method and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11251982A (en) * 1998-02-27 1999-09-17 Matsushita Electric Ind Co Ltd Emergency communication antenna
CN1691537A (en) * 2004-04-20 2005-11-02 华为技术有限公司 A RF signal receiving unit and method
CN103779669A (en) * 2012-10-22 2014-05-07 联想(北京)有限公司 Antenna device and method for controlling antenna device
CN104993856A (en) * 2015-05-13 2015-10-21 深圳极智联合科技股份有限公司 Wireless router and method for switching master antenna and standby antenna thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005142866A (en) * 2003-11-06 2005-06-02 Matsushita Electric Ind Co Ltd Antenna selective diversity device and receiving method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11251982A (en) * 1998-02-27 1999-09-17 Matsushita Electric Ind Co Ltd Emergency communication antenna
CN1691537A (en) * 2004-04-20 2005-11-02 华为技术有限公司 A RF signal receiving unit and method
CN103779669A (en) * 2012-10-22 2014-05-07 联想(北京)有限公司 Antenna device and method for controlling antenna device
CN104993856A (en) * 2015-05-13 2015-10-21 深圳极智联合科技股份有限公司 Wireless router and method for switching master antenna and standby antenna thereof

Also Published As

Publication number Publication date
CN107154807A (en) 2017-09-12

Similar Documents

Publication Publication Date Title
CN107154807B (en) Data transmission control method and device and mobile terminal
ES2820353T3 (en) Method and Device for Updating the Fingerprint Template Sequence for Pairing
US11832189B2 (en) Control method for doze mode of mobile terminal, storage medium and mobile terminal
CN106982450B (en) Communication exception handling method and device and mobile terminal
US11316971B2 (en) Method for controlling temperature of terminal, and terminal
WO2015078342A1 (en) Method for acquiring memory information, and terminal
CN107219951B (en) Touch screen control method and device, storage medium and terminal equipment
US11308893B2 (en) Method for controlling brightness in mobile terminal display, mobile terminal and storage device
CN107329778B (en) System updating method and related product
CN107977113B (en) Control method and mobile terminal
US20200212701A1 (en) Method for controlling multi-mode charging, mobile terminal, and storage medium
CN110830127B (en) Radio frequency parameter processing method and device, mobile terminal and storage medium
CN107835519B (en) Call processing method and device and mobile terminal
CN106936516B (en) Display screen display state control method, storage medium and terminal
CN104951637A (en) Method and device for obtaining training parameters
CN109688611B (en) Frequency band parameter configuration method, device, terminal and storage medium
CN106339391B (en) Webpage display method and terminal equipment
CN104239005A (en) Graph alignment method and device
US20160314036A1 (en) Method and Apparatus for Repairing Dynamic Link Library File
CN111885591A (en) Network connection method, device, storage medium and terminal
CN112486350B (en) Detection method and device for touch screen of mobile terminal, storage medium and mobile terminal
CN111308303B (en) Method and device for detecting radio frequency power amplifier of mobile terminal
CN106227559B (en) Module loading method and terminal equipment
CN111966206A (en) Power-saving control method and device for fingerprint sensor and mobile terminal
CN105278967B (en) System updating method, device and system of mobile 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