CN111065069B - T-BOX data network recovery method and device - Google Patents

T-BOX data network recovery method and device Download PDF

Info

Publication number
CN111065069B
CN111065069B CN201911205246.1A CN201911205246A CN111065069B CN 111065069 B CN111065069 B CN 111065069B CN 201911205246 A CN201911205246 A CN 201911205246A CN 111065069 B CN111065069 B CN 111065069B
Authority
CN
China
Prior art keywords
network
module
box
state
identification
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
CN201911205246.1A
Other languages
Chinese (zh)
Other versions
CN111065069A (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.)
Huizhou Foryou General Electronics Co Ltd
Original Assignee
Huizhou Foryou General Electronics 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 Huizhou Foryou General Electronics Co Ltd filed Critical Huizhou Foryou General Electronics Co Ltd
Priority to CN201911205246.1A priority Critical patent/CN111065069B/en
Publication of CN111065069A publication Critical patent/CN111065069A/en
Application granted granted Critical
Publication of CN111065069B publication Critical patent/CN111065069B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/40Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/30Network data restoration; Network data reliability; Network data fault tolerance
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention provides a method and a device for recovering a T-BOX data network, which are used for switching a network mode of the T-BOX when a vehicle is in a preset state by judging that the current network of the T-BOX is not in a network-resident state, so that successful network-resident is realized. The invention realizes the automatic recovery of the data network function after the deactivation and activation of the T-BOX.

Description

