CN104320792A - Method of processing communication device if anomaly of GPRS (General Packet Radio Service) network occurs - Google Patents

Method of processing communication device if anomaly of GPRS (General Packet Radio Service) network occurs Download PDF

Info

Publication number
CN104320792A
CN104320792A CN201410334253.2A CN201410334253A CN104320792A CN 104320792 A CN104320792 A CN 104320792A CN 201410334253 A CN201410334253 A CN 201410334253A CN 104320792 A CN104320792 A CN 104320792A
Authority
CN
China
Prior art keywords
communication equipment
gprs network
gprs
network
communication device
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
CN201410334253.2A
Other languages
Chinese (zh)
Other versions
CN104320792B (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.)
Ningbo Yilian Electronic Co.,Ltd.
Original Assignee
FENGHUA BODAO SOFTWARE 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 FENGHUA BODAO SOFTWARE Co Ltd filed Critical FENGHUA BODAO SOFTWARE Co Ltd
Priority to CN201410334253.2A priority Critical patent/CN104320792B/en
Publication of CN104320792A publication Critical patent/CN104320792A/en
Application granted granted Critical
Publication of CN104320792B publication Critical patent/CN104320792B/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 invention relates to a method of processing a communication device if the anomaly of a GPRS (General Packet Radio Service) network occurs, and the method is used for processing the communication device if the anomaly of the GPRS network occurs. The method comprises the following steps of firstly, switching the GPRS network to an airplane mode and keeping the mode for a period of time when the GPRS network of the communication device has an anomaly, and then switching the GPRS network to a normal mode again to carry out automatic connection of the GPRS network; secondly, according to the frequency for once more automatic connection of the GPRS network and the network connection status, recording the current time, setting a restart mark, restarting the communication device and reading the restart mark again; and lastly, completing the connection of the GPRS network of the communication device and the normal opening operation of the communication function in sequence according to a reading result of the restart mark. According to the method, when the GPRS network has the anomaly, the communication device is capable of timely and quickly repairing the GPRS function and automatically carrying out the connection of the GRPS network, so that long-time interrupts of the network communication cannot be caused by the abnormal condition, and thus the normal work of the communication device is guaranteed.

Description

