CN104320792B - A kind of processing method after communication equipment GPRS network exception - Google Patents

A kind of processing method after communication equipment GPRS network exception Download PDF

Info

Publication number
CN104320792B
CN104320792B CN201410334253.2A CN201410334253A CN104320792B CN 104320792 B CN104320792 B CN 104320792B CN 201410334253 A CN201410334253 A CN 201410334253A CN 104320792 B CN104320792 B CN 104320792B
Authority
CN
China
Prior art keywords
communication equipment
gprs network
gprs
network
normal
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
CN201410334253.2A
Other languages
Chinese (zh)
Other versions
CN104320792A (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 present invention relates to the processing method after communication equipment GPRS network exception, for handling the abnormal communication equipment of GPRS network.When communication equipment GPRS network occurs abnormal, first, GPRS network is switched to offline mode and kept for a period of time, then again switch to the automatic connection that normal mode carries out GPRS network;Secondly, the number and network connection state connected automatically again according to GPRS network, record current time, reboot flag is set, communication equipment is restarted, again reads off reboot flag;Finally, according to the reading result of reboot flag, it is sequentially completed the connection of communication equipment GPRS network and the normally-open operation of communication function, realize communication equipment in GPRS network exception, communication equipment can quickly repair GPRS functions in time, it is automatic to carry out GPRS network connection, it is unlikely to, because abnormal conditions cause network service to be interrupted for a long time, to ensure that the normal work of communication equipment.

Description

A kind of processing method after communication equipment GPRS network exception
Technical field
The present invention relates to the processing method behind the communications field, more particularly to a kind of communication equipment GPRS network exception.
Background technology
With the continuous development of wireless communication technology, various Wireless Telecom Equipments emerge in multitude, and GPRS (General Packet Radio Service, abbreviation GPRS) important Radio Transmission Technology as wireless communication field, it is widely used It is especially more extensive with the communication equipment of Internet of Things field in miscellaneous communication equipment, such as positioning tracker, environmental monitoring The communication equipments such as equipment, intelligent electric meter, Wearable.
GPRS, also known as general packet radio service technology, are the key technologies between 2G technologies and 3G technology, by people Visually be referred to as 2.5G technologies, be a kind of available mobile data services of gsm mobile telephone user.GPRS with it is in the past continuous It is in the mode of channel transmission different, it is to be transmitted with package formula, therefore the expense that user is born is with its data transmission list Position calculates, the time opened without considering GPRS.Relative to GSM 9.6kbps access speed, GPRS possesses 171.2kbps access speed;In terms of network connection settling time, GSM need 10~30 seconds, and GPRS only need it is extremely short Time can has access to association requests;For expense, GSM is by Connection Time charging, and GPRS is only needed by number According to charge on traffic;In terms of the utilization rate of Internet resources, GPRS relative to GSM network utilization will be much high it is more.If User is only unlocked the GPRS of communication equipment, the transmission without carrying out data, then will not produce any data to user Expense;Only when user is carried out data transmission using GPRS, certain data expense can be just produced to user.
Used based on transmission speed higher GPRS and most of relatively cheap cost of use, various communication equipments GPRS carries out network service.However, communication equipment is using GPRS during network connection and data transfer is carried out, often by In the influence of communication equipment or surrounding signals intensity, GPRS network is caused not connect, so that communication equipment is not Energy normal work, influence the normal use demand of people.
The content of the invention
The technical problems to be solved by the invention are to provide one kind in communication equipment GPRS network for above-mentioned prior art When can not normally connect, communication equipment can realize the processing after the communication equipment GPRS network exception that GPRS network connects automatically Method.
Technical scheme is used by the present invention solves the above problems:A kind of processing after communication equipment GPRS network exception Method, for handling the abnormal communication equipment of GPRS network, it is characterised in that comprise the following steps:
(1) whether communication equipment detection GPRS network connection status is normal, and according to the GPRS network connection status of detection Carry out judgement operation:
(1-1) then logging in network, starts the proper communication function of communication equipment when GPRS network connection status is normal;
(1-2) then performs the operation of step (2) when GPRS network connection status occurs abnormal;
(2) communication equipment is connected automatically to GPRS network, and reaches N when GPRS network connects number automatically1When, will The network mode of communication equipment is switched to offline mode, N1For natural number;
(3) after the offline mode retention time reaches the M seconds, the network mode of communication equipment is switched to normally by offline mode Pattern, and GPRS network is attached again, 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 N2It is secondary, And GPRS network then performs the operation of step (5), N when failing normally to connect2For natural number;
(5) current time t is recorded0, reboot flag is set, restarts communication equipment, and communication equipment is switched to just Normal start-up mode, t0For positive number;
(6) reboot flag in communication equipment read step (5), current time t0And communication equipment restarts consuming Time Δ t, Δ t are positive number, and carry out judgement operation according to the reading result of reboot flag:
(6-1) then carries out networking operation when communication equipment does not read reboot flag according to normal networking step;
(6-2) then sets the current time T=t of communication equipment when communication equipment reads reboot flag0+Δt;And Networking operation is carried out according to normal networking step, then performs the operation of step (7), T is positive number;
(7) whether communication equipment is normally carried out detecting to GPRS network connection status again, and is carried out according to testing result Judge operation:
(7-1) when GPRS network realizes normal connection, then logging in network, delete reboot flag, the network obtained be set Server time TServerFor communication equipment current time, the proper communication function of open communication equipment, TServerFor positive number;
(7-2) then performs the operation of step (1) when GPRS network fails to realize normal connection.
Further, the proper communication function of the communication equipment includes GPS location function or navigation feature or alarm work( Energy or audio video transmission function or GPS location function, navigation feature, warning function, any combination of audio video transmission function.
Further, offline mode retention time M, GPRS network connect times N automatically1And N2Respectively according to communication The own characteristic of equipment is configured.
Compared with prior art, the advantage of the invention is that:When the GPRS network of communication equipment occurs abnormal, first, GPRS network is switched to offline mode and kept for a period of time, then again switches to normal mode progress GPRS network oneself Dynamic connection;Secondly, the number and network connection state connected automatically again according to GPRS network, record current time, weight is set Mark is opened, and communication equipment is restarted, again reads off reboot flag;Finally, according to the reading result of reboot flag, successively The connection of communication equipment GPRS network and the normally-open operation of communication function are completed, so as to realize that communication equipment is different in GPRS network Chang Shi, communication equipment can quickly repair GPRS functions in time, automatically carry out GPRS network connection, be unlikely to because abnormal feelings Network service caused by condition is interrupted for a long time, ensure that the normal work of communication equipment.
Brief description of the drawings
Fig. 1 is the process flow figure after communication equipment GPRS network exception in the embodiment of the present invention.
Embodiment
The present invention is described in further detail below in conjunction with accompanying drawing embodiment.
Assuming that the communication equipment with GPRS functions is positioning tracker, positioning tracker has GPS location function, according to The characteristics of positioning tracker itself, Δ t=28 seconds time of positioning tracker restarting consuming, the flight mould of positioning tracker M=5 seconds formula retention time, GPRS network connect times N automatically1=5, GPRS network connects times N automatically2=10.
Below in conjunction with Fig. 1, the processing method after the positioning tracker GPRS network exception is described in detail:
(1) whether positioning tracker detection GPRS network connection status is normal, and connects shape according to the GPRS network of detection State carries out judgement operation:
(1-1) then logging in network, starts the GPS location function of positioning tracker when GPRS network connection status is normal;
(1-2) then performs the operation of step (2) when GPRS network connection status occurs abnormal;
(2) positioning tracker is connected automatically to GPRS network, and is reached 5 times when GPRS network connects number automatically When, the network mode of positioning tracker is switched to offline mode, offline mode herein is also known as suspension pattern, will position with The network connecting function of track device is closed;
(3) after the offline mode retention time reaches 5 seconds, the network mode of positioning tracker is switched to just by offline mode Norm formula, that is, start network connecting function, and GPRS network is attached again;
(4) when GPRS network connection status is normal, then the operation of step (1-1) is performed;When GPRS network connect 10 times, And GPRS network then performs the operation of step (5) when failing normally to connect;
(5) current time t is recorded0, reboot flag is set, restarts positioning tracker, and positioning tracker is switched To normal startup mode;Normal startup mode herein refers to by closed mode normally being started positioning tracker, directly Opening is in positioning tracker;
(6) reboot flag in positioning tracker read step (5), current time t0And positioning tracker restarts consumption The time taken is the Δ t=28 seconds, and carries out judgement operation according to the reading result of reboot flag:
(6-1) then carries out networking operation when positioning tracker does not read reboot flag according to normal networking step; Normal networking step refers to starting the network connecting function of positioning tracker, opens GPRS functions, search GPRS network, steps on Record and establish GPRS network connection;
(6-2) then sets the current time T=t of positioning tracker when positioning tracker reads reboot flag0+28; And networking operation is carried out according to normal networking step, then perform the operation of step (7);
(7) whether positioning tracker is normally carried out detecting to GPRS network connection status again, and is entered according to testing result Row judges operation:
(7-1) then inputs network user's name and password login network, deletes and restart when GPRS network realizes normal connection Mark, the webserver time T obtained is setServerFor positioning tracker current time, i.e. TPositioning tracker _ current=TServer, open, The GPS of positioning tracker is logged in, the normal work of locating and tracking is carried out so as to realize positioning tracker using GPRS;
(7-2) then performs the operation of step (1) when GPRS network fails to realize normal connection.

Claims (3)

  1. A kind of 1. processing method after communication equipment GPRS network exception, to the abnormal communication equipment of GPRS network Reason, it is characterised in that comprise the following steps:
    (1) whether communication equipment detection GPRS network connection status is normal, and is carried out according to the GPRS network connection status of detection Judge operation:
    (1-1) then logging in network, starts the proper communication function of communication equipment when GPRS network connection status is normal;
    (1-2) then performs the operation of step (2) when GPRS network connection status occurs abnormal;
    (2) communication equipment is connected automatically to GPRS network, and reaches N when GPRS network connects number automatically1When, it will communicate The network mode of equipment is switched to offline mode, N1For natural number;
    (3) after the offline mode retention time reaches the M seconds, the network mode of communication equipment is switched to normal mode by offline mode Formula, and GPRS network is attached again, 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 N2It is secondary, and When GPRS network fails normally to connect, then the operation of step (5), N are performed2For natural number;
    (5) current time t is recorded0, reboot flag is set, restarts communication equipment, and communication equipment is switched to normal startup Pattern, t0For positive number;
    (6) reboot flag in communication equipment read step (5), current time t0And communication equipment restarts the time Δ of consuming T, Δ t are positive number, and carry out judgement operation according to the reading result of reboot flag:
    (6-1) then carries out networking operation according to normal networking step, then held when communication equipment does not read reboot flag The operation of row step (7);
    (6-2) then sets the current time T=t of communication equipment when communication equipment reads reboot flag0+Δt;And according to just Normal networking step carries out networking operation, then performs the operation of step (7), T is positive number;
    (7) whether communication equipment is normally carried out detecting to GPRS network connection status again, and is judged according to testing result Operation:
    (7-1) when GPRS network realizes normal connection, then logging in network, delete reboot flag, the network service obtained be set Device time TServerFor communication equipment current time, the proper communication function of open communication equipment, TServerFor positive number;
    (7-2) then performs the operation of step (1) when GPRS network fails to realize normal connection.
  2. 2. the processing method after communication equipment GPRS network exception according to claim 1, it is characterised in that the communication The proper communication function of equipment includes GPS location function or navigation feature or warning function or audio video transmission function or GPS determines Bit function, navigation feature, warning function, any combination of audio video transmission function.
  3. 3. the processing method after communication equipment GPRS network exception according to claim 1, it is characterised in that the flight Mode holding time M, GPRS network connect times N automatically1And N2The own characteristic according to communication equipment is configured respectively.
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 CN104320792A (en) 2015-01-28
CN104320792B true 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)

Families Citing this family (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
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
CN111103607B (en) * 2019-12-30 2022-04-29 维沃移动通信有限公司 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

Also Published As

Publication number Publication date
CN104320792A (en) 2015-01-28

Similar Documents

Publication Publication Date Title
CN104320792B (en) A kind of processing method after communication equipment GPRS network exception
US20210344787A1 (en) Method and apparatus for cellular network backup connectivity
CN101835093B (en) A kind of method of automatically banning auxiliary function of mobile terminal
CN101603396B (en) Intelligent coffer and controlling method thereof
CN103686595B (en) State switching method and electronic equipment
CN104516479A (en) Mobile equipment power saving control method, equipment and system
MX2009013437A (en) Methods and apparatus for neighbor discovery of base stations in a communication system.
CN104091375A (en) A vehicle network monitoring system based on a Beidou positioning system
CN203870689U (en) Monitoring system on basis of Beidou positioning system for internet of vehicles
CN106570949A (en) An event data recorder network data querying method based on mobile terminals
CN106155260A (en) The system of server and management method and computer-readable recording medium
CN102802218B (en) terminal and terminal network control method
CN106102142B (en) terminal data processing method and device
CN107769978A (en) Management method, system, router and the server that a kind of terminal device networks
CN104918298A (en) Network connection control method and apparatus, and mobile terminal
CN103561435A (en) Multi-mode terminal and communication method
CN107959921A (en) A kind of positioning via network system and method based on BLE technologies
CN106020426B (en) A kind of method for releasing and device waking up lock
JP5605203B2 (en) Information processing apparatus, information management server, information processing method, information management method, program, and information processing system
CN105510947B (en) A kind of on-vehicle positioning terminal and vehicle positioning method
CN106101994B (en) The treating method and apparatus of warning message
CN101984641B (en) Mobile terminal and backlight control method thereof
CN107396408B (en) Method and system for recovering user service when communication link changes
CN103533626B (en) Dormancy awakening method based on cascading skip wireless communication network
CN113613239B (en) Network mode switching method, network mode switching device, medium, and electronic device

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