CN111741541B - Frequent reconnection method and system based on wireless communication module of power distribution terminal - Google Patents

Frequent reconnection method and system based on wireless communication module of power distribution terminal Download PDF

Info

Publication number
CN111741541B
CN111741541B CN202010524627.2A CN202010524627A CN111741541B CN 111741541 B CN111741541 B CN 111741541B CN 202010524627 A CN202010524627 A CN 202010524627A CN 111741541 B CN111741541 B CN 111741541B
Authority
CN
China
Prior art keywords
power distribution
communication module
distribution terminal
reconnection
frequent
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
CN202010524627.2A
Other languages
Chinese (zh)
Other versions
CN111741541A (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.)
State Grid Corp of China SGCC
Electric Power Research Institute of State Grid Hunan Electric Power Co Ltd
State Grid Hunan Electric Power Co Ltd
Original Assignee
State Grid Corp of China SGCC
Electric Power Research Institute of State Grid Hunan Electric Power Co Ltd
State Grid Hunan Electric Power 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 State Grid Corp of China SGCC, Electric Power Research Institute of State Grid Hunan Electric Power Co Ltd, State Grid Hunan Electric Power Co Ltd filed Critical State Grid Corp of China SGCC
Priority to CN202010524627.2A priority Critical patent/CN111741541B/en
Publication of CN111741541A publication Critical patent/CN111741541A/en
Application granted granted Critical
Publication of CN111741541B publication Critical patent/CN111741541B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/19Connection re-establishment

Landscapes

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

Abstract

The application discloses a frequent reconnection method and a system based on a wireless communication module of a power distribution terminal, wherein the method comprises the following steps: when the power distribution terminal detects own disconnection, the power distribution terminal automatically and sequentially sends N reconnection requests to the host, wherein N is an integer greater than 1; if the N reconnection requests are failed to be sent, the power distribution terminal automatically sleeps for K hours; and after the dormancy is finished, continuously sending a reconnection request to the host, wherein K is a rational number greater than 0. According to the frequent reconnection method and the frequent reconnection system based on the wireless communication module of the power distribution terminal, the frequent reconnection method is added on the basis of the original functions of the wireless module of the power distribution terminal, so that the power distribution terminal can frequently try to be connected with a main station after the power distribution terminal is disconnected, the service efficiency of the power distribution terminal is improved, and the monitoring and control of the power distribution terminal by the provincial power distribution information main station can be effectively realized.

Description

