[go: up one dir, main page]

CN106993305B - Communication exception handling method and device and mobile terminal - Google Patents

Communication exception handling method and device and mobile terminal Download PDF

Info

Publication number
CN106993305B
CN106993305B CN201710395850.XA CN201710395850A CN106993305B CN 106993305 B CN106993305 B CN 106993305B CN 201710395850 A CN201710395850 A CN 201710395850A CN 106993305 B CN106993305 B CN 106993305B
Authority
CN
China
Prior art keywords
radio frequency
access
standby
communication
network
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
CN201710395850.XA
Other languages
Chinese (zh)
Other versions
CN106993305A (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 CN201710395850.XA priority Critical patent/CN106993305B/en
Publication of CN106993305A publication Critical patent/CN106993305A/en
Application granted granted Critical
Publication of CN106993305B publication Critical patent/CN106993305B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition

Landscapes

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

Abstract

The embodiment of the invention provides a communication exception handling method, a communication exception handling device and a mobile terminal, and relates to the technical field of mobile communication. The mobile terminal of the embodiment of the invention is internally provided with a plurality of standby radio frequency paths, and when a main radio frequency path with abnormal communication is monitored, one standby radio frequency path is selected from the plurality of standby radio frequency paths to access a network; and if the standby radio frequency access can be successfully accessed to the network, replacing the main radio frequency access with abnormal communication with the standby radio frequency access to carry out network communication. According to the invention, if a device of a certain main radio frequency channel fails to cause that the main radio frequency channel cannot be accessed to the network, the mobile terminal can adopt the standby radio frequency channel to connect the network, and the normal work of the mobile terminal is not influenced, so that the problem that the mobile terminal cannot be continuously and normally used due to the device failure of the radio frequency channel is solved, the service life of the mobile terminal is prolonged to a certain extent, and the experience of a user for using the mobile terminal is improved.

Description

Communication exception handling method and device and mobile terminal
Technical Field
The invention relates to the technical field of mobile communication, in particular to a communication exception handling method and device and a mobile terminal.
Background
The communication random access procedure refers to a procedure before a mobile terminal sends a random access preamble to start to attempt to access a network until a basic signaling connection is established with the network, and in the procedure, an access failure may be caused by software exception or hardware exception, for example: if an abnormal device exists in a signal transmitting path in the mobile terminal, the mobile terminal cannot access the network.
The radio frequency circuit of a common mobile terminal is composed of three circuits, namely a receiving circuit, a transmitting circuit and a local oscillator circuit, the circuit formed by the circuits is called a radio frequency circuit, when a device on a certain radio frequency circuit breaks down, the use performance of the whole mobile terminal is affected, and sometimes the mobile terminal cannot be used continuously. In this case, the user can only select to repair or purchase a new mobile terminal, which increases the cost of the user for using the mobile terminal and reduces the experience of the user for using the mobile terminal.
Disclosure of Invention
In view of this, an object of the embodiments of the present invention is to provide a method and an apparatus for processing a communication exception, and a mobile terminal, so as to alleviate a problem that the mobile terminal cannot be used continuously when a device failure occurs in a radio frequency path, thereby improving a user experience of using the mobile terminal.
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 method for processing a communication exception, which is applied to a mobile terminal, where the mobile terminal includes multiple main radio frequency paths and multiple standby radio frequency paths; the method comprises the following steps:
when a main radio frequency access with abnormal communication is monitored, selecting a standby radio frequency access from a plurality of standby radio frequency accesses to access a network;
and when the standby radio frequency access is successfully accessed to the network, replacing the main radio frequency access with the abnormal communication with the standby radio frequency access for network communication.
In a preferred embodiment of the present invention, the method further comprises:
when the condition that the main radio frequency path comprises one of the following conditions is monitored, determining that the communication of the main radio frequency path is abnormal: the access of the main radio frequency access to the network fails, the disconnection of the main radio frequency access from the network fails or the self-checking of the main radio frequency access fails.
In a preferred embodiment of the present invention, the step of selecting one standby rf access from the plurality of standby rf accesses to the network includes one of the following manners:
randomly selecting one standby radio frequency access from the standby radio frequency accesses to access a network;
selecting a standby radio frequency access from the standby radio frequency accesses to access a network according to a preset sequence;
and selecting an inactive spare radio frequency access from the plurality of spare radio frequency accesses to access the network.
In a preferred embodiment of the present invention, the step of performing network communication by replacing the abnormal communication main rf path with the spare rf path includes:
when the number of the main radio frequency paths with abnormal communication is less than or equal to the number of the standby radio frequency paths, respectively allocating one standby radio frequency path to the main radio frequency paths with abnormal communication according to a one-to-one mode, and using the allocated standby radio frequency paths to respectively replace the corresponding main radio frequency paths for network communication;
and when the number of the main radio frequency paths with abnormal communication is larger than that of the standby radio frequency paths, controlling the standby radio frequency paths to replace the main radio frequency paths with abnormal communication respectively to carry out network communication by adopting a competition mechanism or a time-sharing mechanism.
In a preferred embodiment of the present invention, the step of controlling the plurality of standby radio frequency paths to replace the main radio frequency path with abnormal communication respectively for network communication by using a contention mechanism or a time division mechanism includes:
allocating a standby radio frequency channel for each main radio frequency channel with abnormal communication respectively;
when one standby radio frequency channel is distributed to replace a plurality of main radio frequency channels with abnormal communication, a competition mechanism or a time-sharing mechanism is adopted to control the standby radio frequency channel to respectively replace the plurality of main radio frequency channels to carry out network communication.
In a preferred embodiment of the present invention, the step of controlling the standby radio frequency paths to replace the plurality of main radio frequency paths respectively for network communication by using a contention mechanism includes:
dividing the time length of the standby radio frequency access to be distributed to the main radio frequency accesses according to the priority of the data service to be transmitted of each of the main radio frequency accesses;
and controlling the standby radio frequency channels to respectively replace the main radio frequency channels to carry out network communication according to the divided time length.
In a preferred embodiment of the present invention, the step of controlling the standby rf paths to replace the plurality of main rf paths for network communication by using a time-sharing mechanism includes:
uniformly dividing the use time period of the standby radio frequency access into a plurality of time slots to be allocated;
and controlling the standby radio frequency channel to sequentially replace a plurality of main radio frequency channels to carry out network communication according to the divided time slots to be allocated.
In a second aspect, an embodiment of the present invention provides a communication exception handling apparatus, which is applied to a mobile terminal, where the mobile terminal includes multiple main radio frequency paths and multiple standby radio frequency paths; the device comprises:
the standby radio frequency access starting module is used for selecting one standby radio frequency access from the plurality of standby radio frequency accesses to access a network when a main radio frequency access with abnormal communication is monitored;
and the radio frequency path switching module is used for replacing the main radio frequency path with abnormal communication with the standby radio frequency path to carry out network communication after the standby radio frequency path is successfully accessed to a network.
In a third aspect, an embodiment of the present invention provides a mobile terminal, where in one possible design, the mobile terminal includes a plurality of main rf paths and a plurality of standby rf paths; further comprising a memory for storing a program enabling the processor to perform the above method and a processor configured for executing 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 the communication exception handling apparatus, which includes a program for executing the communication exception handling method according to the above aspect.
Compared with the prior art, the communication abnormity processing method, the device and the mobile terminal provided by the embodiment of the invention have the advantages that a plurality of standby radio frequency paths are arranged in the mobile terminal, and when the main radio frequency path with abnormal communication is monitored, one standby radio frequency path is selected from the plurality of standby radio frequency paths to access the network; and if the standby radio frequency access can be successfully accessed to the network, replacing the main radio frequency access with abnormal communication with the standby radio frequency access to carry out network communication. By the method, if a device of a certain main radio frequency channel fails and the main radio frequency channel cannot be accessed to the network, the mobile terminal can adopt the standby radio frequency channel to connect the network without influencing the normal work of the mobile terminal, so that the problem that the mobile terminal cannot be continuously and normally used due to the device failure of the radio frequency channel is solved, the service life of the mobile terminal is prolonged to a certain extent, and the experience of a user in using the mobile terminal is 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 technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
Fig. 1 is a schematic operating environment diagram of a communication exception handling method according to an embodiment of the present invention.
Fig. 2 is a flowchart of a communication exception handling method according to a first embodiment of the present invention.
Fig. 3 is a flowchart of a communication exception handling method according to a second embodiment of the present invention.
Fig. 4 is a flowchart of a communication exception handling method according to a third embodiment of the present invention.
Fig. 5 is a block diagram of a communication exception handling apparatus according to an embodiment of the present invention.
Fig. 6 is a block diagram of a mobile terminal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.
The embodiments of the present invention described below are applicable to an operating environment such as that shown in fig. 1. As shown in fig. 1, the mobile terminal 100 accesses the network 200 through a random access mechanism to perform data communication or interaction with the network 200. The mobile terminal 100 may be any terminal device having a radio frequency channel, such as a smart phone, a tablet computer, a PDA (Personal Digital Assistant), and a vehicle-mounted computer, and the network 200 may be a wireless network, but is not limited to a 2G/3G/4G network.
The mobile terminal 100 is provided with a plurality of radio frequency paths, and the mobile terminal sends out modulation signals through the radio frequency paths, tries to access the network, and establishes basic signaling connection with the network. Each radio frequency channel comprises a plurality of radio frequency devices, and if a certain radio frequency device fails and cannot work normally, the mobile terminal cannot access to a network of a corresponding frequency band or networks of all frequency bands, so that the mobile terminal cannot realize a normal communication function. Therefore, the following embodiments of the present invention provide a communication exception handling method, apparatus and mobile terminal.
For facilitating understanding of the embodiments of the present invention, first, a detailed description is given below of a communication exception handling method disclosed in the embodiments of the present invention with reference to the accompanying drawings.
Example one
Fig. 2 shows a flowchart of a communication exception handling method provided in this embodiment. The communication exception handling method provided by the embodiment is a handling process at the mobile terminal side. The mobile terminal comprises a plurality of main radio frequency paths and a plurality of standby radio frequency paths. For example, the mobile terminal is respectively provided with a main radio frequency path corresponding to the working frequency bands of different communication protocols, that is, there are a plurality of main radio frequency paths, and the working frequency band of each main radio frequency path is different. According to the protocol stack statistics, a plurality of standby radio frequency paths can be set. The number of the spare radio frequency paths may be equal to the number of the main radio frequency paths, or may be more or less than the number of the main radio frequency paths.
Referring to fig. 2, the communication exception handling method provided in this embodiment includes the following steps:
step S201, when a main radio frequency access with abnormal communication is monitored, one standby radio frequency access is selected from a plurality of standby radio frequency accesses to access the network.
When the mobile terminal monitors one of the following three situations, it can be determined that the situation of the abnormal communication of the main radio frequency channel exists: the main radio frequency access fails to access the network, the main radio frequency access is disconnected with the network or the main radio frequency access fails to self-check.
When the mobile terminal is started or starts some function, it will send out modulation signal through the main radio frequency channel, try to access the network, and establish basic signaling connection with the network. If the mobile terminal monitors that the times of the main radio frequency access trying to access the network exceed the set access times, or the time of the main radio frequency access trying to access the network exceeds the set access time, the main radio frequency access is considered to fail to access the network.
In the communication process of the mobile terminal and the network, if the disconnection time of the main radio frequency access and the network exceeds the set disconnection time; or, if the number of times of disconnection between the main rf path and the network in the unit time exceeds the set disconnection number, the main rf path may be considered to be disconnected from the network.
When the mobile terminal is started and initialized, the radio frequency device of the main radio frequency channel is subjected to self-checking. If a fault or damage of a certain radio frequency device is detected, namely the self-checking of the main radio frequency path fails, the mobile terminal cannot be connected with the network through the main radio frequency path, and at the moment, one standby radio frequency path can be selected from the multiple standby radio frequency paths to access the network.
When the mobile terminal monitors one of the three situations, one of the following ways can be selected to select one standby radio frequency access from the multiple standby radio frequency accesses to access the network:
the first mode is as follows: randomly selecting one standby radio frequency access from a plurality of standby radio frequency accesses to access a network; that is, any one of the spare rf paths can be selected to access the network.
The second way is: selecting a standby radio frequency access from a plurality of standby radio frequency accesses to access a network according to a preset sequence; the starting sequence of a plurality of standby radio frequency channels is preset, when a main radio frequency channel with abnormal communication is monitored, the standby radio frequency channel with the prior starting sequence is selected to access the network, and if the standby radio frequency channel with the prior starting sequence has faults or is occupied, the next standby radio frequency channel can be selected to access the network according to the starting sequence.
The third mode is as follows: selecting an inactive spare radio frequency access from a plurality of spare radio frequency accesses to access a network; specifically, one access may be randomly selected from the inactive standby radio frequency accesses to access the network, or may be selected from the inactive standby radio frequency accesses according to a preset sequence.
It will be appreciated that one of the alternate radio frequency paths may be selected multiple times to attempt to access the network. For example, when the standby radio frequency path selected from the plurality of standby radio frequency paths cannot be successfully accessed to the network for the first time, one standby radio frequency path selected from the remaining standby radio frequency paths can be used for the second attempt.
And step S202, when the standby radio frequency access is successfully accessed to the network, replacing the abnormal main radio frequency access with the standby radio frequency access for network communication.
If the access to the network through the standby radio frequency access is successful, the communication abnormity is caused by the fault of the main radio frequency access, and at the moment, the standby radio frequency access is used for replacing the main radio frequency access to carry out network communication. For example, a standby radio frequency path which is successfully accessed to the network can be adopted to replace a main radio frequency path which is abnormally communicated, so that the program is saved; and an alternative radio frequency path can be additionally selected to replace the main radio frequency path with abnormal communication.
If the network cannot be successfully accessed through the standby radio frequency access, the main radio frequency access is possibly not in failure, the communication abnormity is possibly caused by network failure, at the moment, the main/standby switching is not needed, the network is continuously tried to be accessed through the main radio frequency access, or related failure is prompted to a user, so that the user knows that the network cannot be connected but the access failure of the mobile terminal is caused by the current network failure.
For example, when the main rf path fails during data transmission between the mobile terminal and the network, the breakpoint of the data transmission process is recorded. If the standby radio frequency access is successfully started to access the network, the breakpoint position is sent to the network end through the standby radio frequency access or other standby radio frequency accesses, and data is continuously received or sent from the breakpoint position through the standby radio frequency access or other standby radio frequency accesses. And if the access to the network through the standby radio frequency access is not successful, prompting the user of the current network fault.
It is considered that the number of the main rf paths where the communication abnormality occurs may be larger than the spare rf paths or may be smaller than the spare rf paths. When the number of the main radio frequency paths with abnormal communication is less than or equal to the number of the standby radio frequency paths, one standby radio frequency path can be respectively allocated to the main radio frequency paths with abnormal communication in a one-to-one mode, and the allocated standby radio frequency paths are respectively used for replacing the corresponding main radio frequency paths to carry out network communication. When the number of the main rf paths with abnormal communication is greater than the number of the standby rf paths, a contention mechanism or a time-sharing mechanism is adopted to control the plurality of standby rf paths to replace the main rf paths with abnormal communication respectively for network communication.
In summary, in the communication anomaly handling method provided in this embodiment, when a main radio frequency path with communication anomaly is monitored, one spare radio frequency path is selected from multiple spare radio frequency paths to access the network; and if the standby radio frequency access can be successfully accessed to the network, replacing the main radio frequency access with abnormal communication with the standby radio frequency access to carry out network communication. By the method, if a device of a certain main radio frequency channel fails and the main radio frequency channel cannot be accessed to the network, the mobile terminal can adopt the standby radio frequency channel to connect the network without influencing the normal work of the mobile terminal, so that the problem that the mobile terminal cannot be continuously and normally used due to the device failure of the radio frequency channel is solved, the service life of the mobile terminal is prolonged to a certain extent, and the experience of a user in using the mobile terminal is improved.
Considering that there may be network environment abnormality that causes a network access failure or communication abnormality of the mobile terminal, if the standby radio frequency path is directly enabled in such a scenario, it is not helpful, based on this, the embodiment further optimizes the execution process of the step S201, and the step may specifically include: when a communication abnormity error code of the main radio frequency channel is monitored, judging whether the communication abnormity is caused by the device fault of the main radio frequency channel according to the error code; if yes, starting a standby radio frequency access network; if not, the standby radio frequency access network is not started, and the user can be prompted for fault information or other processing modes are adopted.
Specifically, an error code information table is stored in the memory of the mobile terminal, and the correspondence between the codes and the communication abnormality reasons is recorded in the error code information table. When judging whether the communication abnormity is caused by the device fault of the main radio frequency channel, acquiring a pre-stored error code information table; searching a communication abnormal reason corresponding to the error code from the error code information table; when the found communication abnormality is caused by a device fault and the faulty device is a device on a certain main radio frequency channel, it can be determined that the communication abnormality is caused by the device fault of the main radio frequency channel.
In the optimization processing manner in step S201, when the found communication abnormality is caused by a failure of another device except the main rf path or a network environment, it may be determined that the communication abnormality is not caused by the main rf path. Therefore, the standby radio frequency access is not required to be started to access the network, so that the invalid starting of the standby radio frequency access is avoided, the program is saved, and the energy consumption is saved.
Example two
The mobile terminal of this embodiment has main rf paths corresponding to different operating frequency bands, that is, there are multiple main rf paths. In order to save space and cost, the number of the standby radio frequency paths is smaller than that of the main radio frequency paths. The embodiment provides a communication exception handling method for the mobile terminal with the hardware.
Fig. 3 shows a flowchart of a communication exception handling method provided in this embodiment. As shown in fig. 3, the method comprises the steps of:
step S301, when a main radio frequency access with abnormal communication is monitored, one standby radio frequency access is selected from a plurality of standby radio frequency accesses to access the network.
Step S302, on the premise that the standby radio frequency access is successfully accessed to the network, the number of the main radio frequency access with abnormal communication is judged to be larger than that of the standby radio frequency access. If yes, step S305 is performed, and if no, step S303 is performed.
Step S303, allocating a standby rf path to the main rf path with abnormal communication in a one-to-one manner.
And step S304, the distributed standby radio frequency channels are used for replacing the corresponding main radio frequency channels respectively to carry out network communication.
That is, when the number of the main rf paths with abnormal communication is less than or equal to the number of the standby rf paths, one standby rf path may be allocated to each of the main rf paths with abnormal communication in a one-to-one manner, so as to replace the corresponding main rf path for network communication.
For example, if two standby radio frequency paths are provided in the mobile terminal, when one main radio frequency path, namely the first main radio frequency path, fails, one of the two standby radio frequency paths can be selected arbitrarily and allocated to the first main radio frequency path, and the allocated standby radio frequency path is used to replace the first main radio frequency path for network communication. When two main radio frequency paths, namely the first main radio frequency path and the second main radio frequency path, have faults, the two standby radio frequency paths can be respectively distributed to the first main radio frequency path and the second main radio frequency path, so that the two standby radio frequency paths respectively replace the corresponding main radio frequency paths to carry out network communication.
Step S305, allocating a spare rf path for each main rf path with abnormal communication.
Step S306, judging whether the same standby radio frequency channel is distributed to replace a plurality of main radio frequency channels with abnormal communication one by one. If yes, go to step S307, if no, go to step S304.
Step S307, a competition mechanism is adopted to control the standby radio frequency channels to respectively replace a plurality of main radio frequency channels with abnormal communication to carry out network communication.
Specifically, step S307 is implemented in the following manner:
dividing the time length of the standby radio frequency access to be distributed to the main radio frequency accesses according to the priority of the data service to be transmitted of the main radio frequency accesses, and controlling the standby radio frequency access to replace the main radio frequency accesses respectively to carry out network communication according to the divided time length.
For example, if the first backup radio frequency channel is allocated to replace the first main radio frequency channel and the second main radio frequency channel, the data service to be transmitted of the first main radio frequency channel is the micro-message voice, and the data service to be transmitted of the second main radio frequency channel is the mail. The priority of the WeChat voice is set to be higher than that of the mail, and at this time, 80% of the communication time length of the first standby video path can be allocated to the first main radio frequency path, and 20% of the communication time length of the first standby video path can be allocated to the second main radio frequency path. Therefore, the first standby radio frequency channel can replace the first main radio frequency channel and the second main radio frequency channel to carry out network communication according to the divided time length.
Of course, different priorities may also be set for each main rf path, the time length allocated to each main rf path by the spare rf path is divided according to the priority of each main rf path, and the spare rf path is controlled to replace multiple main rf paths for network communication according to the divided time length.
In the method for processing communication exception provided in this embodiment, when the number of the main radio frequency paths with communication exception is greater than the number of the standby radio frequency paths, a contention mechanism is adopted to control the plurality of standby radio frequency paths to replace the main radio frequency paths with communication exception to perform network communication. Therefore, the mobile terminal adopts fewer standby radio frequency paths to replace more main radio frequency paths for network communication, and when the main radio frequency paths are abnormal/failed, the normal network communication of the mobile terminal can be guaranteed, hardware resources are saved, space is saved, and cost is reduced. Meanwhile, the problems of mutual interference and chaos in the communication process when a plurality of standby radio frequency channels are adopted to replace a plurality of main radio frequency channels for network communication are avoided.
EXAMPLE III
For a mobile terminal with the number of the standby radio frequency paths smaller than the number of the main radio frequency paths, this embodiment provides another communication exception handling method, and when the number of the main radio frequency paths with the communication exception is greater than the number of the standby radio frequency paths, a time-sharing mechanism is adopted to control the plurality of standby radio frequency paths to respectively replace the main radio frequency paths with the communication exception to perform network communication.
Fig. 4 shows a flowchart of a communication exception handling method provided in this embodiment. As shown in fig. 4, the method includes the steps of:
step S401, when a main radio frequency access with abnormal communication is monitored, one standby radio frequency access is selected from a plurality of standby radio frequency accesses to access the network.
Step S402, on the premise that the standby radio frequency access is successfully accessed to the network, judging that the number of the main radio frequency access with abnormal communication is larger than that of the standby radio frequency access. If yes, step S405 is performed, and if no, step S403 is performed.
Step S403, respectively allocating a standby rf path to the main rf path with abnormal communication in a one-to-one manner.
And S404, using the allocated standby radio frequency channels to respectively replace the corresponding main radio frequency channels for network communication.
Step S405, allocating a spare rf path to each main rf path with abnormal communication.
Step S406, determining one by one whether the same standby RF path is allocated to replace a plurality of main RF paths with abnormal communication. If yes, step S407 is executed, and if no, step S404 is executed.
Step S407, using a time-sharing mechanism to control the standby rf paths to replace the abnormal multiple main rf paths for network communication.
Specifically, step S407 may be implemented as follows:
uniformly dividing the use time period of the standby radio frequency access into a plurality of time slots to be allocated; and controlling the standby radio frequency channel to sequentially replace a plurality of main radio frequency channels to carry out network communication according to the divided time slots to be allocated.
For example, if a first spare rf path is allocated to replace a first main rf path and a second main rf path, the time period of use of the first spare rf path may be evenly divided into a plurality of time slots to be allocated; and allocating the nth time slot to be allocated to the first main radio frequency channel, allocating the (n + 1) th time slot to be allocated to the second main radio frequency channel, allocating the (n + 2) th time slot to be allocated to the first main radio frequency channel, and so on, so that the first standby radio frequency channel sequentially replaces a plurality of main radio frequency channels according to the divided time slots to be allocated to carry out network communication.
The embodiment adopts a time-sharing mechanism to control a plurality of standby radio frequency paths to respectively replace a main radio frequency path with abnormal communication to carry out network communication. Therefore, the mobile terminal can adopt fewer standby radio frequency channels to replace more main radio frequency channels for network communication, hardware resources are saved, space is saved, and cost is reduced. Meanwhile, the normal work of the mobile terminal is not influenced when the main radio frequency channel breaks down, so that the user experience is improved.
It should be noted that the above embodiments are all described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are not described repeatedly and can be referred to each other.
Example four
Corresponding to the communication exception handling method provided by the above embodiment, the embodiment provides a communication exception handling device applied to a mobile terminal, where the mobile terminal includes a plurality of main radio frequency paths and a plurality of standby radio frequency paths. As shown in fig. 5, the apparatus includes the following modules.
A communication anomaly determination module 501, configured to determine that a communication anomaly of the main rf path occurs when the main rf path is monitored to include one of the following situations: the main radio frequency access fails to access the network, the main radio frequency access is disconnected with the network or the main radio frequency access fails to self-check.
The failure of accessing the primary radio frequency access to the network includes, but is not limited to, the following two situations: the number of times of trying to access the network by the main radio frequency access exceeds the set access number; and secondly, the time length of the main radio frequency access trying to access the network exceeds the set access time length.
The disconnection of the main rf path from the network includes, but is not limited to, the following two situations: the disconnection time of the main radio frequency access and the network exceeds the set disconnection time; and secondly, in unit time, the disconnection times of the main radio frequency channel and the network exceed the set disconnection times.
The failure of the self-checking of the main radio frequency path means that when the mobile terminal is started and initialized, the radio frequency device of the main radio frequency path is self-checked, and a certain radio frequency device is detected to be in fault or damaged.
A standby radio frequency path starting module 502, configured to select one standby radio frequency path from multiple standby radio frequency paths to access a network when a main radio frequency path with abnormal communication is monitored;
and a radio frequency path switching module 503, configured to replace the abnormal main radio frequency path with the standby radio frequency path to perform network communication after the standby radio frequency path is successfully accessed to the network.
In the communication anomaly processing device provided by this embodiment, when a main radio frequency path with communication anomaly is monitored, one standby radio frequency path is selected from multiple standby radio frequency paths to access a network. And if the standby radio frequency access can be successfully accessed to the network, replacing the main radio frequency access with the standby radio frequency access to carry out network communication. Through the technical means, if a device of a certain main radio frequency channel breaks down, and the main radio frequency channel cannot be connected to the network, the mobile terminal can use the standby radio frequency channel to connect the network, so that the normal work of the mobile terminal is not influenced, and the user experience is improved.
In a preferred embodiment, the number of the standby radio frequency paths in the mobile terminal may be less than the number of the main radio frequency paths in order to save space and cost. For the mobile terminal, the radio frequency path switching module 503 may be further configured to: when the number of the main radio frequency paths with abnormal communication is less than or equal to the number of the standby radio frequency paths, respectively allocating one standby radio frequency path for the main radio frequency paths with abnormal communication according to a one-to-one mode, and respectively replacing the corresponding main radio frequency paths with the allocated standby radio frequency paths to carry out network communication.
When the number of the main radio frequency paths with abnormal communication is larger than that of the standby radio frequency paths, respectively allocating one standby radio frequency path to each main radio frequency path with abnormal communication; when one spare radio frequency channel is distributed to replace a plurality of main radio frequency channels with abnormal communication, a competition mechanism or a time-sharing mechanism is adopted to control the spare radio frequency channel to respectively replace the plurality of main radio frequency channels to carry out network communication.
Specifically, one implementation manner is to adopt a contention mechanism, divide the time length allocated to the multiple main radio frequency paths by the standby radio frequency paths according to the priorities of the data services to be transmitted by the multiple main radio frequency paths, and control the standby radio frequency paths to replace the multiple main radio frequency paths respectively for network communication according to the divided time lengths. The other realization mode is that a time-sharing mechanism is adopted to evenly divide the use time period of the standby radio frequency channel into a plurality of time slots to be allocated; and controlling the standby radio frequency channels to sequentially replace a plurality of main radio frequency channels to carry out network communication according to the divided time slots to be allocated.
Therefore, fewer standby radio frequency channels can be adopted to replace more main radio frequency channels for network communication, hardware resources are saved, and normal work of the mobile terminal is not influenced when the main radio frequency channels break down, so that the user experience is improved.
The communication exception handling apparatus provided in the foregoing embodiment has the same implementation principle and technical effect as those of the foregoing method embodiment, and for the sake of brief description, reference may be made to corresponding contents in the foregoing method embodiment for parts of the apparatus embodiment that are not mentioned.
EXAMPLE five
Corresponding to the above embodiment, the embodiment provides a mobile terminal. For convenience of explanation, only the parts of the mobile terminal related to the embodiments of the present invention will be described below. As shown in fig. 6, the mobile terminal includes a processor 10, a memory 50, an antenna switch 40 and a signal transceiver 20 respectively connected to the processor 10, a plurality of main rf paths and a plurality of spare rf paths. The antenna switch 40 is connected to one ends of the main rf path and the backup rf path, and the other ends of the main rf path and the backup rf path are connected to the signal transceiver 20, respectively.
The antenna switch 40, the main rf path, the standby rf path, and the signal transceiver 20 cooperate with each other, and under the control of the processor 10, may be used for communicating with a mobile network, such as receiving and transmitting signals during information transmission and reception or a call. Specifically, the downlink information of the base station is received and then processed by the processor 10; in addition, the data for designing uplink is transmitted to the base station.
In the mobile terminal illustrated in fig. 6, four main rf paths, namely a first main rf path 31, a second main rf path 32, a third main rf path 33, and a fourth main rf path 34, are provided corresponding to different operating frequency bands. Meanwhile, two spare rf paths are provided, namely a first spare rf path 35 and a second spare rf path 36. Each main radio frequency channel comprises a channel switch, a receiving filter, a power amplifier and other radio frequency devices so as to realize the connection and communication with the network. Each spare radio frequency path also comprises a path switch, a receiving filter, a power amplifier and other devices, so that when the main radio frequency path fails, the spare radio frequency path can replace any main radio frequency path to access the network. It should be noted that, in the mobile terminal provided in the embodiment of the present invention, the number of the main rf paths is not limited to four, and may be more than four, or less than four. Likewise, the number of spare rf paths is not limited to two, and may be more than two or less than two.
Taking the mobile terminal shown in fig. 6 as an example, the mobile terminal is provided with four main rf paths and two standby rf paths. By applying the method provided by the embodiment, when one of the main rf paths is abnormal in communication, one standby rf path may be selected from the two standby rf paths randomly or according to a preset sequence to replace the main rf path for network communication. When two of the main radio frequency paths have communication abnormality, a standby radio frequency path can be respectively allocated to the main radio frequency paths with communication abnormality according to a one-to-one mode.
When three of the four main rf paths are abnormal in communication, if the first main rf path, the second main rf path, and the third main rf path are all abnormal in communication, a spare rf path needs to be allocated to each main rf path with abnormal communication. It is assumed that a first spare rf path is allocated to the first main rf path and the second main rf path, and a second spare rf path is allocated to the third main rf path. The first standby radio frequency channel can be controlled to replace the first main radio frequency channel and the second main radio frequency channel respectively for network communication through the competition mechanism or the time-sharing mechanism, and the second standby radio frequency channel can be controlled to replace the third main radio frequency channel for network communication.
When the main rf path and the standby rf path communicate with the network, any communication standard or protocol may be used, including but not limited to Global System for Mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Message Service (SMS), etc.
The memory 50 may be used to store software programs and modules, such as program instructions/modules corresponding to the communication exception handling method and apparatus in the embodiment of the present invention, and the processor 10 is configured to execute the programs stored in the memory, and execute various functional applications and data processing of the mobile terminal by running the software programs and modules stored in the memory 50, such as the communication exception handling method provided in the embodiment of the present invention.
The memory 50 may mainly include a program storage area and a data storage area, where the program storage area may store an operating system and an application program corresponding to the communication exception handling method and apparatus in the embodiment of the present 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 50 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 10 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 50 and calling data stored in the memory 50, thereby performing overall monitoring of the mobile terminal. Alternatively, processor 10 may include one or more processing units; preferably, the processor 10 may be integrated with an application processor, wherein the application processor primarily handles operating systems, user interfaces, application programs, and the like.
Those skilled in the art will appreciate that the components shown in fig. 6 may be implemented in hardware, software, or a combination thereof. The block diagram of the structure of the mobile terminal shown in fig. 6 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 10 to determine the type of the touch event, and then the processor 10 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, which may preferably be logically coupled to the processor 10 via a power management system that may be used to manage charging, discharging, and power consumption.
The communication exception handling method, the communication exception handling device and the mobile terminal provided by the embodiment of the invention have the same technical characteristics, can solve the same technical problem and achieve the same technical effect.
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 modules 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.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions or without necessarily implying any relative importance. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention. It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
The embodiment of the invention also discloses:
A1. a communication exception handling method is applied to a mobile terminal, wherein the mobile terminal comprises a plurality of main radio frequency paths and a plurality of standby radio frequency paths; the method comprises the following steps:
when a main radio frequency access with abnormal communication is monitored, selecting a standby radio frequency access from a plurality of standby radio frequency accesses to access a network;
and when the standby radio frequency access is successfully accessed to the network, replacing the main radio frequency access with the abnormal communication with the standby radio frequency access for network communication.
A2. The method of a1, the method further comprising:
when the condition that the main radio frequency path comprises one of the following conditions is monitored, determining that the communication of the main radio frequency path is abnormal: the access of the main radio frequency access to the network fails, the disconnection of the main radio frequency access from the network fails or the self-checking of the main radio frequency access fails.
A3. According to the method of a2, the failure of the primary radio frequency access to the network includes: the times of trying to access the network by the main radio frequency access exceed the set access times; or the time length of the main radio frequency access trying to access the network exceeds the set access time length;
the disconnecting of the main radio frequency path from the network comprises: the disconnection time of the main radio frequency channel and the network exceeds the set disconnection time; or, in unit time, the disconnection times of the main radio frequency channel and the network exceed the set disconnection times.
A4. The method according to a1, wherein the step of selecting one spare rf access from the plurality of spare rf accesses to the network comprises one of:
randomly selecting one standby radio frequency access from the standby radio frequency accesses to access a network;
selecting a standby radio frequency access from the standby radio frequency accesses to access a network according to a preset sequence;
and selecting an inactive spare radio frequency access from the plurality of spare radio frequency accesses to access the network.
A5. The method according to a1, wherein the step of performing network communication by using the backup rf path to replace the main rf path with abnormal communication includes:
when the number of the main radio frequency paths with abnormal communication is less than or equal to the number of the standby radio frequency paths, respectively allocating one standby radio frequency path to the main radio frequency paths with abnormal communication according to a one-to-one mode, and using the allocated standby radio frequency paths to respectively replace the corresponding main radio frequency paths for network communication;
and when the number of the main radio frequency paths with abnormal communication is larger than that of the standby radio frequency paths, controlling the standby radio frequency paths to replace the main radio frequency paths with abnormal communication respectively to carry out network communication by adopting a competition mechanism or a time-sharing mechanism.
A6. According to the method of a5, the step of controlling the plurality of backup radio frequency paths to replace the main radio frequency path with abnormal communication respectively for network communication by using a contention mechanism or a time-sharing mechanism includes:
allocating a standby radio frequency channel for each main radio frequency channel with abnormal communication respectively;
when one standby radio frequency channel is distributed to replace a plurality of main radio frequency channels with abnormal communication, a competition mechanism or a time-sharing mechanism is adopted to control the standby radio frequency channel to respectively replace the plurality of main radio frequency channels to carry out network communication.
A7. According to the method of a6, the step of controlling the standby rf paths to replace the plurality of main rf paths respectively for network communication by using a contention mechanism includes:
dividing the time length of the standby radio frequency access to be distributed to the main radio frequency accesses according to the priority of the data service to be transmitted of each of the main radio frequency accesses;
and controlling the standby radio frequency channels to respectively replace the main radio frequency channels to carry out network communication according to the divided time length.
A8. The method according to a6, wherein the step of controlling the backup rf paths to replace the plurality of main rf paths for network communication by using a time-sharing mechanism includes:
uniformly dividing the use time period of the standby radio frequency access into a plurality of time slots to be allocated;
and controlling the standby radio frequency channel to sequentially replace a plurality of main radio frequency channels to carry out network communication according to the divided time slots to be allocated.
A9. According to the method of a1, when a main rf path with abnormal communication is detected, the step of selecting one standby rf path from the plurality of standby rf paths to access the network includes:
when an error code of communication abnormity is monitored, judging whether the communication abnormity is caused by the device fault of the main radio frequency channel according to the error code;
and if so, selecting one spare radio frequency access from the plurality of spare radio frequency accesses to access the network.
B10. A communication exception handling device is applied to a mobile terminal, wherein the mobile terminal comprises a plurality of main radio frequency paths and a plurality of standby radio frequency paths; the device comprises:
the standby radio frequency access starting module is used for selecting one standby radio frequency access from the plurality of standby radio frequency accesses to access a network when a main radio frequency access with abnormal communication is monitored;
and the radio frequency path switching module is used for replacing the main radio frequency path with abnormal communication with the standby radio frequency path to carry out network communication after the standby radio frequency path is successfully accessed to a network.
B11. The apparatus of B10, the apparatus further comprising:
a communication anomaly determination module, configured to determine that the communication of the main radio frequency path is anomalous when it is monitored that the main radio frequency path includes one of the following situations: the access of the main radio frequency access to the network fails, the disconnection of the main radio frequency access from the network fails or the self-checking of the main radio frequency access fails.
B12. The apparatus of B10, wherein the standby radio frequency path activation module is further configured to select one standby radio frequency path from the plurality of standby radio frequency paths to access the network by one of:
randomly selecting one standby radio frequency access from the standby radio frequency accesses to access a network;
selecting a standby radio frequency access from the standby radio frequency accesses to access a network according to a preset sequence;
and selecting an inactive spare radio frequency access from the plurality of spare radio frequency accesses to access the network.
B13. The apparatus of B10, the radio frequency path switching module further configured to:
when the number of the main radio frequency paths with abnormal communication is less than or equal to the number of the standby radio frequency paths, respectively allocating one standby radio frequency path to the main radio frequency paths with abnormal communication according to a one-to-one mode, and using the allocated standby radio frequency paths to respectively replace the corresponding main radio frequency paths for network communication;
and when the number of the main radio frequency paths with abnormal communication is larger than that of the standby radio frequency paths, controlling the standby radio frequency paths to replace the main radio frequency paths with abnormal communication respectively to carry out network communication by adopting a competition mechanism or a time-sharing mechanism.
B14. The apparatus of B13, the radio frequency path switching module further configured to:
when the number of the main radio frequency paths with abnormal communication is larger than that of the standby radio frequency paths, respectively allocating one standby radio frequency path to each main radio frequency path with abnormal communication;
when one standby radio frequency channel is distributed to replace a plurality of main radio frequency channels with abnormal communication, a competition mechanism or a time-sharing mechanism is adopted to control the standby radio frequency channel to respectively replace the plurality of main radio frequency channels to carry out network communication.
B15. The apparatus of B10, the backup rf path initiation module further configured to:
when an error code of communication abnormity is monitored, judging whether the communication abnormity is caused by the device fault of the main radio frequency channel according to the error code;
and if so, selecting one spare radio frequency access from the plurality of spare radio frequency accesses to access the network.
C16. A mobile terminal comprises a plurality of main radio frequency paths and a plurality of standby radio frequency paths; further comprising a memory for storing a program enabling the processor to perform the method of any of a1 to a9 and a processor configured to execute the program stored in the memory.
C17. The mobile terminal of C16, further comprising: the antenna switch is connected with one end of the main radio frequency channel and one end of the standby radio frequency channel, and the other end of the main radio frequency channel and the other end of the standby radio frequency channel are respectively connected with the signal transceiver.
C18. The mobile terminal according to C16, wherein the number of the primary radio frequency paths is greater than the number of the backup radio frequency paths.
D19. A computer storage medium storing computer software instructions for use with the apparatus of any one of B10 to B15.

Claims (19)

1. A communication exception handling method is applied to a mobile terminal and is characterized in that the mobile terminal comprises a plurality of main radio frequency paths and a plurality of standby radio frequency paths, wherein the main radio frequency paths respectively correspond to working frequency bands of different communication protocols; the method comprises the following steps:
when a main radio frequency access with abnormal communication is monitored, selecting a standby radio frequency access from a plurality of standby radio frequency accesses to access a network;
and when the standby radio frequency access is successfully accessed to the network, replacing the main radio frequency access with abnormal communication with the standby radio frequency access for network communication, wherein the working frequency band of the standby radio frequency access replacing the main radio frequency access with abnormal communication during network communication is the same as the working frequency band of the main radio frequency access with abnormal communication.
2. The method of claim 1, further comprising:
when the condition that the main radio frequency path comprises one of the following conditions is monitored, determining that the communication of the main radio frequency path is abnormal: the access of the main radio frequency access to the network fails, the disconnection of the main radio frequency access from the network fails or the self-checking of the main radio frequency access fails.
3. The method of claim 2, wherein the failure of the primary radio frequency access to the network comprises: the times of trying to access the network by the main radio frequency access exceed the set access times; or the time length of the main radio frequency access trying to access the network exceeds the set access time length;
the disconnecting of the main radio frequency path from the network comprises: the disconnection time of the main radio frequency channel and the network exceeds the set disconnection time; or, in unit time, the disconnection times of the main radio frequency channel and the network exceed the set disconnection times.
4. The method of claim 1, wherein the step of selecting one of the backup radio frequency paths to access the network comprises one of:
randomly selecting one standby radio frequency access from the standby radio frequency accesses to access a network;
selecting a standby radio frequency access from the standby radio frequency accesses to access a network according to a preset sequence;
and selecting an inactive spare radio frequency access from the plurality of spare radio frequency accesses to access the network.
5. The method of claim 1, wherein the step of performing network communication by using the backup rf path to replace the abnormal primary rf path comprises:
when the number of the main radio frequency paths with abnormal communication is less than or equal to the number of the standby radio frequency paths, respectively allocating one standby radio frequency path to the main radio frequency paths with abnormal communication according to a one-to-one mode, and using the allocated standby radio frequency paths to respectively replace the corresponding main radio frequency paths for network communication;
and when the number of the main radio frequency paths with abnormal communication is larger than that of the standby radio frequency paths, controlling the standby radio frequency paths to replace the main radio frequency paths with abnormal communication respectively to carry out network communication by adopting a competition mechanism or a time-sharing mechanism.
6. The method according to claim 5, wherein the step of controlling the plurality of standby radio frequency paths to replace the main radio frequency path with abnormal communication respectively for network communication by using a contention mechanism or a time-sharing mechanism comprises:
allocating a standby radio frequency channel for each main radio frequency channel with abnormal communication respectively;
when one standby radio frequency channel is distributed to replace a plurality of main radio frequency channels with abnormal communication, a competition mechanism or a time-sharing mechanism is adopted to control the standby radio frequency channel to respectively replace the plurality of main radio frequency channels to carry out network communication.
7. The method according to claim 6, wherein the step of controlling the standby radio frequency paths to replace the plurality of main radio frequency paths respectively for network communication by using a contention mechanism comprises:
dividing the time length of the standby radio frequency access to be distributed to the main radio frequency accesses according to the priority of the data service to be transmitted of each of the main radio frequency accesses;
and controlling the standby radio frequency channels to respectively replace the main radio frequency channels to carry out network communication according to the divided time length.
8. The method according to claim 6, wherein the step of controlling the backup rf paths to replace the plurality of main rf paths for network communication by using a time-sharing mechanism comprises:
uniformly dividing the use time period of the standby radio frequency access into a plurality of time slots to be allocated;
and controlling the standby radio frequency channel to sequentially replace a plurality of main radio frequency channels to carry out network communication according to the divided time slots to be allocated.
9. The method of claim 1, wherein the step of selecting one of the backup rf paths to access the network when the primary rf path with the communication anomaly is monitored comprises:
when an error code of communication abnormity is monitored, judging whether the communication abnormity is caused by the device fault of the main radio frequency channel according to the error code;
and if so, selecting one spare radio frequency access from the plurality of spare radio frequency accesses to access the network.
10. A communication abnormity processing device is applied to a mobile terminal and is characterized in that the mobile terminal comprises a plurality of main radio frequency paths and a plurality of standby radio frequency paths, wherein the main radio frequency paths respectively correspond to working frequency bands of different communication protocols; the device comprises:
the standby radio frequency access starting module is used for selecting one standby radio frequency access from the plurality of standby radio frequency accesses to access a network when a main radio frequency access with abnormal communication is monitored;
and the radio frequency path switching module is used for replacing the abnormal communication main radio frequency path with the standby radio frequency path to carry out network communication after the standby radio frequency path is successfully accessed to a network, wherein the working frequency band of the standby radio frequency path replacing the abnormal communication main radio frequency path during network communication is the same as that of the abnormal communication main radio frequency path.
11. The apparatus of claim 10, further comprising:
a communication anomaly determination module, configured to determine that the communication of the main radio frequency path is anomalous when it is monitored that the main radio frequency path includes one of the following situations: the access of the main radio frequency access to the network fails, the disconnection of the main radio frequency access from the network fails or the self-checking of the main radio frequency access fails.
12. The apparatus of claim 10, wherein the backup radio frequency path enabling module is further configured to select a backup radio frequency path access network from a plurality of backup radio frequency paths by one of:
randomly selecting one standby radio frequency access from the standby radio frequency accesses to access a network;
selecting a standby radio frequency access from the standby radio frequency accesses to access a network according to a preset sequence;
and selecting an inactive spare radio frequency access from the plurality of spare radio frequency accesses to access the network.
13. The apparatus of claim 10, wherein the radio frequency path switching module is further configured to:
when the number of the main radio frequency paths with abnormal communication is less than or equal to the number of the standby radio frequency paths, respectively allocating one standby radio frequency path to the main radio frequency paths with abnormal communication according to a one-to-one mode, and using the allocated standby radio frequency paths to respectively replace the corresponding main radio frequency paths for network communication;
and when the number of the main radio frequency paths with abnormal communication is larger than that of the standby radio frequency paths, controlling the standby radio frequency paths to replace the main radio frequency paths with abnormal communication respectively to carry out network communication by adopting a competition mechanism or a time-sharing mechanism.
14. The apparatus of claim 13, wherein the radio frequency path switching module is further configured to:
when the number of the main radio frequency paths with abnormal communication is larger than that of the standby radio frequency paths, respectively allocating one standby radio frequency path to each main radio frequency path with abnormal communication;
when one standby radio frequency channel is distributed to replace a plurality of main radio frequency channels with abnormal communication, a competition mechanism or a time-sharing mechanism is adopted to control the standby radio frequency channel to respectively replace the plurality of main radio frequency channels to carry out network communication.
15. The apparatus of claim 10, wherein the standby radio frequency path initiation module is further configured to:
when an error code of communication abnormity is monitored, judging whether the communication abnormity is caused by the device fault of the main radio frequency channel according to the error code;
and if so, selecting one spare radio frequency access from the plurality of spare radio frequency accesses to access the network.
16. A mobile terminal, characterized by: the mobile terminal comprises a plurality of main radio frequency paths and a plurality of standby radio frequency paths, wherein the main radio frequency paths respectively correspond to working frequency bands of different communication protocols; further comprising a memory for storing a program enabling the processor to perform the method of any of claims 1 to 9 and a processor configured for executing the program stored in the memory.
17. The mobile terminal of claim 16, wherein the mobile terminal further comprises: the antenna switch is connected with one end of the main radio frequency channel and one end of the standby radio frequency channel, and the other end of the main radio frequency channel and the other end of the standby radio frequency channel are respectively connected with the signal transceiver.
18. The mobile terminal of claim 16, wherein the number of primary radio frequency paths is greater than the number of backup radio frequency paths.
19. A computer storage medium characterized in that the computer storage medium stores program instructions for execution by a processor to implement the communication exception handling method of any one of claims 1 to 9.
CN201710395850.XA 2017-05-27 2017-05-27 Communication exception handling method and device and mobile terminal Active CN106993305B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710395850.XA CN106993305B (en) 2017-05-27 2017-05-27 Communication exception handling method and device and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710395850.XA CN106993305B (en) 2017-05-27 2017-05-27 Communication exception handling method and device and mobile terminal

Publications (2)

Publication Number Publication Date
CN106993305A CN106993305A (en) 2017-07-28
CN106993305B true CN106993305B (en) 2020-06-26

Family

ID=59421276

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710395850.XA Active CN106993305B (en) 2017-05-27 2017-05-27 Communication exception handling method and device and mobile terminal

Country Status (1)

Country Link
CN (1) CN106993305B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113037930B (en) * 2019-12-09 2024-03-29 中兴通讯股份有限公司 Method, device, terminal and readable storage medium for processing abnormality of radio frequency device
CN111756388B (en) * 2020-06-28 2022-06-07 维沃移动通信有限公司 Radio frequency circuit and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101873673A (en) * 2009-04-22 2010-10-27 香港理工大学 Double-radio-frequency interface scheduling method for fast switching
CN103139790A (en) * 2013-01-28 2013-06-05 福建星网锐捷网络有限公司 Intelligent wireless access device and network equipment used for indoor wireless local area network
CN103888984A (en) * 2012-12-19 2014-06-25 中兴通讯股份有限公司 Method of base station radio frequency unit redundant hot backup and system thereof
CN103916172A (en) * 2012-12-29 2014-07-09 重庆重邮信科通信技术有限公司 Radio-frequency transceiver and radio-frequency transceiving method
CN105376772A (en) * 2015-11-24 2016-03-02 广东欧珀移动通信有限公司 Network communication function anomaly processing method, modem and mobile terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10338191B2 (en) * 2014-10-30 2019-07-02 Bastille Networks, Inc. Sensor mesh and signal transmission architectures for electromagnetic signature analysis

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101873673A (en) * 2009-04-22 2010-10-27 香港理工大学 Double-radio-frequency interface scheduling method for fast switching
CN103888984A (en) * 2012-12-19 2014-06-25 中兴通讯股份有限公司 Method of base station radio frequency unit redundant hot backup and system thereof
CN103916172A (en) * 2012-12-29 2014-07-09 重庆重邮信科通信技术有限公司 Radio-frequency transceiver and radio-frequency transceiving method
CN103139790A (en) * 2013-01-28 2013-06-05 福建星网锐捷网络有限公司 Intelligent wireless access device and network equipment used for indoor wireless local area network
CN105376772A (en) * 2015-11-24 2016-03-02 广东欧珀移动通信有限公司 Network communication function anomaly processing method, modem and mobile terminal

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
GSM/CDMA1x双模双待机移动终端射频设计研究;李勇;《中国优秀硕士学位论文全文数据库 信息科技辑 2008年第07期》;20080715;正文第2.1节 *

Also Published As

Publication number Publication date
CN106993305A (en) 2017-07-28

Similar Documents

Publication Publication Date Title
CN106982450B (en) Communication exception handling method and device and mobile terminal
EP1599994B1 (en) Emergency call-back for a wireless communication device equipped with a user removable module
EP2775743B1 (en) Communication processing method and device, and terminal
JP7048761B2 (en) Timer processing method and terminal device
CN110636593B (en) Connection mode control method, terminal and storage medium
CN103634311B (en) Safety protecting method and device, terminal
US10728718B2 (en) Incoming call processing method, user equipment, and storage medium
EP3349536B1 (en) Method and device for calling in network cell congestion state
CN113922933B (en) Carrier switching processing method, device and terminal
CN107154807B (en) Data transmission control method and device and mobile terminal
CN103052110A (en) Cell outage detection and compensation method and cell outage detection and compensation device
CN106993305B (en) Communication exception handling method and device and mobile terminal
CN105227606A (en) Application program adaptation method and device
US20240236841A9 (en) Relay selection method and apparatus, relay information transmission method and apparatus, and terminal
CN106792583B (en) Multimedia message sending method, terminal and computer readable storage medium
KR102755867B1 (en) PUCCH transmission method, reception method, terminal and network side devices
CN113038513A (en) Method, terminal device and storage medium for independent networking weak coverage
CN104205994A (en) Apparatus and method for operational state synchronization in a wireless communication system
CN104717283A (en) File downloading control method, terminal and logic processing server
CN112929912B (en) LTE module monitoring method and device, communication equipment and readable storage medium
CN115209493B (en) Measurement method and apparatus
CN115529608B (en) Method, device, terminal and medium for generating SHR (short hand over report)
JP7478277B1 (en) SIM, communication device, switching method, and program
CN114765508B (en) Aperiodic SRS transmission method and equipment
CN113726538B (en) File loading method and equipment and storage medium

Legal Events

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