T-BOX data network recovery method and device
Technical Field
The invention relates to the technical field of T-BOX, in particular to a method and a device for recovering a T-BOX data network.
Background
At present, the monthly flow and the telephone duration of the T-BOX are limited, and when the monthly flow or the telephone duration is used up, the T-BOX is in a deactivated state, so that communication with a nearby base station is interrupted; when the user automatically activates the T-BOX to recover the data network function through recharging or the next month, the base station refuses to communicate with the T-BOX when the T-BOX is in a deactivated state, so that the user cannot stay on the network, and further the data network function recovery failure is caused, at the moment, the user can only restart the T-BOX or manually switch the network to complete the network recovery again and dial the number again, so that the data network function can be recovered. Since the T-BOX is generally installed in a hidden area in a vehicle, the above-described operation of restarting the T-BOX is very inconvenient, resulting in poor user experience.
Accordingly, there is a need for further improvements in the art.
Disclosure of Invention
The invention provides a method and a device for recovering a T-BOX data network, which aim to overcome the defects in the prior art and realize automatic recovery of the data network function after deactivation and activation of the T-BOX.
In order to achieve the above purpose, the technical scheme adopted by the invention is as follows:
one aspect of the present invention provides a method for recovering a T-BOX data network, including:
step 1, judging whether the current network of the T-BOX is in a network residence state, if so, setting a network residence identification and entering a step 5, otherwise, setting a network residence failure identification and entering a next step;
step 2, judging whether the vehicle provided with the T-BOX is in a first preset state, if so, continuously monitoring the first preset time period, and then entering the next step, otherwise, entering the step 4;
step 3, judging whether the vehicle is in a second preset state, if so, entering the next step, otherwise, returning to the step 2;
step 4, switching the network of the T-BOX to a first network mode, delaying for a second preset time period, switching to a second network mode, and returning to the step 1;
step 5, judging whether the T-BOX currently receives a moving signal, if yes, entering the next step, otherwise, entering the step 8;
step 6, judging whether the T-BOX currently receives a mobile data signal, if yes, entering a step 8, otherwise, entering a next step;
step 7, controlling the T-BOX to dial APN;
and 8, clearing the resident network identification of the T-BOX, and returning to the step 1.
Further, before the step 1, the method further comprises:
and step A, detecting whether the SIM card of the T-BOX is inserted, if so, entering the next step, otherwise, repeating the step.
Further, before the step 1, after the step a, the method further includes:
and B, judging whether the current signal strength value of the T-BOX is larger than a signal normal threshold value, if so, entering the next step, otherwise, returning to the step A.
Specifically, the first preset state is an ignition state, and the second preset state is a flameout state.
Specifically, the first preset duration is 30 seconds.
Specifically, the first network mode is a flight mode, and the second network mode is a normal mode.
Specifically, the second preset time period is 1 second.
The invention further provides a T-BOX data network recovery device, which comprises a network judging module, a network identification module, a vehicle state module, a network switching module, a timing module, a dialing module and an identification clearing module;
the network judgment module is connected with the network identification module, the vehicle state module and the network switching module, the network identification module is connected with the dialing module and the identification clearing module, the network switching module is connected with the vehicle state module timing module, and the timing module is also connected with the vehicle state module;
the network judging module is used for judging the current network state of the T-BOX, wherein the network state comprises whether the network state is a network-resident state or not and whether a mobile signal is received or not;
the network identification module is used for identifying the current network residence state of the T-BOX, and the identification comprises a residence network identification and a residence network failure identification;
the vehicle state module is used for judging whether the vehicle is in a preset state or not;
the network switching module is used for switching the network mode of the T-BOX;
the timing module is used for setting timing duration;
the dialing module is used for performing APN dialing;
the identification clearing module is used for clearing the resident network state identification of the network identification module.
Further, the system also comprises a SIM card detection module connected with the network judgment module and used for detecting whether the SIM card of the T-BOX is inserted or not.
Further, the system also comprises a signal strength detection module connected with the network judgment module and used for judging whether the current signal strength value of the T-BOX is larger than a signal normal threshold value.
The invention has the beneficial effects that: according to the invention, after judging that the current network of the T-BOX is not in the network parking state, when further judging that the vehicle is in the preset state, the network mode of the T-BOX is switched, so that successful network parking is realized, and the function of automatically recovering the data network after the deactivation and activation of the T-BOX is realized.
Drawings
FIG. 1 is a flow chart of a method of recovering a T-BOX data network of the present invention;
FIG. 2 is a schematic diagram of a T-BOX data network recovery device of the present invention;
FIG. 3 is another schematic diagram of a T-BOX data network recovery device of the present invention;
fig. 4 is another structural diagram of the T-BOX data network restoration device of the present invention.
Detailed Description
Embodiments of the present invention will now be described in detail with reference to the accompanying drawings, which are for reference and illustration only, and are not intended to limit the scope of the invention.
As shown in fig. 1, an aspect of an embodiment of the present invention provides a method for recovering a T-BOX data network, including:
step 1, judging whether the current network of the T-BOX is in a network residence state, if so, setting a network residence identification and entering a step 5, otherwise, setting a network residence failure identification and entering a next step.
The network residence refers to a process that the mobile terminal sends a wireless network registration request to a base station where the current area is located according to the information of the network service operator stored in the SIM card of the mobile terminal. The current network residence status of the network may be queried by an "AT CREG.
And 2, judging whether the vehicle provided with the T-BOX is in a first preset state, if so, continuously monitoring the first preset time period, and then entering the next step, otherwise, entering the step 4.
And 3, judging whether the vehicle is in a second preset state, if so, entering the next step, and otherwise, returning to the step 2.
In this embodiment, the first preset state is an ignition state, and the second preset state is a flameout state. The first preset duration is 30 seconds.
And 4, switching the network of the T-BOX to a first network mode, delaying for a second preset time period, switching to a second network mode, and returning to the step 1.
In this embodiment, the first network mode is a flight mode, and the second network mode is a normal mode. The second preset time period is 1 second.
And automatically searching the base station network again after the T-BOX is switched by the network mode, and sending a network residence request.
And 5, judging whether the T-BOX currently receives a moving signal, if so, entering the next step, otherwise, entering the step 8.
If the T-BOX has currently received a mobile signal (e.g., a 4G/5G signal), indicating successful network camping, a redial connection may be made; if the T-BOX does not receive the mobile signal currently, the T-BOX is still in a deactivated or arrearage state, and the next time the network is activated, the network is retried.
And 6, judging whether the T-BOX currently receives a mobile data signal, if so, entering a step 8, otherwise, entering the next step.
And 7, controlling the T-BOX to dial the APN.
The APN is also known as Access Point Name, i.e. the "access point name" setting, is a parameter that the user has to configure when surfing the internet through the mobile terminal, and it determines which access mode the user's mobile terminal accesses the mobile network.
And 8, clearing the resident network identification of the T-BOX, and returning to the step 1.
In another embodiment of the present invention, before the step 1, the method further includes:
and step A, detecting whether the SIM card of the T-BOX is inserted, if so, entering the next step, otherwise, repeating the step.
In another embodiment of the present invention, before the step 1, after the step a, the method further includes:
and B, judging whether the current signal strength value of the T-BOX is larger than a signal normal threshold value, if so, entering the next step, otherwise, returning to the step A.
The signal normal threshold may be obtained by trial calibration and is generally set to 12.
As shown in fig. 2, another aspect of the present invention provides a T-BOX data network recovery apparatus, which includes a network judgment module, a network identification module, a vehicle status module, a network switching module, a timing module, a dialing module, and an identification clearing module;
the network judgment module is connected with the network identification module, the vehicle state module and the network switching module, the network identification module is connected with the dialing module and the identification clearing module, the network switching module is connected with the vehicle state module timing module, and the timing module is also connected with the vehicle state module;
the network judging module is used for judging the current network state of the T-BOX, wherein the network state comprises whether the network state is a network-resident state or not and whether a mobile signal is received or not;
the network identification module is used for identifying the current network residence state of the T-BOX, and the identification comprises a residence network identification and a residence network failure identification;
the vehicle state module is used for judging whether the vehicle is in a preset state or not;
the network switching module is used for switching the network mode of the T-BOX;
the timing module is used for setting timing duration;
the dialing module is used for performing APN dialing;
the identification clearing module is used for clearing the resident network state identification of the network identification module.
The working process is as follows:
firstly, the network judging module judges whether the current network of the T-BOX is in a network-resident state:
a) When the judging result is in a network-resident state, the network identification module sets a network-resident identification, the network judging module judges whether the T-BOX currently receives a mobile signal or not, if yes, the network judging module further judges whether the mobile data signal is received or not, otherwise, the identification clearing module clears the network-resident identification of the T-BOX, and informs the network judging module of judging whether the current network of the T-BOX is in the network-resident state again; when the mobile data signal is not received, the dialing module controls the T-BOX to carry out APN dialing, the identification clearing module clears the resident network identification of the T-BOX, and informs the network judging module to judge whether the current network of the T-BOX is in a resident network state again.
B) When the network identification module sets a network failure identification after the network failure is judged, the vehicle state module judges whether a vehicle provided with the T-BOX is in an ignition state or not, if yes, the timing module sets a first preset duration (for example, 30 seconds), the vehicle state module continuously monitors the first preset duration and judges whether the vehicle is in a flameout state or not, if yes, the network switching module switches the network of the T-BOX to a first network mode (for example, a flight mode), and switches the vehicle to a second network mode (for example, a normal mode) after delaying for a second preset duration (for example, 1 second), otherwise, the timing module clears, and the vehicle state module monitors whether the vehicle is in the ignition state again. When the network switching module switches the network mode of the T-BOX, the network judging module needs to judge whether the current network of the T-BOX is in a network residence state again, when the judging result is in the network residence state, the network identification module sets a network residence identification, the network judging module judges whether the T-BOX currently receives a mobile signal or not, if yes, whether a mobile data signal is received or not is further judged, otherwise, the identification clearing module clears the network residence identification of the T-BOX, and notifies the network judging module to judge whether the current network of the T-BOX is in the network residence state again; when the mobile data signal is not received, the dialing module controls the T-BOX to carry out APN dialing, the identification clearing module clears the resident network identification of the T-BOX, and informs the network judging module to judge whether the current network of the T-BOX is in a resident network state again.
In another embodiment of the present invention, as shown in fig. 3, the T-BOX data network recovery device further includes a SIM card detection module connected to the network judgment module, for detecting whether a SIM card of the T-BOX is inserted.
In another embodiment of the present invention, as shown in fig. 4, the T-BOX data network recovery apparatus further includes a signal strength detection module connected to the network determination module, for determining whether the current signal strength value of the T-BOX is greater than a signal normal threshold.
The above disclosure is illustrative of the preferred embodiments of the present invention and should not be construed as limiting the scope of the invention, which is defined by the appended claims.