Frequent reconnection method and system based on wireless communication module of power distribution terminal
Technical Field
The application relates to the field of wireless communication of power distribution terminals, in particular to a frequent reconnection method and a frequent reconnection system based on a wireless communication module of a power distribution terminal.
Background
The global Internet and digital economic age are entered, the development trend of the integration of energy revolution and digital revolution is increasingly obvious, the traditional power distribution network technology and management mode do not meet the development of the power distribution network in the new age, advanced technology is urgently needed to be applied in depth, the power distribution network construction, operation and maintenance, management and service level are essentially improved, the crossing development is realized, and the energy transformation requirement is met. In the process of building a new power distribution network, upgrading and transformation of a power distribution terminal are unprecedented, and communication interconnection and data interaction between the power distribution terminal and a provincial master station become a foundation for ubiquitous power Internet of things construction. However, the special geographical structure of individual provinces causes the problems of frequent disconnection, long-term off-line and the like of the terminal due to the communication difficulty of the on-site partial power distribution terminal. The construction of the ubiquitous power Internet of things is greatly hindered, the workload of on-site operation and maintenance personnel is increased, and the consumption of time and labor is reduced when the disconnection fault of the power distribution terminal occurs.
Disclosure of Invention
The application provides a frequent reconnection method and a frequent reconnection system based on a wireless communication module of a power distribution terminal, which are used for solving the technical problems that the communication of the power distribution terminal is difficult, and the terminal is frequently disconnected and is not on line for a long time.
In order to solve the technical problems, the technical scheme provided by the application is as follows:
a frequent reconnection method based on a wireless communication module of a power distribution terminal comprises the following steps:
when the power distribution terminal detects that the power distribution terminal drops a line, the power distribution terminal automatically sends N reconnection requests to the host in sequence through a built-in communication module, wherein N is an integer greater than 1; if the N reconnection requests fail, the power distribution terminal controls the communication module to sleep for K hours, and after the communication module is in sleep, the power distribution terminal controls the communication module to continuously send a reconnection request to the host, wherein K is a rational number greater than 0.
Preferably, when the communication module is dormant, the power distribution terminal further performs the following steps:
initializing data in the communication module to delete abnormal data, and controlling the communication module to perform self-checking at the same time, wherein when the communication module detects a fault, the communication module also reports a signal of 'abnormal communication module' to the power distribution terminal.
Preferably, after the power distribution terminal is in sleep of the communication module, the communication module is controlled to continuously initiate M reconnection requests to the host; if the requests of the M reconnections fail, the power distribution terminal controls the communication module to restart, and after the communication module is restarted, the communication module is controlled to continuously send the request of the reconnection to the host, wherein M is an integer larger than N.
Preferably, the request for N reconnections is sent at equal time intervals, and the request for M reconnections is sent at equal time intervals.
A computer system comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of any of the methods described above when the computer program is executed.
The application has the following beneficial effects:
1. according to the frequent reconnection method and the frequent reconnection system based on the wireless communication module of the power distribution terminal, the frequent reconnection method is added on the basis of the original functions of the wireless module of the power distribution terminal, so that the power distribution terminal can frequently try to be connected with a main station after the power distribution terminal is disconnected, the service efficiency of the power distribution terminal is improved, and the monitoring and control of the power distribution terminal by the provincial power distribution information main station can be effectively realized.
In addition to the objects, features and advantages described above, the present application has other objects, features and advantages. The application will be described in further detail with reference to the accompanying drawings.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the application. In the drawings:
FIG. 1 is a flow chart of a frequent reconnection method based on a power distribution terminal wireless communication module in the present application;
fig. 2 is a flow chart of a frequent reconnection method based on a wireless communication module of a power distribution terminal in accordance with a preferred embodiment of the present application.
Detailed Description
Embodiments of the application are described in detail below with reference to the attached drawings, but the application can be implemented in a number of different ways, which are defined and covered by the claims.
Embodiment one:
as shown in fig. 1, the application discloses a frequent reconnection method based on a wireless communication module of a power distribution terminal, which comprises the following steps:
when the power distribution terminal detects that the power distribution terminal drops a line, the power distribution terminal automatically sends N reconnection requests to the host in sequence through a built-in communication module, wherein N is an integer greater than 1; if the N reconnection requests fail, the power distribution terminal controls the communication module to sleep for K hours, and after the communication module is in sleep, the power distribution terminal controls the communication module to continuously send a reconnection request to the host, wherein K is a rational number greater than 0.
In addition, in the embodiment, the application also discloses a computer system, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor executes the computer program to realize the steps of the method.
According to the frequent reconnection method and the frequent reconnection system based on the wireless communication module of the power distribution terminal, the frequent reconnection method is added on the basis of the original function of the wireless module of the power distribution terminal, so that the power distribution terminal can frequently try to be connected with a main station after the power failure, the service efficiency of the power distribution terminal is improved, the monitoring and the control of the power distribution terminal by a provincial power distribution information main station can be more effectively realized, the communication module is reconnected after dormancy, the communication module has an initialization process, abnormal data or signals which cause the power failure or reconnection failure of the terminal are generated in the operation process of the terminal in the initialization process, and the probability of reconnection success again is improved.
Embodiment two:
the second embodiment is an extended embodiment of the embodiments, which is different from the first embodiment in that the frequent reconnection method based on the wireless communication module of the power distribution terminal is refined.
As shown in fig. 2, the frequent reconnection method based on the wireless communication module of the power distribution terminal in the application comprises the following steps:
step 1: the power distribution terminal detects whether the power distribution terminal drops the power or not, namely whether the power distribution terminal cannot be in communication connection with the power distribution information master station, and if the power distribution terminal detects that the power distribution terminal drops the power, the step 2 is executed;
step 2: the power distribution terminal automatically sends a hoisting connection request to the master station through the communication module;
step 3: the power distribution terminal judges whether the reconnection request is sent successfully or not, namely, whether the power distribution terminal receives a response sent by the master station after receiving the reconnection request in a preset time period, if the response is received, the reconnection request is judged to be successful, and the reconnection program is ended; if the response is not received, judging that the reconnection request fails, and then the reconnection failure times +1, namely, reconnection failure times = reconnection failure times +1, wherein the reconnection times of the power distribution terminal is initially assigned to 0; the power distribution terminal starts timing, after waiting for J seconds, judging whether the current reconnection times of the power distribution terminal are more than N times, and if so, returning to the step 2; if the number is greater than N, executing the step 4:
step 4: the power distribution terminal controls the communication module to enter a sleep mode and starts a sleep timing program, when the sleep timing reaches a preset K hour, the sleep timing program wakes up the communication module of the power distribution terminal and judges whether the reconnection failure times are more than M times, if so, the step 2 is returned, if so, the power distribution terminal controls the communication module to restart, and after the communication module is restarted, the communication module is controlled to continuously send a reconnection request until the reconnection is successful.
The power distribution terminal also executes the following steps when the communication module is dormant:
initializing data in the communication module to delete abnormal data, and controlling the communication module to perform self-checking at the same time, wherein when the communication module detects a fault, the communication module also reports a signal of 'abnormal communication module' to the power distribution terminal.
When the communication module of the power distribution terminal initiates reconnection to the master station each time, the communication module consumes the flow of the SIM card in the communication module, the flow of each SIM card is limited, and the consumption of the flow of the SIM card can be reduced by dormancy. The reason of the connection failure of the terminal and the main station mainly comprises two reasons, namely that on one hand, a communication module at the terminal side fails or the communication failure between the terminal and the main station is caused by abnormal data information, on the other hand, the communication module is dormant and initializes data in the communication module after the terminal is in repeated reconnection failure, abnormal data are deleted, meanwhile, the communication module performs self-checking, and if the communication module fails, a signal of 'communication module abnormality' is reported, the factor of the communication failure between the terminal and the main station caused by the communication module is effectively removed, and reconnection power is improved.
In this embodiment, the parameter J is an integer greater than 0, M is an integer greater than N, and the parameter M, the parameter N, the parameter J, and the parameter K may be configured according to the actual situation in the field, in this embodiment, n=10, j=60, m=30, and k=1.
In summary, the frequent reconnection method and the system based on the wireless communication module of the power distribution terminal increase the frequent reconnection method based on the original function of the wireless module of the power distribution terminal, so that the power distribution terminal can frequently try to connect with the main station after the power distribution terminal is disconnected, the service efficiency of the power distribution terminal is improved, and the monitoring and control of the power distribution terminal by the provincial power distribution information main station can be more effectively realized.
The above description is only of the preferred embodiments of the present application and is not intended to limit the present application, but various modifications and variations can be made to the present application by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (4)