Processing method after a kind of communication equipment GPRS network is abnormal
Technical field
The present invention relates to the communications field, particularly relate to the processing method after a kind of communication equipment GPRS network exception.
Background technology
Along with the development of wireless communication technology, various Wireless Telecom Equipment emerges in multitude, and GPRS (General Packet Radio Service, be called for short GPRS) as the important Radio Transmission Technology of wireless communication field, be widely used in communication equipment miscellaneous, especially more extensive with the communication equipment in Internet of Things field, as communication equipments such as positioning tracker, environment monitoring equipment, intelligent electric meter, Wearable.
GPRS, also known as general packet radio service technology, is the key technology between 2G technology and 3G technology, is referred to as 2.5G technology visually by people, be gsm mobile telephone user can a kind of mobile data services.GPRS, from the continuous mode in channel transmission was different in the past, is transmit with package formula, and the expense that therefore user bears calculates with its data transmission unit, and do not need the time considering GPRS unlatching.Relative to the access speed of the 9.6kbps of GSM, GPRS has the access speed of 171.2kbps; In network connection setup time, GSM needs 10 ~ 30 seconds, and GPRS only needs the extremely short time just can have access to association requests; For expense, GSM is by connect hours charging, and GPRS only needs by data traffic charging; In the utilance of Internet resources, GPRS is much higher far away relative to the network utilization of GSM.If user is only unlocked the GPRS of communication equipment, and does not carry out the transmission of data, then can not produce any data expense to user; Only have when user utilizes GPRS to carry out transfer of data, just can produce certain data expense to user.
The transmission speed higher based on GPRS and relatively cheap cost of use, various communication equipment great majority adopt GPRS to carry out network service.But, communication equipment utilize GPRS carry out network connect and transfer of data process in, often due to the impact of communication equipment or surrounding signals intensity, cause GPRS network not connect, thus make communication equipment cisco unity malfunction, affect the normal user demand of people.
Summary of the invention
Technical problem to be solved by this invention provides a kind of when communication equipment GPRS network can not normally connect for above-mentioned prior art, and communication equipment can realize the processing method of GPRS network after the communication equipment GPRS network be dynamically connected is abnormal.
The present invention's adopted technical scheme that solves the problem is: the processing method after a kind of communication equipment GPRS network is abnormal, for processing the communication equipment of GPRS network exception, is characterized in that, comprising the following steps:
(1) whether normally communication equipment detects GPRS network connection status, and carries out judgement operation according to the GPRS network connection status detected:
(1-1) when GPRS network connection status is normal, then logging in network, starts the proper communication function of communication equipment;
(1-2) when GPRS network connection status occurs abnormal, then the operation of step (2) is performed;
(2) communication equipment carries out from being dynamically connected GPRS network, and when GPRS network reaches N from the number of times that is dynamically connected 1time, the network schemer of communication equipment is switched to offline mode, N 1for natural number;
(3), after the offline mode retention time reaches M second, the network schemer of communication equipment is switched to normal mode by offline mode, and again connects GPRS network, M is positive number;
(4) when GPRS network connection status is normal, then the operation of step (1-1) is performed; When GPRS network connects N 2secondary, and when GPRS network fails normally to connect, then perform the operation of step (5), N 2for natural number;
(5) current time t is recorded 0, reboot flag is set, restarts communication equipment, and communication equipment is switched to normal startup mode, t 0for positive number;
(6) reboot flag, current time t in communication equipment read step (5) 0, and communication equipment restart the time Δ t expended, Δ t is positive number, and carries out judgement operation according to the reading result of reboot flag:
(6-1) when communication equipment does not read reboot flag, then networking operation is carried out according to normal networking step;
(6-2) when communication equipment reads reboot flag, then the current time T=t of communication equipment is set 0+ Δ t; And carry out networking operation according to normal networking step, then perform the operation of step (7), T is positive number;
(7) whether communication equipment normally detects GPRS network connection status again, and carries out judgement operation according to testing result:
(7-1) when GPRS network realizes normally connecting, then logging in network, the webserver time T that deletes reboot flag, acquisition is set serverfor the proper communication function of communication equipment current time, open communication equipment, T serverfor positive number;
(7-2) when GPRS network fails to realize normally connecting, then the operation of step (1) is performed.
Further, the proper communication function of described communication equipment comprises the combination in any of GPS positioning function or navigation feature or warning function or audio video transmission function or GPS positioning function, navigation feature, warning function, audio video transmission function.
Further, described offline mode retention time M, GPRS network are from being dynamically connected times N 1and N 2own characteristic respectively according to communication equipment is arranged.
Compared with prior art, the invention has the advantages that: when the GPRS network of communication equipment occurs abnormal, first, GPRS network is switched to offline mode and keeps a period of time, and then be switched to normal mode and carry out certainly being dynamically connected of GPRS network; Secondly, according to GPRS network again from the number of times be dynamically connected and network connection state, record current time, reboot flag is set, and communication equipment is restarted, again read reboot flag; Finally, according to the reading result of reboot flag, complete the normal open operation of the connection of communication equipment GPRS network and communication function successively, thus realize communication equipment when GPRS network is abnormal, communication equipment can repair GPRS function in time fast, automatically carry out GPRS network connection, be unlikely to, because the network service that abnormal conditions cause is interrupted for a long time, to ensure that the normal work of communication equipment.
Accompanying drawing explanation
Fig. 1 is the process flow figure in the embodiment of the present invention after communication equipment GPRS network exception.
Embodiment
Below in conjunction with accompanying drawing embodiment, the present invention is described in further detail.
The communication equipment supposing to have GPRS function is positioning tracker, positioning tracker has GPS positioning function, according to the feature of positioning tracker self, positioning tracker restart expend time Δ t=28 second, offline mode retention time M=5 second of positioning tracker, GPRS network is from being dynamically connected times N 1=5, GPRS network is from being dynamically connected times N 2=10.
Below in conjunction with Fig. 1, the processing method after abnormal to this positioning tracker GPRS network is described in detail:
(1) whether normally positioning tracker detects GPRS network connection status, and carries out judgement operation according to the GPRS network connection status detected:
(1-1) when GPRS network connection status is normal, then logging in network, starts the GPS positioning function of positioning tracker;
(1-2) when GPRS network connection status occurs abnormal, then the operation of step (2) is performed;
(2) positioning tracker carries out from being dynamically connected to GPRS network, and when GPRS network reaches 5 times from the number of times that is dynamically connected, the network schemer of positioning tracker is switched to offline mode, and offline mode is herein also known as suspension pattern, and the network connecting function by positioning tracker is closed;
(3), after the offline mode retention time reaches 5 seconds, the network schemer of positioning tracker is switched to normal mode by offline mode, namely starts network connecting function, and GPRS network is connected again;
(4) when GPRS network connection status is normal, then the operation of step (1-1) is performed; When GPRS network connects 10 times, and when GPRS network fails normally to connect, then perform the operation of step (5);
(5) current time t is recorded 0, reboot flag is set, restarts positioning tracker, and positioning tracker is switched to normal startup mode; Normal startup mode herein refers to and is normally started by closed condition by positioning tracker, until positioning tracker is in opening;
(6) reboot flag, current time t in positioning tracker read step (5) 0, and positioning tracker to restart the time expended be Δ t=28 second, and carry out judgement operation according to the reading result of reboot flag:
(6-1) when positioning tracker does not read reboot flag, then networking operation is carried out according to normal networking step; Normal networking step refer to start positioning tracker network connecting function, open GPRS function, search GPRS network, login and set up GPRS network connect;
(6-2) when positioning tracker reads reboot flag, then the current time T=t of positioning tracker is set 0+ 28; And carry out networking operation according to normal networking step, then perform the operation of step (7);
(7) whether positioning tracker normally detects GPRS network connection status again, and carries out judgement operation according to testing result:
(7-1) when GPRS network realizes normally connecting, then the webserver time T input network user's name and password login network, deleting reboot flag, acquisition is set serverfor positioning tracker current time, i.e. T positioning tracker _ current=T server, open, log in the GPS of positioning tracker, thus realize positioning tracker and utilize GPRS to position the normal work of tracking;
(7-2) when GPRS network fails to realize normally connecting, then the operation of step (1) is performed.