Claims (10)

1. A method for recovering a T-BOX data network, comprising:
step 1, judging whether the current network of the T-BOX is in a network residence state, if so, setting a network residence identification and entering a step 5, otherwise, setting a network residence failure identification and entering a next step;
step 2, judging whether the vehicle provided with the T-BOX is in a first preset state, if so, continuously monitoring the first preset time period, and then entering the next step, otherwise, entering the step 4;
step 3, judging whether the vehicle is in a second preset state, if so, entering the next step, otherwise, returning to the step 2;
step 4, switching the network of the T-BOX to a first network mode, delaying for a second preset time period, switching to a second network mode, and returning to the step 1;
step 5, judging whether the T-BOX currently receives a moving signal, if yes, entering the next step, otherwise, entering the step 8;
step 6, judging whether the T-BOX currently receives a mobile data signal, if yes, entering a step 8, otherwise, entering a next step;
step 7, controlling the T-BOX to dial APN;
and 8, clearing the resident network identification of the T-BOX, and returning to the step 1.
2. The T-BOX data network restoration method according to claim 1, further comprising, before the step 1:
and step A, detecting whether the SIM card of the T-BOX is inserted, if so, entering the next step, otherwise, repeating the step.
3. The T-BOX data network restoration method according to claim 2, further comprising, before the step 1, after the step a:
and B, judging whether the current signal strength value of the T-BOX is larger than a signal normal threshold value, if so, entering the next step, otherwise, returning to the step A.
4. The method of claim 1, wherein the first preset state is an ignition state and the second preset state is a flameout state.
5. The T-BOX data network restoration method according to claim 1, wherein the first preset time period is 30 seconds.
6. The T-BOX data network restoration method according to claim 1, wherein the first network mode is a flight mode and the second network mode is a normal mode.
7. The T-BOX data network restoration method according to claim 1, wherein the second preset time period is 1 second.
8. A T-BOX data network restoration apparatus, comprising: the system comprises a network judging module, a network identification module, a vehicle state module, a network switching module, a timing module, a dialing module and an identification clearing module;
the network judgment module is connected with the network identification module, the vehicle state module and the network switching module, the network identification module is connected with the dialing module and the identification clearing module, the network switching module is connected with the vehicle state module and the timing module, and the timing module is also connected with the vehicle state module;
the network judging module is used for judging the current network state of the T-BOX, wherein the network state comprises whether the network state is a network-resident state or not and whether a mobile signal is received or not;
the network identification module is used for identifying the current network residence state of the T-BOX, and the identification comprises a residence network identification and a residence network failure identification;
the vehicle state module is used for judging whether the vehicle is in a preset state or not;
the network switching module is used for switching the network mode of the T-BOX;
the timing module is used for setting timing duration;
the dialing module is used for performing APN dialing;
the identification clearing module is used for clearing the resident network state identification of the network identification module;
the network judging module judges whether the current network of the T-BOX is in a network residence state, when the judging result is that the network residence fails, the network identification module sets a network residence failure identification, the vehicle state module judges whether a vehicle provided with the T-BOX is in an ignition state or not, if so, the timing module sets a first preset duration, the vehicle state module continuously monitors the first preset duration and judges whether the vehicle is in a flameout state or not, if so, the network switching module switches the network of the T-BOX to a first network mode, and switches the vehicle to a second network mode after delaying a second preset duration.
9. The T-BOX data network restoration apparatus according to claim 8, further comprising a SIM card detection module connected to the network judgment module for detecting whether a SIM card of the T-BOX is inserted.
10. The T-BOX data network restoration apparatus according to claim 9, further comprising a signal strength detection module connected to the network determination module for determining whether a current signal strength value of the T-BOX is greater than a signal normal threshold.
CN201911205246.1A 2019-11-29 2019-11-29 T-BOX data network recovery method and device Active CN111065069B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911205246.1A CN111065069B (en) 2019-11-29 2019-11-29 T-BOX data network recovery method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911205246.1A CN111065069B (en) 2019-11-29 2019-11-29 T-BOX data network recovery method and device