1. The frequent reconnection method based on the wireless communication module of the power distribution terminal is characterized by comprising the following steps of:
when the power distribution terminal detects that the power distribution terminal drops a line, the power distribution terminal automatically sends N reconnection requests to the host in sequence through a built-in communication module, wherein N is an integer greater than 1; if the N reconnection requests fail, the power distribution terminal controls the communication module to sleep for K hours, and after the communication module is in sleep, controls the communication module to continuously send a reconnection request to a host, wherein K is a rational number greater than 0;
the power distribution terminal also executes the following steps when the communication module is dormant:
initializing data in the communication module to delete abnormal data, and controlling the communication module to perform self-checking at the same time, wherein when the communication module detects a fault, the communication module also reports a signal of 'abnormal communication module' to the power distribution terminal.
2. The frequent reconnection method based on a wireless communication module of a power distribution terminal according to claim 1, wherein the power distribution terminal controls the communication module to continue to initiate M reconnection requests to a host after the communication module is dormant; and if the requests of the M reconnections fail, the power distribution terminal controls the communication module to restart, and after the communication module is restarted, the communication module is controlled to continuously send the requests of the reconnections to the host, wherein M is an integer larger than N.
3. The method for frequent reconnection based on a wireless communication module for a power distribution terminal according to claim 2, wherein the N reconnection requests are transmitted at equal time intervals and the M reconnection requests are transmitted at equal time intervals.
4. A computer system comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the method of any of the preceding claims 1 to 3 when the computer program is executed.
CN202010524627.2A 2020-06-10 2020-06-10 Frequent reconnection method and system based on wireless communication module of power distribution terminal Active CN111741541B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010524627.2A CN111741541B (en) 2020-06-10 2020-06-10 Frequent reconnection method and system based on wireless communication module of power distribution terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010524627.2A CN111741541B (en) 2020-06-10 2020-06-10 Frequent reconnection method and system based on wireless communication module of power distribution terminal