Claims (3)

1. the processing method after communication equipment GPRS network exception, for processing the communication equipment of GPRS network exception, is characterized in that, comprising the following steps:
(1) whether normally communication equipment detects GPRS network connection status, and carries out judgement operation according to the GPRS network connection status detected:
(1-1) when GPRS network connection status is normal, then logging in network, starts the proper communication function of communication equipment;
(1-2) when GPRS network connection status occurs abnormal, then the operation of step (2) is performed;
(2) communication equipment carries out from being dynamically connected GPRS network, and when GPRS network reaches N1 from the number of times that is dynamically connected, the network schemer of communication equipment is switched to offline mode, N 1for natural number;
(3), after the offline mode retention time reaches M second, the network schemer of communication equipment is switched to normal mode by offline mode, and again connects GPRS network, M is positive number;
(4) when GPRS network connection status is normal, then the operation of step (1-1) is performed; When GPRS network connects N2 time, and when GPRS network fails normally to connect, then perform the operation of step (5), N 2for natural number;
(5) current time t is recorded 0, reboot flag is set, restarts communication equipment, and communication equipment is switched to normal startup mode, t 0for positive number;
(6) reboot flag, current time t in communication equipment read step (5) 0, and communication equipment restart the time Δ t expended, Δ t is positive number, and carries out judgement operation according to the reading result of reboot flag:
(6-1) when communication equipment does not read reboot flag, then networking operation is carried out according to normal networking step;
(6-2) when communication equipment reads reboot flag, then the current time T=t of communication equipment is set 0+ Δ t; And carry out networking operation according to normal networking step, then perform the operation of step (7), T is positive number;
(7) whether communication equipment normally detects GPRS network connection status again, and carries out judgement operation according to testing result:
(7-1) when GPRS network realizes normally connecting, then logging in network, the webserver time T that deletes reboot flag, acquisition is set serverfor the proper communication function of communication equipment current time, open communication equipment, T serverfor positive number;
(7-2) when GPRS network fails to realize normally connecting, then the operation of step (1) is performed.
2. the processing method after communication equipment GPRS network exception according to claim 1, it is characterized in that, the proper communication function of described communication equipment comprises the combination in any of GPS positioning function or navigation feature or warning function or audio video transmission function or GPS positioning function, navigation feature, warning function, audio video transmission function.
3. the processing method after communication equipment GPRS network exception according to claim 1, it is characterized in that, described offline mode retention time M, GPRS network are from being dynamically connected times N 1and N 2own characteristic respectively according to communication equipment is arranged.
CN201410334253.2A 2014-07-15 2014-07-15 A kind of processing method after communication equipment GPRS network exception Active CN104320792B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410334253.2A CN104320792B (en) 2014-07-15 2014-07-15 A kind of processing method after communication equipment GPRS network exception

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410334253.2A CN104320792B (en) 2014-07-15 2014-07-15 A kind of processing method after communication equipment GPRS network exception

