CN106982450A - Communication abnormality processing method, device and mobile terminal - Google Patents

Communication abnormality processing method, device and mobile terminal Download PDF

Info

Publication number
CN106982450A
CN106982450A CN201710396639.XA CN201710396639A CN106982450A CN 106982450 A CN106982450 A CN 106982450A CN 201710396639 A CN201710396639 A CN 201710396639A CN 106982450 A CN106982450 A CN 106982450A
Authority
CN
China
Prior art keywords
radio frequency
frequency path
main radio
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.)
Granted
Application number
CN201710396639.XA
Other languages
Chinese (zh)
Other versions
CN106982450B (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 CN201710396639.XA priority Critical patent/CN106982450B/en
Publication of CN106982450A publication Critical patent/CN106982450A/en
Application granted granted Critical
Publication of CN106982450B publication Critical patent/CN106982450B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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 present invention provides a kind of communication abnormality processing method, device and mobile terminal, is related to mobile communication technology field.Communication abnormality processing method provided in an embodiment of the present invention, device and mobile terminal, are provided with standby radio frequency path in mobile terminal, when main radio frequency path communication abnormality, start standby radio frequency path access network;If standby radio frequency path can be successfully accessed network, replace main radio frequency path using standby radio frequency path and carry out network service.So, if the device failure of main radio frequency path, cause main radio frequency path can not access network when, mobile terminal can automatically switch to standby radio frequency path connection network, mobile terminal normal work not influenceed, so as to improve the Experience Degree of user.

Description

Communication abnormality processing method, device and mobile terminal
Technical field
The present invention relates to mobile communication technology field, in particular to a kind of communication abnormality processing method, device and shifting Dynamic terminal.
Background technology
Communication random access procedure refer to mobile terminal send random access lead code begin attempt to access network to net The process before basic signaling connection is set up between network, in this process, probably due to software anomaly or hardware anomalies are led Access failure is caused, for example:If there is abnormal device in the signal transmitting path in mobile terminal, mobile terminal will be unable to access Network.
The radio circuit of common mobile terminal is made up of receiving path, transmitting path, the big circuit of local oscillation circuit three, these electricity The path that road is formed is referred to as radio frequency path, when the device on a certain radio frequency path breaks down, can influence whole mobile terminal Performance, the mobile terminal is also resulted in sometimes to be continuing with.In this case, user can only select to repair or purchase New mobile terminal is bought, causes user using the cost increase of mobile terminal, reduces the Experience Degree that user uses mobile terminal.
The content of the invention
In view of this, the purpose of the embodiment of the present invention is to provide a kind of communication abnormality processing method, device and movement eventually End, to alleviate mobile terminal when device fault occurs in radio frequency path, it is impossible to the problem of being continuing with, and then lifting user uses The Experience Degree of mobile terminal.
To achieve these goals, the technical scheme that the embodiment of the present invention is used is as follows:
In a first aspect, the embodiments of the invention provide a kind of communication abnormality processing method, applied to mobile terminal, the shifting The main radio frequency path of dynamic terminal is configured with standby radio frequency path;Methods described includes:
When it is determined that the main radio frequency path communication abnormality when, start the standby radio frequency path access network;
After the standby radio frequency path access network success, replace the main radio frequency using the standby radio frequency path and lead to Road carries out network service.
In preferred embodiments of the present invention, methods described also includes:
When monitor the main radio frequency path include scenario described below for the moment, determine that the communication of the main radio frequency path is different Often:The main radio frequency path access network failure, the main radio frequency path and network disconnect or the main radio frequency path self-inspection is lost Lose.
In preferred embodiments of the present invention, the main radio frequency path has a plurality of, and the standby radio frequency path has one;Institute State and replace the step of main radio frequency path carries out network service using the standby radio frequency path, including:
When the equal communication abnormality of a plurality of main radio frequency path, using competition mechanism or time-divisional scheme, control described standby Radio frequency path replaces a plurality of main radio frequency path to carry out network service respectively.
In preferred embodiments of the present invention, the use competition mechanism controls the standby radio frequency path to replace respectively The step of a plurality of main radio frequency path carries out network service, including:
According to the priority of the respective data to be transmitted business of a plurality of main radio frequency path, the standby radio frequency path is divided The duration of a plurality of main radio frequency path is distributed to, controls the standby radio frequency path to replace respectively according to the duration after division many Main radio frequency path carries out network service described in bar.
In preferred embodiments of the present invention, the use time-divisional scheme controls the standby radio frequency path to replace respectively The step of a plurality of main radio frequency path carries out network service, including:
It is multiple time slots to be allocated by the usage time interval even partition of the standby radio frequency path;
According to the time slot to be allocated after segmentation, the standby radio frequency path is controlled to replace a plurality of main radio frequency path successively Carry out network service.
Second aspect, the embodiments of the invention provide a kind of communication abnormality processing unit, applied to mobile terminal, the shifting The main radio frequency path of dynamic terminal is configured with standby radio frequency path;Described device includes:
Standby radio frequency path starting module, for when it is determined that the main radio frequency path communication abnormality when, start it is described standby Use radio frequency path access network;
Radio frequency path handover module, for after the standby radio frequency path access network success, standby is penetrated using described Frequency path replaces the main radio frequency path and carries out network service.
The third aspect, it is described mobile whole in a possible design the embodiments of the invention provide a kind of mobile terminal The main radio frequency path at end is configured with standby radio frequency path;The mobile terminal also includes memory and processor, the memory The program of the computing device above method is supported for storing, the processor is configurable for performing and deposited in the memory The program of storage.
Fourth aspect, the embodiments of the invention provide a kind of computer-readable storage medium, for saving as above-mentioned communication abnormality Computer software instructions used in processing unit, it, which is included, is used to perform above-mentioned aspect involved by communication abnormality processing method Program.
Compared with prior art, communication abnormality processing method provided in an embodiment of the present invention, device and mobile terminal, are being moved Standby radio frequency path is provided with dynamic terminal, when main radio frequency path communication abnormality, starts standby radio frequency path access network;If Standby radio frequency path can be successfully accessed network, then replacing main radio frequency path using standby radio frequency path carries out network service.This Sample, if the device failure of main radio frequency path, cause main radio frequency path can not access network when, mobile terminal can be automatic Standby radio frequency path connection network is switched to, mobile terminal normal work is not influenceed, therefore alleviate because device occurs in radio frequency path Part failure, the problem of mobile terminal can not continue normally to use, extends the service life of mobile terminal to a certain extent, so that Improve the Experience Degree that user uses mobile terminal.
To enable the above objects, features and advantages of the present invention to become apparent, preferred embodiment cited below particularly, and coordinate Appended accompanying drawing, is described in detail below.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be attached to what is used required in embodiment Figure is briefly described, it will be appreciated that the following drawings illustrate only certain embodiments of the present invention, therefore is not construed as pair The restriction of scope, for those of ordinary skill in the art, on the premise of not paying creative work, can also be according to this A little accompanying drawings obtain other related accompanying drawings.
Fig. 1 is the running environment schematic diagram of communication abnormality processing method provided in an embodiment of the present invention.
Fig. 2 is a kind of flow chart for communication abnormality processing method that first embodiment of the invention is provided.
Fig. 3 is a kind of flow chart for communication abnormality processing method that second embodiment of the invention is provided.
Fig. 4 is a kind of flow chart for communication abnormality processing method that third embodiment of the invention is provided.
Fig. 5 is a kind of structured flowchart of communication abnormality processing unit provided in an embodiment of the present invention.
Fig. 6 is a kind of structured flowchart of mobile terminal provided in an embodiment of the present invention.
Embodiment
Below in conjunction with accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Ground is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.Generally exist The component of the embodiment of the present invention described and illustrated in accompanying drawing can be arranged and designed with a variety of configurations herein.Cause This, the detailed description of the embodiments of the invention to providing in the accompanying drawings is not intended to limit claimed invention below Scope, but it is merely representative of the selected embodiment of the present invention.Based on embodiments of the invention, those skilled in the art are not doing The every other embodiment obtained on the premise of going out creative work, belongs to the scope of protection of the invention.
The following each embodiments of the present invention can be applied in running environment as shown in Figure 1.As shown in figure 1, mobile terminal 100 by random access mechanism access network 200, and row data communication is entered between network 200 or is interacted.The mobile terminal 1 00 Can be smart mobile phone, tablet personal computer, PDA (Personal Digital Assistant, personal digital assistant), vehicle-mounted computer Deng any terminal device with radio frequency path, network 200 can be wireless network, but be not limited to 2G/3G/4G networks etc..
One or more radio frequency path is provided with mobile terminal 1 00, mobile terminal sends tune by these radio frequency paths Signal processed, attempts to set up basic signaling connection between access network, with network.Multiple RF devices are all included in every radio frequency path Part, if some radio-frequency devices breaks down, it is impossible to normal work, then can cause mobile terminal can not access the net of corresponding frequency band Network or the network of all frequency ranges can not be accessed, and cause mobile terminal can not realize proper communication function.Therefore, the present invention is following Embodiment provides a kind of communication abnormality processing method, device and mobile terminal.
For ease of understanding the embodiment of the present invention, below in conjunction with the accompanying drawings, first to disclosed in the embodiment of the present invention A kind of communication abnormality processing method describes in detail.
Embodiment one
Fig. 2 shows a kind of flow chart for communication abnormality processing method that the present embodiment is provided.It is logical that the embodiment is provided Believe abnormality eliminating method, be the handling process of mobile terminal side.The mobile terminal is including at least one main radio frequency path and extremely A few standby radio frequency path.In general, mobile terminal corresponds to the working frequency range of different communication protocol, is provided with one Or a plurality of main radio frequency path, the working frequency range difference of every main radio frequency path.Correspondingly, standby radio frequency path can set many Bar, it is corresponding with main radio frequency path in man-to-man form;Standby radio frequency path can also only set one, be used as all or portion Divide the standby radio frequency path of main radio frequency path.
Referring to Fig. 2, the communication abnormality processing method that the present embodiment is provided comprises the following steps:
Step S201, when it is determined that main radio frequency path communication abnormality when, start standby radio frequency path access network.
The communication abnormality of main radio frequency path is determined, mainly including following three kinds of situations:Main radio frequency path access network failure, Main radio frequency path disconnects or main radio frequency path fail self-test with network.As long as mobile terminal monitors one of above-mentioned three kinds of situations When, you can think the communication abnormality of main radio frequency path.
When mobile terminal-opening or a certain function of startup, modulated signal can be sent by main radio frequency path, access is attempted Basic signaling connection is set up between network, with network.If mobile terminal monitors that main radio frequency path attempts time of access network Number exceedes setting access number of times, or, the duration that main radio frequency path attempts access network exceedes setting access duration, then can recognize Fail for main radio frequency path access network.
During mobile terminal and network service, disconnected if main radio frequency path exceedes setting with the duration that network disconnects Duration;Or, main radio frequency path exceedes setting disconnection times with the number of times that network disconnects in the unit interval, then it is considered that master penetrates Frequency path disconnects with network.
When mobile terminal-opening is initialized, self-inspection can be carried out to the radio-frequency devices of main radio frequency path.If detecting certain Individual radio-frequency devices failure or damage, i.e., main radio frequency path fail self-test, mobile terminal can not just be connected by main radio frequency path Network, now, starts standby radio frequency path access network.
Step S202, after the success of standby radio frequency path access network, main radio frequency path is replaced using standby radio frequency path Carry out network service.
When the communication abnormality of main radio frequency path, start standby radio frequency path access network.If logical by standby radio frequency Road access network obtains success, then it is as caused by main radio frequency path failure, now, to use standby radio frequency to illustrate communication abnormality Path replaces main radio frequency path and carries out network service.
If network can not be successfully accessed by standby radio frequency path, illustrate that main radio frequency path may not occur Failure, communication abnormality is probably due to caused by network failure, now, it is not necessary to carry out active-standby switch, continue to attempt to by master Radio frequency path access network, or dependent failure is prompted to user, make user's understanding be due to current network failure and cause It can not connect network, and the path fault of immobile terminal.
For example, during mobile terminal carries out data transmission with network, main radio frequency path breaks down, this When, the breakpoint of record data transmitting procedure.If starting standby radio frequency path access network to succeed, by above-mentioned breakpoint location Sent by standby radio frequency path to network-side, and number is continued to or send from the breakpoint location by standby radio frequency path According to.If do not succeeded by standby radio frequency path access network, user's current network failure is pointed out.
In summary, the communication abnormality processing method that the present embodiment is provided, when the main radio frequency path communication in mobile terminal When abnormal, start standby radio frequency path access network;If standby radio frequency path can be successfully accessed network, standby radio frequency is used Path replaces main radio frequency path and carries out network service.So, if the device failure of main radio frequency path, main radio frequency is caused to lead to Road can not access network when, mobile terminal can automatically switch to standby radio frequency path connection network, and mobile terminal is not being influenceed just Often work, therefore alleviate because device fault, the problem of mobile terminal can not continue normally to use, certain journey occurs in radio frequency path The service life of mobile terminal is extended on degree, so as to improve the Experience Degree that user uses mobile terminal.
Connection of mobile terminal into network failure or communication is caused to occur exception extremely in view of there may be network environment, if Standby radio frequency path is directly enabled under this scene also of no avail, based on this, execution of the present embodiment to above-mentioned steps S201 Process is further optimized, and the step can specifically include:When monitoring the communication abnormality error code of main radio frequency path, Judge whether communication abnormality is that the device fault of main radio frequency path causes according to error code;If it is, starting standby radio frequency Path access network;If it is not, then not starting standby radio frequency path access network, user malfunction information or use can be pointed out Other processing modes.
Specifically, be stored with error code information table in the memory of mobile terminal, have recorded in error code information table Corresponding relation between code and communication abnormality reason.Judging whether communication abnormality is that the device fault of main radio frequency path causes When, it need to first obtain the error code information table prestored;The corresponding communication abnormality of error code is searched from error code information table Reason;, can be true when the communication abnormality reason found is device fault and defective device is the device on main radio frequency path Determine caused by the device fault that communication abnormality is main radio frequency path.
Above-mentioned steps S201 optimization processing mode, when the communication abnormality reason found is in addition to main radio frequency path Other devices failure, or during network environment reason, it may be determined that communication abnormality is not caused by main radio frequency path.Therefore need not Start standby radio frequency path access network, avoid the invalid startup of standby radio frequency path so as to reduce, save program, save Energy consumption.
Embodiment two
The mobile terminal of the present embodiment corresponds to different working frequency range, is respectively provided with main radio frequency path, i.e., in the presence of many The main radio frequency path of bar.And in order to save space and cost, a standby radio frequency path can be only set.In the present embodiment, when many When communication abnormality occurs for a main radio frequency path, a plurality of main radio frequency path is replaced to carry out respectively using a standby radio frequency path Network service, Fig. 3 shows a kind of flow chart for communication abnormality processing method that the present embodiment is provided.As shown in figure 3, this method Comprise the following steps.
Step S301, when it is determined that main radio frequency path communication abnormality when, start standby radio frequency path access network.
Step S302, under the premise of standby radio frequency path access network is successful, determines whether a plurality of main radio frequency path Equal communication abnormality.If it is, step S303 is performed, if not, performing step S304.
Step S303, using competition mechanism, controls standby radio frequency path to replace a plurality of main radio frequency path to carry out network respectively Communication.
Specifically, step S303 can be realized in the following way:
According to the priority of the respective data to be transmitted business of a plurality of main radio frequency path, divide standby radio frequency path distribute to it is many The duration of the main radio frequency path of bar, controls standby radio frequency path to replace a plurality of main radio frequency path to carry out respectively according to the duration after division Network service.
For example, when the first main radio frequency path and the second main radio frequency path break down, the first main radio frequency path it is to be passed Transmission of data business is wechat voice, and the data to be transmitted business of the second main radio frequency path is mail.Set the preferential of wechat voice Level is higher than the priority of mail, now, the communication time of the 80% of alternate video path can be distributed to the first main radio frequency path, 20% communication time of alternate video path is distributed into the second main radio frequency path.So as to, allow standby radio frequency path by The first main radio frequency path and the second main radio frequency path is replaced to carry out network service according to the duration after division.
It is of course also possible to different priority be set for the main radio frequency path of each bar, according to the preferential of the main radio frequency path of each bar Level, divides the duration that standby radio frequency path distributes to the main radio frequency path of each bar, controls standby radio frequency to lead to according to the duration after division Road replaces a plurality of main radio frequency path to carry out network service respectively.
Step S304, replaces main radio frequency path using standby radio frequency path and carries out network service.
It is appreciated that when the communication abnormality of only one main radio frequency path, using the method in embodiment one, using standby Main radio frequency path, which is replaced, with radio frequency path carries out network service.
The present embodiment above method makes mobile terminal using a standby radio frequency path, you can replace by competition mechanism A plurality of main radio frequency path carries out network service, in the equal exception/fault of a plurality of main radio frequency path, can ensure mobile terminal just Normal network service, has saved hardware resource, has saved space, reduced cost.
Embodiment three
Another communication abnormality processing method is present embodiments provided, occurs communication abnormality in more than one main radio frequency path When, make a standby radio frequency path replace a plurality of main radio frequency path to carry out network service respectively using time-divisional scheme.Fig. 4 is shown A kind of flow chart for communication abnormality processing method that the present embodiment is provided.As shown in figure 4, this method comprises the following steps.
Step S401, when it is determined that main radio frequency path communication abnormality when, start standby radio frequency path access network.
Step S402, under the premise of standby radio frequency path access network is successful, determines whether a plurality of main radio frequency path Equal communication abnormality.If it is, step S403 is performed, if not, performing step S404.
Step S403, using time-divisional scheme, controls standby radio frequency path to replace a plurality of main radio frequency path to carry out network respectively Communication.
Specifically, step S403 can be realized in the following way:
It is multiple time slots to be allocated by the usage time interval even partition of standby radio frequency path;According to be allocated after segmentation Time slot, controls standby radio frequency path to replace a plurality of main radio frequency path to carry out network service successively.
For example, when the first main radio frequency path and the second main radio frequency path break down, can be by standby radio frequency path Usage time interval even partition is multiple time slots to be allocated;N-th of time slot to be allocated is distributed into the first main radio frequency path, by N+1 time slots to be allocated distribute to the second main radio frequency path, and the n-th+2 time slots to be allocated are distributed into the first main radio frequency path, The rest may be inferred, makes standby radio frequency path replace a plurality of main radio frequency path to carry out network successively according to the time slot to be allocated after segmentation and leads to Letter.
Step S404, replaces main radio frequency path using standby radio frequency path and carries out network service.
The embodiment uses time-divisional scheme, makes mobile terminal using a standby radio frequency path, you can replaces a plurality of master and penetrates Frequency path carries out network service, can equally save hardware resource, saves space, reduces cost.
It should be noted that each above-mentioned embodiment is described by the way of progressive, what each embodiment was stressed The identical non-repeated description in similar part between the difference with other embodiment, each embodiment, can mutually referring to.
Example IV
Corresponding with the communication abnormality processing method that above-described embodiment one is provided, this embodiment offers one kind communication is different Normal processing unit, applied to mobile terminal, the mobile terminal includes at least one main radio frequency path and at least one standby radio frequency Path.As shown in figure 5, the device includes following module.
Communication abnormality determining module 501, monitors that main radio frequency path includes scenario described below for the moment, it is determined that master penetrates for working as The communication abnormality of frequency path:Main radio frequency path access network failure, main radio frequency path and network disconnect or main radio frequency path self-inspection Failure.
Wherein, main radio frequency path access network unsuccessfully includes but is not limited to two following situations:The main radio frequency paths of one, are attempted The number of times of access network exceedes setting access number of times;When the duration that the main radio frequency paths of two, attempt access network exceedes setting access It is long.
Main radio frequency path disconnects with network includes but is not limited to two following situations:The main radio frequency paths of one, disconnect with network Duration exceed setting disconnect duration;In two, unit interval, main radio frequency path exceedes setting disconnection time with the number of times that network disconnects Number.
When main radio frequency path fail self-test refers to mobile terminal-opening initialization, to the radio-frequency devices of main radio frequency path Self-inspection is carried out, some radio-frequency devices failure or damage is detected.
Standby radio frequency path starting module 502, for when it is determined that main radio frequency path communication abnormality when, start standby radio frequency Path access network;
Radio frequency path handover module 503, for after the success of standby radio frequency path access network, using standby radio frequency path Replace main radio frequency path and carry out network service.
The communication abnormality processing unit that the present embodiment is provided, when the main radio frequency path communication abnormality in mobile terminal, is opened Move standby radio frequency path access network.If standby radio frequency path can be successfully accessed network, replaced using standby radio frequency path Main radio frequency path carries out network service.So, if the device failure of main radio frequency path, main radio frequency path is caused not connect When entering network, mobile terminal can automatically switch to standby radio frequency path connection network, and mobile terminal normal work is not influenceed, from And improve the Experience Degree of user.
In one more preferred embodiment, in order to save space and cost, for being provided with a plurality of main radio frequency path Mobile terminal, can only set a standby radio frequency path.In order to solve to replace a plurality of respectively using a standby radio frequency path The problem of main radio frequency path carries out network service, radio frequency path handover module 503 can be also used for:When a plurality of main radio frequency path During equal communication abnormality, using competition mechanism or time-divisional scheme, standby radio frequency path is controlled to enter respectively instead of a plurality of main radio frequency path Row network service.
Specifically, one kind, which is achieved in that, uses competition mechanism, according to the respective data to be transmitted of a plurality of main radio frequency path The priority of business, divides the duration that standby radio frequency path distributes to a plurality of main radio frequency path, is controlled according to the duration after division Standby radio frequency path replaces a plurality of main radio frequency path to carry out network service respectively.Another be achieved in that uses time-divisional scheme, It is multiple time slots to be allocated by the usage time interval even partition of standby radio frequency path;According to the time slot to be allocated after segmentation, control Preparation carries out network service instead of a plurality of main radio frequency path successively with radio frequency path.
So, mobile terminal is using a standby radio frequency path, you can replaces a plurality of main radio frequency path and carries out network service, Hardware resource has been saved, space is saved, cost is reduced.
The technique effect of the communication abnormality processing unit that above-described embodiment is provided, its realization principle and generation and foregoing side Method embodiment is identical, to briefly describe, and device embodiment part does not refer to part, refers to corresponding in preceding method embodiment Content.
Embodiment five
Corresponding with above-described embodiment, this embodiment offers a kind of mobile terminal.For convenience of description, it is only right below The mobile terminal part related to the embodiment of the present invention is introduced.As shown in fig. 6, the mobile terminal includes processor 10, Memory 50, duplexer 40 and the signal transceiver 20 being connected respectively with processor 10, at least one main radio frequency path and extremely A few standby radio frequency path.Duplexer 40 is connected with one end of main radio frequency path and standby radio frequency path, main radio frequency path Signal transceiver 20 is connected respectively with the other end of standby radio frequency path.Part annexation between the part of mobile terminal, Not shown in Fig. 6.
Wherein, duplexer 40, main radio frequency path, standby radio frequency path and signal transceiver 20 cooperate, in processing Device 10 control under, communicated available for mobile network, such as receive and send messages or communication process in, the reception and transmission of signal. Especially, after the downlink information of base station is received, handled to processor 10;In addition, being sent to base station by up data are designed.
In mobile terminal described in Fig. 6, corresponding to different working frequency range, there is provided four main radio frequency paths, are respectively First main radio frequency path 31, the second main radio frequency path 32, the 3rd main radio frequency path 33, the 4th main radio frequency path 34.Meanwhile, set One standby radio frequency path 35.Every main radio frequency path includes channel selector, receiving filter and power amplifier etc. and penetrated Frequency device, to realize connection and communication with network.Standby radio frequency path 35 equally also include channel selector, receiving filter and The devices such as power amplifier, therefore, when main radio frequency path breaks down, standby radio frequency path 35 can replace any master Radio frequency path access network.It should be noted that in the mobile terminal that the embodiment of the present invention is provided, the quantity of main radio frequency path Four are not limited to, four can be more than, four can also be less than.
Above-mentioned main radio frequency path and standby radio frequency path when being communicated with network, can use any communication standard or Agreement, including but not limited to global system for mobile communications (Global System of Mobile communication, GSM), General packet radio service (General Packet Radio Service, GPRS), CDMA (Code Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple Access, WCDMA), Long Term Evolution (Long Term Evolution, LTE), Email, Short Message Service (Short Messaging Service, SMS) etc..
The communication abnormality processing method that memory 50 can be used in storage software program and module, such as embodiment of the present invention And the corresponding programmed instruction/module of device, processor 10 is configurable for performing the program stored in the memory, logical Software program and module that operation is stored in memory 50 are crossed, so as to perform the various function application and number of mobile terminal According to processing, such as communication abnormality processing method provided in an embodiment of the present invention.
Memory 50 can mainly include storing program area and storage data field, wherein, storing program area can store operation system System application program corresponding with communication abnormality processing method and device in the embodiment of the present invention.Storage data field can store root Created data (such as voice data, phone directory etc.) etc. are used according to mobile terminal.In addition, memory 50 can include height Fast random access memory, can also include nonvolatile memory, for example, at least one disk memory, flush memory device, Or other volatile solid-state parts.
Processor 10 is the control centre of mobile terminal, utilizes each of various interfaces and the whole mobile terminal of connection Part, by operation or performs and is stored in software program and/or module in memory 50, and calls and be stored in memory 50 Interior data, perform the various functions and processing data of mobile terminal, so as to carry out integral monitoring to mobile terminal.Optionally, Processor 10 may include one or more processing units;It is preferred that, processor 10 can integrated application processor, wherein, using place Reason device mainly handles operating system, user interface and application program etc..
It will be understood by those skilled in the art that each component shown in Fig. 6 can be real using hardware, software or its combination It is existing.The structured flowchart of the mobile terminal shown in Fig. 6 does not constitute the restriction to mobile terminal structure, and mobile terminal can include Than illustrating more or less parts, some parts or different parts arrangement are either combined.For example, mobile terminal may be used also With including input block and display unit.Input block can be used for the numeral or character information for receiving input, and produce with moving The key signals input that the user of dynamic terminal is set and function control is relevant.Specifically, input block may include contact panel with And other input equipments.Display unit can be used for showing the information inputted by user or be supplied to the information of user and movement whole The various menus at end.Display unit may include display panel, optionally, can use liquid crystal display or Organic Light Emitting Diode Display panel is configured etc. form.Further, contact panel can cover display panel, detect thereon when contact panel or After neighbouring touch operation, processor 10 is sent to determine the type of touch event, with preprocessor 10 according to touch event Type process.
In addition, mobile terminal may also include at least one sensor, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor may include ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to ring The light and shade of environmental light adjusts the brightness of display panel, and proximity transducer can close display when mobile terminal is moved in one's ear Panel and/or backlight.As one kind of motion sensor, accelerometer sensor can detect in all directions (generally three axles) and add The size of speed, can detect that size and the direction of gravity when static, the application available for identification mobile terminal posture is (such as horizontal Portrait layout switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;As for shifting The other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared ray sensor that dynamic terminal can also configure, herein no longer Repeat.
Mobile terminal also includes the power supply (such as battery) powered to all parts, it is preferred that power supply can pass through power supply Management system and processor 10 are logically contiguous, so as to realize management charging, electric discharge and power managed by power-supply management system Etc. function.
Communication abnormality processing method, device and mobile terminal that the embodiment of the present invention is provided, it is special with identical technology Levy, can also solve identical technical problem, reach identical technique effect.
In several embodiments provided herein, it should be understood that disclosed apparatus and method, it can also pass through Other modes are realized.Device embodiment described above is only schematical, for example, flow chart and block diagram in accompanying drawing Show according to the device of multiple embodiments of the present invention, the architectural framework in the cards of method and computer program product, Function and operation.At this point, each square frame in flow chart or block diagram can represent the one of a module, program segment or code Part a, part for the module, program segment or code is used to realize holding for defined logic function comprising one or more Row instruction.It should also be noted that in some implementations as replacement, the function of being marked in square frame can also with different from The order marked in accompanying drawing occurs.For example, two continuous square frames can essentially be performed substantially in parallel, they are sometimes It can perform in the opposite order, this is depending on involved function.It is also noted that every in block diagram and/or flow chart The combination of individual square frame and block diagram and/or the square frame in flow chart, can use the special base for performing defined function or action Realize, or can be realized with the combination of specialized hardware and computer instruction in the system of hardware.
In addition, each functional module or unit in each embodiment of the invention can integrate and to form an independence Part or modules individualism, can also two or more modules be integrated to form an independent portion Point.
If the function is realized using in the form of software function module and is used as independent production marketing or in use, can be with It is stored in a computer read/write memory medium.Understood based on such, technical scheme is substantially in other words The part contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter Calculation machine software product is stored in a storage medium, including some instructions are to cause a computer equipment (can be individual People's computer, server, or network equipment etc.) perform all or part of step of each of the invention embodiment methods described. And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), arbitrary access are deposited Reservoir (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.
It should be noted that herein, such as first and second or the like relational terms are used merely to a reality Body or operation make a distinction with another entity or operation, and not necessarily require or imply these entities or deposited between operating In any this actual relation or order, it can not be interpreted as indicating or implying relative importance.Moreover, term " bag Include ", "comprising" or any other variant thereof is intended to cover non-exclusive inclusion so that including a series of mistake of key elements Journey, method, article or equipment not only include those key elements, but also other key elements including being not expressly set out, either Also include for this process, method, article or the intrinsic key element of equipment.In the absence of more restrictions, by sentence The key element that "including a ..." is limited, it is not excluded that also deposited in the process including the key element, method, article or equipment In other identical element.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention, for the skill of this area For art personnel, the present invention can have various modifications and variations.Within the spirit and principles of the invention, that is made any repaiies Change, equivalent substitution, improvement etc., should be included in the scope of the protection.It should be noted that:Similar label and letter exists Similar terms is represented in following accompanying drawing, therefore, once being defined in a certain Xiang Yi accompanying drawing, is then not required in subsequent accompanying drawing It is further defined and explained.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained Cover within protection scope of the present invention.Therefore, protection scope of the present invention described should be defined by scope of the claims.
The embodiment of the present invention is further disclosed:
A1. a kind of communication abnormality processing method, applied to mobile terminal, the main radio frequency path of the mobile terminal is configured with Standby radio frequency path;Methods described includes:
When it is determined that the main radio frequency path communication abnormality when, start the standby radio frequency path access network;
After the standby radio frequency path access network success, replace the main radio frequency using the standby radio frequency path and lead to Road carries out network service.
A2. the method according to A1, methods described also includes:
When monitor the main radio frequency path include scenario described below for the moment, determine that the communication of the main radio frequency path is different Often:The main radio frequency path access network failure, the main radio frequency path and network disconnect or the main radio frequency path self-inspection is lost Lose.
A3. the method according to A2, the main radio frequency path access network unsuccessfully includes:The main radio frequency path is attempted The number of times of access network exceedes setting access number of times;Or, the duration that the main radio frequency path attempts access network exceedes setting Access duration;
The main radio frequency path disconnects with network to be included:It is disconnected that the main radio frequency path exceedes setting with the duration that network disconnects Open duration;Or, in the unit interval, the main radio frequency path exceedes setting disconnection times with the number of times that network disconnects.
A4. the method according to any one of A1-A3, the main radio frequency path has a plurality of, and the standby radio frequency leads to Lu Youyi bars;
It is described to replace the step of main radio frequency path carries out network service using the standby radio frequency path, including:When During the equal communication abnormality of a plurality of main radio frequency path, using competition mechanism or time-divisional scheme, the standby radio frequency path point is controlled Network service is not carried out instead of a plurality of main radio frequency path.
A5. the method according to A4, the use competition mechanism, control the standby radio frequency path to replace respectively a plurality of The step of main radio frequency path carries out network service, including:
According to the priority of the respective data to be transmitted business of a plurality of main radio frequency path, the standby radio frequency path is divided Distribute to the duration of a plurality of main radio frequency path;
The standby radio frequency path is controlled to replace a plurality of main radio frequency path to carry out net respectively according to the duration after division Network communicates.
A6. the method according to A4, the use time-divisional scheme, control the standby radio frequency path to replace respectively a plurality of The step of main radio frequency path carries out network service, including:
It is multiple time slots to be allocated by the usage time interval even partition of the standby radio frequency path;
According to the time slot to be allocated after segmentation, the standby radio frequency path is controlled to replace a plurality of main radio frequency path successively Carry out network service.
A7. the method according to any one of A1-A3, described when the communication abnormality for determining the main radio frequency path When, the step of starting the standby radio frequency path access network, including:
When monitoring the communication abnormality error code of the main radio frequency path, judge described logical according to the error code Whether letter abnormal is that the device fault of the main radio frequency path causes;
If it is, starting the standby radio frequency path access network.
A8. the method according to A7, described to judge whether the communication abnormality is the master according to the error code The step of device fault of radio frequency path causes, including:
Obtain the error code information table prestored;Wherein, to have recorded code in the error code information table different with communicating Corresponding relation between normal reason;
The corresponding communication abnormality reason of the error code is searched from the error code information table;
When the communication abnormality reason found is device fault and the device is device on the main radio frequency path During part, determine that the device fault that the communication abnormality is the main radio frequency path causes.
B9. a kind of communication abnormality processing unit, applied to mobile terminal, the main radio frequency path of institute's mobile terminal is configured with standby Use radio frequency path;Described device includes:
Standby radio frequency path starting module, for when it is determined that the main radio frequency path communication abnormality when, start it is described standby Use radio frequency path access network;
Radio frequency path handover module, for after the standby radio frequency path access network success, standby is penetrated using described Frequency path replaces the main radio frequency path and carries out network service.
B10. the device according to B9, described device also includes:
Communication abnormality determining module, monitors that the main radio frequency path includes scenario described below for the moment for working as, determines institute State the communication abnormality of main radio frequency path:The main radio frequency path access network failure, main radio frequency path and the network disconnection or The main radio frequency path fail self-test.
B11. the device according to B9 or B10, the main radio frequency path has a plurality of, and the standby radio frequency path has one Bar;
The radio frequency path handover module is used for:
When the equal communication abnormality of a plurality of main radio frequency path, using competition mechanism or time-divisional scheme, control described standby Radio frequency path replaces a plurality of main radio frequency path to carry out network service respectively.
B12. the device according to B11, the radio frequency path handover module is used for:
According to the priority of the respective data to be transmitted business of a plurality of main radio frequency path, the standby radio frequency path is divided The duration of a plurality of main radio frequency path is distributed to, controls the standby radio frequency path to replace respectively according to the duration after division many Main radio frequency path carries out network service described in bar.
B13. the device according to B11, the radio frequency path handover module is used for:
It is multiple time slots to be allocated by the usage time interval even partition of the standby radio frequency path;
According to the time slot to be allocated after segmentation, the standby radio frequency path is controlled to replace a plurality of main radio frequency path successively Carry out network service.
C14. a kind of mobile terminal, the main radio frequency path of the mobile terminal is configured with standby radio frequency path;The movement Terminal also includes memory and processor, and the memory, which is used to store, supports any one of computing device A1 to the A8 side The program of method, the processor is configurable for performing the program stored in the memory.
C15. the mobile terminal according to C14, the mobile terminal also includes:The day being connected respectively with the processor Wiretap and signal transceiver, the duplexer are connected with one end of the main radio frequency path and the standby radio frequency path, The other end of the main radio frequency path and the standby radio frequency path connects the signal transceiver respectively.
C16. the mobile terminal according to C14, the main radio frequency path has a plurality of, and the standby radio frequency path has one Bar.
C17. a kind of computer-readable storage medium is soft for saving as computer used in any one of B9 to B13 described device Part is instructed.

Claims (10)

1. a kind of communication abnormality processing method, applied to mobile terminal, it is characterised in that the main radio frequency path of the mobile terminal It is configured with standby radio frequency path;Methods described includes:
When it is determined that the main radio frequency path communication abnormality when, start the standby radio frequency path access network;
After the standby radio frequency path access network success, replace the main radio frequency path using the standby radio frequency path and enter Row network service.
2. according to the method described in claim 1, it is characterised in that methods described also includes:
When monitor the main radio frequency path include scenario described below for the moment, determine the communication abnormality of the main radio frequency path:Institute Main radio frequency path access network failure, the main radio frequency path and network is stated to disconnect or the main radio frequency path fail self-test.
3. method according to claim 2, it is characterised in that the main radio frequency path access network unsuccessfully includes:It is described The number of times that main radio frequency path attempts access network exceedes setting access number of times;Or, the main radio frequency path attempts access network Duration exceed setting access duration;
The main radio frequency path disconnects with network to be included:When the main radio frequency path exceedes setting disconnection with the duration that network disconnects It is long;Or, in the unit interval, the main radio frequency path exceedes setting disconnection times with the number of times that network disconnects.
4. the method according to any one of claim 1-3, it is characterised in that the main radio frequency path has a plurality of, institute Stating standby radio frequency path has one;
It is described to replace the step of main radio frequency path carries out network service using the standby radio frequency path, including:When a plurality of During the equal communication abnormality of the main radio frequency path, using competition mechanism or time-divisional scheme, standby radio frequency path generation respectively is controlled Network service is carried out for a plurality of main radio frequency path.
5. method according to claim 4, it is characterised in that the use competition mechanism, controls the standby radio frequency to lead to Road replaces the step of a plurality of main radio frequency path carries out network service respectively, including:
According to the priority of the respective data to be transmitted business of a plurality of main radio frequency path, the standby radio frequency path distribution is divided Duration to a plurality of main radio frequency path;
Control the standby radio frequency path to replace a plurality of main radio frequency path to carry out network respectively according to the duration after division to lead to Letter.
6. method according to claim 4, it is characterised in that the use time-divisional scheme, controls the standby radio frequency to lead to Road replaces the step of a plurality of main radio frequency path carries out network service respectively, including:
It is multiple time slots to be allocated by the usage time interval even partition of the standby radio frequency path;
According to the time slot to be allocated after segmentation, the standby radio frequency path is controlled to replace a plurality of main radio frequency path to carry out successively Network service.
7. a kind of communication abnormality processing unit, applied to mobile terminal, it is characterised in that the main radio frequency path of institute's mobile terminal is matched somebody with somebody It is equipped with standby radio frequency path;Described device includes:
Standby radio frequency path starting module, for when it is determined that the main radio frequency path communication abnormality when, start described standby penetrate Frequency path access network;
Radio frequency path handover module is logical using the standby radio frequency for after the standby radio frequency path access network success Replace the main radio frequency path and carry out network service in road.
8. a kind of mobile terminal, it is characterised in that:The main radio frequency path of the mobile terminal is configured with standby radio frequency path;It is described Mobile terminal also includes memory and processor, and the memory, which is used to store, supports computing device claim 1 to 6 times The program of one methods described, the processor is configurable for performing the program stored in the memory.
9. mobile terminal according to claim 8, it is characterised in that the mobile terminal also includes:With the processor The duplexer and signal transceiver connected respectively, the duplexer and the main radio frequency path and the standby radio frequency path One end connection, the other end of the main radio frequency path and the standby radio frequency path connects the signal transceiver respectively.
10. a kind of computer-readable storage medium, it is characterised in that soft for storing computer used in claim 7 described device Part is instructed.
CN201710396639.XA 2017-05-27 2017-05-27 Communication exception handling method and device and mobile terminal Active CN106982450B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710396639.XA CN106982450B (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
CN201710396639.XA CN106982450B (en) 2017-05-27 2017-05-27 Communication exception handling method and device and mobile terminal

Publications (2)

Publication Number Publication Date
CN106982450A true CN106982450A (en) 2017-07-25
CN106982450B CN106982450B (en) 2020-10-30

Family

ID=59344063

Family Applications (1)

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

Country Status (1)

Country Link
CN (1) CN106982450B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109995441A (en) * 2019-04-10 2019-07-09 惠州Tcl移动通信有限公司 The method, apparatus and storage medium of communication information processing
CN110198245A (en) * 2019-07-05 2019-09-03 珠海格力电器股份有限公司 A kind of equipment fault self checking method
CN110913417A (en) * 2019-11-22 2020-03-24 东莞市小精灵教育软件有限公司 Method, system, equipment and storage medium for protecting radio frequency parameters
CN111756388A (en) * 2020-06-28 2020-10-09 维沃移动通信有限公司 Radio frequency circuit and electronic equipment
CN112804769A (en) * 2021-02-25 2021-05-14 北京小米移动软件有限公司 Method, device and storage medium for connecting network
CN113037930A (en) * 2019-12-09 2021-06-25 中兴通讯股份有限公司 Radio frequency device exception handling method and device, terminal and readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015136053A (en) * 2014-01-17 2015-07-27 株式会社日立ビルシステム Radio communication system
CN105376778A (en) * 2015-11-24 2016-03-02 广东欧珀移动通信有限公司 Processing method of network communication function abnormity and mobile terminal
CN105376113A (en) * 2015-11-24 2016-03-02 广东欧珀移动通信有限公司 Processing method of network communication function abnormity, modem and mobile terminal
CN105376772A (en) * 2015-11-24 2016-03-02 广东欧珀移动通信有限公司 Network communication function anomaly processing method, modem and mobile terminal
CN105491603A (en) * 2015-11-24 2016-04-13 广东欧珀移动通信有限公司 Network communication function abnormality processing method, application processor and mobile terminal
CN105491605A (en) * 2015-11-24 2016-04-13 广东欧珀移动通信有限公司 Network communication function abnormality processing method, modulator-demodulator and mobile terminal
CN105634794A (en) * 2015-11-24 2016-06-01 广东欧珀移动通信有限公司 Network communication function abnormity processing method, modulator-demodulator and mobile terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015136053A (en) * 2014-01-17 2015-07-27 株式会社日立ビルシステム Radio communication system
CN105376778A (en) * 2015-11-24 2016-03-02 广东欧珀移动通信有限公司 Processing method of network communication function abnormity and mobile terminal
CN105376113A (en) * 2015-11-24 2016-03-02 广东欧珀移动通信有限公司 Processing method of network communication function abnormity, modem and mobile terminal
CN105376772A (en) * 2015-11-24 2016-03-02 广东欧珀移动通信有限公司 Network communication function anomaly processing method, modem and mobile terminal
CN105491603A (en) * 2015-11-24 2016-04-13 广东欧珀移动通信有限公司 Network communication function abnormality processing method, application processor and mobile terminal
CN105491605A (en) * 2015-11-24 2016-04-13 广东欧珀移动通信有限公司 Network communication function abnormality processing method, modulator-demodulator and mobile terminal
CN105634794A (en) * 2015-11-24 2016-06-01 广东欧珀移动通信有限公司 Network communication function abnormity processing method, modulator-demodulator and mobile terminal

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109995441A (en) * 2019-04-10 2019-07-09 惠州Tcl移动通信有限公司 The method, apparatus and storage medium of communication information processing
CN110198245A (en) * 2019-07-05 2019-09-03 珠海格力电器股份有限公司 A kind of equipment fault self checking method
CN110913417A (en) * 2019-11-22 2020-03-24 东莞市小精灵教育软件有限公司 Method, system, equipment and storage medium for protecting radio frequency parameters
CN113037930A (en) * 2019-12-09 2021-06-25 中兴通讯股份有限公司 Radio frequency device exception handling method and device, terminal and readable storage medium
CN113037930B (en) * 2019-12-09 2024-03-29 中兴通讯股份有限公司 Method, device, terminal and readable storage medium for processing abnormality of radio frequency device
CN111756388A (en) * 2020-06-28 2020-10-09 维沃移动通信有限公司 Radio frequency circuit and electronic equipment
CN112804769A (en) * 2021-02-25 2021-05-14 北京小米移动软件有限公司 Method, device and storage medium for connecting network
CN112804769B (en) * 2021-02-25 2023-08-22 北京小米移动软件有限公司 Method, device and storage medium for connecting network

Also Published As

Publication number Publication date
CN106982450B (en) 2020-10-30

Similar Documents

Publication Publication Date Title
CN106982450A (en) Communication abnormality processing method, device and mobile terminal
CN106453511B (en) A kind of data back up method and equipment
CN108366437A (en) Network identification display method, device and mobile terminal
CN104852885A (en) Method, device and system for verifying verification code
CN103634311B (en) Safety protecting method and device, terminal
CN103561400B (en) Method for initiating communication, device thereof and mobile terminal
CN104915091A (en) Method and device for displaying status bar prompt message
CN104965641A (en) Method and apparatus for displaying information
CN107846722A (en) network registering method, device and mobile terminal
CN104717341A (en) Message prompting method and terminal
CN106851780A (en) The method and terminal of a kind of network connection
CN104980455A (en) Multi-terminal data synchronization method based on cloud storage, device and system thereof
CN107484239A (en) Network registry abnormality eliminating method, device and user terminal
CN104423822A (en) Automated test script recording method and device
CN107154807A (en) Data transfer control method, device and mobile terminal
CN106454976A (en) Switching method and device for wireless network and terminal
CN104363590A (en) Access point connection method and device
CN103561155B (en) Send the method for note, device and terminal
CN107835519A (en) Call handling method, device and mobile terminal
CN105335238A (en) Inter-process communication method and apparatus
CN103533139B (en) Data management method and device of multi-card user and mobile terminal
CN106502827A (en) A kind of data back up method and equipment
CN105430035A (en) Network data uploading method and device
CN106993305A (en) Communication abnormality processing method, device and mobile terminal
CN104869550A (en) Communication event processing method and device

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