Publications (2)

Publication Number Publication Date
CN111065069A CN111065069A (en) 2020-04-24
CN111065069B true CN111065069B (en) 2023-07-14

Family

ID=70299343

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911205246.1A Active CN111065069B (en) 2019-11-29 2019-11-29 T-BOX data network recovery method and device

Country Status (1)

Country Link
CN (1) CN111065069B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113973295B (en) * 2020-07-24 2023-03-24 华为技术有限公司 Network access control method, related device, equipment and computer storage medium
CN113660633B (en) * 2021-07-28 2023-05-12 东风汽车集团股份有限公司 Vehicle network connection dialing method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6496941B1 (en) * 1998-12-29 2002-12-17 At&T Corp. Network disaster recovery and analysis tool
CN105392166A (en) * 2015-11-06 2016-03-09 广东欧珀移动通信有限公司 Method and apparatus for data network switching of dual-card electronic terminal
CN107040949A (en) * 2017-06-12 2017-08-11 北京小米移动软件有限公司 In network method, device and computer-readable recording medium
CN109640347A (en) * 2019-02-28 2019-04-16 努比亚技术有限公司 Journal file automatically grabs method, apparatus, mobile terminal and readable storage medium storing program for executing

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6496941B1 (en) * 1998-12-29 2002-12-17 At&T Corp. Network disaster recovery and analysis tool
CN105392166A (en) * 2015-11-06 2016-03-09 广东欧珀移动通信有限公司 Method and apparatus for data network switching of dual-card electronic terminal
CN107040949A (en) * 2017-06-12 2017-08-11 北京小米移动软件有限公司 In network method, device and computer-readable recording medium
CN109640347A (en) * 2019-02-28 2019-04-16 努比亚技术有限公司 Journal file automatically grabs method, apparatus, mobile terminal and readable storage medium storing program for executing