Publications (2)

Publication Number Publication Date
CN104320792A true CN104320792A (en) 2015-01-28
CN104320792B CN104320792B (en) 2017-12-01

Family

ID=52375944

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410334253.2A Active CN104320792B (en) 2014-07-15 2014-07-15 A kind of processing method after communication equipment GPRS network exception

Country Status (1)

Country Link
CN (1) CN104320792B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106653416A (en) * 2016-10-28 2017-05-10 国网天津市电力公司 Tool for communication equipment hardware restart
CN107147805A (en) * 2017-06-22 2017-09-08 宇龙计算机通信科技(深圳)有限公司 A kind of processing method and processing device of off-line of mobile station
CN107277800A (en) * 2017-07-05 2017-10-20 宇龙计算机通信科技(深圳)有限公司 Note net processing method and electronic equipment
CN109495909A (en) * 2018-12-13 2019-03-19 广东天波信息技术股份有限公司 The mobile network's control method and device of Android device
CN111103607A (en) * 2019-12-30 2020-05-05 维沃移动通信有限公司 Positioning prompting method and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201937692U (en) * 2010-12-23 2011-08-17 上海华勤通讯技术有限公司 Mobile phone capable of being self-adaptive to communication environment
CN102378132A (en) * 2011-10-09 2012-03-14 惠州Tcl移动通信有限公司 Method and device for locating causes of unavailability of mobile terminal network
CN102404777A (en) * 2011-12-01 2012-04-04 浪潮电子信息产业股份有限公司 Method based wireless network management
CN103634855A (en) * 2013-10-30 2014-03-12 酷派软件技术(深圳)有限公司 Method of accessing terminal into LTE (Long Term Evolution) network and terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201937692U (en) * 2010-12-23 2011-08-17 上海华勤通讯技术有限公司 Mobile phone capable of being self-adaptive to communication environment
CN102378132A (en) * 2011-10-09 2012-03-14 惠州Tcl移动通信有限公司 Method and device for locating causes of unavailability of mobile terminal network
CN102404777A (en) * 2011-12-01 2012-04-04 浪潮电子信息产业股份有限公司 Method based wireless network management
CN103634855A (en) * 2013-10-30 2014-03-12 酷派软件技术(深圳)有限公司 Method of accessing terminal into LTE (Long Term Evolution) network and terminal

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106653416A (en) * 2016-10-28 2017-05-10 国网天津市电力公司 Tool for communication equipment hardware restart
CN107147805A (en) * 2017-06-22 2017-09-08 宇龙计算机通信科技(深圳)有限公司 A kind of processing method and processing device of off-line of mobile station
CN107147805B (en) * 2017-06-22 2020-06-05 宇龙计算机通信科技(深圳)有限公司 Mobile terminal offline processing method and device
CN107277800A (en) * 2017-07-05 2017-10-20 宇龙计算机通信科技(深圳)有限公司 Note net processing method and electronic equipment
CN109495909A (en) * 2018-12-13 2019-03-19 广东天波信息技术股份有限公司 The mobile network's control method and device of Android device
CN111103607A (en) * 2019-12-30 2020-05-05 维沃移动通信有限公司 Positioning prompting method and electronic equipment
CN111103607B (en) * 2019-12-30 2022-04-29 维沃移动通信有限公司 Positioning prompting method and electronic equipment