Publications (2)

Publication Number Publication Date
CN111741541A CN111741541A (en) 2020-10-02
CN111741541B true CN111741541B (en) 2023-11-17

Family

ID=72650116

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010524627.2A Active CN111741541B (en) 2020-06-10 2020-06-10 Frequent reconnection method and system based on wireless communication module of power distribution terminal

Country Status (1)

Country Link
CN (1) CN111741541B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106332159A (en) * 2016-08-10 2017-01-11 深圳市奥尼电子工业有限公司 WIFI anomaly automatic reconnection device, system and method
CN106856415A (en) * 2015-12-08 2017-06-16 香港生产力促进局 The reconnection method that goes offline based on MOST fiber optic networks
CN108513344A (en) * 2018-03-16 2018-09-07 广东小天才科技有限公司 Suspension reconnection method, device, wearable device and the medium of wearable device
CN110972163A (en) * 2019-12-03 2020-04-07 成都亿佰特电子科技有限公司 ZigBee terminal node network management method and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7720482B2 (en) * 2005-10-31 2010-05-18 Research In Motion Limited Method and apparatus for transitioning between EVDO and CDMA 1X systems using redundant data call blockings

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106856415A (en) * 2015-12-08 2017-06-16 香港生产力促进局 The reconnection method that goes offline based on MOST fiber optic networks
CN106332159A (en) * 2016-08-10 2017-01-11 深圳市奥尼电子工业有限公司 WIFI anomaly automatic reconnection device, system and method
CN108513344A (en) * 2018-03-16 2018-09-07 广东小天才科技有限公司 Suspension reconnection method, device, wearable device and the medium of wearable device
CN110972163A (en) * 2019-12-03 2020-04-07 成都亿佰特电子科技有限公司 ZigBee terminal node network management method and system

Also Published As

Publication number Publication date
CN111741541A (en) 2020-10-02

Similar Documents

Publication Publication Date Title
CN103338473B (en) The treatment facility of cell outage
CN106900042B (en) Sensor node of tree-type sensor network ad hoc network
CN101990226A (en) Automatic restart method, system and device for power failure
CN102238108A (en) Off-line message transmission method
CN111277399A (en) Control method, system, medium and electronic device for PDCCH monitoring
CN106550438B (en) Method and system for limiting regular awakening and mobile device
CN107682460B (en) Distributed storage cluster data communication method and system
CN107656751A (en) User program upgrade method and device
CN112327732A (en) Smart building interior micro-edge service control method and system and electronic equipment
CN113515316A (en) Novel edge cloud operating system
CN116699964A (en) Redundant operation method and system for industrial process controller
CN111741541B (en) Frequent reconnection method and system based on wireless communication module of power distribution terminal
CN110990066B (en) Sleep awakening method of communication terminal
CN107071873B (en) Coordinator of tree sensor network ad hoc network
CN111343705B (en) Intelligent energy-saving method for 5G communication network element
CN111917588A (en) Edge device management method, device, edge gateway device and storage medium
CN114826981B (en) System and method for realizing application resident in cloud mobile phone
CN101667116B (en) Mobile phone operating system and method for controlling same in sleep mode
CN111314408B (en) Local edge calculation and Internet of things management method based on communication layer multi-data item caching task
CN111083756B (en) Communication channel switching method of dual communication modules
CN112888050B (en) Equipment energy saving method and device and computer storage medium
TWM612500U (en) Iot devices management system
CN101374332B (en) Method for ensuring contact of terminal and base station in dormancy mode
CN110677288A (en) Edge computing system and method generally used for multi-scene deployment
CN103888986A (en) Method and device for processing cell failure

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