Also Published As

Publication number Publication date
CN111065069A (en) 2020-04-24

Similar Documents

Publication Publication Date Title
EP1427240B1 (en) Cell search method for use in a mobile radio terminal adaptable to at least two kinds of mobile telephone systems
CN111065069B (en) T-BOX data network recovery method and device
US20030190030A1 (en) Telecommunications modem deactivation control method and apparatus
CN107592634B (en) Method and system for realizing multi-network coverage based on cloud SIM technology
CN109429293A (en) Network mode switching method, user terminal and computer readable storage medium
CN103906189A (en) Method and device for network searching and terminal
US8700036B2 (en) Method for resolving conflict between network searching and traffic and multi-card multi-standby mobile phone
CN107809769B (en) Cell control method and device
CN105517088A (en) Switching method and switching system for circuit switched fallback
CN116095719A (en) Connection configuration method and device, communication equipment and storage medium
CN101754300A (en) Wireless signal switching method
CN101674635A (en) Method and user device for solving call restriction between different systems
CN103763746A (en) Network switching device and network switching method
CN104303584A (en) Method, device and computer program for reporting radio link failures (RLF) for cellular communication based on communication links enabled on at least two different access technologies
JPH11285058A (en) Channel selecting method
CN108605217B (en) Communication processing method and device
CN112042226A (en) Base station switching method, equipment and storage medium
CN111465094A (en) Position updating method, system and terminal in combined attachment mode
CN113498131A (en) Automatic network switching method of intelligent terminal and intelligent terminal
EP1974566B1 (en) A method for mobile communications, a mobile communication device and a node in a mobile communications network for reducing the call setup delay
CN103684548A (en) Terminal and wireless device connecting method
CN104254090A (en) Method, terminal, base station and system capable of realizing automatic neighbor relation establishment
CN102083156A (en) District reselection method among wireless access technology and wireless communication terminal
CN108235826B (en) CSFB (Circuit switched Fall Back) fall result detection method and device and computer storage medium
WO2023197577A1 (en) Network camping method and apparatus, electronic device, 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