Also Published As

Publication number Publication date
CN104320792B (en) 2017-12-01

Similar Documents

Publication Publication Date Title
CN104320792A (en) Method of processing communication device if anomaly of GPRS (General Packet Radio Service) network occurs
US20170302774A1 (en) Method and apparatus for cellular network backup connectivity
KR20180085214A (en) Method for internet of things communication and an electronic device thereof
CN103619019A (en) Network access authentication method for wireless network
CN104618854A (en) Method, terminal and server for sharing location information
KR20160058546A (en) Communication device of vehicle
CN103561070A (en) Method, device and system for prompting whether portable positioning device arrives on time or not
CN104918298A (en) Network connection control method and apparatus, and mobile terminal
CN105517192A (en) Wireless network connecting method and device
CN104426710A (en) Monitoring evidence obtaining method and system
RU2008131946A (en) METHOD AND DEVICE FOR PERFORMING TRANSMISSION USING SUBNET NETWORK SERVICES
CN107241216A (en) Maintain the method and device of the stable transmission of critical data
CN104423530B (en) Mobile device electricity-saving control method, device and mobile device, host terminal
CN103546862A (en) Cloud server, intelligent terminal and method and system for accessing intelligent terminal to LTE (long term evolution) network
CN102291692B (en) A kind of method of mobile terminal and Dynamic Selection communication network thereof
CN202094943U (en) GPRS vehicle-mounted communication system having FTP remote wireless upgrade function
CN205263528U (en) Intelligent home control system
WO2021063251A1 (en) Site management method applied to communication system and related device
CN203894415U (en) Electromagnetic-compatibility control equipment for Beidou mobile terminal
CN112134728B (en) Method and device for locating loss of contact reason, electronic equipment and storage medium
CN105376787B (en) A kind of processing method and application processor of network communicating function exception
CN104378806A (en) Information processing method and terminal device
CN104394188A (en) Method and system for data transmission in Internet of Vehicles
CN109756933B (en) Method and device for realizing low-power-consumption communication
CN105141688A (en) Method and system for interaction of neighboring car owners based on automobile data recorder

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20200917

Address after: 315500 East Yuelin Road, Fenghua District, Ningbo City, Zhejiang Province, 499

Patentee after: Ningbo Yilian Electronic Co.,Ltd.

Address before: 315500 No. 999 Dacheng East Road, Zhejiang, Fenghua

Patentee before: FENGHUA BODAO SOFTWARE Co.,Ltd.

TR01 Transfer of patent right
CP02 Change in the address of a patent holder

Address after: 315500 No. 999 Dacheng East Road, Fenghua District, Zhejiang, Ningbo

Patentee after: Ningbo Yilian Electronic Co.,Ltd.

Address before: 315500 East Yuelin Road, Fenghua District, Ningbo City, Zhejiang Province, 499

Patentee before: Ningbo Yilian Electronic Co.,Ltd.

CP02 Change in the address of a patent holder